/* ================================================================
   LUMINA DENTAL — editorial, full-width, premium
   ================================================================ */
:root {
  --cream:   #FAF6EF;
  --cream-2: #F3EDE2;
  --ink:     #14231D;
  --ink-2:   #1C2F27;
  --pine:    #1E4D3B;
  --pine-2:  #163A2C;
  --sage:    #A9C3B2;
  --gold:    #C9A22C;
  --gold-2:  #B08F1F;
  --muted:   #5F6D63;
  --line:    rgba(20, 35, 29, .12);
  --line-l:  rgba(250, 246, 239, .16);

  --pad: clamp(20px, 5vw, 110px);   /* full-width side padding */
  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 36px;

  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .footer__big { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -.015em; }
em { font-style: italic; }

.wrap { width: 100%; padding-inline: var(--pad); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pine); margin-bottom: 26px;
}
.eyebrow--light { color: var(--sage); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.h2 { font-size: clamp(36px, 4.6vw, 68px); }
.h2 em { color: var(--pine); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--pine); }
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d9b23a; }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: rgba(250,246,239,.75); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 9px; flex-wrap: wrap; }
.topbar__note { color: var(--cream); }
.topbar__meta { display: flex; gap: 22px; }
.topbar__meta a { color: var(--gold); font-weight: 700; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,239,.85);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 8px 30px rgba(20,35,29,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 9px; }
.logo__mark { color: var(--gold); font-size: 20px; }
.logo__name { font-family: var(--display); font-size: 27px; font-weight: 500; letter-spacing: -.01em; }
.logo__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.logo--light .logo__name { color: var(--cream); }
.logo--light .logo__tag { color: var(--sage); }

.nav { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav a { font-weight: 600; font-size: 15px; color: var(--ink); opacity: .78; transition: opacity .2s; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: 0 var(--pad); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s; background: var(--cream); border-bottom: 1px solid var(--line); }
.mobile-menu.open { max-height: 440px; padding: 14px var(--pad) 26px; }
.mobile-menu a:not(.btn) { padding: 13px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 5vw, 90px); align-items: center;
  padding-block: clamp(56px, 7vw, 110px);
}
.hero__title { font-size: clamp(52px, 7vw, 118px); }
.hero__title em { color: var(--pine); }
.hero__period { color: var(--gold); }
.hero__lead { font-size: clamp(16px, 1.3vw, 20px); color: var(--muted); max-width: 54ch; margin: 30px 0 38px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 4vw, 64px); padding-top: 30px; border-top: 1px solid var(--line); }
.hero__stats strong { font-family: var(--display); font-size: clamp(28px, 2.6vw, 42px); font-weight: 500; display: block; line-height: 1; }
.hero__stats strong span { color: var(--gold); }
.hero__stats small { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.hero__media { position: relative; min-height: clamp(380px, 42vw, 620px); }
.hero__photo { overflow: hidden; background: linear-gradient(150deg, var(--sage), var(--pine)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main {
  position: absolute; inset: 0 12% 8% 0;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 120px;
  box-shadow: 0 40px 80px rgba(20,35,29,.22);
}
.hero__photo--small {
  position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1;
  border-radius: 50% var(--r-lg) var(--r-lg) var(--r-lg);
  border: 6px solid var(--cream);
  box-shadow: 0 24px 50px rgba(20,35,29,.25);
}
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: var(--cream); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; padding: 11px 18px; border-radius: 100px;
  box-shadow: 0 14px 34px rgba(20,35,29,.16);
  animation: bob 5s ease-in-out infinite;
}
.hero__chip--1 { top: 7%; left: -14px; }
.hero__chip--2 { bottom: 26%; left: 4%; animation-delay: 1.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--pine); color: var(--cream); border-block: 1px solid var(--pine-2); }
.marquee__track { display: flex; white-space: nowrap; width: max-content; animation: scroll 28s linear infinite; }
.marquee__track span {
  font-family: var(--display); font-style: italic; font-size: clamp(16px, 1.5vw, 22px);
  padding-block: 16px; letter-spacing: .04em; opacity: .92;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 8vw, 140px); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--tint { background: var(--cream-2); }
.section__head { display: flex; flex-direction: column; margin-bottom: clamp(44px, 5vw, 80px); }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(24px, 2.2vw, 36px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(20,35,29,.13); }
.card__num { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 15px; margin-bottom: auto; }
.card h3 { font-size: clamp(22px, 1.8vw, 30px); margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15px; max-width: 40ch; }
.card__link { margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--pine); }
.card--tall { grid-row: span 2; }
.card--dark { background: var(--pine); border-color: transparent; }
.card--dark h3 { color: var(--cream); }
.card--dark p { color: rgba(250,246,239,.72); }
.card--dark .card__link { color: var(--gold); }
.card__img { margin-top: 24px; border-radius: var(--r-sm); flex: 1; object-fit: cover; width: 100%; min-height: 160px; }
.card--dark .card__img { order: 5; }
.card--accent { background: var(--gold); border-color: transparent; }
.card--accent p { color: rgba(20,35,29,.75); }
.card--accent .card__link { color: var(--ink); }
.card--accent .card__num { color: var(--ink); }

/* ---------- before / after ---------- */
.ba__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(44px, 6vw, 100px); align-items: center; }
.ba__lead { color: rgba(250,246,239,.72); font-size: 17px; margin-bottom: 26px; max-width: 52ch; }
.ticks { list-style: none; display: grid; gap: 12px; margin-bottom: 36px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 600; color: rgba(250,246,239,.88); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

.ba__frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/3.4; box-shadow: 0 40px 90px rgba(0,0,0,.4);
  --pos: 38%;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px;
  background: var(--gold); transform: translateX(-50%); pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.ba__label { position: absolute; top: 18px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; }
.ba__label--before { left: 18px; background: rgba(0,0,0,.5); color: #fff; }
.ba__label--after { right: 18px; background: var(--gold); color: var(--ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.ba__note { margin-top: 16px; font-size: 13px; color: rgba(250,246,239,.5); text-align: center; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(44px, 6vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__photo { border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4/4.7; background: linear-gradient(160deg, var(--sage), var(--pine)); box-shadow: 0 34px 70px rgba(20,35,29,.2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; right: -14px; bottom: 40px;
  background: var(--ink); color: var(--cream); border-radius: var(--r-md);
  padding: 22px 26px; box-shadow: 0 24px 50px rgba(20,35,29,.3); text-align: center;
}
.about__badge strong { display: block; font-family: var(--display); font-size: 38px; color: var(--gold); line-height: 1; }
.about__badge span { font-size: 12.5px; font-weight: 600; opacity: .8; max-width: 120px; display: inline-block; }
.about__lead { font-size: 17.5px; color: var(--muted); margin-bottom: 40px; max-width: 56ch; }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.about__points h4 { font-family: var(--display); font-weight: 500; font-size: 20px; margin-bottom: 6px; }
.about__points p { color: var(--muted); font-size: 14.5px; }

/* ---------- numbers band ---------- */
.band { background: var(--pine); color: var(--cream); }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: clamp(48px, 5vw, 80px); text-align: center; }
.band strong { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 4.6vw, 76px); line-height: 1; }
.band em { font-family: var(--display); color: var(--gold); font-size: clamp(30px, 3vw, 48px); }
.band span { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--sage); letter-spacing: .04em; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 30px); }
.member figure { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/4.8; background: linear-gradient(160deg, var(--cream-2), var(--sage)); margin-bottom: 18px; }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover img { transform: scale(1.05); }
.member h3 { font-size: 23px; }
.member span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); align-items: start; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(26px, 2.4vw, 40px); }
.quote--feature { background: var(--pine); border-color: transparent; transform: translateY(-16px); }
.quote__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; }
.quote blockquote { font-family: var(--display); font-size: clamp(18px, 1.5vw, 23px); line-height: 1.45; }
.quote--feature blockquote { color: var(--cream); }
.quote figcaption { display: flex; align-items: center; gap: 13px; margin-top: 26px; }
.quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font-size: 15px; }
.quote figcaption span { font-size: 13px; color: var(--muted); }
.quote--feature figcaption strong { color: var(--cream); }
.quote--feature figcaption span { color: var(--sage); }

/* ---------- booking ---------- */
.book__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(44px, 6vw, 110px); align-items: center; }
.book__lead { color: rgba(250,246,239,.72); font-size: 17px; margin-bottom: 28px; max-width: 50ch; }
.book__contact { display: grid; gap: 6px; padding-top: 26px; border-top: 1px solid var(--line-l); }
.book__contact a { font-family: var(--display); font-size: 22px; color: var(--gold); }

.form { background: var(--cream); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 48px); display: grid; gap: 18px; box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.field label i { text-transform: none; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 15.5px; padding: 14px 16px;
  border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(30,77,59,.12);
}
.field textarea { resize: vertical; }
.form__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.form__success { background: #E7F3EC; border: 1px solid rgba(30,77,59,.25); color: var(--pine); font-weight: 700; padding: 15px; border-radius: var(--r-sm); text-align: center; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(44px, 6vw, 110px); align-items: center; }
.contact__items { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin-top: 40px; }
.contact__items h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--pine); margin-bottom: 8px; }
.contact__items p { color: var(--muted); font-weight: 500; }
.contact__items a { color: var(--ink); font-weight: 700; }
.mapcard { position: relative; border-radius: var(--r-lg); min-height: 420px; background: linear-gradient(150deg, #E4EFE7, #D4E6DB); overflow: hidden; display: grid; place-items: center; }
.mapcard__lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(30,77,59,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(30,77,59,.09) 1px, transparent 1px); background-size: 44px 44px; }
.mapcard__pin { font-size: 58px; z-index: 1; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); }
.mapcard__tag { position: absolute; bottom: 28px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 100px; z-index: 1; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(250,246,239,.72); }
.footer__top {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-block: clamp(56px, 6vw, 100px); border-bottom: 1px solid var(--line-l);
}
.footer__big { font-size: clamp(40px, 5.5vw, 88px); color: var(--cream); }
.footer__big em { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(44px, 5vw, 70px); }
.footer__blurb { margin-top: 18px; max-width: 300px; font-size: 15px; }
.footer nav, .footer__grid > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.footer h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; font-family: var(--body); }
.footer__grid a { padding: 5px 0; transition: color .2s; }
.footer__grid a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line-l); font-size: 13.5px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--tall { grid-row: span 1; }
  .card__img { display: none; }
}
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .nav-toggle, .mobile-menu { display: flex; }
  .hero__grid, .ba__grid, .about__grid, .book__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
  .hero__photo--main { position: static; aspect-ratio: 4/3.4; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 90px; inset: auto; }
  .hero__photo--small { position: static; width: auto; aspect-ratio: auto; border-radius: 50% var(--r-lg) var(--r-lg) var(--r-lg); border: 0; }
  .hero__chip { display: none; }
  .reviews, .team { grid-template-columns: repeat(2, 1fr); }
  .quote--feature { transform: none; }
  .band__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__badge { right: 10px; }
}
@media (max-width: 600px) {
  .team, .reviews, .bento, .form__row, .about__points, .contact__items { grid-template-columns: 1fr; }
  .topbar__meta { display: none; }
  .hero__media { grid-template-columns: 1fr; }
  .hero__photo--small { display: none; }
  .hero__stats { gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
