/* ==========================================================================
   Berarti · Halaman Layanan & detail layanan
   Memakai token dan komponen dari style.css. Mobile-first, desktop mulai 1024px.
   ========================================================================== */

/* ---------- Header ---------- */
.ly-hero { background: var(--green) url(../img/hero-bg.svg) no-repeat center bottom -820px / 1600px auto; color: var(--cream); text-align: center; padding: 120px 0 72px; }
.ly-h1 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 10.5vw, 44px); line-height: 1.04; letter-spacing: -0.02em; color: #FCFCFC; text-shadow: 0 5px 18px rgba(0, 0, 0, .35); }
.ly-lead { margin: 16px auto 0; max-width: 680px; font-size: 15.5px; line-height: 1.65; color: rgba(247, 243, 232, .8); }

@media (min-width: 1024px) {
  .ly-hero { padding: 160px 0 110px; background-size: 2080px auto; background-position: center bottom -760px; }
  .ly-h1 { margin-top: 22px; font-size: 78px; }
  .ly-lead { margin-top: 22px; font-size: 18px; }
}

/* ---------- Judul section ---------- */
.ly-h2 { margin-top: 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8.6vw, 38px); line-height: 1.07; letter-spacing: -0.02em; color: var(--ink); text-shadow: 0 5px 16px rgba(242, 104, 16, .2); }

/* ---------- Daftar layanan (zig-zag) ---------- */
.ly-list { background: var(--body); padding: 56px 0 72px; }
.ly-rows { display: grid; gap: 44px; margin-top: 28px; }
.ly-row { display: grid; gap: 20px; }
.ly-ph { display: block; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; box-shadow: var(--photo-glow); }
.ly-ph img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.ly-ph:hover img { scale: 1.04; }
.ly-n { display: block; font-family: var(--serif); font-size: 16px; color: rgba(30, 55, 19, .35); }
.ly-cat { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--orange); }
.ly-nm { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.12; color: var(--ink); }
.ly-nm a:hover { color: var(--orange); }
.ly-ds { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.ly-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ly-tags span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--mint); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ly-go { width: 100%; height: 50px; margin-top: 22px; padding: 0 22px; font-size: 15px; }

@media (min-width: 1024px) {
  .ly-h2 { margin-top: 18px; font-size: 48px; line-height: 1.05; }
  .ly-list { padding: 90px 0 110px; }
  .ly-rows { gap: 40px; margin-top: 40px; }
  .ly-row { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .ly-row:nth-child(even) .ly-ph { order: 2; }
  .ly-ph { aspect-ratio: auto; height: 380px; border-radius: 26px; }
  .ly-n { font-size: 18px; }
  .ly-nm { font-size: 38px; }
  .ly-ds { font-size: 16px; }
  .ly-go { width: auto; margin-top: 26px; }
}

/* ==========================================================================
   Detail layanan
   ========================================================================== */

/* ---------- Header detail ---------- */
.lyd-hero { background: var(--green) url(../img/hero-bg.svg) no-repeat center bottom -900px / 1600px auto; color: var(--cream); text-align: center; padding: 116px 0 120px; }
.lyd-crumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; color: rgba(247, 243, 232, .7); }
.lyd-crumb a:hover { color: #fff; }
.lyd-crumb i { font-style: normal; opacity: .5; }
.lyd-cat { display: inline-flex; align-items: center; height: 28px; margin-top: 20px; padding: 0 12px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 600; }
.lyd-h1 { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 10vw, 42px); line-height: 1.05; letter-spacing: -0.02em; color: #FCFCFC; text-shadow: 0 5px 18px rgba(0, 0, 0, .35); }
.lyd-lead { max-width: 700px; margin: 14px auto 0; font-size: 15px; line-height: 1.65; color: rgba(247, 243, 232, .82); }
.lyd-acts { display: grid; gap: 10px; margin-top: 24px; }
.lyd-btn { height: 52px; padding: 0 22px; font-size: 15px; }
.lyd-cover-wrap { margin-top: -92px; }
.lyd-cover { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; box-shadow: var(--photo-glow); }
.lyd-cover img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1024px) {
  .lyd-hero { padding: 150px 0 220px; background-size: 2080px auto; }
  .lyd-crumb { font-size: 13.5px; }
  .lyd-cat { margin-top: 24px; height: 30px; padding: 0 13px; font-size: 12.5px; }
  .lyd-h1 { margin-top: 16px; font-size: 72px; line-height: 1.04; }
  .lyd-lead { margin-top: 18px; font-size: 18px; }
  .lyd-acts { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
  .lyd-btn { height: 54px; padding: 0 24px; font-size: 15.5px; }
  .lyd-cover-wrap { margin-top: -170px; }
  .lyd-cover { max-width: 1040px; height: 460px; margin: 0 auto; aspect-ratio: auto; border-radius: 26px; }
}

/* ---------- Yang Anda dapat ---------- */
.lyd-get { background: var(--body); padding: 56px 0 40px; }
.lyd-get-grid { display: grid; gap: 12px; margin-top: 24px; list-style: none; padding: 0; }
.lyd-get-it { padding: 22px 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 38px rgba(22, 51, 16, .08), 0 14px 30px -20px rgba(22, 51, 16, .35); }
.lyd-get-n { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 22px; color: var(--orange); }
.lyd-get-it h3 { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; color: var(--ink); }
.lyd-get-it p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

@media (min-width: 640px) and (max-width: 1023.98px) { .lyd-get-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .lyd-get { padding: 90px 0 60px; }
  .lyd-get-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
  .lyd-get-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
  .lyd-get-it { padding: 28px; border-radius: 24px; }
  .lyd-get-n { margin-bottom: 18px; font-size: 26px; }
  .lyd-get-it h3 { font-size: 21px; }
  .lyd-get-it p { font-size: 15px; }
}
.lyd-h2 { margin-top: 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8.6vw, 38px); line-height: 1.07; letter-spacing: -0.02em; color: var(--ink); text-shadow: 0 5px 16px rgba(242, 104, 16, .2); }
@media (min-width: 1024px) { .lyd-h2 { margin-top: 18px; font-size: 48px; line-height: 1.05; } }

/* ---------- Cara kerja ---------- */
.lyd-how { background: var(--body); padding: 32px 0 56px; }
.lyd-how-pn { display: grid; gap: 22px; padding: 30px 22px; border-radius: 26px; background: radial-gradient(500px 300px at 0% 0%, rgba(52, 96, 34, .9), rgba(52, 96, 34, 0) 70%), var(--green); }
.lyd-how-h { color: #FCFCFC; text-shadow: 0 5px 18px rgba(0, 0, 0, .35); }
.lyd-how-list { list-style: none; margin: 0; padding: 0; }
.lyd-how-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(247, 243, 232, .14); }
.lyd-how-list li:first-child { padding-top: 0; }
.lyd-how-list li:last-child { border: 0; padding-bottom: 0; }
.lyd-how-n { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--orange); }
.lyd-how-list h3 { font-family: var(--serif); font-weight: 400; font-size: 19px; color: #FCFCFC; }
.lyd-how-list p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: rgba(247, 243, 232, .78); }

@media (min-width: 1024px) {
  .lyd-how { padding: 40px 0 90px; }
  .lyd-how-pn { grid-template-columns: 380px minmax(0, 1fr); gap: 60px; padding: 60px; border-radius: 32px; }
  .lyd-how-list li { grid-template-columns: 70px minmax(0, 1fr); gap: 18px; padding: 20px 0; }
  .lyd-how-n { font-size: 34px; }
  .lyd-how-list h3 { font-size: 21px; }
  .lyd-how-list p { font-size: 15px; }
}

/* ---------- Dokumentasi ---------- */
.lyd-doc { background: var(--body); padding: 24px 0 56px; }
.lyd-doc-top { display: flex; flex-direction: column; gap: 18px; }
.lyd-doc-more { order: 2; height: 50px; padding: 0 24px; font-size: 15px; }
.lyd-doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.lyd-vid { position: relative; grid-column: span 2; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--green); cursor: pointer; }
.lyd-vid img, .lyd-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lyd-vid video { object-fit: contain; background: #000; }
.lyd-pl { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 0 0 10px rgba(255, 107, 0, .25); transition: scale .25s var(--ease-out); }
.lyd-vid:hover .lyd-pl { scale: 1.08; }
.lyd-pl svg { width: 24px; height: 24px; margin-left: 3px; }
.lyd-doc-ph { aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.lyd-doc-ph img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1024px) {
  .lyd-doc { padding: 20px 0 90px; }
  .lyd-doc-top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .lyd-doc-more { order: 0; }
  .lyd-doc-grid { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; margin-top: 34px; }
  .lyd-vid { grid-column: auto; grid-row: span 2; aspect-ratio: auto; border-radius: 22px; }
  .lyd-pl { width: 80px; height: 80px; }
  .lyd-doc-ph { aspect-ratio: auto; border-radius: 20px; }
}

/* ---------- Ajakan penutup ---------- */
.lyd-cta { background: var(--body); padding: 0 0 64px; }
.lyd-cta-p { display: grid; gap: 30px; padding: 34px 22px; border-radius: 26px; color: var(--cream); background: radial-gradient(500px 300px at 0% 0%, rgba(52, 96, 34, .9), rgba(52, 96, 34, 0) 70%), var(--green); }
.lyd-cta-h { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 8vw, 34px); line-height: 1.08; color: #FCFCFC; text-shadow: 0 5px 18px rgba(0, 0, 0, .35); }
.lyd-cta-p p { margin-top: 14px; font-size: 15px; line-height: 1.65; color: rgba(247, 243, 232, .8); }
.lyd-cta-btn { width: 100%; margin-top: 22px; }
.lyd-cta-lab { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 243, 232, .55); }
.lyd-cta-ot a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(247, 243, 232, .14); color: #FCFCFC; }
.lyd-cta-ot a b { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.lyd-cta-ot a span { font-size: 12.5px; color: var(--orange-soft); text-align: right; }
.lyd-cta-ot a:hover b { color: var(--orange-soft); }

@media (min-width: 1024px) {
  .lyd-cta { padding: 0 0 110px; }
  .lyd-cta-p { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 60px; padding: 60px; border-radius: 32px; }
  .lyd-cta-h { font-size: 48px; line-height: 1.06; }
  .lyd-cta-p p { margin-top: 16px; font-size: 16.5px; }
  .lyd-cta-btn { width: auto; margin-top: 28px; }
  .lyd-cta-lab { font-size: 12.5px; }
  .lyd-cta-ot a { padding: 20px 0; }
  .lyd-cta-ot a b { font-size: 22px; }
  .lyd-cta-ot a span { font-size: 13px; }
}

/* ==========================================================================
   Mobile: header ringkas, daftar layanan kartu foto penuh, ajakan dengan tombol layanan lain
   ========================================================================== */
@media (max-width: 1023.98px) {
  .ly-hero { padding: 104px 0 40px; background-image: none; }
  .ly-h1 { margin-top: 14px; font-size: 36px; }
  .ly-lead { margin-top: 10px; font-size: 14.5px; }
  .ly-rows { gap: 14px; }
  .ly-row { position: relative; display: block; border-radius: 22px; overflow: hidden; isolation: isolate; }
  .ly-ph { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .ly-row::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 30, 10, .1) 15%, rgba(15, 30, 10, .94) 70%); pointer-events: none; }
  .ly-tx { padding: 140px 20px 22px; }
  .ly-n { color: rgba(247, 243, 232, .5); }
  .ly-cat { color: var(--orange-soft); }
  .ly-nm, .ly-nm a { color: #FCFCFC; }
  .ly-ds { color: rgba(255, 255, 255, .85); }
  .ly-tags span { background: rgba(247, 243, 232, .14); color: #fff; }
  .lyd-cta-p { text-align: center; }
  .lyd-cta-ot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .lyd-cta-lab { width: 100%; margin-bottom: 4px; }
  .lyd-cta-ot a { height: 38px; padding: 0 14px; border: 1px solid rgba(247, 243, 232, .3); border-radius: 999px; }
  .lyd-cta-ot a span { display: none; }
  .lyd-cta-ot a b { font-family: var(--sans); font-size: 14px; font-weight: 600; }
}
