/* Vita — shared styles for the inner pages (V1 theme). Loaded after base.css on every inner page;
   each page may add its own <page>.css for page-specific sections. */

/* Pre-animation states exist only while JS motion is pending (see layout.mjs). */
@media (min-width: 761px) {
  .motion-pending [data-phero-fade],
  .motion-pending [data-phero-title],
  .motion-pending [data-phero-media] { opacity: 0; }
}

/* Header: current page + clickable mega-menu column heads + grouped mobile links. */
.nav__link.is-active { color: var(--c-forest-deep); }
.nav__link.is-active::after { transform: scaleX(1); }
a.mega__head { transition: color .3s; }
a.mega__head:hover { color: var(--c-gold-ink); }
.mobile-nav__list a[aria-current="page"] { color: var(--c-gold-deep); }
.mobile-nav__sub a { font-size: clamp(1.35rem, 5vw, 1.7rem); padding-left: 18px; position: relative; }
.mobile-nav__sub a::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--c-champagne); }

/* Shared section heads (same as the home page). */
.section-head--center { position: relative; isolation: isolate; display: block; max-width: 760px; margin: 0 auto clamp(44px, 4.5vw, 72px); text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__text { max-width: 580px; margin: 18px auto 0; color: var(--c-stone); }
.section-head--center::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 230px; height: 200px; transform: translate(-50%, -54%);
  background: url(../img/tooth/tooth-outline-gold.svg) center / contain no-repeat; opacity: .28; pointer-events: none;
}
.section--paper { background: var(--c-paper); }
.section--cream { background: var(--c-cream); }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 26px; font-size: .78rem; color: var(--c-stone); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 14px; height: 1px; background: var(--c-champagne); }
.crumbs a { display: inline-block; padding-block: 4px; margin-block: -4px; color: var(--c-stone); transition: color .3s; } /* larger touch target, same layout */
.crumbs a:hover { color: var(--c-forest); }
.crumbs [aria-current] { color: var(--c-forest-deep); font-weight: 600; }

/* ---------- Page hero ---------- */
.phero {
  position: relative; isolation: isolate; overflow: clip; padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(64px, 7vw, 110px);
  background: radial-gradient(120% 90% at 18% 10%, #FDFBF6 0%, #F6F0E6 55%, #EFE6D8 100%);
}
.phero__light { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(118deg, transparent 0 22%, rgba(150, 118, 76, .06) 22% 27%, transparent 27% 41%, rgba(150, 118, 76, .045) 41% 44%, transparent 44%); }
.phero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 88px); align-items: center; }
.phero__content { max-width: 640px; }
.phero .eyebrow--line::before { width: 28px; }
.phero__lined { --line: 1; position: relative; padding-left: 36px; }
.phero__lined::before { content: ""; position: absolute; left: 0; top: .5rem; bottom: .3rem; width: 1px; background: linear-gradient(180deg, rgba(176, 138, 78, .7), rgba(176, 138, 78, .2)); transform-origin: top; transform: scaleY(var(--line)); }
.phero__title { font-size: clamp(2.5rem, 1.5rem + 3.1vw, 4.4rem); line-height: 1.05; letter-spacing: -.02em; color: #141A17; margin-bottom: 22px; }
.phero__text { max-width: 500px; font-size: var(--fs-lead); color: var(--c-stone); margin-bottom: 32px; }
.phero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; }
.phero__call { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--c-forest-deep); }
.phero__call small { display: block; font-size: .74rem; font-weight: 500; color: var(--c-stone); }
.phero__call-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(28, 31, 30, .18); color: var(--c-forest); transition: background-color .3s, color .3s, border-color .3s; }
.phero__call:hover .phero__call-icon { background: var(--c-forest); color: var(--c-ivory); border-color: var(--c-forest); }
.phero__chips { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 40px; }
.phero__chips li { display: flex; align-items: center; gap: 12px; font-size: .78rem; line-height: 1.35; color: var(--c-stone); }
.phero__chips strong { color: var(--c-forest-deep); font-weight: 600; }
.phero__chip-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid rgba(176, 138, 78, .55); background: rgba(255, 255, 255, .6); color: #9A7640; }
.phero__chip-icon .i { width: 20px; height: 20px; }
.phero__media { position: relative; }
.phero__frame { position: relative; aspect-ratio: 4 / 4.4; border-radius: 200px 200px var(--r-xl) var(--r-xl); overflow: hidden; background: var(--c-cream); box-shadow: 0 40px 80px -40px rgba(31, 59, 50, .45); }
.phero__frame::after { content: ""; position: absolute; inset: 10px; border-radius: 192px 192px 24px 24px; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.phero__img { width: 100%; height: 100%; object-fit: cover; }
.phero__tooth { position: absolute; left: -54px; bottom: -40px; width: 170px; height: auto; opacity: .7; pointer-events: none; }

/* ---------- Text + photo split ---------- */
.psplit--ivory { background: var(--c-ivory); }
.psplit--paper { background: var(--c-paper); }
.psplit--cream { background: var(--c-cream); }
.psplit__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.psplit--reverse .psplit__media { order: 2; }
.psplit__media { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r-xl); overflow: hidden; background: var(--c-cream); box-shadow: 18px 18px 0 -1px rgba(184, 154, 103, .16), 0 30px 60px -36px rgba(21, 42, 35, .35); }
.psplit--reverse .psplit__media { box-shadow: -18px 18px 0 -1px rgba(184, 154, 103, .16), 0 30px 60px -36px rgba(21, 42, 35, .35); }
.psplit__img { width: 100%; height: 100%; object-fit: cover; }
.psplit__text { margin: 20px 0 24px; color: var(--c-stone); display: grid; gap: 14px; max-width: 560px; }
.psplit__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px; margin: 4px 0 30px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.psplit__facts dt { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.1; color: var(--c-forest-deep); }
.psplit__facts dd { margin: 4px 0 0; font-size: .8rem; color: var(--c-stone); }
.checklist { display: grid; gap: 10px; margin-bottom: 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.55; }
.checklist .i { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; border: 1px solid rgba(184, 154, 103, .55); color: var(--c-gold-deep); flex: none; }

/* ---------- Features (icon in tooth outline) ---------- */
.pfeat { display: grid; gap: 0; }
.pfeat--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pfeat--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pfeat--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pfeat__item { padding: 36px clamp(18px, 2.4vw, 36px); text-align: center; border-left: 1px solid var(--c-line); transition: background-color .5s var(--ease); }
.pfeat--2 .pfeat__item:nth-child(2n + 1), .pfeat--3 .pfeat__item:nth-child(3n + 1), .pfeat--4 .pfeat__item:nth-child(4n + 1) { border-left: 0; }
.pfeat--2 .pfeat__item:nth-child(n + 3), .pfeat--3 .pfeat__item:nth-child(n + 4), .pfeat--4 .pfeat__item:nth-child(n + 5) { border-top: 1px solid var(--c-line); }
.pfeat__item:hover { background: linear-gradient(180deg, rgba(239, 233, 223, 0), rgba(239, 233, 223, .55)); }
.pfeat__icon { position: relative; display: grid; place-items: center; width: 88px; height: 76px; margin: 0 auto 20px; color: #9A7640; transition: transform .5s var(--ease); }
.pfeat__item:hover .pfeat__icon { transform: translateY(-4px); }
.pfeat__tooth { position: absolute; inset: 0; width: 100%; height: 100%; }
.pfeat__icon .i { position: absolute; left: 50%; top: 40.4%; width: 24px; height: 24px; transform: translate(-50%, -50%); }
.pfeat__title { font-family: var(--f-display); font-size: 1.32rem; font-weight: 400; line-height: 1.2; color: var(--c-forest-deep); margin-bottom: 10px; }
.pfeat__text { max-width: 320px; margin-inline: auto; font-size: .9rem; line-height: 1.6; color: var(--c-stone); }
.pfeat--light .pfeat__title { color: var(--c-ivory); }
.pfeat--light .pfeat__text { color: rgba(247, 244, 238, .72); }

/* ---------- Steps ---------- */
.psteps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 28px; padding-top: 70px; }
.psteps__rail { position: absolute; left: 26px; right: 26px; top: 26px; height: 1px; background: var(--c-line); }
.psteps__rail i { position: absolute; inset: 0; background: #D9C49A; transform-origin: left; }
.psteps__item { position: relative; }
.psteps__num { position: absolute; top: -70px; left: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(184, 154, 103, .55); background: var(--c-ivory); font-family: var(--f-display); font-size: 1.1rem; color: var(--c-gold-deep); transition: background-color .5s var(--ease), color .5s var(--ease); }
.psteps__item.is-active .psteps__num { background: var(--c-forest); color: #D9C49A; border-color: var(--c-forest); }
.psteps__title { font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; line-height: 1.2; color: var(--c-forest-deep); margin-bottom: 8px; }
.psteps__text { font-size: .9rem; line-height: 1.6; color: var(--c-stone); }
.psteps--light .psteps__rail { background: rgba(247, 244, 238, .18); }
.psteps--light .psteps__num { background: var(--c-forest); color: #D9C49A; border-color: rgba(217, 196, 154, .5); }
.psteps--light .psteps__item.is-active .psteps__num { background: #D9C49A; color: var(--c-forest-deep); }
.psteps--light .psteps__title { color: var(--c-ivory); }
.psteps--light .psteps__text { color: rgba(247, 244, 238, .72); }

/* ---------- Cards ---------- */
.pcards { display: grid; gap: clamp(18px, 2vw, 28px); }
.pcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard {
  position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 26px; background: var(--c-paper);
  border: 1px solid rgba(28, 31, 30, .06); box-shadow: 0 1px 2px rgba(21, 42, 35, .03), 0 18px 40px -28px rgba(21, 42, 35, .22);
  transition: translate .6s var(--ease), box-shadow .6s var(--ease);
}
.pcard:hover { translate: 0 -5px; box-shadow: 0 2px 4px rgba(21, 42, 35, .04), 0 34px 60px -30px rgba(21, 42, 35, .32), inset 0 0 0 1px rgba(184, 154, 103, .35); }
.pcard__img { position: relative; aspect-ratio: 16 / 10.5; border-radius: 18px; overflow: hidden; background: var(--c-cream); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-forest); color: var(--c-champagne-light); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pcard__tag--static { position: static; align-self: flex-start; margin: 14px 0 0 14px; }
.pcard__body { flex: 1; display: flex; flex-direction: column; padding: 22px 16px 14px; }
.pcard__title { font-family: var(--f-display); font-size: 1.45rem; font-weight: 400; line-height: 1.2; color: var(--c-forest-deep); margin-bottom: 10px; }
.pcard__text { font-size: .92rem; line-height: 1.6; color: var(--c-stone); }
.pcard__list { display: grid; gap: 8px; margin-top: 14px; }
.pcard__list li { display: flex; gap: 10px; font-size: .88rem; line-height: 1.5; }
.pcard__list .i { width: 16px; height: 16px; margin-top: 3px; color: var(--c-champagne); flex: none; }
.pcard__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-line); font-family: var(--f-display); font-size: 1.6rem; color: var(--c-forest); }
.pcard__price small { font-family: var(--f-text); font-size: .78rem; color: var(--c-stone); }
.pcard__body > .pcard__price:first-child { border-top: 0; }

/* ---------- Price tables ---------- */
.pprice { background: var(--c-paper); }
.pprice--ivory { background: var(--c-ivory); }
.pprice__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 22px; }
.pprice__cat { padding: clamp(22px, 2.4vw, 34px); border-radius: 24px; background: var(--c-ivory); border: 1px solid rgba(184, 154, 103, .22); }
.pprice--ivory .pprice__cat { background: var(--c-paper); }
.pprice__title { font-family: var(--f-display); font-size: 1.45rem; font-weight: 400; color: var(--c-forest-deep); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(184, 154, 103, .35); }
.pprice__group { margin: 18px 0 6px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-ink); }
.pprice__list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: .92rem; line-height: 1.45; color: var(--c-graphite); }
.pprice__list li + li { border-top: 1px dashed rgba(28, 31, 30, .1); }
.pprice__list i { flex: 1; min-width: 16px; }
.pprice__list b { font-weight: 600; color: var(--c-forest-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pprice__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 26px; font-size: .84rem; color: var(--c-stone); }
.pprice__note > .i { color: var(--c-champagne); }

/* ---------- Offers (green band) ---------- */
.poffer { position: relative; padding-block: calc(clamp(70px, 8vw, 110px) + var(--curve-h, 0px)) clamp(70px, 8vw, 110px); color: var(--c-ivory); background: radial-gradient(90% 120% at 0% 0%, var(--c-forest-2) 0%, var(--c-forest) 40%, var(--c-forest-deep) 100%); }
.poffer__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.poffer__title { color: var(--c-ivory); margin: 20px 0 16px; }
.poffer__sub { color: rgba(247, 244, 238, .78); max-width: 380px; }
.poffer__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.poffer__card { display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 24px; background: var(--c-ivory); color: var(--c-graphite); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.poffer__save { align-self: flex-start; padding: 4px 12px; border-radius: var(--r-pill); background: var(--c-forest); color: var(--c-champagne-light); font-size: .75rem; font-weight: 700; margin-bottom: 14px; }
.poffer__name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 400; line-height: 1.2; color: var(--c-forest-deep); }
.poffer__tag { margin-top: 4px; font-size: .84rem; color: var(--c-stone); }
.poffer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 16px 0 14px; }
.poffer__price > span { font-family: var(--f-display); font-size: 2.2rem; font-weight: 500; line-height: 1; color: var(--c-forest); }
.poffer__price s { font-size: .95rem; color: var(--c-stone); text-decoration-color: #9A7640; }
.poffer__extras-label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-ink); margin-bottom: 6px; }
.poffer__extras li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--c-line); font-size: .86rem; }
.poffer__extras b { font-weight: 600; white-space: nowrap; }
.poffer__cta { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--c-forest); }
.poffer__cta .i { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.poffer__cta:hover .i { transform: translateX(4px); }

/* ---------- Installment strip ---------- */
.pinstall { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; padding: 22px 26px; border-radius: 22px; background: var(--c-paper); border: 1px solid rgba(184, 154, 103, .3); }
.pinstall__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(184, 154, 103, .55); color: var(--c-gold-deep); flex: none; }
.pinstall__title { font-family: var(--f-display); font-size: 1.35rem; color: var(--c-forest-deep); }
.pinstall__text { font-size: .9rem; color: var(--c-stone); max-width: 520px; }
.pinstall__partners { display: flex; gap: 10px; margin-left: auto; }
.pinstall__partners li { padding: 8px 16px; border-radius: var(--r-pill); background: var(--c-ivory); border: 1px solid var(--c-line); font-weight: 600; font-size: .86rem; color: var(--c-forest-deep); }

/* ---------- Before / after ---------- */
.pba__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.pba-card { padding: 10px 10px 16px; border-radius: 26px; background: var(--c-paper); box-shadow: 0 18px 40px -28px rgba(21, 42, 35, .25); display: grid; gap: 14px; }
.pba { --pos: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--c-cream); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.pba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.pba__tag { position: absolute; bottom: 12px; z-index: 2; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(21, 42, 35, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--c-ivory); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pba__tag--before { left: 12px; }
.pba__tag--after { right: 12px; }
.pba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: var(--c-ivory); box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none; }
.pba__handle { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--c-ivory); color: var(--c-forest); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.pba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.pba:focus-within .pba__handle { outline: 2px solid var(--c-champagne); outline-offset: 3px; }
.pba-card__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 10px 0; }
.pba-card__cap span { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.2; color: var(--c-forest-deep); }
.pba-card__cap small { font-size: .8rem; color: var(--c-stone); text-align: right; }
.pba__note { display: flex; align-items: center; gap: 8px; margin-top: 24px; font-size: .8rem; color: var(--c-stone); }
.pba__note .i { color: var(--c-champagne); }

/* ---------- FAQ ---------- */
.pfaq { background: var(--c-ivory); }
.pfaq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.pfaq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.pfaq__intro > p:not(.eyebrow) { color: var(--c-stone); margin: 20px 0 28px; max-width: 380px; }
.pfaq__intro .btn { margin-top: 8px; }
.pfaq__item { border-bottom: 1px solid var(--c-line); }
.pfaq__item:first-child { border-top: 1px solid var(--c-line); }
.pfaq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: clamp(1.12rem, 1.02rem + .4vw, 1.35rem); line-height: 1.3; color: var(--c-forest-deep); }
.pfaq__item summary::-webkit-details-marker { display: none; }
.pfaq__toggle { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--c-line); flex: none; transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.pfaq__toggle::before, .pfaq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--c-forest); transition: transform .45s var(--ease), background-color .35s; }
.pfaq__toggle::after { transform: rotate(90deg); }
.pfaq__item[open] .pfaq__toggle { background: var(--c-forest); border-color: var(--c-forest); }
.pfaq__item[open] .pfaq__toggle::before, .pfaq__item[open] .pfaq__toggle::after { background: var(--c-ivory); }
.pfaq__item[open] .pfaq__toggle::after { transform: rotate(0deg); }
.pfaq__answer { overflow: hidden; }
.pfaq__answer p { padding: 0 56px 24px 0; color: var(--c-stone); max-width: 680px; }

/* ---------- Related pages ---------- */
.prelated { background: var(--c-paper); }
.prelated__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.prelated__card { display: flex; flex-direction: column; padding: 10px; border-radius: 24px; background: var(--c-ivory); border: 1px solid rgba(28, 31, 30, .06); transition: translate .6s var(--ease), box-shadow .6s var(--ease); }
.prelated__card:hover { translate: 0 -5px; box-shadow: 0 30px 60px -32px rgba(21, 42, 35, .3), inset 0 0 0 1px rgba(184, 154, 103, .35); }
.prelated__img { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--c-cream); }
.prelated__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prelated__card:hover .prelated__img img { transform: scale(1.06); }
.prelated__body { display: grid; gap: 6px; padding: 18px 12px 10px; }
.prelated__body b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 400; color: var(--c-forest-deep); }
.prelated__body small { font-size: .88rem; color: var(--c-stone); line-height: 1.5; }
.prelated__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .84rem; font-weight: 600; color: var(--c-forest); }
.prelated__more .i { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.prelated__card:hover .prelated__more .i { transform: translateX(4px); }

/* ---------- Doctor strip ---------- */
.pdoc { background: linear-gradient(180deg, var(--c-ivory), var(--c-cream)); }
.pdoc__inner { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1080px; }
.pdoc__photo { aspect-ratio: 4 / 5; border-radius: 180px 180px 26px 26px; overflow: hidden; background: radial-gradient(70% 80% at 50% 40%, #F5F6F9 0%, #EEEFF4 55%, #E5E6EB 100%); box-shadow: inset 0 0 0 1px rgba(184, 154, 103, .35); }
.pdoc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.pdoc__role { font-size: .92rem; font-weight: 500; color: var(--c-gold-ink); margin: 6px 0 18px; }
.pdoc__text { color: var(--c-stone); margin-bottom: 26px; max-width: 560px; }

/* ---------- Closing CTA band ---------- */
.pcta { position: relative; overflow: clip; isolation: isolate; padding: calc(clamp(72px, 8vw, 120px) + var(--curve-h, 0px)) 0 clamp(72px, 8vw, 120px); text-align: center; color: var(--c-ivory); background: radial-gradient(80% 120% at 50% 100%, #234436 0%, var(--c-forest) 45%, var(--c-forest-deep) 100%); }
.pcta__tooth { position: absolute; left: 50%; top: 56%; z-index: -1; width: min(520px, 80vw); height: auto; transform: translate(-50%, -50%); opacity: .22; pointer-events: none; }
.pcta .eyebrow { justify-content: center; }
.pcta .h2 { color: var(--c-ivory); max-width: 760px; margin-inline: auto; }
.pcta .h2 em { color: var(--c-champagne-light); }
.pcta__text { max-width: 520px; margin: 18px auto 34px; color: rgba(247, 244, 238, .78); }
.pcta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pcta__hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: .86rem; color: rgba(247, 244, 238, .65); }
.pcta__hint .i { color: var(--c-champagne-light); }
main > .pcta:last-child { padding-bottom: clamp(100px, 10vw, 150px); }

/* ---------- Generic prose (privacy etc.) ---------- */
.prose { max-width: 780px; color: var(--c-graphite); }
.prose h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--c-forest-deep); margin: 42px 0 14px; }
.prose p, .prose li { color: var(--c-stone); line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin: 12px 0; }
.prose a { color: var(--c-forest); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .phero__inner, .psplit__inner, .poffer__inner, .pfaq__inner, .pdoc__inner { grid-template-columns: 1fr; }
  .phero__media { max-width: 560px; }
  .psplit--reverse .psplit__media { order: 0; }
  .pfaq__intro { position: static; }
  .pfeat--3, .pfeat--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfeat--3 .pfeat__item, .pfeat--4 .pfeat__item { border-left: 1px solid var(--c-line); border-top: 0; }
  .pfeat--3 .pfeat__item:nth-child(odd), .pfeat--4 .pfeat__item:nth-child(odd) { border-left: 0; }
  .pfeat--3 .pfeat__item:nth-child(n + 3), .pfeat--4 .pfeat__item:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
  .pcards--3, .pcards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psteps { grid-auto-flow: row; grid-template-columns: 1fr; gap: 26px; padding-top: 0; padding-left: 74px; }
  .psteps__rail { left: 26px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .psteps__rail i { transform-origin: top; }
  .psteps__num { top: -6px; left: -74px; }
  .pdoc__photo { max-width: 320px; }
}
@media (max-width: 760px) {
  .phero__lined { padding-left: 22px; }
  .phero__actions .btn { width: 100%; }
  .phero__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .phero__tooth { width: 110px; left: -16px; bottom: -30px; }
  .pfeat--2, .pfeat--3, .pfeat--4 { grid-template-columns: 1fr; }
  .pfeat .pfeat__item { border-left: 0 !important; padding: 30px 8px; }
  .pfeat .pfeat__item:nth-child(n + 2) { border-top: 1px solid var(--c-line); }
  .pcards--2, .pcards--3, .pcards--4 { grid-template-columns: 1fr; }
  .pinstall__partners { margin-left: 0; }
  .pfaq__answer p { padding-right: 0; }
  .pcta__actions .btn { width: 100%; }
  .pprice__list li { font-size: .88rem; }
}
/* A single related card should not stretch across the whole row. */
.prelated__grid:has(> :only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }
.prelated__grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 760px) { .prelated__grid:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; } }
/* Reveal frames must not act as the browser's scroll anchor while they animate (keeps deep links in place). */
[data-reveal-img] { overflow-anchor: none; }
