/* Zenlo Dental Tourism — static landing. Palette from brand spec. */

@font-face {
  font-family: Figtree;
  src: url("../fonts/figtree-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url("../fonts/figtree-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url("../fonts/figtree-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Figtree;
  src: url("../fonts/figtree-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f6f1e8;
  --paper: #fdfcfa;
  --forest: #1f4a3a;
  --forest-hover: #17382c;
  --ink: #191b18;
  --muted: #6e746a;
  --sage: #e7eee3;
  --sage-deep: #5a7264;
  --line: #e5dfd4;
  --radius: 24px;
  --radius-sm: 20px;
  --wrap: 1220px;
  --gutter: 80px;
  --font: Figtree, "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* `hidden` always wins, even over a component's own display: flex / grid. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.88rem 1.45rem;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 0;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--ease);
}

.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--forest);
  color: var(--paper);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--forest-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 0.45rem;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--forest);
}

.btn-light {
  background: var(--paper);
  color: var(--forest);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--ivory);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand-word {
  font-size: 1.92rem;
  font-weight: 500;
  letter-spacing: -0.042em;
  line-height: 1;
}

.brand-mark {
  width: 28px;
  height: 27.5px;
  flex: none;
  color: var(--ink);
}

.brand-desc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.38;
  font-weight: 500;
  text-align: right;
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--paper);
}

.nav-burger .nav-burger-icon {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-burger .nav-burger-icon::before,
.nav-burger .nav-burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.nav-burger .nav-burger-icon::before {
  top: -5px;
}

.nav-burger .nav-burger-icon::after {
  top: 5px;
}

.header-cta {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.15rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--forest);
}

.photo {
  filter: saturate(0.88) contrast(0.97) sepia(0.14) brightness(1.04);
}

/* Shared section rhythm */

.section {
  padding: 120px 0;
  overflow: hidden;
}

.section-paper {
  background: var(--paper);
  border-radius: 48px;
  box-shadow:
    0 -1px 0 rgba(229, 223, 212, 0.9),
    0 1px 0 rgba(229, 223, 212, 0.9);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: end;
  margin-bottom: 2.75rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.25rem, 3.9vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 28rem;
}

.overline {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Journey bento */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem 1.7rem;
  background: linear-gradient(165deg, #eef3e9 0%, var(--sage) 55%, #dde8d7 100%);
  border: 1px solid rgba(90, 114, 100, 0.18);
  box-shadow:
    0 1px 2px rgba(25, 27, 24, 0.04),
    0 14px 34px -20px rgba(31, 74, 58, 0.22);
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(253, 252, 250, 0.55), transparent 55%);
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(90, 114, 100, 0.36);
  box-shadow:
    0 2px 4px rgba(25, 27, 24, 0.05),
    0 30px 56px -24px rgba(31, 74, 58, 0.38);
}

.bento-card > * {
  position: relative;
}

.bento-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Wide business card */

.bento-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.8rem;
  align-items: center;
  padding: 2.8rem 3rem;
  background: linear-gradient(150deg, #275845 0%, #245442 45%, #16382b 100%);
  border-color: rgba(253, 252, 250, 0.1);
  color: var(--paper);
}

.bento-wide::before {
  background: radial-gradient(110% 100% at 0% 0%, rgba(253, 252, 250, 0.09), transparent 55%);
}

.bento-wide:hover {
  border-color: rgba(253, 252, 250, 0.22);
  box-shadow:
    0 2px 4px rgba(25, 27, 24, 0.06),
    0 30px 56px -22px rgba(23, 56, 44, 0.55);
}

.bento-watermark {
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 230px;
  height: auto;
  fill: none;
  stroke: rgba(253, 252, 250, 0.08);
  stroke-width: 1.4;
  pointer-events: none;
}

.bento-wide-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.bento-wide-copy p {
  margin: 0.95rem 0 1.7rem;
  color: rgba(253, 252, 250, 0.76);
  font-size: 1rem;
  max-width: 26rem;
}

.bento-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.bento-stats li {
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(253, 252, 250, 0.14);
}

.bento-stats li:first-child {
  border-top: 0;
  padding-top: 0;
}

.bento-stats li:last-child {
  padding-bottom: 0;
}

.bento-stats strong {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}

.bento-stats span {
  color: rgba(253, 252, 250, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Treatments picker */

.picker {
  position: relative;
}

.picker-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.treat-details {
  position: relative;
  min-height: 22.5rem;
}

.treat-detail {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.6rem;
  align-items: center;
  padding: 2.5rem 2.8rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px rgba(25, 27, 24, 0.04),
    0 22px 48px -28px rgba(31, 74, 58, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 320ms ease,
    transform 320ms cubic-bezier(0.2, 0.7, 0.3, 1),
    visibility 320ms;
}

#t-implants:checked ~ .treat-details .td-implants,
#t-crowns:checked ~ .treat-details .td-crowns,
#t-veneers:checked ~ .treat-details .td-veneers,
#t-whitening:checked ~ .treat-details .td-whitening {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.td-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.td-copy p {
  margin: 0.9rem 0 1.35rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 36rem;
}

.td-cta {
  margin-top: 1.55rem;
}

/* The label column is as wide as the widest label in the list (Stay / Séjour / Aufenthalt / Kujdesi...), at least
   4.6rem, and shared by all rows so the descriptions line up. */
.td-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(4.6rem, max-content) 1fr;
  column-gap: 1rem;
}

.td-stats li {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  align-items: baseline;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}

@supports not (grid-template-columns: subgrid) {
  .td-stats { display: block; }
  .td-stats li { grid-template-columns: 4.6rem 1fr; gap: 1rem; }
}

.td-stats li:first-child {
  border-top: 0;
  padding-top: 0;
}

.td-stats li:last-child {
  padding-bottom: 0;
}

.td-stats strong {
  font-size: 1.85rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--forest);
}

.td-stats span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.treat-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 1.7rem 0 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  background: var(--sage);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
}

/* A natural reason to smile — comparison stage */

@property --pos {
  syntax: "<number>";
  inherits: true;
  initial-value: 50;
}

.smile-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.4rem 3.4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.smile-intro {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 30rem;
}

.smile-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.smile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.smile-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.smile-pills li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.7;
}

/* 2 · Stage wrapper + ornaments */

.smile-stage-wrap {
  position: relative;
  isolation: isolate;
  max-width: 720px;
  margin-inline: auto;
}

/* soft sage halo above the stage */
.smile-stage-wrap::before {
  content: "";
  position: absolute;
  inset: -18% -8% auto -8%;
  height: 70%;
  z-index: -1;
  background:
    radial-gradient(58% 100% at 50% 0%, rgba(231, 238, 227, 0.95), transparent 72%),
    radial-gradient(38% 70% at 78% 12%, rgba(90, 114, 100, 0.16), transparent 70%),
    radial-gradient(42% 66% at 22% 8%, rgba(31, 74, 58, 0.1), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.smile-mark {
  position: absolute;
  z-index: 7;
  width: 72px;
  height: auto;
  color: var(--forest);
  opacity: 0.07;
  pointer-events: none;
}

.smile-mark-top {
  top: -26px;
  right: -20px;
  transform: rotate(14deg);
}

.smile-mark-bottom {
  bottom: -26px;
  left: -20px;
  transform: rotate(-14deg);
}

/* Compare stage */

.compare {
  --pos: 50;
}

.compare-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  background: var(--sage);
  cursor: ew-resize;
  touch-action: pan-y;
  box-shadow:
    0 2px 4px rgba(25, 27, 24, 0.05),
    0 32px 64px -36px rgba(31, 74, 58, 0.42);
}

/* cinematic grade + vignette */
.compare-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(125% 105% at 50% 44%, transparent 52%, rgba(25, 27, 24, 0.26) 100%),
    linear-gradient(180deg, rgba(25, 27, 24, 0.22), transparent 20%, transparent 72%, rgba(25, 27, 24, 0.28));
}

/* hairline frame */
.compare-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(253, 252, 250, 0.34);
}

.compare-layer {
  position: absolute;
  inset: 0;
  margin: 0;
}

.compare-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.compare-after {
  z-index: 1;
  clip-path: inset(0 0 0 calc(var(--pos) * 1%));
  transition: clip-path 60ms linear;
}

/* reveal edge */

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos) * 1%);
  z-index: 3;
  width: 1.5px;
  translate: -50% 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(253, 252, 250, 0.95) 14%,
    rgba(253, 252, 250, 0.95) 86%,
    transparent
  );
  box-shadow: 14px 0 36px -14px rgba(25, 27, 24, 0.55);
  transition: left 60ms linear;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: rgba(253, 252, 250, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  box-shadow:
    inset 0 0 0 1px rgba(253, 252, 250, 0.9),
    0 2px 6px rgba(25, 27, 24, 0.14),
    0 20px 40px -16px rgba(25, 27, 24, 0.55);
}

.compare-handle svg {
  width: 22px;
  height: 22px;
}

.compare-handle::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(253, 252, 250, 0.8);
  pointer-events: none;
  animation: compare-pulse 3s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

@keyframes compare-pulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }

  65%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.compare.is-active .compare-handle::after {
  animation: none;
  opacity: 0;
}

/* labels fade as the divider approaches them */

.compare-tag {
  position: absolute;
  top: 1.2rem;
  z-index: 4;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(25, 27, 24, 0.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(253, 252, 250, 0.24);
  pointer-events: none;
  transition: opacity 140ms ease;
}

.compare-tag-before {
  left: 1.2rem;
  opacity: clamp(0, calc(var(--pos) / 16), 1);
}

.compare-tag-after {
  right: 1.2rem;
  opacity: clamp(0, calc((100 - var(--pos)) / 16), 1);
}

/* invisible native control — touch, mouse & keyboard for free */

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.compare-range:focus {
  outline: none;
}

.compare-range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
  border: 0;
}

.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1px;
  height: 100%;
  background: transparent;
  border: 0;
}

.compare-range::-moz-range-track {
  height: 100%;
  background: transparent;
  border: 0;
}

.compare-range::-moz-range-thumb {
  width: 1px;
  height: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.compare-stage:focus-within .compare-handle {
  box-shadow:
    inset 0 0 0 1px rgba(253, 252, 250, 0.9),
    0 0 0 3px rgba(253, 252, 250, 0.95),
    0 0 0 6px var(--forest),
    0 20px 40px -16px rgba(25, 27, 24, 0.55);
}

/* Caption row under stage */

.compare-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin: 1.2rem 0 0;
  padding-inline: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.compare-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--forest);
  transition: opacity 320ms ease;
}

.compare-hint svg {
  width: 17px;
  height: 17px;
  animation: compare-nudge 2.6s ease-in-out infinite;
}

@keyframes compare-nudge {
  0%,
  100% {
    transform: translateX(-2.5px);
  }

  50% {
    transform: translateX(2.5px);
  }
}

.compare.is-active .compare-hint {
  opacity: 0;
}

/* 3 · Three pillars */

.smile-pillars {
  list-style: none;
  margin: 3.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.smile-pillars li {
  position: relative;
  padding: 1.7rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #eef3e9 0%, var(--sage) 100%);
  border: 1px solid rgba(90, 114, 100, 0.16);
  box-shadow:
    0 1px 2px rgba(25, 27, 24, 0.03),
    0 14px 30px -22px rgba(31, 74, 58, 0.24);
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.smile-pillars li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(110% 90% at 100% 0%, rgba(253, 252, 250, 0.55), transparent 55%);
  pointer-events: none;
}

.smile-pillars li::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 70%;
  height: 70%;
  border-radius: inherit;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(253, 252, 250, 0.85),
    transparent 68%
  );
  filter: blur(22px);
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.smile-pillars li:hover::after {
  opacity: 1;
}

.smile-pillars li:hover {
  transform: translateY(-3px);
  border-color: rgba(90, 114, 100, 0.32);
  box-shadow:
    0 2px 4px rgba(25, 27, 24, 0.05),
    0 26px 46px -26px rgba(31, 74, 58, 0.34);
}

.smile-pillar-num {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.85rem;
}

.smile-pillars h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.smile-pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* 4 · Foot strip */

.smile-foot {
  margin: 2.6rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.smile-link {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap var(--ease);
}

.smile-link:hover,
.smile-link:focus-visible {
  gap: 0.75rem;
}

/* ─────────────────────────────────────────────────────
   Thoughtful care — live protocol
   ───────────────────────────────────────────────────── */

@property --care-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Ghost word — smaller, peeking from the top, fading at the bottom */

.care-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────
   Meet our team — doctor cards
   ───────────────────────────────────────────────────── */

.team-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.4rem;
}

.team-head .overline {
  margin-bottom: 0.9rem;
}

.team-head h2 {
  margin: 0;
}

.team-lede {
  margin: 1.15rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  align-items: stretch;
}

/* Card shell */

.doctor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2rem 1.75rem 1.4rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, #fefdfb 0%, #f7f2e9 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px rgba(25, 27, 24, 0.03),
    0 30px 60px -40px rgba(31, 74, 58, 0.28);
  transition:
    transform 320ms cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.doctor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 100% 0%, rgba(253, 252, 250, 0.7), transparent 55%);
  pointer-events: none;
}

.doctor-card:hover {
  transform: translateY(-5px);
  border-color: rgba(90, 114, 100, 0.28);
  box-shadow:
    0 2px 4px rgba(25, 27, 24, 0.05),
    0 40px 70px -34px rgba(31, 74, 58, 0.36);
}

.doctor-card > * {
  position: relative;
}

/* Name + role */

.doctor-meta {
  text-align: left;
}

.doctor-meta h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.2;
  color: var(--ink);
}

.doctor-meta p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.005em;
}

/* Circular photo */

.doctor-photo {
  position: relative;
  isolation: isolate;
  width: 82%;
  max-width: 220px;
  aspect-ratio: 1;
  margin: 0.6rem auto 0.8rem;
  border-radius: 50%;
  background: var(--sage);
  box-shadow:
    inset 0 0 0 1px rgba(90, 114, 100, 0.1),
    0 18px 34px -22px rgba(31, 74, 58, 0.4);
}

.doctor-photo::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(90, 114, 100, 0.22),
    transparent 68%
  );
  filter: blur(30px);
  pointer-events: none;
  transition: opacity 420ms ease;
  opacity: 0.75;
}

.doctor-card:hover .doctor-photo::after {
  opacity: 1;
}

.doctor-photo picture {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 620ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.045);
}

/* Foot row: link + social */

/* Section CTA row */

.team-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.btn-soft {
  background: var(--sage);
  color: var(--forest);
  padding-inline: 1.7rem;
}

.btn-soft:hover,
.btn-soft:focus-visible {
  background: var(--forest);
  color: var(--paper);
}

.team-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────
   FAQ — clarity rail with help card
   ───────────────────────────────────────────────────── */

.faq-shell {
  position: relative;
  isolation: isolate;
}

.faq-shell::before {
  content: "";
  position: absolute;
  inset: -4% -2% 0 -2%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.18 0 0 0 0 0.14 0 0 0 0.32 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.faq-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.faq-intro {
  position: sticky;
  top: 6rem;
}

.faq-lede {
  margin-top: 1.1rem;
}

/* Help card */

.faq-help {
  margin-top: 2.4rem;
  padding: 1.4rem 1.5rem 1.3rem;
  border-radius: 20px;
  background: linear-gradient(165deg, #eef3e9 0%, var(--sage) 100%);
  border: 1px solid rgba(90, 114, 100, 0.18);
  box-shadow:
    0 1px 2px rgba(25, 27, 24, 0.03),
    0 20px 40px -28px rgba(31, 74, 58, 0.3);
  display: grid;
  gap: 0.95rem;
}

.faq-help-avatars {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-help-avatars li {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-left: -9px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--paper);
  background: var(--h, var(--forest));
  box-shadow: 0 0 0 2px #eef3e9;
}

.faq-help-avatars li:first-child {
  margin-left: 0;
}

.faq-help-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.faq-help-copy {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.faq-help-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--paper);
  background: var(--forest);
  text-decoration: none;
  transition: background var(--ease), gap var(--ease), transform var(--ease);
}

.faq-help-cta:hover,
.faq-help-cta:focus-visible {
  background: var(--forest-hover);
  gap: 0.7rem;
  transform: translateY(-1px);
}

/* FAQ rail */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  position: relative;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 3rem 1fr 1.6rem;
  gap: 1.2rem;
  align-items: center;
  padding: 1.35rem 0;
  transition: padding 320ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
  opacity: 0.55;
  transition: opacity 320ms ease, color 320ms ease;
  font-variant-numeric: tabular-nums;
}

.faq-q {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 320ms ease;
}

.faq-toggle {
  position: relative;
  justify-self: end;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--sage);
  transition: background 320ms ease, transform 320ms ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--forest);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 320ms ease, opacity 320ms ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle {
  background: var(--forest);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: var(--paper);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-item summary:hover .faq-q,
.faq-item summary:focus-visible .faq-q {
  color: var(--forest);
}

.faq-item summary:hover .faq-num,
.faq-item[open] .faq-num {
  opacity: 1;
  color: var(--forest);
}

.faq-item summary:focus-visible {
  outline: none;
}

.faq-item summary:focus-visible .faq-toggle {
  box-shadow: 0 0 0 3px rgba(31, 74, 58, 0.2);
}

/* Answer */

.faq-answer {
  padding: 0 0 1.4rem calc(3rem + 1.2rem);
  max-width: 44rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item[open] .faq-answer {
  animation: faq-open 360ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ─────────────────────────────────────────────────────
   Closing CTA — orbiting tooth, live signal
   ───────────────────────────────────────────────────── */

@property --cta-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.cta-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  padding: 4.2rem 4.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3.4rem;
  align-items: center;
  background: linear-gradient(150deg, #275845 0%, #245442 45%, #143528 100%);
  color: var(--paper);
  box-shadow:
    0 2px 4px rgba(25, 27, 24, 0.06),
    0 46px 88px -46px rgba(23, 56, 44, 0.6);
}

/* Rotating conic hairline on hover */

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--cta-angle),
    transparent 0deg,
    rgba(253, 252, 250, 0.55) 30deg,
    transparent 90deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms ease;
  animation: cta-rotate 8s linear infinite;
}

.cta-inner:hover::before {
  opacity: 1;
}

@keyframes cta-rotate {
  to { --cta-angle: 360deg; }
}

/* Soft sage halo + film grain */

.cta-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(60% 90% at 8% 0%, rgba(253, 252, 250, 0.08), transparent 60%),
    radial-gradient(50% 70% at 92% 100%, rgba(90, 114, 100, 0.35), transparent 65%);
}

/* Copy */

.cta-inner h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.7vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 16ch;
  color: var(--paper);
}

/* Mobile */

@media (max-width: 960px) {
  :root {
    --gutter: 28px;
  }

  .section-head,
.smile-head,
.care-split,
.faq-split,
.cta-inner {
    grid-template-columns: 1fr;
  }

  .bento,
.doctor-grid {
    grid-template-columns: 1fr;
  }

  .treat-details {
    min-height: 32rem;
  }

  .treat-detail {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 1.7rem 1.4rem;
    align-items: start;
  }

  .section-paper {
    border-radius: 30px;
  }

  .bento-wide {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.2rem 1.6rem;
  }

  .bento-watermark {
    width: 170px;
    right: -34px;
    bottom: auto;
    top: -30px;
  }

  .lede {
    max-width: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding: 3rem 1.8rem;
  }

  .smile-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }

  .smile-intro {
    max-width: none;
  }

  .smile-lede {
    max-width: none;
  }

  .smile-pillars {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 2.6rem;
  }

  .compare-stage {
    aspect-ratio: 16 / 10;
    border-radius: 22px;
  }

  .compare-handle {
    width: 54px;
    height: 54px;
  }

  .compare-handle svg {
    width: 19px;
    height: 19px;
  }

  .compare-tag {
    top: 0.9rem;
    padding: 0.42rem 0.85rem;
    font-size: 0.62rem;
  }

  .compare-tag-before {
    left: 0.9rem;
  }

  .compare-tag-after {
    right: 0.9rem;
  }

  .smile-mark {
    display: none;
  }

  .doctor-grid {
    gap: 1rem;
  }

  .doctor-card {
    padding: 1.6rem 1.4rem 1.2rem;
    border-radius: 24px;
  }

  .doctor-photo {
    width: 62%;
    max-width: 190px;
    margin-block: 0.4rem 0.6rem;
  }

  .team-head {
    margin-bottom: 2.6rem;
  }

  .team-cta {
    margin-top: 2.2rem;
  }

  .care-split {
    gap: 2.2rem;
  }

  .faq-intro {
    position: static;
  }

  .faq-split {
    gap: 2.4rem;
  }

  .faq-help {
    margin-top: 1.8rem;
  }

  .faq-item summary {
    grid-template-columns: 2.4rem 1fr 1.4rem;
    gap: 0.9rem;
    padding: 1.15rem 0;
  }

  .faq-q {
    font-size: 1rem;
  }

  .faq-answer {
    padding-left: calc(2.4rem + 0.9rem);
  }
}

@media (max-width: 780px) {
  .section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 560px) {
  .compare-stage {
    aspect-ratio: 4 / 3;
  }

  .compare-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .smile-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .doctor-photo {
    width: 70%;
    max-width: 170px;
  }

  .team-note {
    text-align: center;
  }

  .faq-help {
    padding: 1.2rem 1.2rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}
