/* ==========================================================================
   SERVICE PAGES: editorial layout for the treatment pages and the services page (body.svc).
   Same world as the homepage: ivory and blush grounds, wine and burgundy depth, champagne detail,
   display type, hairline rules instead of cards. Loaded after style.css and cinema.css.
   ========================================================================== */
body.svc{background:var(--ivory);}
body.svc .svc-sec{scroll-margin-top:calc(var(--header-h) + 8px);}
html:has(body.svc){scroll-behavior:smooth;}

/* ---------- cinematic opening ---------- */
.svc-hero{padding:calc(var(--header-h) + 36px) 0 clamp(56px,8vw,112px);}
.svc-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(32px,6vw,96px);align-items:center;}
.svc-hero h1{font-size:clamp(2.6rem,5.8vw,5.4rem);max-width:15ch;}
.svc-hero p{font-size:clamp(1.05rem,1.4vw,1.28rem);max-width:38rem;}
.svc-hero .kicker{display:flex;align-items:center;gap:14px;background:none;padding:0;border-radius:0;font-size:.76rem;letter-spacing:.22em;color:var(--champ);margin:0 0 1.4rem;}
.svc-hero .kicker::before{width:36px;height:1px;border-radius:0;background:currentColor;}
.svc-hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 30px;margin-top:2.2rem;}
.svc-hero-photo{margin:0;position:relative;aspect-ratio:4/5;max-height:640px;overflow:hidden;background:var(--burg);width:100%;animation:svcPhoto 1.4s var(--ease) .2s both;}
.svc-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:saturate(.78) contrast(1.06) sepia(.12);}
.svc-hero-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(57,8,14,.05),rgba(57,8,14,.5));mix-blend-mode:multiply;pointer-events:none;}
@keyframes svcPhoto{from{opacity:0;clip-path:inset(0 0 12% 0);transform:translateY(24px);}to{opacity:1;clip-path:inset(0);transform:none;}}
html:lang(hi) .svc-hero h1,html:lang(mr) .svc-hero h1{max-width:none;}

/* ---------- sections ---------- */
body.svc .svc-sec{padding:clamp(72px,11vh,132px) 0;background:var(--ivory);}
body.svc .svc-sec.section-alt{background:var(--blush);}
body.svc .svc-sec.section-dark{background:radial-gradient(70% 90% at 80% 0%,rgba(101,13,24,.7),transparent 70%),var(--wine);color:var(--ivory);}
body.svc #faq.svc-sec{background:var(--ivory);}
body.svc .svc-sec h2{font-family:var(--font-display);font-weight:300;font-size:clamp(2.1rem,4.4vw,3.9rem);line-height:1.07;letter-spacing:-.025em;color:var(--burg);margin:0 0 .5em;text-wrap:balance;}
body.svc .svc-sec h3{font-family:var(--font-display);font-weight:400;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.2;letter-spacing:-.01em;color:var(--burg);}
body.svc .svc-sec p{color:#4a3f3a;font-size:1.04rem;line-height:1.75;}
body.svc .svc-sec.section-dark h2,body.svc .svc-sec.section-dark h3{color:var(--ivory);}
body.svc .svc-sec.section-dark p{color:rgba(255,248,243,.78);}
html:lang(hi) body.svc .svc-sec h2,html:lang(mr) body.svc .svc-sec h2{font-weight:700;line-height:1.3;font-size:clamp(1.9rem,3.6vw,3.2rem);}
html:lang(hi) body.svc .svc-sec h3,html:lang(mr) body.svc .svc-sec h3{font-weight:700;line-height:1.4;}
body.svc .svc-sec .kicker{display:flex;align-items:center;gap:14px;background:none;padding:0;border-radius:0;font-size:.76rem;letter-spacing:.22em;color:#9a7433;margin:0 0 1.4rem;}
body.svc .svc-sec .kicker::before{width:36px;height:1px;border-radius:0;background:currentColor;}
body.svc .svc-sec.section-dark .kicker{color:var(--champ);}
body.svc .svc-sec .section-head{max-width:54rem;margin:0 0 clamp(36px,5vw,64px);text-align:left;}
body.svc .svc-sec .section-head p{font-size:1.1rem;}

/* split: text beside a real photograph */
body.svc .svc-sec .split{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,6vw,96px);align-items:start;}
body.svc .svc-sec .visual-panel.photo{position:sticky;top:calc(var(--header-h) + 28px);padding:0;min-height:0;aspect-ratio:4/5;max-height:70vh;overflow:hidden;background:var(--wine);border-radius:0;box-shadow:none;}
body.svc .svc-sec .visual-panel.photo img{width:100%;height:100%;min-height:0;object-fit:cover;border-radius:0;filter:saturate(.78) contrast(1.06) sepia(.12);}
body.svc .svc-sec .visual-panel.photo::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(57,8,14,.05),rgba(57,8,14,.5));mix-blend-mode:multiply;pointer-events:none;}

/* cards become hairline-separated numbered rows */
body.svc .svc-sec .grid{gap:0 clamp(32px,5vw,80px);counter-reset:svc;border-bottom:1px solid rgba(101,13,24,.2);}
body.svc .svc-sec .grid-2,body.svc .svc-sec .grid-3{grid-template-columns:repeat(2,minmax(0,1fr));}
body.svc .svc-sec .card{counter-increment:svc;position:relative;background:none;border:0;border-top:1px solid rgba(101,13,24,.2);border-radius:0;box-shadow:none;transform:none;padding:1.8rem 0 2rem 3.6rem;}
body.svc .svc-sec .card:hover{transform:none;box-shadow:none;}
body.svc .svc-sec .card::before{content:counter(svc,decimal-leading-zero);position:absolute;left:0;top:2.05rem;font-family:var(--font-display);font-weight:300;font-size:1.1rem;letter-spacing:.06em;color:#9a7433;}
body.svc .svc-sec .card-icon{display:none;}
body.svc .svc-sec .card h3{margin:0 0 .5rem;}
body.svc .svc-sec .card p{margin:0 0 .9rem;font-size:1rem;}
body.svc .svc-sec .card-link{display:inline-flex;align-items:center;gap:12px;font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--burg);}
body.svc .svc-sec .card.feature{background:none;border-top-color:rgba(255,248,243,.18);}
body.svc .svc-sec.section-dark .grid{border-bottom-color:rgba(255,248,243,.18);}
body.svc .svc-sec.section-dark .card::before{color:var(--champ);}
body.svc .svc-sec.section-dark .card p{color:rgba(255,248,243,.72);}
body.svc .svc-sec.section-dark .card.feature h3{color:var(--ivory);}
body.svc .svc-sec .container.grid{display:grid;}

/* lists */
body.svc .svc-sec .check-list{margin:2rem 0 0;}
body.svc .svc-sec .check-list li{margin:0;padding:1rem 0;border-top:1px solid rgba(101,13,24,.2);font-weight:500;color:var(--burg);align-items:center;}
body.svc .svc-sec .check-list li:last-child{border-bottom:1px solid rgba(101,13,24,.2);}
body.svc .svc-sec .check-list li svg{color:#9a7433;}
body.svc .svc-sec .badge-row{margin-top:1.6rem;gap:.4rem 1.8rem;}
body.svc .svc-sec .badge-row .badge{background:none;border:0;border-radius:0;padding:.3rem 0;font-size:.82rem;letter-spacing:.06em;color:var(--burg);}
body.svc .svc-sec .btn-primary{background:var(--burg);box-shadow:none;}
body.svc .svc-sec .btn-ghost{border-color:rgba(101,13,24,.4);}

/* the eight IVF stages: numbered editorial rows */
body.svc .journey-grid{display:block;margin:0;border-bottom:1px solid rgba(101,13,24,.2);}
body.svc .journey-card{display:grid;grid-template-columns:clamp(6rem,12vw,10rem) minmax(0,1fr);column-gap:2rem;align-items:baseline;padding:1.8rem 0;background:none;border:0;border-top:1px solid rgba(101,13,24,.2);border-radius:0;box-shadow:none;transform:none;}
body.svc .journey-card:hover{transform:none;box-shadow:none;}
body.svc .journey-header{grid-row:1 / span 2;display:block;margin:0;}
body.svc .journey-icon{display:none;}
body.svc .journey-step-badge{display:block;background:none;border:0;padding:0;font-family:var(--font-display);font-weight:300;font-size:clamp(2.4rem,4.6vw,4rem);line-height:1;letter-spacing:0;text-transform:none;color:transparent;-webkit-text-stroke:1px #9a7433;}
body.svc .journey-step-badge small{display:block;font-family:var(--font-body);font-size:.7rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#9a7433;-webkit-text-stroke:0;margin-bottom:.5rem;}
body.svc .journey-card h3{margin:0 0 .4rem;}
body.svc .journey-card p{margin:0;max-width:40rem;}

/* callouts */
body.svc .svc-sec .notice{background:none;border:0;border-left:2px solid var(--champ);border-radius:0;padding:.4rem 0 .4rem 1.6rem;margin-top:2.4rem;color:#4a3f3a;font-size:1rem;line-height:1.7;}
body.svc .svc-sec .notice strong{display:block;margin-bottom:.4rem;font-family:var(--font-display);font-weight:400;font-size:1.4rem;color:var(--burg);}
body.svc .svc-note .notice{margin-top:0;}

/* FAQ, as on the homepage */
body.svc .faq-list{max-width:none;margin:0;}
body.svc .faq-item{border-bottom:1px solid rgba(101,13,24,.2);}
body.svc .faq-q{font-family:var(--font-display);font-weight:400;font-size:clamp(1.25rem,2vw,1.75rem);letter-spacing:-.01em;color:var(--burg);padding:1.9rem 0;}
body.svc .faq-a p{max-width:46rem;font-size:1.02rem;}

/* related care */
body.svc .svc-rel-list{list-style:none;margin:0;padding:0;border-bottom:1px solid rgba(101,13,24,.2);}
body.svc .svc-rel-list a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.3rem 2rem;align-items:center;padding:1.9rem 0;border-top:1px solid rgba(101,13,24,.2);color:var(--burg);}
body.svc .svc-rel-name{display:block;font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,3vw,2.7rem);line-height:1.1;letter-spacing:-.02em;transition:transform .7s var(--ease);}
body.svc .svc-rel-desc{grid-column:1;max-width:38rem;color:#4a3f3a;line-height:1.65;}
body.svc .svc-rel-go{grid-column:2;grid-row:1 / span 2;display:block;width:34px;height:1px;background:var(--burg);transition:width .5s var(--ease);}
body.svc .svc-rel-list a:hover .svc-rel-name{transform:translateX(14px);}
body.svc .svc-rel-list a:hover .svc-rel-go{width:64px;}
body.svc .svc-rel-list .minor a{padding:1.2rem 0;}
body.svc .svc-rel-list .minor .svc-rel-name{font-size:1.35rem;}
html:lang(hi) body.svc .svc-rel-name,html:lang(mr) body.svc .svc-rel-name{font-weight:700;line-height:1.35;}

/* closing call to action */
body.svc .svc-close{background:radial-gradient(70% 90% at 82% 8%,rgba(216,178,122,.2),transparent 65%),var(--burg);color:var(--ivory);padding:clamp(80px,16vh,190px) 0 clamp(64px,12vh,140px);}
body.svc .svc-close .cta-band{background:none;box-shadow:none;border-radius:0;padding:0;text-align:left;overflow:visible;}
body.svc .svc-close .cta-band::before{display:none;}
body.svc .svc-close .kicker{display:flex;align-items:center;gap:14px;background:none;padding:0;border-radius:0;font-size:.76rem;letter-spacing:.22em;color:var(--champ);margin:0 0 1.4rem;}
body.svc .svc-close .kicker::before{width:36px;height:1px;border-radius:0;background:currentColor;}
body.svc .svc-close h2{font-family:var(--font-display);font-weight:300;font-size:clamp(2.6rem,6.2vw,5.8rem);line-height:1.03;letter-spacing:-.03em;color:var(--ivory);max-width:16ch;margin:0 0 .4em;}
body.svc .svc-close p{color:rgba(255,248,243,.8);max-width:36rem;margin:0 0 2rem;font-size:1.1rem;}
body.svc .svc-close .cta-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:flex-start;}
body.svc .svc-close .wa-notice{margin:1.4rem 0 0;text-align:left;max-width:34rem;}
html:lang(hi) body.svc .svc-close h2,html:lang(mr) body.svc .svc-close h2{font-weight:700;line-height:1.3;max-width:none;font-size:clamp(2rem,4.6vw,4.2rem);}

/* long-form text pages (drafts and newer pages): heading beside the body */
body.svc .svc-prose{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,88px);align-items:start;}
body.svc .svc-prose > h2{position:sticky;top:calc(var(--header-h) + 28px);margin:0;}
body.svc .svc-prose-body{max-width:44rem;}
body.svc .svc-prose-body > p:first-child{margin-top:0;}
body.svc .svc-prose-body h3{margin:2rem 0 .6rem;}
body.svc .svc-prose-body ul{margin:1.4rem 0 0;border-bottom:1px solid rgba(101,13,24,.2);}
body.svc .svc-prose-body li{position:relative;padding:.95rem 0 .95rem 2.2rem;border-top:1px solid rgba(101,13,24,.2);color:var(--burg);font-weight:500;line-height:1.55;}
body.svc .svc-prose-body li::before{content:'';position:absolute;left:0;top:1.65rem;width:14px;height:1px;background:#9a7433;}
body.svc .svc-sec.section-dark .svc-prose-body li{color:var(--ivory);border-top-color:rgba(255,248,243,.18);}
body.svc .svc-sec.section-dark .svc-prose-body ul{border-bottom-color:rgba(255,248,243,.18);}
body.svc .svc-prose-body table{width:100%;border-collapse:collapse;margin:1.4rem 0 0;font-size:.98rem;}
body.svc .svc-prose-body th,body.svc .svc-prose-body td{text-align:left;vertical-align:top;padding:.95rem 1.2rem .95rem 0;border-top:1px solid rgba(101,13,24,.2);}
body.svc .svc-prose-body th{font-family:var(--font-display);font-weight:400;font-size:1.15rem;color:var(--burg);width:34%;}
body.svc .svc-prose-body td{color:#4a3f3a;line-height:1.6;}
body.svc .svc-prose-body tr:last-child th,body.svc .svc-prose-body tr:last-child td{border-bottom:1px solid rgba(101,13,24,.2);}
body.svc .svc-note .post-meta{font-size:.86rem;color:#6d5a54;}
body.svc .svc-note a{color:var(--burg);font-weight:600;border-bottom:1px solid rgba(216,178,122,.7);}

/* "On this page": sticky index in the left margin on desktop */
.svc-toc{display:none;}
@media (min-width:1180px){
  .svc-flow.has-toc > .svc-sec > .container{max-width:calc(var(--maxw) + 13rem);padding-left:calc(13rem + 24px);}
  .svc-flow.has-toc > .svc-toc{display:block;position:sticky;top:calc(var(--header-h) + 24px);height:0;z-index:20;}
  .svc-toc-in{position:absolute;top:0;left:max(24px,calc((100vw - var(--maxw) - 13rem) / 2 + 24px));width:11.6rem;max-height:calc(100vh - var(--header-h) - 60px);overflow:auto;padding:1.1rem 1.2rem;background:rgba(255,248,243,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(101,13,24,.14);}
  .svc-toc-title{margin:0 0 .8rem;font-size:.68rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#9a7433;}
  .svc-toc ol{list-style:none;margin:0;padding:0;}
  .svc-toc li{margin:0;}
  .svc-toc a{display:block;padding:.45rem 0 .45rem .9rem;border-left:1px solid rgba(101,13,24,.18);font-size:.8rem;line-height:1.4;color:#6d5a54;transition:color .3s,border-color .3s,padding .3s;}
  .svc-toc a:hover{color:var(--burg);}
  .svc-toc a.is-current{color:var(--burg);font-weight:600;border-left-color:var(--champ);padding-left:1.1rem;}
}

/* ---------- tablet and phone ---------- */
@media (max-width:980px){
  .svc-hero-grid{grid-template-columns:1fr;}
  .svc-hero-photo{aspect-ratio:4/3;max-height:none;}
  .svc-hero-cta .btn{flex:1 1 100%;}
  body.svc .svc-sec .split{grid-template-columns:1fr;}
  body.svc .split.reverse{direction:ltr;}
  body.svc .svc-sec .visual-panel.photo{position:relative;top:0;aspect-ratio:4/3;max-height:none;}
  body.svc .svc-sec .grid-2,body.svc .svc-sec .grid-3{grid-template-columns:1fr;}
  body.svc .journey-card{grid-template-columns:4.4rem minmax(0,1fr);column-gap:1.2rem;}
  body.svc .svc-prose{grid-template-columns:1fr;}
  body.svc .svc-prose > h2{position:static;}
}
@media (max-width:560px){
  body.svc .svc-rel-list a{grid-template-columns:1fr;}
  body.svc .svc-rel-go{display:none;}
  body.svc .svc-prose-body th{width:auto;display:block;border-top:1px solid rgba(101,13,24,.2);padding-bottom:0;}
  body.svc .svc-prose-body td{display:block;border-top:0;padding-top:.3rem;}
  body.svc .svc-prose-body tr:last-child th{border-bottom:0;}
}
@media (prefers-reduced-motion:reduce){
  .svc-hero-photo{animation:none;}
  html:has(body.svc){scroll-behavior:auto;}
}
