/* ==========================================================================
   DENTAL ARC - HOMEPAGE
   Editorial, quiet layout: serif headlines, generous space, one accent colour.
   Loads after style.css (tokens, reset, container).
   ========================================================================== */

:root {
  --ink: #1F1F1F;
  --ink-2: #4A5056;
  --ink-3: #7A8288;
  --paper: #FBFAF7;
  --paper-2: #F3F1EC;
  --line: rgba(31, 31, 31, .1);
  --teal: #21B7B0;
  --teal-deep: #0F5E5A;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: auto; }
body { background: var(--paper); color: var(--ink); font-family: 'Plus Jakarta Sans', sans-serif; }
body.menu-open { overflow: hidden; }
main { overflow-x: clip; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.container.narrow { max-width: 980px; }
img { display: block; max-width: 100%; }
em { font-style: italic; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 5000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Type ---------- */
.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 20px;
}
.kicker.light { color: rgba(255, 255, 255, .7); }
.section-heading {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12; letter-spacing: -.02em; color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn-solid, .btn-light, .btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 46px; padding: 0 24px; border-radius: 999px; cursor: pointer;
  font: 600 .92rem 'Plus Jakarta Sans', sans-serif; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.btn-solid { background: var(--ink); color: #fff; border: 0; }
.btn-solid:hover { background: var(--teal-deep); }
.btn-solid svg { transition: transform .3s var(--ease); }
.btn-solid:hover svg { transform: translateX(4px); }
.btn-light { background: #fff; color: var(--ink); border: 0; }
.btn-light:hover { background: var(--paper-2); }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 1rem; }
.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); padding: 6px 0;
}
.link-arrow::after { content: '→'; transition: transform .3s var(--ease); }
.link-arrow::before { content: ''; position: absolute; left: 0; right: 22px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover::before { transform: scaleX(1); }
.link-arrow.light { color: #fff; }

/* ---------- Header ---------- */
.site-nav-header {
  position: sticky; top: 0; z-index: 1000; height: var(--nav-h);
  background: rgba(251, 250, 247, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; box-shadow: none; transition: border-color .3s, background .3s;
}
.site-nav-header.scrolled { border-bottom-color: var(--line); background: rgba(251, 250, 247, .94); }
.nav-container { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand-logo { height: 38px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; font-size: .92rem; font-weight: 500; color: var(--ink-2); padding: 6px 0; background: none !important; border-radius: 0; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-btn { display: none; width: 44px; height: 44px; position: relative; background: none; border: 0; cursor: pointer; }
.mobile-menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.mobile-menu-btn span:first-child { top: 17px; }
.mobile-menu-btn span:last-child { top: 26px; }
.mobile-menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .site-nav-header, .site-nav-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .mobile-menu-btn { display: block; }
  .nav-actions .btn-solid { display: none; }
  .nav-menu { display: none; }
  .nav-menu.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; padding: 24px clamp(20px, 4vw, 40px) 40px;
    background: var(--paper); overflow-y: auto; animation: menuIn .35s var(--ease);
  }
  .nav-menu.mobile-open .nav-link { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-menu.mobile-open .nav-link::after { display: none; }
  .nav-menu.mobile-open .nav-menu-cta { display: block; margin-top: 32px; }
  .nav-menu.mobile-open .nav-menu-cta .btn-solid { width: 100%; height: 56px; }
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero (fits the screen) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100svh - var(--nav-h)); min-height: 560px; max-height: 900px;
  display: flex; align-items: center;
  background: radial-gradient(70% 60% at 85% 20%, rgba(33, 183, 176, .10), transparent 70%), var(--paper);
}
.hero-arcs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.arc-line { fill: none; stroke: var(--teal); stroke-width: 1; opacity: .16; }
.arc-line-2 { opacity: .1; }
.hero-grid { width: 100%; height: 100%; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(24px, 4vh, 48px); }
.hero-title {
  font-family: var(--font-serif); font-weight: 400; color: var(--ink);
  font-size: clamp(2.6rem, min(5.4vw, 9vh), 5.2rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: clamp(18px, 3vh, 28px);
}
.hero-title em { color: var(--teal-deep); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; transition: transform 1.1s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.hero-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; color: var(--ink-2); max-width: 470px; margin-bottom: clamp(24px, 4vh, 40px); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-note { margin-top: clamp(20px, 3.5vh, 36px); font-size: .88rem; color: var(--ink-3); min-height: 1.4em; }
.hero-note b { color: var(--ink); font-weight: 600; }
.hero-in { transition: opacity .9s ease, transform .9s var(--ease); }
.hero-lead.hero-in { transition-delay: .3s; }
.hero-actions.hero-in { transition-delay: .45s; }
.hero-note.hero-in { transition-delay: .6s; }

.hero-visual { position: relative; height: min(100%, 680px); width: 100%; }
.arch-frame, .orb-frame { margin: 0; transition: translate .7s var(--ease), opacity 1.1s ease, transform 1.3s var(--ease); }
.arch-frame {
  position: absolute; right: 0; top: 0; bottom: 6%; width: 76%;
  border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 40px 80px -30px rgba(15, 94, 90, .35);
  transition-delay: .1s;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 2.4s var(--ease); }
.arch-ring {
  position: absolute; right: -16px; top: -16px; bottom: calc(6% - 16px); width: calc(76% + 32px);
  border-radius: 999px 999px 36px 36px; border: 1px solid rgba(15, 94, 90, .18); transition: opacity 1.4s ease .8s;
}
.orb-frame {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid var(--paper); box-shadow: 0 24px 50px rgba(31, 31, 31, .16); transition-delay: .4s;
}
.orb-frame img { width: 100%; height: 100%; object-fit: cover; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 0; width: 1px; height: 48px;
  background: rgba(31, 31, 31, .12); overflow: hidden;
}
.scroll-cue span {
  position: absolute; left: 0; top: 0; width: 100%; height: 18px;
  background: var(--teal-deep); animation: cueLine 2.4s var(--ease) infinite;
}
@keyframes cueLine {
  0% { transform: translateY(-100%); opacity: 0; }
  35% { opacity: 1; }
  85% { transform: translateY(280%); opacity: 0; }
  100% { transform: translateY(280%); opacity: 0; }
}

/* Entrance (only when JS runs, so content is never hidden without it) */
.js .hero:not(.is-ready) .hero-title .line > span { transform: translateY(105%); }
.js .hero:not(.is-ready) .hero-in, .js .hero:not(.is-ready) .arch-ring { opacity: 0; transform: translateY(16px); }
.js .hero:not(.is-ready) .arch-frame, .js .hero:not(.is-ready) .orb-frame { opacity: 0; transform: translateY(24px); }
.js .hero:not(.is-ready) .arch-frame img { transform: scale(1.1); }
.js .arc-line { stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.is-ready .arc-line { animation: drawArc 2.8s cubic-bezier(.65, 0, .35, 1) forwards; }
.is-ready .arc-line-2 { animation-delay: .25s; }
@keyframes drawArc { to { stroke-dashoffset: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 12vw, 160px) 0; }

/* About */
.about { background: var(--paper); }
.statement {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.25; letter-spacing: -.015em; color: var(--ink);
}
.statement em { color: var(--teal-deep); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(64px, 8vw, 110px); }
.value { padding-top: 26px; border-top: 1px solid var(--line); }
.value-num { display: block; font-family: var(--font-serif); font-size: 1rem; color: var(--teal-deep); margin-bottom: 16px; }
.value h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; margin-bottom: 10px; color: var(--ink); }
.value p { color: var(--ink-2); line-height: 1.75; }

/* Treatments */
.treatments { background: var(--paper); }
.treatments-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.treatments-intro { position: sticky; top: calc(var(--nav-h) + 48px); }
.treatments-intro .section-heading { margin-bottom: 20px; }
.treatments-intro p:not(.kicker) { color: var(--ink-2); line-height: 1.75; margin-bottom: 32px; max-width: 380px; }
.treatment-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.treatment-row {
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line); color: inherit; overflow: hidden; isolation: isolate;
}
.treatment-row::before {
  content: ''; position: absolute; inset: 0; background: var(--paper-2); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.treatment-row:hover::before { transform: scaleY(1); }
.t-num { font-family: var(--font-serif); font-style: italic; color: var(--teal-deep); font-size: 1.05rem; padding-left: 8px; }
.t-body strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: var(--ink); margin-bottom: 6px; transition: transform .5s var(--ease); }
.t-body span { color: var(--ink-2); font-weight: 400; font-size: .98rem; line-height: 1.65; display: block; max-width: 520px; }
.t-go {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  padding: 8px 14px; margin-right: 8px; border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s, transform .4s var(--ease);
}
.t-go::after { content: ' \2192'; display: inline-block; transition: transform .35s var(--ease); }
.treatment-row:hover .t-body strong { transform: translateX(6px); }
.treatment-row:hover .t-go { color: var(--teal-deep); border-bottom-color: var(--teal); }
.treatment-row:hover .t-go::after { transform: translateX(4px); }

/* Studio */
.studio { position: relative; height: clamp(440px, 85vh, 820px); overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.studio-image { position: absolute; inset: 0; margin: 0; }
.studio-image img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.studio::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(10, 30, 29, .7) 100%); }
.studio-caption { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 7vw, 88px); }
.studio-quote { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.25; max-width: 760px; letter-spacing: -.01em; }

/* First visit */
.first-visit { background: var(--paper); }
.section-top { max-width: 640px; margin-bottom: clamp(48px, 7vw, 80px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative; padding: 8px clamp(24px, 3.5vw, 48px);
  border-left: 1px solid rgba(31, 31, 31, .08);
}
.step:first-child { padding-left: 0; border-left: 0; }
.step:last-child { padding-right: 0; }
.step-head {
  position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid rgba(31, 31, 31, .08);
}
.step-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.step:hover .step-head::after { transform: scaleX(1); }
.step-num { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--teal-deep); }
.step-tag { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.step h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.4rem, 1.9vw, 1.65rem); margin-bottom: 10px; color: var(--ink); }
.step p { color: var(--ink-2); line-height: 1.75; max-width: 340px; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 2.5vw, 36px); margin-top: clamp(64px, 9vw, 120px); }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--paper-2); box-shadow: 0 30px 60px -30px rgba(15, 94, 90, .22); }
.gallery figure:last-child { margin-top: clamp(40px, 8vw, 110px); aspect-ratio: 4 / 5; }
.gallery figure:not(.slides) img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery figure:not(.slides):hover img { transform: scale(1.03); }

/* Contact */
.contact { background: var(--teal-deep); color: #fff; padding: clamp(88px, 12vw, 150px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: end; }
.contact h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 20px; color: #fff; }
.contact h2 em { color: #9FE3DF; }
.contact-cta > p:not(.kicker) { color: rgba(255, 255, 255, .78); line-height: 1.75; max-width: 440px; margin-bottom: 36px; }
.contact-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.contact-details { display: grid; gap: 28px; margin: 0; }
.contact-details > div { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact-details dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 8px; font-weight: 600; }
.contact-details dd { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.contact-details a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); transition: border-color .3s; }
.contact-details a:hover { border-color: #fff; }

/* Footer */
.footer {
  background: #0B2F2D;
  color: rgba(255, 255, 255, .68);
  padding: clamp(64px, 8vw, 104px) 0 36px;
  font-size: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 22px;
}
.footer-tagline {
  color: rgba(255, 255, 255, .74);
  line-height: 1.72;
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-pillars {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .52);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.footer-pillars span { color: var(--teal); }
.footer-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: 600 .84rem 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.footer-book-btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.footer-col-title {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9FE3DF;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-links a {
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  transition: color .25s, transform .25s var(--ease);
  display: inline-block;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-visit-list {
  margin: 0;
  display: grid;
  gap: 16px;
}
.footer-visit-list dt {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .46);
  margin-bottom: 4px;
}
.footer-visit-list dd {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
}
.footer-visit-list a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  transition: border-color .25s;
}
.footer-visit-list a:hover { border-color: #fff; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}
.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-meta-links a {
  color: rgba(255, 255, 255, .6);
  transition: color .25s;
}
.footer-meta-links a:hover { color: #fff; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

.floating-whatsapp-btn { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-image { clip-path: inset(12% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-image.is-visible { clip-path: inset(0 0 0 0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { height: auto; max-height: none; min-height: calc(100svh - var(--nav-h)); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 72px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: clamp(360px, 92vw, 520px); max-width: 480px; margin: 0 auto; }
  .scroll-cue { display: none; }
  .values, .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step, .step:first-child, .step:last-child { padding: 0; border-left: 0; }
  .treatments-layout { grid-template-columns: 1fr; }
  .treatments-intro { position: static; }
  .contact-grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-actions { flex-direction: column; gap: 14px; }
  .hero-actions .btn-solid { width: 100%; }
  .arch-frame { width: 80%; }
  .arch-ring { width: calc(80% + 32px); }
  .orb-frame { width: 42%; }
  .treatment-row { grid-template-columns: 40px 1fr; padding: 24px 0; }
  .t-go { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:last-child { margin-top: 0; aspect-ratio: 4 / 3; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-in, .js .hero .line > span, .js .arch-frame, .js .orb-frame, .js .arch-ring { opacity: 1 !important; transform: none !important; }
  .js .reveal-image { clip-path: none !important; }
  .js .arc-line { stroke-dashoffset: 0; }
}

/* Balanced line breaks: no lonely last words */
h1, h2, h3, .statement, .studio-quote { text-wrap: balance; }
p, dd { text-wrap: pretty; }

/* ---------- About card ---------- */
.about-card {
  display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; overflow: hidden;
  background: #fff; border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(31, 31, 31, .04), 0 30px 70px -30px rgba(15, 94, 90, .22);
}
.about-card-brand {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: clamp(40px, 5vw, 64px) 32px; background: linear-gradient(160deg, #F2FAF9 0%, #E3F4F2 100%);
  border-right: 1px solid var(--line); overflow: hidden;
}
.about-card-brand::before, .about-card-brand::after {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: -55%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(15, 94, 90, .14); transform: translateX(-50%);
}
.about-card-brand::before { width: 130%; }
.about-card-brand::after { width: 175%; border-color: rgba(15, 94, 90, .08); }
.about-card-logo { width: min(220px, 80%); height: auto; }
.about-card-tag { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }
.about-card-body { padding: clamp(36px, 5vw, 72px); }
.about-card .statement { font-size: clamp(1.6rem, 2.8vw, 2.45rem); }
.about-card-details {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px clamp(24px, 4vw, 56px);
  margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.about-card-details dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.about-card-details dd { margin: 0; color: var(--ink); font-weight: 500; }
.about-card-details a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.about-card-details a:hover { border-color: var(--teal-deep); }
@media (max-width: 960px) {
  .about-card { grid-template-columns: 1fr; }
  .about-card-brand { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px 24px; }
  .about-card-logo { width: 170px; }
  .about-card-details { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .about-card { border-radius: 22px; }
  .about-card-body { padding: 28px 22px 32px; }
}

/* ---------- Hero particle symbol (background) ---------- */
.hero-symbol { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity .8s ease; }
.hero-symbol.is-on { opacity: 1; }

/* ---------- Studio: sunlit wall (brand identity look) ---------- */
.studio-wall {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr; min-height: clamp(560px, 88vh, 840px);
  background: linear-gradient(180deg, #F7F4EE 0%, #FBF9F5 55%, var(--paper) 100%);
}
.wall-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wall-light::before { /* diagonal sun beam */
  content: ''; position: absolute; inset: -20%;
  background: linear-gradient(118deg, transparent 22%, rgba(255, 252, 244, .95) 34%, rgba(255, 250, 238, .6) 46%, transparent 58%);
  mix-blend-mode: screen;
}
.leaf-shadow {
  position: absolute; left: -6%; top: -12%; width: min(70vw, 860px); height: auto;
  color: rgba(74, 64, 50, .13); transform-origin: 20% 10%;
  animation: leafSway 14s ease-in-out infinite alternate;
}
@keyframes leafSway { from { transform: rotate(-2deg) translate(0, 0); } to { transform: rotate(2.5deg) translate(12px, 8px); } }
.studio-wall-copy {
  align-self: center; justify-self: center; width: 100%; max-width: 640px; padding: clamp(64px, 9vw, 120px) clamp(24px, 5vw, 56px);
  text-align: center;
}
.studio-mark { width: 68px; height: auto; margin: 0 auto 22px; opacity: .92; }
.spaced { font-size: .74rem; letter-spacing: .38em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 28px; }
.spaced::after { content: ''; display: block; width: 36px; height: 1.5px; background: var(--teal); margin: 14px auto 0; }
.spaced.small { font-size: .68rem; letter-spacing: .32em; color: var(--ink-2); margin: 30px 0 0; }
.studio-wall-title {
  font-family: var(--font-serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem); line-height: 1.26; letter-spacing: -.012em;
}
.studio-wall-title em { color: var(--teal-deep); }
.studio-wall-image { position: relative; margin: 0; overflow: hidden; }
.studio-wall-image img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: 40% 50%; will-change: transform; }
@media (max-width: 960px) {
  .studio-wall { grid-template-columns: 1fr; min-height: 0; }
  .studio-wall-image { height: clamp(380px, 110vw, 620px); }
  .leaf-shadow { width: 120vw; }
}

/* About content inside the sunlit studio section */
.studio-details {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 0;
  margin: 44px 0 0; padding-top: 28px; border-top: 1px solid rgba(31, 31, 31, .12);
}
.studio-details > div { padding: 0 clamp(18px, 2.5vw, 32px); border-left: 1px solid rgba(31, 31, 31, .12); }
.studio-details > div:first-child { padding-left: 0; border-left: 0; }
.studio-details > div:last-child { padding-right: 0; }
.studio-details dt { white-space: nowrap; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.studio-details dd { margin: 0; white-space: nowrap; font-size: .88rem; color: var(--ink); font-weight: 500; }
.studio-details a { color: var(--ink); border-bottom: 1px solid rgba(31, 31, 31, .2); transition: border-color .3s; }
.studio-details a:hover { border-color: var(--teal-deep); }
.studio-values { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; text-align: left; }
.studio-values article { padding-top: 20px; border-top: 1px solid rgba(31, 31, 31, .12); }
.studio-values h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; margin-bottom: 8px; color: var(--ink); }
.studio-values p { font-size: .92rem; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 960px) {
  .studio-details { grid-template-columns: 1fr; gap: 18px; }
  .studio-details > div, .studio-details > div:first-child, .studio-details > div:last-child { padding: 0; border-left: 0; }
  .studio-values { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Hero image rotation ---------- */
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s linear; }
.slides img.is-active { opacity: 1; transform: scale(1); }
.arch-frame.slides img { object-position: 50% 28%; }

/* ---------- Promises (seamless flow from Hero into Studio) ---------- */
.promises {
  position: relative;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 28%, #F7F4EE 100%);
  padding: clamp(36px, 5vw, 72px) 0 clamp(68px, 8.5vw, 120px);
}
.promises-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  align-items: stretch;
}
.promises-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px clamp(28px, 4vw, 56px) 6px 0;
}
.promises-intro .kicker { margin-bottom: 22px; }
.promises-intro .kicker::after {
  content: ''; display: block; width: 32px; height: 1.5px; background: var(--teal); margin-top: 12px;
}
.promises-lead {
  font-family: var(--font-serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.75rem, 2.5vw, 2.3rem); line-height: 1.18; letter-spacing: -.02em;
  max-width: 340px;
}
.promises-lead em { color: var(--teal-deep); }
.promises-pillars {
  margin-top: clamp(28px, 4vw, 48px);
  font-size: .7rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-3); display: flex; align-items: center; gap: 12px;
}
.promises-pillars span { color: var(--teal); font-weight: 700; }

.promise {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 6px clamp(24px, 3.8vw, 52px);
  border-left: 1px solid rgba(31, 31, 31, .08);
}
.promise:last-child { padding-right: 0; }
.promise-head {
  position: relative;
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(24px, 3.2vw, 36px); padding-bottom: 16px;
  border-bottom: 1px solid rgba(31, 31, 31, .08);
}
.promise-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.promise:hover .promise-head::after { transform: scaleX(1); }
.promise-num {
  font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; line-height: 1;
  color: var(--teal-deep); letter-spacing: -.02em;
}
.promise-tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3);
}
.promise h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.16; letter-spacing: -.015em;
  color: var(--ink); margin-bottom: 14px;
}
.promise h3 em { color: var(--teal-deep); }
.promise p {
  color: var(--ink-2); font-size: .98rem; line-height: 1.75;
  max-width: 380px; margin-bottom: 28px;
}
.promise-foot {
  margin-top: auto; padding-top: 14px;
  font-size: .76rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-3);
  display: flex; align-items: center; gap: 12px;
}
.promise-foot::before {
  content: ''; width: 18px; height: 1px; background: var(--teal); flex-shrink: 0;
  transition: width .4s var(--ease);
}
.promise:hover .promise-foot::before { width: 28px; }

@media (max-width: 960px) {
  .promises-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .promises-intro {
    grid-column: 1 / -1;
    padding: 0;
  }
  .promises-lead { max-width: 520px; }
  .promises-pillars { margin-top: 24px; }
  .promise { padding: 0 28px; }
  .promise:nth-of-type(1) { padding-left: 0; border-left: 0; }
  .promise:last-child { padding-right: 0; }
}
@media (max-width: 640px) {
  .promises-grid { grid-template-columns: 1fr; row-gap: 36px; }
  .promise, .promise:nth-of-type(1), .promise:last-child {
    padding: 0;
    border-left: 0;
  }
}

/* ---------- Hero frames: editorial layout ---------- */
.hero-visual { filter: none; }
.arch-frame {
  right: 0; top: 0; bottom: 8%; width: 76%; border-radius: 6px;
  box-shadow: 0 50px 90px -40px rgba(15, 94, 90, .45);
}
.frame-line {
  position: absolute; right: -22px; top: 22px; bottom: calc(8% - 22px); width: 76%;
  border: 1px solid rgba(15, 94, 90, .35); border-radius: 6px; pointer-events: none;
  transition: opacity 1.4s ease .9s, translate .7s var(--ease);
}
.orb-frame {
  left: 0; bottom: 0; width: 40%; aspect-ratio: 4 / 5; border-radius: 6px; z-index: 2;
  border: 0; outline: 8px solid var(--paper); box-shadow: 0 30px 60px -20px rgba(31, 31, 31, .3);
  background: #0B2F2D; cursor: pointer;
}
.orb-frame.orb-video-frame {
  width: 52%; aspect-ratio: 5 / 4;
}
.orb-frame.subhero-orb {
  cursor: default; background: var(--paper-2);
}
.orb-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s var(--ease);
}
.orb-video-frame::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(11, 47, 45, .18) 0%, rgba(11, 47, 45, .36) 100%);
  pointer-events: none; transition: opacity .4s ease;
}
.orb-video-frame:hover .orb-video { transform: scale(1.04); }
.orb-play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 56px; height: 56px; padding: 0; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(15, 36, 35, .52); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.orb-play-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--teal); color: #fff;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.orb-play-icon svg { margin-left: 2px; }
.orb-video-frame:hover .orb-play-btn, .orb-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(15, 94, 90, .82); border-color: rgba(255, 255, 255, .6);
}
.orb-video-frame:hover .orb-play-icon, .orb-play-btn:hover .orb-play-icon {
  background: #fff; color: var(--teal-deep);
}

/* Fullscreen Studio Film Modal */
.video-lightbox {
  position: fixed; inset: 0; z-index: 4500;
  display: flex; flex-direction: column;
  background: rgba(8, 22, 21, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s;
}
.video-lightbox.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.video-lightbox-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px clamp(20px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
}
.video-lightbox-title {
  font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.video-lightbox-close {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06);
  color: #fff; font: 600 .74rem 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: background .3s, border-color .3s;
}
.video-lightbox-close:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}
.video-lightbox-stage {
  flex: 1; display: grid; place-items: center;
  padding: clamp(16px, 3vw, 36px); overflow: hidden;
}
.video-lightbox-player {
  width: min(100%, 1440px); max-height: calc(100svh - 120px);
  aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 6px; background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .65);
}
.frame-tag {
  position: absolute; right: -52px; bottom: 8%; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); transition: opacity 1.2s ease 1.1s;
}
.js .hero:not(.is-ready) .frame-line, .js .hero:not(.is-ready) .frame-tag { opacity: 0; }
@media (max-width: 1200px) { .frame-tag { display: none; } }
@media (max-width: 560px) {
  .arch-frame, .frame-line { width: 84%; }
  .frame-line { right: -10px; top: 10px; bottom: calc(8% - 10px); }
  .orb-frame { width: 42%; outline-width: 6px; }
  .orb-frame.orb-video-frame { width: 56%; }
  .orb-play-btn { width: 46px; height: 46px; }
  .orb-play-icon { width: 32px; height: 32px; }
}

/* ---------- Before & after ---------- */
.compare { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 50%, var(--paper) 100%); }
.compare-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.compare .section-heading { margin-bottom: 20px; }
.compare .section-heading em { color: var(--teal-deep); }
.compare-copy > p:not(.kicker):not(.compare-note) { color: var(--ink-2); line-height: 1.75; margin-bottom: 24px; max-width: 440px; }
.compare-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.compare-points li { position: relative; padding-left: 28px; color: var(--ink); line-height: 1.5; }
.compare-points li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 1.5px solid var(--teal-deep); border-bottom: 1.5px solid var(--teal-deep); transform: rotate(-45deg); }
.compare-note { margin-top: 18px; font-size: .8rem; color: var(--ink-3); }
.compare-slider {
  position: relative; margin: 0; aspect-ratio: 1200 / 896; border-radius: 6px; overflow: hidden; user-select: none;
  box-shadow: 0 40px 80px -30px rgba(15, 94, 90, .35); background: var(--paper-2); touch-action: pan-y;
}
.compare-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none; }
.compare-handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .3s var(--ease);
}
.compare-slider:hover .compare-handle span, .compare-range:focus-visible ~ .compare-handle span { transform: scale(1.08); }
.compare-range:focus-visible ~ .compare-handle span { outline: 2px solid var(--teal); outline-offset: 3px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare-tag {
  position: absolute; bottom: 18px; padding: 6px 14px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .85); color: var(--ink); backdrop-filter: blur(6px); pointer-events: none; transition: opacity .3s;
}
.compare-tag.before { left: 18px; }
.compare-tag.after { right: 18px; }
@media (max-width: 960px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-slider { order: -1; border-radius: 6px; }
}

@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.compare-slider.is-hinting { transition: --pos .6s var(--ease); }

/* ---------- Header blends into the hero at the top ---------- */
.site-nav-header:not(.scrolled), body:not(.menu-open) .site-nav-header:not(.scrolled) {
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent;
}
body.menu-open .site-nav-header { background: var(--paper); }
.hero { margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); height: 100svh; max-height: calc(900px + var(--nav-h)); }
@media (max-width: 960px) { .hero { height: auto; min-height: 100svh; } }

/* stacked logo on top, horizontal once scrolled */
.nav-brand { position: relative; display: block; height: 58px; width: 200px; }
.nav-brand .nav-brand-logo { position: absolute; left: 0; top: 50%; transition: opacity .45s ease, transform .55s var(--ease); }
.nav-logo-stacked { height: 58px; transform: translateY(-50%); }
.nav-logo-inline { height: 38px; opacity: 0; transform: translateY(-50%) translateY(6px); }
.site-nav-header.scrolled .nav-logo-stacked, body.menu-open .nav-logo-stacked { opacity: 0; transform: translateY(-50%) scale(.9); transform-origin: left center; }
.site-nav-header.scrolled .nav-logo-inline, body.menu-open .nav-logo-inline { opacity: 1; transform: translateY(-50%); }
@media (max-width: 560px) { .nav-logo-stacked { height: 50px; } .nav-logo-inline { height: 32px; } .nav-brand { width: 170px; } }

/* ==========================================================================
   HOMEPAGE TREATMENT ROW PRICING & ACTIONS
   ========================================================================== */
.t-meta-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 10px;
}
.t-price-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--teal-deep);
}
.t-price-pill::before {
  content: ''; width: 14px; height: 1px; background: var(--teal);
}
.t-subtags {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
}
.t-subtag {
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(15, 94, 90, .22);
  color: var(--teal-deep); background: rgba(33, 183, 176, .06);
}
.treatments-more-bar {
  margin-top: 36px; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* ==========================================================================
   SUBPAGE HERO & EDITORIAL ARCHITECTURE (about.html & treatments.html)
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(65% 55% at 88% 15%, rgba(33, 183, 176, .09), transparent 70%),
              linear-gradient(180deg, var(--paper) 0%, #F7F5F0 100%);
}
.page-hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 88px); align-items: end;
}
.page-hero-title {
  font-family: var(--font-serif); font-weight: 400; color: var(--ink);
  font-size: clamp(2.5rem, 4.8vw, 4.4rem); line-height: 1.06; letter-spacing: -.03em;
  margin-bottom: 24px;
}
.page-hero-title em { color: var(--teal-deep); }
.page-hero-lead {
  font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.78; color: var(--ink-2);
  max-width: 600px;
}
.page-hero-aside {
  padding-left: clamp(24px, 3.5vw, 48px);
  border-left: 1px solid rgba(31, 31, 31, .1);
}
.page-hero-aside p {
  font-size: .95rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 24px;
}
.page-hero-actions {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px;
}
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-aside { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid rgba(31, 31, 31, .1); }
}

/* ==========================================================================
   TREATMENTS CATALOG PAGE (treatments.html)
   ========================================================================== */
.services-section {
  padding: clamp(56px, 8vw, 112px) 0 clamp(88px, 11vw, 148px);
  background: var(--paper);
}
.services-filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-bottom: 28px; margin-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(31, 31, 31, .1);
}
.services-filters {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(31, 31, 31, .12);
  background: transparent; color: var(--ink-2);
  font: 500 .84rem 'Plus Jakarta Sans', sans-serif; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.services-count {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}

.services-catalog {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3.8vw, 48px);
}
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3.5vw, 44px);
  background: #fff; border: 1px solid rgba(31, 31, 31, .09); border-radius: 6px;
  box-shadow: 0 20px 50px -35px rgba(15, 94, 90, .14);
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 94, 90, .32);
  box-shadow: 0 32px 64px -32px rgba(15, 94, 90, .24);
}
.service-card-media {
  position: relative; margin: 0 0 22px; aspect-ratio: 16 / 10; border-radius: 5px; overflow: hidden;
  background: var(--paper-2); cursor: pointer;
}
.service-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.03);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}
.service-card-media img.is-active {
  opacity: 1; transform: scale(1);
}
.service-card:hover .service-card-media img.is-active {
  transform: scale(1.04);
}
.service-media-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(15, 24, 24, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.service-card-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(31, 31, 31, .08);
  position: relative;
}
.service-card-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
}
.service-card:hover .service-card-head::after { transform: scaleX(1); }
.service-num {
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--teal-deep);
}
.service-cat {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
}
.service-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.18; letter-spacing: -.015em;
  color: var(--ink); margin-bottom: 14px;
}
.service-desc {
  color: var(--ink-2); font-size: .96rem; line-height: 1.75; margin-bottom: 20px;
  white-space: pre-line;
}
.service-sublinks {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.service-sublinks-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  margin-right: 4px;
}
.service-sublink {
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(15, 94, 90, .24); background: rgba(33, 183, 176, .06);
  color: var(--teal-deep); font: 600 .76rem 'Plus Jakarta Sans', sans-serif;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.service-sublink:hover {
  background: var(--teal-deep); color: #fff; border-color: var(--teal-deep);
}

.service-price-box {
  margin-top: auto; margin-bottom: 22px; padding: 14px 18px;
  background: #F7F5F0; border-left: 2px solid var(--teal); border-radius: 0 4px 4px 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.service-price-label {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.service-price-val {
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink); font-weight: 500;
}
.service-price-note {
  width: 100%; font-size: .78rem; color: var(--ink-2); margin-top: 2px;
}

.service-foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(31, 31, 31, .08);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.service-links {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.service-action-link {
  position: relative; background: none; border: 0; padding: 4px 0;
  font: 600 .84rem 'Plus Jakarta Sans', sans-serif; color: var(--ink);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: color .25s;
}
.service-action-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-action-link:hover { color: var(--teal-deep); }
.service-action-link:hover::after { transform: scaleX(1); }
.service-action-link.muted-link { color: var(--ink-2); font-weight: 500; }
.service-action-link.muted-link:hover { color: var(--teal-deep); }
.service-book-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  font: 600 .82rem 'Plus Jakarta Sans', sans-serif; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.service-book-btn:hover {
  background: var(--teal-deep); border-color: var(--teal-deep); color: #fff;
}

@media (max-width: 900px) {
  .services-catalog { grid-template-columns: 1fr; }
}

/* ---------- Fee Guide Section on Treatments Page ---------- */
.fee-guide-section {
  padding: clamp(72px, 10vw, 130px) 0;
  background: linear-gradient(180deg, #F7F4EE 0%, var(--paper) 100%);
}
.fee-guide-layout {
  display: grid; grid-template-columns: 4.5fr 7.5fr; gap: clamp(40px, 6vw, 96px); align-items: start;
}
.fee-guide-intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.fee-guide-intro p:not(.kicker) { color: var(--ink-2); line-height: 1.75; margin: 20px 0 32px; }
.fee-table {
  border-top: 1px solid rgba(31, 31, 31, .12);
}
.fee-row {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid rgba(31, 31, 31, .09);
}
.fee-row strong {
  display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; color: var(--ink);
}
.fee-row small {
  display: block; color: var(--ink-2); font-size: .86rem; margin-top: 4px;
}
.fee-amount {
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--teal-deep); font-weight: 500;
  white-space: nowrap; text-align: right;
}
@media (max-width: 960px) {
  .fee-guide-layout { grid-template-columns: 1fr; }
  .fee-guide-intro { position: static; }
}
@media (max-width: 560px) {
  .fee-row { grid-template-columns: 1fr; gap: 6px; }
  .fee-amount { text-align: left; }
}

/* ---------- Treatment Detail ("Know More") Modal ---------- */
.tr-modal-overlay {
  position: fixed; inset: 0; z-index: 3200;
  display: grid; place-items: center; padding: 24px;
  background: rgba(15, 24, 24, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s;
}
.tr-modal-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.tr-modal-card {
  width: 100%; max-width: 680px; max-height: calc(100svh - 48px); overflow-y: auto;
  background: var(--paper); border: 1px solid rgba(31, 31, 31, .12); border-radius: 8px;
  padding: clamp(28px, 4.5vw, 52px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .28);
  transform: translateY(18px); transition: transform .35s var(--ease);
}
.tr-modal-overlay.is-open .tr-modal-card { transform: none; }
.tr-modal-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid rgba(31, 31, 31, .1);
}
.tr-modal-cat {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep);
}
.tr-modal-close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(31, 31, 31, .15);
  background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer;
  transition: background .25s, color .25s;
}
.tr-modal-close:hover { background: var(--ink); color: #fff; }
.tr-modal-title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.12; color: var(--ink); margin-bottom: 18px;
}
.tr-modal-gallery {
  margin-bottom: 24px;
}
.tr-modal-main-img {
  margin: 0 0 10px; position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background: var(--paper-2); border: 1px solid rgba(31, 31, 31, .08);
}
.tr-modal-main-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tr-modal-main-img figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(15, 24, 24, .72));
  color: rgba(255, 255, 255, .92); font-size: .78rem; line-height: 1.4;
}
.tr-modal-thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px;
}
.tr-modal-thumb {
  width: 76px; height: 54px; padding: 0; border-radius: 5px; overflow: hidden;
  border: 2px solid transparent; background: var(--paper-2); cursor: pointer; flex-shrink: 0;
  opacity: .68; transition: opacity .2s, border-color .2s;
}
.tr-modal-thumb:hover { opacity: .95; }
.tr-modal-thumb.is-active { opacity: 1; border-color: var(--teal-deep); }
.tr-modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tr-modal-desc {
  color: var(--ink-2); font-size: 1rem; line-height: 1.8; margin-bottom: 18px; white-space: pre-line;
}
.tr-modal-details {
  color: var(--ink-2); font-size: .96rem; line-height: 1.78; margin-bottom: 24px;
}
.tr-modal-highlights {
  list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px;
}
.tr-modal-highlights li {
  position: relative; padding-left: 26px; color: var(--ink); font-size: .94rem; line-height: 1.5;
}
.tr-modal-highlights li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 7px;
  border-left: 1.5px solid var(--teal-deep); border-bottom: 1.5px solid var(--teal-deep);
  transform: rotate(-45deg);
}
.tr-modal-foot {
  padding-top: 24px; border-top: 1px solid rgba(31, 31, 31, .1);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* ==========================================================================
   ABOUT PAGE SECTIONS (about.html)
   ========================================================================== */
.about-story-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.about-story-copy p {
  color: var(--ink-2); font-size: 1.02rem; line-height: 1.82; margin-bottom: 22px;
}
.about-story-copy .statement { margin-bottom: 28px; }
.about-story-media {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: end;
}
.about-story-media figure {
  margin: 0; border-radius: 6px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 30px 60px -30px rgba(15, 94, 90, .25);
}
.about-story-media figure:first-child { aspect-ratio: 4 / 5; }
.about-story-media figure:last-child { aspect-ratio: 3 / 4; margin-bottom: 36px; }
.about-story-media img { width: 100%; height: 100%; object-fit: cover; }

.doctors-section {
  padding: clamp(80px, 11vw, 148px) 0;
  background: linear-gradient(180deg, var(--paper) 0%, #F7F4EE 50%, var(--paper) 100%);
}
.doctors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 44px);
  margin-top: clamp(48px, 6vw, 72px);
}
.doctor-card {
  display: flex; flex-direction: column;
}
.doctor-portrait {
  margin: 0 0 24px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden;
  background: var(--paper-2); box-shadow: 0 28px 56px -28px rgba(15, 94, 90, .22);
}
.doctor-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  transition: transform 1.2s var(--ease);
}
.doctor-card:hover .doctor-portrait img { transform: scale(1.03); }
.doctor-role {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 8px;
}
.doctor-name {
  font-family: var(--font-serif); font-weight: 400; font-size: 1.55rem; color: var(--ink);
  margin-bottom: 6px;
}
.doctor-cred {
  font-size: .82rem; color: var(--ink-3); margin-bottom: 14px; font-weight: 500;
}
.doctor-bio {
  color: var(--ink-2); font-size: .94rem; line-height: 1.72;
}

.standards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: clamp(48px, 6vw, 72px);
}
.standard-item {
  padding: 8px clamp(24px, 3.5vw, 48px);
  border-left: 1px solid rgba(31, 31, 31, .09);
}
.standard-item:first-child { padding-left: 0; border-left: 0; }
.standard-item:last-child { padding-right: 0; }

@media (max-width: 960px) {
  .about-story-grid, .doctors-grid, .standards-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .standard-item, .standard-item:first-child, .standard-item:last-child { padding: 0; border-left: 0; }
  .about-story-media figure:last-child { margin-bottom: 0; }
}

/* ==========================================================================
   CONTACT PAGE SECTIONS (contact.html)
   ========================================================================== */
.contact-page-section {
  padding: clamp(72px, 10vw, 140px) 0;
  background: linear-gradient(180deg, var(--paper) 0%, #F7F4EE 100%);
}
.contact-page-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(44px, 7vw, 108px); align-items: start;
}
.contact-info-list {
  margin: 36px 0 0; padding: 0; display: grid; gap: 0;
  border-top: 1px solid rgba(31, 31, 31, .1);
}
.contact-info-item {
  padding: 22px 0; border-bottom: 1px solid rgba(31, 31, 31, .1);
}
.contact-info-item dt {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 6px;
}
.contact-info-item dd {
  margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65;
}
.contact-info-item dd span {
  display: block; font-size: .88rem; color: var(--ink-2); margin-top: 2px;
}
.contact-info-item a {
  color: var(--ink); border-bottom: 1px solid rgba(31, 31, 31, .22); transition: border-color .3s, color .3s;
}
.contact-info-item a:hover {
  color: var(--teal-deep); border-color: var(--teal-deep);
}

.inquiry-card {
  background: #fff; border: 1px solid rgba(31, 31, 31, .09); border-radius: 6px;
  padding: clamp(32px, 4.5vw, 56px);
  box-shadow: 0 30px 70px -35px rgba(15, 94, 90, .18);
}
.inquiry-card h2 {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  line-height: 1.15; color: var(--ink); margin-bottom: 10px;
}
.inquiry-card > p {
  color: var(--ink-2); font-size: .95rem; line-height: 1.7; margin-bottom: 28px;
}
.inquiry-form {
  display: grid; gap: 18px;
}
.inquiry-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.inquiry-field {
  display: flex; flex-direction: column; gap: 7px;
}
.inquiry-field span {
  font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.inquiry-field input, .inquiry-field select, .inquiry-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 6px;
  border: 1px solid rgba(31, 31, 31, .15); background: var(--paper);
  font: 400 .96rem 'Plus Jakarta Sans', sans-serif; color: var(--ink);
  transition: border-color .25s, background .25s;
}
.inquiry-field input:focus, .inquiry-field select:focus, .inquiry-field textarea:focus {
  outline: none; border-color: var(--teal-deep); background: #fff;
}
.inquiry-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(31, 31, 31, .08);
}
.inquiry-note {
  font-size: .82rem; color: var(--ink-3);
}

.location-section {
  padding: clamp(72px, 10vw, 136px) 0;
  background: var(--paper);
}
.location-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 5vw, 72px); align-items: center;
}
.map-frame {
  position: relative; aspect-ratio: 16 / 11; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(31, 31, 31, .1); background: var(--paper-2);
  box-shadow: 0 32px 64px -32px rgba(15, 94, 90, .24);
}
.map-frame iframe {
  width: 100%; height: 100%; border: 0; filter: saturate(85%) contrast(98%);
}
@media (max-width: 960px) {
  .contact-page-grid, .location-grid, .inquiry-row-2 { grid-template-columns: 1fr; }
}

/* ============================== RENDER PERFORMANCE ============================== */
.compare,
.visit,
.location-section,
.fee-guide-section,
.contact,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

/* ============================== TREATMENT SLIDER ============================== */
.tr-slider-section { background: var(--paper); padding: clamp(40px, 6vw, 88px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.tr-slider-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.tr-slider-head .kicker { margin-bottom: 14px; }
.tr-slider-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); max-width: 560px; margin: 0; }
.tr-slider-head h2 em { color: var(--teal-deep); }
.tr-slider-nav { display: flex; align-items: center; gap: 10px; }
.tr-all-link { margin-right: 14px; font-weight: 600; font-size: .92rem; color: var(--teal-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.tr-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.tr-arrow:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }

.tr-track {
  --pad: max(clamp(20px, 4vw, 40px), calc((100vw - 1240px) / 2 + clamp(20px, 4vw, 40px)));
  display: flex; gap: clamp(16px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 8px var(--pad) 28px; scrollbar-width: none; outline: none;
}
.tr-track::-webkit-scrollbar { display: none; }
.tr-card {
  position: relative; flex: 0 0 clamp(260px, 27vw, 340px); aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  scroll-snap-align: start; color: #fff; isolation: isolate; box-shadow: 0 30px 60px -35px rgba(15, 94, 90, .55);
  transition: transform .5s var(--ease);
}
.tr-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tr-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 40, 38, 0) 35%, rgba(8, 40, 38, .55) 62%, rgba(8, 40, 38, .92) 100%); }
.tr-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.tr-card-num { position: absolute; top: 20px; left: 22px; font-family: var(--font-serif); font-size: 1rem; color: rgba(255, 255, 255, .85); }
.tr-card-cat { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #9FE3DE; margin-bottom: 10px; }
.tr-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; margin: 0 0 10px; color: #fff; }
.tr-card p { font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .78); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .6s var(--ease), opacity .4s ease, margin .4s ease; }
.tr-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; font-weight: 600; color: #fff; }
.tr-card-more::after { content: "\2192"; transition: transform .3s var(--ease); }
.tr-card:hover img, .tr-card:focus-visible img { transform: scale(1.06); }
.tr-card:hover p, .tr-card:focus-visible p { max-height: 4em; opacity: 1; }
.tr-card:hover .tr-card-more::after { transform: translateX(4px); }
.tr-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (hover: none) { .tr-card p { max-height: 4em; opacity: 1; } }
.tr-card.tr-card-all { background: var(--teal-deep); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.tr-card.tr-card-all::before { display: none; }
.tr-card-all > span:first-child { font-family: var(--font-serif); font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.15; }
.tr-card-all em { color: #9FE3DE; }

.tr-progress { position: relative; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; max-width: 260px; }
.tr-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--teal-deep); border-radius: 2px; transition: left .4s var(--ease), width .4s var(--ease); }
@media (max-width: 640px) {
  .tr-slider-nav .tr-arrow { display: none; }
  .tr-all-link { margin-right: 0; }
}

/* Treatment carousel: gliding rail, leading card opens up */
.tr-track { overflow: hidden; scroll-snap-type: none; padding: 8px 0 28px var(--pad); touch-action: pan-y; }
.tr-rail { display: flex; gap: clamp(16px, 2vw, 24px); will-change: transform; transition: transform 1s cubic-bezier(.65, 0, .25, 1); }
.tr-card { transition: transform .9s cubic-bezier(.2, .8, .2, 1), box-shadow .9s ease, opacity .9s ease; user-select: none; -webkit-user-drag: none; }
.tr-card-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.tr-card-media img { position: static; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.tr-card .tr-card-body > * { transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
.tr-card:not(.is-active) .tr-card-cat { opacity: .75; }
.tr-card.is-active { box-shadow: 0 40px 70px -30px rgba(15, 94, 90, .6); }
.tr-card.is-active .tr-card-media img { transform: scale(1); transition: transform 5.2s linear; }
.tr-card.is-active p { max-height: 4em; opacity: 1; margin-bottom: 0; transition-delay: .35s; }
.tr-card.is-active .tr-card-cat { transform: translateY(0); }
.tr-card.is-active h3 { animation: trRise .9s cubic-bezier(.2, .8, .2, 1) both .15s; }
@keyframes trRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tr-card.is-past { opacity: 0; transform: translateX(-24px) scale(.94); pointer-events: none; transition: opacity .6s ease, transform 1s cubic-bezier(.65, 0, .25, 1); }
.tr-card:hover .tr-card-media img { transform: scale(1.05); }
.tr-rail.is-jumping .tr-card, .tr-rail.is-jumping .tr-card *, .tr-rail.is-jumping .tr-card-media img { transition: none !important; animation: none !important; }

.tr-progress-row { display: flex; align-items: center; gap: 18px; }
.tr-count { font-family: var(--font-serif); font-size: .95rem; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 64px; }
.tr-progress { flex: 0 1 260px; }
.tr-progress i { left: 0 !important; width: 100% !important; transform-origin: left; transform: scaleX(0); transition: none; animation: trTick 4.2s linear forwards; }
.tr-slider-section.is-paused .tr-progress i { animation-play-state: paused; }
@keyframes trTick { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .tr-rail, .tr-card, .tr-card-media img { transition: none !important; } .tr-progress i { animation: none; transform: scaleX(1); } }

/* ============================== FOOTER (refined) ============================== */
.site-footer { padding-top: clamp(56px, 7vw, 96px); }
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(44px, 6vw, 72px); margin-bottom: clamp(44px, 6vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta-line { font-family: var(--font-serif); font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.02em; color: #fff; margin: 0; }
.footer-cta-line em { color: #7FD8D2; }
.footer-cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer .footer-book-btn { margin: 0; }
.footer-wa { color: rgba(255, 255, 255, .8); border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.footer-wa:hover { color: #fff; border-color: #fff; }
.site-footer .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; border-bottom: 0; padding-bottom: clamp(40px, 5vw, 56px); }
.site-footer .footer-logo { height: 64px; margin-bottom: 18px; }
.site-footer .footer-tagline { max-width: 240px; }
.footer-text { line-height: 1.8; margin: 0 0 12px; }
.footer-text a { color: rgba(255, 255, 255, .8); }
.footer-text a:hover { color: #fff; }
.footer-link-arrow { color: #7FD8D2; font-size: .86rem; }
.footer-link-arrow:hover { color: #fff; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-top { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.footer-top:hover { color: #fff; }
@media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { align-items: flex-start; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero: full-bleed photography ---------- */
.hero { background: var(--paper); align-items: stretch; }
.hero-bg { position: absolute; inset: 0; margin: 0; z-index: -3; overflow: hidden; background: var(--paper-2); }
.hero-bg::after { /* paper wash on the left keeps type and logo crisp, the photo breathes on the right */
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, .96) 0%, rgba(251, 250, 247, .9) 24%, rgba(251, 250, 247, .45) 40%, rgba(251, 250, 247, 0) 54%),
    linear-gradient(180deg, rgba(251, 250, 247, .55) 0%, rgba(251, 250, 247, 0) 14%);
}
.hero-reel img {
  object-position: 78% 30%; opacity: 1; z-index: 0; clip-path: inset(0 0 0 100%); transform: scale(1.1);
  transition: clip-path 1.4s cubic-bezier(.77, 0, .18, 1), transform 8s cubic-bezier(.2, .6, .3, 1);
}
.hero-reel img.is-leaving { z-index: 1; clip-path: inset(0); transform: scale(1.03) translateX(-2%); transition: transform 1.4s cubic-bezier(.77, 0, .18, 1); }
.hero-reel img.is-active { z-index: 2; clip-path: inset(0); transform: scale(1); }
.js .hero:not(.is-ready) .hero-bg img.is-active { transform: scale(1.12); }
.hero-symbol { z-index: -2; }

.hero-inner {
  position: relative; width: 100%; min-height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-self: stretch;
  padding-top: clamp(24px, 6vh, 64px); padding-bottom: clamp(22px, 4vh, 40px);
}
.hero-copy { align-self: center; max-width: 780px; }
.hero-dot {
  display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; vertical-align: 1px;
  background: var(--teal); animation: heroPulse 2.6s ease-out infinite;
}
@keyframes heroPulse { 0% { box-shadow: 0 0 0 0 rgba(33, 183, 176, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(33, 183, 176, 0); } }
.hero .hero-title { font-size: clamp(2.8rem, min(6.4vw, 11vh), 6.4rem); line-height: 1; letter-spacing: -.04em; }
.hero-em { position: relative; display: inline-block; }
.hero-swash {
  position: absolute; left: 2%; bottom: -.03em; width: 96%; height: .2em; overflow: visible;
  fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke;
}
.hero-swash path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.is-ready .hero-swash path { animation: swash 1.4s cubic-bezier(.65, 0, .35, 1) 1s forwards; }
@keyframes swash { to { stroke-dashoffset: 0; } }

/* bottom rail: facts · photo index · film */
.hero-base { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: end; gap: clamp(24px, 4vw, 56px); }
.hero-base.hero-in { transition-delay: .7s; }
.hero-facts { display: grid; grid-template-columns: repeat(2, max-content); margin: 0; padding-top: 16px; border-top: 1px solid rgba(31, 31, 31, .14); }
.hero-facts > div { padding-right: 28px; }
.hero-facts > div + div { padding-left: 28px; border-left: 1px solid rgba(31, 31, 31, .14); }
.hero-facts dt { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.hero-facts dd { margin: 0; font-size: .93rem; color: var(--ink); }


.hero-film {
  position: relative; margin: 0; width: clamp(240px, 22vw, 320px); aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
  background: #0B2F2D; cursor: pointer; outline: 6px solid rgba(255, 255, 255, .85);
  box-shadow: 0 30px 60px -24px rgba(9, 30, 29, .55);
}
.hero-film .orb-video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.hero-film:hover .orb-video { transform: scale(1.05); }
.hero-film figcaption {
  position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 12px; padding: 14px;
  background: linear-gradient(to top, rgba(9, 26, 25, .78), transparent); color: #fff; font-size: .74rem; line-height: 1.35;
}
.hero-film figcaption b { display: block; font-size: .84rem; font-weight: 600; }
.hero-film figcaption span { opacity: .9; }
.hero-film-play {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--teal-deep); transition: transform .35s var(--ease), background .35s;
}
.hero-film-play svg { margin-left: 2px; }
.hero-film-play::after { content: ''; position: absolute; inset: 0; }
.hero-film:hover .hero-film-play { transform: scale(1.1); background: var(--teal); color: #fff; }

@media (max-width: 960px) {
  .hero-bg { position: relative; inset: auto; height: 46svh; min-height: 300px; order: -1; }
  .hero { display: flex; flex-direction: column; height: auto; max-height: none; }
  .hero-bg::after { background: linear-gradient(0deg, var(--paper) 0%, rgba(251, 250, 247, 0) 22%), linear-gradient(180deg, rgba(251, 250, 247, .5) 0%, rgba(251, 250, 247, 0) 20%); }
  .hero-inner { padding-top: 20px; gap: 36px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .hero .hero-title .line { white-space: normal; }
  .hero .hero-actions { margin-bottom: 0; }
  .hero-facts { width: 100%; grid-template-columns: 1fr 1fr; }
  .hero-copy { max-width: none; }
  .hero-base { grid-template-columns: 1fr; justify-items: center; }
  .hero-facts { text-align: left; }
  .hero-film { width: min(100%, 420px); }
}
@media (max-width: 560px) {
  .hero-facts > div { padding-right: 14px; } .hero-facts > div + div { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-reel img { clip-path: none; transition: none; }
  .hero-dot { animation: none; }
}

/* ---------- Hero: photo panel at native size (sharp), arc thread, depth ---------- */
@media (min-width: 961px) {
  .hero-bg {
    inset: calc(var(--nav-h) + 6px) 0 0 auto; width: min(47vw, 800px); z-index: -1;
    border-radius: clamp(160px, 18vw, 300px) 0 0 0; /* the brand arc */
    box-shadow: -40px 40px 90px -50px rgba(15, 94, 90, .45);
  }
  .hero-bg::after { background: none; }
  .hero-reel img { object-position: 50% 26%; }
  .hero-copy { max-width: calc(53vw - 80px); }
  .hero .hero-title { font-size: clamp(2.8rem, min(5.3vw, 10vh), 5.6rem); }
  .hero-base { grid-template-columns: auto; }
  .hero-film { position: absolute; right: calc(min(47vw, 800px) - 230px - (100vw - 100%) / 2); bottom: clamp(28px, 6vh, 64px); }
}
.hero-reel img { transform: scale(1.035); transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1), transform 9s linear; filter: saturate(1.06) contrast(1.03); }
.hero-reel img.is-active { transform: scale(1); }
.hero-reel img.is-leaving { transform: scale(1) translateX(-3%); }
.js .hero:not(.is-ready) .hero-bg img.is-active { transform: scale(1.035); }
/* entrance: the panel opens upward like a lifting blind */
.hero-bg { transition: clip-path 1.6s cubic-bezier(.77, 0, .18, 1) .1s; clip-path: inset(0 0 0 0 round clamp(160px, 18vw, 300px) 0 0 0); }
.js .hero:not(.is-ready) .hero-bg { clip-path: inset(100% 0 0 0 round clamp(160px, 18vw, 300px) 0 0 0); }

.hero-arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.hero-arc path { fill: none; stroke: var(--teal); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .55; stroke-dasharray: 2200; stroke-dashoffset: 2200; }
.is-ready .hero-arc path { animation: drawArc 3.2s cubic-bezier(.65, 0, .35, 1) .6s forwards; }
@media (max-width: 960px) { .hero-arc { display: none; } .hero-bg { clip-path: none !important; } }
@media (prefers-reduced-motion: reduce) { .hero-arc path { stroke-dashoffset: 0; animation: none; } }

/* ---------- Hero: text side ---------- */
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(18px, 3vh, 28px);
  font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--teal-deep);
}
.hero-rule { width: 44px; height: 1px; background: currentColor; transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.js .hero:not(.is-ready) .hero-rule { transform: scaleX(0); }

/* headline: each word rises out of its own mask, one after another */
.hero .hero-title { margin-bottom: clamp(20px, 3.4vh, 32px); }
.hero .hero-title .line { overflow: visible; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin: 0 -.02em -.12em; }
.hero-title .w > span { display: inline-block; transition: transform 1.25s cubic-bezier(.19, 1, .22, 1), opacity 1.25s ease; transition-delay: calc(.12s + var(--i) * .11s); }
.js .hero:not(.is-ready) .hero-title .w > span { transform: translateY(108%) rotate(4deg); transform-origin: left bottom; opacity: 0; }
.js .hero:not(.is-ready) .hero-title .line > span.w { transform: none; }
.hero-title .w:has(.hero-em) { overflow: visible; clip-path: inset(0 -2% -40% -2%); }

.hero .hero-lead { max-width: 450px; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.75; color: var(--ink-2); }

.hero-promise {
  list-style: none; margin: clamp(30px, 5vh, 52px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: .86rem; color: var(--ink-2); max-width: 430px;
}
.hero-promise li { display: flex; align-items: baseline; gap: 8px; }
.hero-promise span { font-family: var(--font-serif); font-style: italic; color: var(--teal-deep); font-size: .9rem; }
.hero-promise.hero-in { transition-delay: .75s; }

.hero-base.hero-in { transition-delay: .9s; }

@media (max-width: 960px) {
  .hero-eyebrow { justify-content: center; text-align: center; }
  .hero-promise { justify-content: center; }
}
@media (max-width: 560px) {
  .hero-promise { flex-direction: column; align-items: center; }
  .hero-eyebrow { flex-wrap: wrap; gap: 6px; letter-spacing: .2em; }
  .hero-rule { display: none; }
}

/* ---------- Hero: cinematic studio film (home) ---------- */
.hero.cine {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  height: 100svh; min-height: 640px; max-height: none; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h);
  background: #0c1a19; color: #fff; text-align: center;
}
.cine-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cine-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.6s cubic-bezier(.2, .7, .2, 1); }
.hero.cine.is-ready .cine-video { transform: scale(1); }
.cine-media::after { /* deep teal-black wash: calm, keeps type crisp */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(8, 24, 23, .5), rgba(8, 24, 23, .68) 100%),
    linear-gradient(180deg, rgba(8, 24, 23, .55) 0%, rgba(8, 24, 23, .1) 26%, rgba(8, 24, 23, .1) 62%, rgba(8, 24, 23, .7) 100%);
}

.cine-inner { display: flex; flex-direction: column; align-items: center; padding-block: clamp(24px, 6vh, 64px) 0; }
.cine-eyebrow {
  display: inline-flex; align-items: center; gap: 16px; margin: 0 0 clamp(6px, 1.5vh, 14px);
  font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .78);
}
.cine-eyebrow::before, .cine-eyebrow::after { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .7; }

.cine-title { margin: 0; display: grid; justify-items: center; font-weight: 400; }
.cine-script {
  font-family: 'Allura', cursive; font-size: clamp(5rem, min(13vw, 21vh), 12.5rem); line-height: 1.12; color: var(--teal);
  letter-spacing: 0; padding: 0 .25em .06em; margin-bottom: clamp(4px, 1vh, 12px); /* room for the descenders above the caps */
  text-shadow: 0 6px 40px rgba(0, 0, 0, .35);
  clip-path: inset(0 0 0 0); transition: clip-path 2.2s cubic-bezier(.65, 0, .25, 1) .25s, opacity .6s ease .25s;
}
.js .hero.cine:not(.is-ready) .cine-script { clip-path: inset(0 100% 0 0); }
.cine-caps {
  font-family: var(--font-sans, 'Plus Jakarta Sans'), sans-serif; font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.35rem, min(3.4vw, 5vh), 3rem); letter-spacing: .14em; line-height: 1.1; color: #fff;
  white-space: nowrap; /* one row, also while the letters close in */
  transition: letter-spacing 1.8s cubic-bezier(.2, .7, .2, 1) .9s, opacity 1.4s ease .9s;
}
.js .hero.cine:not(.is-ready) .cine-caps { letter-spacing: .26em; opacity: 0; }

.cine-lead { max-width: 560px; margin: clamp(18px, 3vh, 28px) auto clamp(26px, 4.5vh, 40px); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; color: rgba(255, 255, 255, .82); }
.cine-lead.hero-in { transition-delay: 1.3s; }
.cine-actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cine-actions.hero-in { transition-delay: 1.45s; }
.cine-btn {
  padding: 17px 34px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: var(--ink);
  font: 600 .95rem/1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: .02em; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.cine-btn:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.cine-phone { color: #fff; font-weight: 500; letter-spacing: .04em; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .4); transition: border-color .3s; }
.cine-phone:hover { border-color: #fff; }

.cine-base {
  position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(22px, 4vh, 40px); text-align: left;
}
.cine-base.hero-in { transition-delay: 1.7s; }
.cine-facts { margin: 0; border-top-color: rgba(255, 255, 255, .22); }
.cine-facts > div + div { border-left-color: rgba(255, 255, 255, .22); }
.cine-facts dt { color: rgba(255, 255, 255, .6); }
.cine-facts dd { color: #fff; }
.cine-film {
  display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer;
  color: #fff; font: 500 .88rem/1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: .02em;
}
.cine-film-icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5);
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.cine-film-icon svg { margin-left: 2px; }
.cine-film:hover .cine-film-icon { background: #fff; color: var(--ink); transform: scale(1.08); }
.cine-scroll { position: absolute; left: 50%; bottom: 0; width: 1px; height: 54px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.cine-scroll span { position: absolute; left: 0; top: 0; width: 100%; height: 18px; background: #fff; animation: cueLine 2.4s var(--ease) infinite; }

/* header over the film: white logo and links until scrolled */
.has-cine-hero .site-nav-header:not(.scrolled) .nav-logo-stacked { content: url('../assets/images/dental-arc-logo-stacked-white.png'); }
.has-cine-hero:not(.menu-open) .site-nav-header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, .86); }
.has-cine-hero:not(.menu-open) .site-nav-header:not(.scrolled) .nav-link.active, .has-cine-hero:not(.menu-open) .site-nav-header:not(.scrolled) .nav-link:hover { color: #fff; }
.has-cine-hero .site-nav-header:not(.scrolled) .nav-actions .btn-solid { background: #fff; color: var(--ink); }
.has-cine-hero:not(.menu-open) .site-nav-header:not(.scrolled) .mobile-menu-btn span { background: #fff; }

@media (max-width: 760px) {
  .hero.cine { min-height: 600px; }
  .cine-eyebrow { letter-spacing: .24em; font-size: .66rem; }
  .cine-eyebrow::before, .cine-eyebrow::after { width: 22px; }
  .cine-caps { letter-spacing: .1em; }
  .cine-actions { flex-direction: column; gap: 18px; }
  .cine-btn { width: min(100%, 320px); }
  .cine-base { position: relative; flex-direction: column; align-items: center; gap: 22px; margin-top: 40px; }
  .cine-film { display: none; }
  .cine-scroll { display: none; }
  .hero.cine { height: auto; min-height: 100svh; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-video { display: none; }
  .cine-media { background: url('../assets/images/dental-arc-operatory.jpg') center / cover; }
  .cine-script, .cine-caps { transition: none; }
}

/* ---------- Common concerns (home) ---------- */
.concerns { background: var(--paper); }
.concerns-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.concerns-title { margin: 0; display: grid; justify-items: center; font-weight: 400; }
.concerns-script { font-family: 'Allura', cursive; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1.05; color: var(--teal-deep); margin-bottom: 4px; }
.concerns-caps { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.3rem, 2.6vw, 2.1rem); color: var(--ink); }
.concerns-lead { margin: 20px auto 0; max-width: 520px; color: var(--ink-2); line-height: 1.7; }

.concern-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.concern-tile {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 6px; overflow: hidden;
  background: #0c1a19; cursor: pointer; color: #fff; text-align: center; isolation: isolate;
}
.concern-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s ease; filter: saturate(.92); }
.concern-tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 24, 23, .05) 30%, rgba(8, 24, 23, .78) 100%); transition: background .6s ease;
}
.concern-num { position: absolute; left: 18px; top: 16px; font-family: var(--font-serif); font-style: italic; font-size: .9rem; opacity: .85; }
.concern-plus {
  position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.concern-plus::before, .concern-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.concern-plus::after { transform: rotate(90deg); }
.concern-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 18px 24px; display: grid; gap: 8px; transition: transform .6s var(--ease); }
.concern-title { font-family: var(--font-serif); font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; }
.concern-hint { font-size: .82rem; color: rgba(255, 255, 255, .82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s ease; }
.concern-tile:hover img, .concern-tile:focus-visible img { transform: scale(1.08); filter: saturate(1.05); }
.concern-tile:hover::after, .concern-tile:focus-visible::after { background: linear-gradient(180deg, rgba(8, 24, 23, .15) 10%, rgba(15, 94, 90, .85) 100%); }
.concern-tile:hover .concern-hint, .concern-tile:focus-visible .concern-hint { max-height: 3em; opacity: 1; }
.concern-tile:hover .concern-plus, .concern-tile:focus-visible .concern-plus { background: #fff; color: var(--teal-deep); border-color: #fff; transform: rotate(90deg); }
.concern-tile:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.concerns-foot { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 56px); }

/* concern guide popup */
.concern-dialog {
  width: min(980px, calc(100vw - 32px)); max-height: min(88vh, 760px); margin: auto; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(8, 24, 23, .6);
}
.concern-dialog[open] { display: block; animation: cdIn .55s cubic-bezier(.2, .8, .2, 1); }
.concern-dialog::backdrop { background: rgba(8, 24, 23, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: cdFade .4s ease; }
@keyframes cdIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cdFade { from { opacity: 0; } }
body.cd-open { overflow: hidden; }
.cd-close {
  position: absolute; right: 14px; top: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transition: transform .35s var(--ease), background .3s;
}
.cd-close:hover { transform: rotate(90deg); background: #fff; }
.cd-body { display: grid; grid-template-columns: 38% 1fr; grid-template-rows: 1fr auto; max-height: inherit; }
.cd-media { grid-row: 1 / 3; margin: 0; position: relative; }
.cd-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-content { min-height: 0; overflow-y: auto; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) 24px; }
.cd-kicker { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 8px; }
.cd-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.02em; margin: 0 0 16px; }
.cd-urgency { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 26px; padding: 14px 16px; border-radius: 8px; background: rgba(33, 183, 176, .09); color: var(--ink); font-size: .9rem; line-height: 1.55; }
.cd-urgency span { flex: none; width: 8px; height: 8px; margin-top: .5em; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(33, 183, 176, .2); }
.cd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cd-content h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.cd-content ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cd-content li { position: relative; padding-left: 20px; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.cd-content li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 1px; background: var(--teal-deep); }
.cd-avoid { margin: 14px 0 0; font-size: .82rem; line-height: 1.5; color: var(--ink-3); font-style: italic; }
.cd-treat { margin-top: 28px; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(15, 94, 90, .25); background: #fff; cursor: pointer;
  font: 500 .84rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--teal-deep); transition: background .3s, color .3s, border-color .3s;
}
.cd-chip:hover { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.cd-note { margin: 24px 0 0; font-size: .76rem; line-height: 1.5; color: var(--ink-3); }
.cd-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(24px, 4vw, 44px);
  border-top: 1px solid rgba(31, 31, 31, .08); background: #fff;
}
.cd-next { display: grid; gap: 2px; }
.cd-next small { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.cd-next b { font-size: .95rem; font-weight: 600; }
.cd-book {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font: 600 .92rem/1 'Plus Jakarta Sans', system-ui, sans-serif; transition: background .3s, gap .3s var(--ease);
}
.cd-book:hover { background: var(--teal-deep); gap: 14px; }

@media (max-width: 960px) {
  .concern-grid { grid-template-columns: repeat(2, 1fr); }
  .concern-hint { max-height: 3em; opacity: 1; }
}
@media (max-width: 720px) {
  .cd-body { grid-template-columns: 1fr; grid-template-rows: 180px 1fr auto; }
  .cd-media { grid-row: auto; }
  .cd-cols { grid-template-columns: 1fr; gap: 22px; }
  .concern-dialog { max-height: 92svh; }
  .cd-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .cd-book { justify-content: center; }
}
@media (max-width: 420px) {
  .concern-title { font-size: 1rem; letter-spacing: .05em; }
  .concern-text { padding: 0 12px 16px; }
  .concern-hint { display: none; }
}

/* ---------- About page (inspired editorial layout) ---------- */
.ab-heading { margin: 0; display: grid; font-weight: 400; }
.ab-script { font-family: 'Allura', cursive; font-size: clamp(3rem, 6vw, 5rem); line-height: 1.05; color: var(--teal); }
.ab-caps { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.15rem, 2.2vw, 1.8rem); color: var(--ink); margin-top: 2px; }
.ab-center-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); }
.ab-center-head .ab-heading { justify-items: center; }
.ab-center-head p { margin: 18px auto 0; color: var(--ink-2); line-height: 1.7; }

/* story */
.ab-story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.ab-story-media { position: relative; padding: 0 0 clamp(36px, 5vw, 56px) clamp(36px, 5vw, 56px); }
.ab-story-block { position: absolute; left: 0; bottom: 0; width: 72%; height: 78%; border-radius: 6px; background: linear-gradient(160deg, rgba(33, 183, 176, .16), rgba(15, 94, 90, .22)); }
.ab-story-media figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(15, 94, 90, .45); }
.ab-story-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-story-tag { position: absolute; left: 0; top: 18%; margin: 0; writing-mode: vertical-rl; transform: rotate(180deg) translateX(12px); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-deep); }
.ab-statement { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); margin: 26px 0 18px; }
.ab-story-copy > p:not(.ab-statement) { color: var(--ink-2); line-height: 1.8; margin: 0 0 14px; max-width: 540px; }
.ab-story-facts { display: grid; grid-template-columns: repeat(3, max-content); margin: 30px 0 0; padding-top: 20px; border-top: 1px solid rgba(31, 31, 31, .1); }
.ab-story-facts > div { padding-right: 26px; }
.ab-story-facts > div + div { padding-left: 26px; border-left: 1px solid rgba(31, 31, 31, .1); }
.ab-story-facts dt { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ab-story-facts dd { margin: 0; font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); }

/* the Dental Arc way: photo + tinted panel cards */
.ab-way { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.ab-way-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.ab-way-card { border-radius: 6px; overflow: hidden; background: var(--teal-deep); color: #fff; display: flex; flex-direction: column; }
.ab-way-card figure { margin: 0; aspect-ratio: 4 / 3.4; overflow: hidden; }
.ab-way-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.ab-way-card:hover img { transform: scale(1.06); }
.ab-way-panel { flex: 1; padding: 22px 22px 26px; background: linear-gradient(180deg, #145f5b, #0e4a47); }
.ab-way-num { font-family: var(--font-serif); font-style: italic; font-size: .92rem; color: #9fe3dd; }
.ab-way-panel h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; margin: 6px 0 10px; color: #fff; }
.ab-way-panel p { margin: 0; font-size: .88rem; line-height: 1.65; color: rgba(255, 255, 255, .8); }

/* doctors: large alternating profiles */
.ab-docs { display: grid; gap: clamp(64px, 9vw, 120px); }
.ab-doc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.ab-doc.is-flip .ab-doc-portrait { order: 2; }
.ab-doc-portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(15, 94, 90, .45); }
.ab-doc-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.ab-doc-index { position: absolute; left: 18px; bottom: 14px; font-family: 'Allura', cursive; font-size: 3.4rem; line-height: 1; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.ab-doc-role { margin: 0 0 12px; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); }
.ab-doc-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -.025em; line-height: 1.05; margin: 0 0 10px; }
.ab-doc-cred { margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(31, 31, 31, .1); font-size: .88rem; color: var(--ink-3); }
.ab-doc-bio { margin: 0 0 26px; color: var(--ink-2); line-height: 1.8; max-width: 540px; }
.ab-doc-focus h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.ab-doc-focus ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-doc-focus li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(15, 94, 90, .2); font-size: .82rem; color: var(--teal-deep); background: rgba(33, 183, 176, .05); }
.ab-doc-book {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font: 600 .9rem/1 'Plus Jakarta Sans', system-ui, sans-serif; transition: background .3s, gap .3s var(--ease);
}
.ab-doc-book:hover { background: var(--teal-deep); gap: 14px; }

/* closing band */
.ab-close { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding: clamp(90px, 14vw, 160px) 0 clamp(56px, 8vw, 90px); background: #0c1a19; }
.ab-close-media { position: absolute; inset: 0; z-index: -1; }
.ab-close-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-close-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 45%, rgba(8, 24, 23, .58), rgba(8, 24, 23, .82)); }
.ab-close .cine-title { margin: 0; }
.ab-close .cine-script { font-size: clamp(4rem, 10vw, 8rem); clip-path: none; }
.ab-close .cine-caps { font-size: clamp(1.2rem, 2.8vw, 2.3rem); }
.ab-close-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 860px; margin: clamp(56px, 8vw, 84px) auto 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); text-align: left; }
.ab-close-details dt { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 8px; }
.ab-close-details dd { margin: 0; line-height: 1.6; color: #fff; }
.ab-close-details a { color: #fff; }

@media (max-width: 1100px) { .ab-way-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .ab-story-grid, .ab-doc { grid-template-columns: 1fr; }
  .ab-doc.is-flip .ab-doc-portrait { order: 0; }
  .ab-doc-portrait { max-width: 520px; }
  .ab-story-media { max-width: 520px; }
}
@media (max-width: 600px) {
  .ab-way-grid { grid-template-columns: 1fr; }
  .ab-story-facts { grid-template-columns: 1fr 1fr 1fr; }
  .ab-story-facts > div { padding-right: 10px; } .ab-story-facts > div + div { padding-left: 10px; }
  .ab-story-facts dd { font-size: .92rem; }
  .ab-close-details { grid-template-columns: 1fr; text-align: center; }
  .ab-doc-book { width: 100%; justify-content: center; }
}

/* cinematic hero photo set (about): slow cross-fade with a gentle drift */
.cine-slides { position: absolute; inset: 0; margin: 0; }
.cine-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.8s ease, transform 7.5s linear; }
.cine-slides img.is-active { opacity: 1; transform: scale(1); }
.cine-slides img.is-leaving { opacity: 0; transform: scale(1); }

/* ---------- Treatments page: chapters by category ---------- */
.tx-section { padding-top: 0; }
.tx-nav { position: sticky; top: var(--nav-h); z-index: 20; background: rgba(251, 250, 247, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(31, 31, 31, .08); margin-bottom: clamp(56px, 8vw, 96px); }
.tx-nav-inner { display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; padding-block: 14px; }
.tx-nav-inner::-webkit-scrollbar { display: none; }
.tx-nav a { flex: none; font-family: 'Allura', cursive; font-size: 1.7rem; line-height: 1; color: var(--ink-2); text-decoration: none; transition: color .3s; }
.tx-nav a:hover { color: var(--teal); }

.tx-catalog { display: grid; gap: clamp(80px, 11vw, 140px); }
.tx-chapter { scroll-margin-top: calc(var(--nav-h) + 80px); }
.tx-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); padding: clamp(32px, 4vw, 48px) clamp(20px, 4vw, 48px); border: 1px solid rgba(15, 94, 90, .14); border-radius: 6px; background: #fff; }
.tx-title { margin: 0; display: grid; justify-items: center; font-weight: 400; }
.tx-script { font-family: 'Allura', cursive; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1.05; color: var(--teal); }
.tx-caps { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.tx-line { margin: 18px 0 8px; font-weight: 600; color: var(--ink); }
.tx-text { margin: 0 auto; max-width: 560px; color: var(--ink-2); line-height: 1.75; }
.tx-perks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: var(--ink); }
.tx-perks li { display: flex; align-items: center; gap: 9px; }
.tx-perks li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--teal); }

/* featured treatment: tinted panel + photo */
.tx-feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: 6px; overflow: hidden; background: linear-gradient(150deg, #155f5b, #0d4441); color: #fff; min-height: 440px; }
.tx-feature.is-flip .tx-feature-media { order: -1; }
.tx-feature-body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.tx-kicker { margin: 0 0 10px; font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #9fe3dd; }
.tx-feature h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -.02em; line-height: 1.08; margin: 0 0 16px; color: #fff; }
.tx-feature .tx-desc { color: rgba(255, 255, 255, .82); line-height: 1.75; margin: 0 0 18px; max-width: 480px; }
.tx-feature-media { position: relative; margin: 0; min-height: 320px; cursor: pointer; }
.tx-feature-media img, .tx-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tx-subs { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tx-subs button { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font: 500 .8rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; transition: background .3s, color .3s; }
.tx-subs button:hover { background: #fff; color: var(--teal-deep); }
.tx-price { margin: 4px 0 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.tx-price span { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.tx-price b { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; }
.tx-price small { flex-basis: 100%; font-size: .78rem; opacity: .7; }
.tx-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.tx-book { padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: var(--ink); font: 600 .88rem/1 'Plus Jakarta Sans', system-ui, sans-serif; transition: background .3s, color .3s, transform .3s var(--ease); }
.tx-book:hover { background: var(--teal); color: #fff; transform: translateY(-1px); }
.tx-more { padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; color: inherit; font: 500 .86rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif; opacity: .85; }
.tx-more:hover { opacity: 1; }

/* the rest of the category */
.tx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(14px, 1.6vw, 22px); }
.tx-card { display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; background: #fff; border: 1px solid rgba(31, 31, 31, .07); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.tx-card:hover { box-shadow: 0 30px 60px -34px rgba(15, 94, 90, .45); transform: translateY(-3px); }
.tx-card-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; }
.tx-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 24px; }
.tx-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; line-height: 1.15; margin: 0 0 10px; }
.tx-card .tx-desc { margin: 0 0 16px; color: var(--ink-2); font-size: .9rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tx-card .tx-price { margin-top: auto; color: var(--ink); }
.tx-card .tx-actions { margin-top: auto; }
.tx-card .tx-price + .tx-actions { margin-top: 0; }
.tx-card .tx-book { background: var(--ink); color: #fff; }
.tx-card .tx-book:hover { background: var(--teal-deep); }
.tx-card .tx-more { color: var(--ink-2); }

.fee-heading { margin-bottom: 18px; }

@media (max-width: 960px) {
  .tx-feature { grid-template-columns: 1fr; }
  .tx-feature .tx-feature-media, .tx-feature.is-flip .tx-feature-media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .tx-grid { grid-template-columns: repeat(2, 1fr); }
  .tx-nav-inner { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .tx-grid { grid-template-columns: 1fr; }
  .tx-head { padding: 28px 18px; }
  .tx-perks { flex-direction: column; align-items: center; }
}
@media (min-width: 961px) {
  .tx-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
  .tx-grid:has(> :only-child) { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ---------- Contact page ---------- */
.ct-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.ct-block { padding: 26px 0; border-bottom: 1px solid rgba(31, 31, 31, .1); }
.ct-block:first-child { padding-top: 0; }
.ct-caps { margin: 0 0 12px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.ct-block p { margin: 0 0 6px; color: var(--ink-2); line-height: 1.7; }
.ct-block p span { display: block; font-size: .86rem; color: var(--ink-3); }
.ct-block a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(15, 94, 90, .35); transition: border-color .3s, color .3s; }
.ct-block a:hover { color: var(--teal-deep); border-color: var(--teal-deep); }
.ct-note { font-size: .84rem; color: var(--ink-3) !important; }
.ct-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.ct-form-card { padding: clamp(28px, 4vw, 48px); border-radius: 6px; background: #fff; border: 1px solid rgba(15, 94, 90, .14); box-shadow: 0 40px 80px -50px rgba(15, 94, 90, .45); }
.ct-form-lead { margin: 14px 0 26px; color: var(--ink-2); line-height: 1.7; }
.ct-chips-field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.ct-chips-field legend { padding: 0; margin-bottom: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.ct-chips-field legend small { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.inq-chip { position: relative; cursor: pointer; }
.inq-chip input { position: absolute; opacity: 0; pointer-events: none; }
.inq-chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(31, 31, 31, .14);
  font-size: .84rem; color: var(--ink-2); background: var(--paper); transition: background .25s, color .25s, border-color .25s;
}
.inq-chip span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(31, 31, 31, .3); transition: background .25s, border-color .25s; }
.inq-chip:hover span { border-color: var(--teal-deep); }
.inq-chip input:checked + span { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.inq-chip input:checked + span::before { background: #9fe3dd; border-color: #9fe3dd; }
.inq-chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.ct-visit { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.ct-map { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 21 / 8; min-height: 320px; box-shadow: 0 40px 80px -50px rgba(15, 94, 90, .5); margin-bottom: clamp(16px, 2vw, 24px); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.ct-map-btn { position: absolute; left: 20px; bottom: 20px; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .86rem; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); transition: background .3s; }
.ct-map-btn:hover { background: var(--teal-deep); }
.ct-arrival { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 960px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-arrival { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .ct-map { aspect-ratio: 4 / 3; }
}

/* keep hero content clear of the bottom facts strip */
@media (min-width: 761px) {
  .hero.cine .cine-inner { padding-bottom: clamp(96px, 15vh, 150px); }
  .hero.cine .cine-lead { margin-bottom: clamp(20px, 3.2vh, 34px); }
}

/* ---------- Concerns: typographic cards (no photos) ---------- */
.concern-card {
  position: relative; isolation: isolate; overflow: hidden; width: 100%; height: 100%; min-height: 250px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 24px 22px;
  border: 1px solid rgba(15, 94, 90, .13); border-radius: 10px; background: #fff; color: var(--ink); text-align: left; cursor: pointer;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), box-shadow .55s cubic-bezier(.2, .7, .2, 1), border-color .4s, color .4s;
}
.concern-card::before { /* deep teal wash that rises on hover */
  content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(155deg, #17625e 0%, #0c4441 100%);
  clip-path: inset(100% 0 0 0); transition: clip-path .6s cubic-bezier(.65, 0, .25, 1);
}
.concern-card::after { /* the brand arc, faint in the corner */
  content: ''; position: absolute; right: -60px; bottom: -86px; width: 190px; height: 190px; border-radius: 50%; z-index: -1;
  border: 1px solid rgba(33, 183, 176, .22); box-shadow: 0 0 0 22px rgba(33, 183, 176, .05); transition: border-color .5s, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.concern-top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 18px; }
.concern-card .concern-num { position: static; font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--teal-deep); opacity: 1; transition: color .4s; }
.concern-card .concern-plus { position: relative; right: auto; top: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(15, 94, 90, .25); color: var(--teal-deep); flex: none; transition: background .4s, color .4s, border-color .4s, transform .55s var(--ease); }
.concern-card .concern-title { font-family: var(--font-serif); font-size: clamp(1.45rem, 1.9vw, 1.75rem); line-height: 1.1; letter-spacing: -.02em; text-transform: none; }
.concern-card .concern-hint { font-size: .9rem; line-height: 1.55; color: var(--ink-2); max-height: none; opacity: 1; transition: color .4s; }
.concern-foot { margin-top: auto; padding-top: 16px; width: 100%; border-top: 1px solid rgba(31, 31, 31, .08); display: grid; gap: 8px; transition: border-color .4s; }
.concern-foot small { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); transition: color .4s; }
.concern-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.concern-tags i { font-style: normal; font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: rgba(33, 183, 176, .09); color: var(--teal-deep); transition: background .4s, color .4s; }

.concern-card:hover, .concern-card:focus-visible { color: #fff; border-color: transparent; transform: translateY(-4px); box-shadow: 0 34px 60px -34px rgba(12, 68, 65, .7); }
.concern-card:hover::before, .concern-card:focus-visible::before { clip-path: inset(0 0 0 0); }
.concern-card:hover::after, .concern-card:focus-visible::after { border-color: rgba(159, 227, 221, .35); transform: scale(1.15); }
.concern-card:hover .concern-num, .concern-card:focus-visible .concern-num { color: #9fe3dd; }
.concern-card:hover .concern-plus, .concern-card:focus-visible .concern-plus { background: #fff; color: var(--teal-deep); border-color: #fff; transform: rotate(90deg); }
.concern-card:hover .concern-hint, .concern-card:focus-visible .concern-hint { color: rgba(255, 255, 255, .82); }
.concern-card:hover .concern-foot, .concern-card:focus-visible .concern-foot { border-color: rgba(255, 255, 255, .16); }
.concern-card:hover .concern-foot small, .concern-card:focus-visible .concern-foot small { color: rgba(255, 255, 255, .6); }
.concern-card:hover .concern-tags i, .concern-card:focus-visible .concern-tags i { background: rgba(255, 255, 255, .14); color: #fff; }
.concern-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.concern-grid { align-items: stretch; }
.concern-grid > li { display: flex; }

/* popup without a photo: teal header band */
.concern-dialog { width: min(820px, calc(100vw - 32px)); }
.concern-dialog .cd-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
.cd-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 42px) clamp(24px, 4vw, 44px) 26px; background: linear-gradient(155deg, #17625e, #0c4441); color: #fff; }
.cd-hero::after { content: ''; position: absolute; right: -70px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(159, 227, 221, .3); box-shadow: 0 0 0 28px rgba(159, 227, 221, .06); }
.cd-hero .cd-kicker { color: #9fe3dd; }
.cd-hero .cd-title { color: #fff; margin-bottom: 6px; }
.cd-hint { margin: 0 0 18px; color: rgba(255, 255, 255, .78); }
.cd-hero .cd-urgency { margin: 0; background: rgba(255, 255, 255, .1); color: #fff; }
.cd-hero .cd-urgency span { background: #9fe3dd; box-shadow: 0 0 0 4px rgba(159, 227, 221, .25); }
.concern-dialog .cd-close { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.concern-dialog .cd-close:hover { background: #fff; color: var(--ink); }
.concern-dialog .cd-content { padding-top: 28px; }

@media (max-width: 720px) {
  .concern-dialog .cd-body { grid-template-rows: auto 1fr auto; }
  .concern-card { min-height: 0; padding: 18px; }
  .concern-card .concern-title { font-size: 1.2rem; }
  .concern-top { margin-bottom: 8px; }
}
@media (max-width: 420px) {
  .concern-card .concern-hint { display: block; font-size: .8rem; }
  .concern-foot { display: none; }
}
@media (max-width: 720px) { .concern-card::after { display: none; } }

/* phones: hero capital lines stay on one row (sized to fit by site.js) */
@media (max-width: 760px) {
  .cine-caps { white-space: nowrap; letter-spacing: .08em; transition: opacity 1.2s ease .9s, transform 1.2s var(--ease) .9s; }
  .js .hero.cine:not(.is-ready) .cine-caps { letter-spacing: .08em; opacity: 0; transform: translateY(10px); }
}

/* ---------- Footer: quiet and professional ---------- */
.site-footer.fx { padding: clamp(56px, 7vw, 80px) 0 24px; background: #0e1c1b; color: rgba(255, 255, 255, .68); font-size: .92rem; }
.fx-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 56px); }
.fx-logo { height: 72px; width: auto; display: block; margin-bottom: 20px; }
.fx-tagline { margin: 0 0 20px; max-width: 300px; line-height: 1.7; }
.fx-book { padding: 0 0 3px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; font: 600 .88rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; transition: border-color .25s, color .25s; }
.fx-book:hover { color: #9fe3dd; border-color: #9fe3dd; }
.fx-title { margin: 0 0 16px; font-family: inherit; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.fx-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fx-col p { margin: 0; line-height: 1.85; }
.fx-col a, .fx-links a { color: rgba(255, 255, 255, .68); text-decoration: none; transition: color .2s; }
.fx-col a:hover, .fx-links a:hover { color: #fff; }
.fx-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: rgba(255, 255, 255, .45); }
.fx-bottom .footer-copy { margin: 0; }
.fx-top-link { color: rgba(255, 255, 255, .6); text-decoration: none; transition: color .2s; }
.fx-top-link:hover { color: #fff; }
@media (max-width: 1000px) {
  .fx-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .fx-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .fx-bottom { flex-direction: column; align-items: flex-start; }
}
/* while a finger drags the slider, passed cards stay visible so pulling back never shows a gap */
.tr-rail.is-dragging .tr-card.is-past { opacity: 1; transform: none; transition: none; pointer-events: none; }

/* ---------- FAQ (home) ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-lead { margin: 20px 0 30px; max-width: 380px; color: var(--ink-2); line-height: 1.75; }
.faq-ask { display: grid; gap: 4px; max-width: 380px; padding: 22px 22px 20px; border-radius: 10px; background: linear-gradient(155deg, #17625e, #0c4441); color: #fff; }
.faq-ask strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; }
.faq-ask > span { font-size: .85rem; color: rgba(255, 255, 255, .72); }
.faq-ask-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 14px; }
.faq-ask-wa { padding: 11px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .86rem; text-decoration: none; transition: background .3s, color .3s; }
.faq-ask-wa:hover { background: #9fe3dd; }
.faq-ask-call { color: #fff; font-size: .9rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }

.faq-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.faq-filter { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(31, 31, 31, .12); background: transparent; cursor: pointer; font: 500 .84rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.faq-filter:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.faq-filter.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.faq-list { border-top: 1px solid rgba(31, 31, 31, .12); }
.faq-item { border-bottom: 1px solid rgba(31, 31, 31, .12); }
.faq-q { margin: 0; font: inherit; }
.faq-q button {
  width: 100%; display: grid; grid-template-columns: 40px 1fr 34px; align-items: center; gap: 12px; padding: 22px 0; border: 0; background: none;
  cursor: pointer; text-align: left; color: var(--ink); font: inherit;
}
.faq-num { font-family: var(--font-serif); font-style: italic; font-size: .95rem; color: var(--teal-deep); }
.faq-text { font-family: var(--font-serif); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.3; transition: color .25s; }
.faq-q button:hover .faq-text { color: var(--teal-deep); }
.faq-q button:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.faq-icon { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(15, 94, 90, .25); transition: background .35s, border-color .35s, transform .45s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--teal-deep); transition: transform .45s var(--ease), background .35s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--teal-deep); border-color: var(--teal-deep); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: #fff; }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2, .7, .2, 1); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 46px 24px 52px; color: var(--ink-2); line-height: 1.8; opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .5s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: .1s; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid { gap: 0; }
  .faq-aside { position: static; display: contents; }
  .faq-lead { margin: 14px 0 26px; }
  .faq-ask { margin-top: 32px; }
  .faq-aside > .ab-heading, .faq-lead { order: -1; }
  .faq-ask { order: 1; max-width: none; }
}
@media (max-width: 600px) {
  .faq-q button { grid-template-columns: 30px 1fr 30px; gap: 10px; padding: 18px 0; }
  .faq-icon { width: 30px; height: 30px; }
  .faq-a p { padding: 0 0 20px 40px; }
}

/* Treatment slider on touch phones: native snap-scrolling, no animations under the finger */
.tr-track.is-native {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; scroll-behavior: auto;
  padding: 8px 0 28px var(--pad);
}
.tr-track.is-native .tr-rail { transform: none !important; transition: none !important; will-change: auto; padding-right: var(--pad); }
.tr-track.is-native .tr-card {
  scroll-snap-align: start; scroll-snap-stop: normal; opacity: 1 !important; transform: none !important; transition: none !important;
  box-shadow: 0 24px 46px -30px rgba(15, 94, 90, .55); -webkit-tap-highlight-color: transparent;
}
.tr-track.is-native .tr-card-media img { transform: none !important; transition: none !important; }
.tr-track.is-native .tr-card p { max-height: 4em; opacity: 1; margin-bottom: 0; transition: none; }
.tr-track.is-native .tr-card h3 { animation: none !important; }
.tr-track.is-native .tr-card .tr-card-body > * { transition: none !important; opacity: 1 !important; transform: none !important; }
.tr-track.is-native .tr-card-cat { opacity: 1 !important; }

/* hero media: hidden until decoded, then a soft fade (see site.js) */
.hero .media-wait { opacity: 0 !important; }

/* treatment cards: stronger shade behind the text so it reads on bright photos */
.tr-card::before { background: linear-gradient(180deg, rgba(6, 32, 30, .18) 0%, rgba(6, 32, 30, 0) 22%, rgba(6, 32, 30, .35) 45%, rgba(6, 32, 30, .82) 70%, rgba(6, 32, 30, .96) 100%); }
.tr-card-num { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.tr-card-cat { color: #B8F0EB; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.tr-card:not(.is-active) .tr-card-cat { opacity: 1; }
.tr-card h3 { text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.tr-card p { color: rgba(255, 255, 255, .92); }
.tr-card-more { text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }

/* crawler-only copy of JS-rendered content (scripts/seo.mjs) */
.js .seo-static { display: none; }
