:root {
  --bg: #f4f3f1;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: #ffffff;
  --ink: #22211f;
  --muted: #706e69;
  --line: rgba(34, 33, 31, 0.14);
  --soft: #e8e6e2;
  --dark: #242321;
  --accent: #9b443d;
  --green: #355f52;
  --shadow: 0 30px 70px rgba(35, 33, 30, 0.11);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max-width: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.95), transparent 35%),
    var(--bg);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.page-shell {
  width: min(calc(100% - 32px), 1500px);
  margin: 16px auto;
  background: rgba(249, 248, 246, 0.9);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 14px 55px rgba(37, 35, 32, 0.12);
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  width: calc(100% - 64px);
  max-width: var(--max-width);
  min-height: 76px;
  margin: 18px auto 0;
  padding: 10px 12px 10px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 32px rgba(24, 23, 21, .08);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.02em; width: fit-content; }
.brand img { width: 45px; height: 45px; object-fit: cover; border-radius: 50%; background: white; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.brand span { font-family: "Playfair Display", Georgia, serif; font-size: 20px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; color: #54514c; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--ink); transition: right .25s ease; }
.main-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; }
.nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 50%; }
.nav-toggle span { display: block; width: 20px; height: 1px; margin: 5px auto; background: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 46px; padding: 0 23px; }
.button-outline { background: rgba(255,255,255,.9); border-color: var(--line); }
.button-dark { color: white; background: var(--dark); box-shadow: 0 12px 28px rgba(36,35,33,.17); }
.button-muted { background: #d9d8d5; color: #4a4945; }
.text-link { border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-weight: 600; }

.section-pad { width: calc(100% - 80px); max-width: var(--max-width); margin: 0 auto; padding: 115px 0; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading {
  margin: 0 0 24px;
  max-width: 780px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.045em;
}
.section-heading.centered { max-width: 900px; }
.section-intro { max-width: 740px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.hero {
  position: relative;
  min-height: 880px;
  padding-top: 130px;
  padding-bottom: 80px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 8% 10% 7%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,.95), rgba(228,226,222,.35) 52%, transparent 71%);
}
.hero-title {
  position: absolute;
  top: 132px;
  z-index: 1;
  max-width: 420px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 7.4vw, 114px);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.07em;
}
.hero-title-left { left: 0; }
.hero-title-right { right: 0; text-align: right; }
.hero-visual { position: absolute; inset: 115px 25% 150px; display: grid; place-items: center; z-index: 0; }
.tooth-halo { position: absolute; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(224,222,218,.55) 60%, transparent 75%); filter: blur(2px); }
.hero-tooth { position: relative; width: min(40vw, 470px); filter: drop-shadow(0 42px 34px rgba(45,42,38,.18)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }

.floating-card {
  position: absolute;
  z-index: 2;
  width: 250px;
  min-height: 205px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(229,227,223,.72));
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(34,32,29,.08);
  backdrop-filter: blur(14px);
}
.floating-card .card-index { display: block; margin-bottom: 30px; color: var(--accent); font-size: 11px; font-weight: 700; }
.floating-card h2 { margin: 0 0 10px; font-family: "Playfair Display", Georgia, serif; font-size: 21px; line-height: 1.05; }
.floating-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-one { left: 2%; top: 340px; }
.card-two { left: 50%; top: 555px; transform: translateX(-50%); }
.card-three { right: 2%; top: 330px; }
.hero-appointment {
  position: absolute;
  left: 0;
  bottom: 78px;
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #deddda;
  border-radius: 999px;
  font-weight: 600;
}
.hero-appointment .arrow { width: 34px; height: 34px; display: grid; place-items: center; background: white; border-radius: 50%; }

.trust { padding-top: 80px; }
.trust .section-heading { font-size: clamp(38px, 4.2vw, 60px); }
.trust-grid { margin-top: 62px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
.trust-item { min-height: 130px; padding: 27px; display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.35); }
.trust-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #e4e2de; font-size: 20px; }
.trust-item h3 { margin: 0 0 6px; font-family: "Playfair Display", Georgia, serif; font-size: 22px; }
.trust-item p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 8vw, 130px); align-items: center; }
.about-media { position: relative; min-height: 620px; }
.about-media img { width: 86%; height: 560px; object-fit: cover; filter: saturate(.7); }
.image-block { position: absolute; bottom: 0; width: 90px; height: 130px; }
.block-dark { left: 0; background: var(--dark); }
.block-light { left: 90px; background: #bdbab4; }
.about-copy .lead { color: #484640; font-size: 20px; line-height: 1.55; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); line-height: 1.75; }
.mini-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.mini-feature { min-height: 120px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.48); border: 1px solid var(--line); border-radius: 18px; }
.mini-feature > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #dedcd7; flex: 0 0 auto; }
.mini-feature strong, .mini-feature small { display: block; }
.mini-feature strong { margin-bottom: 8px; font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.mini-feature small { color: var(--muted); line-height: 1.4; }

.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, .95fr); gap: clamp(45px, 8vw, 120px); align-items: center; }
.location-copy p:not(.eyebrow) { max-width: 650px; color: var(--muted); line-height: 1.75; font-size: 17px; }
.location-actions { margin-top: 34px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.location-card { padding: 18px; border-radius: 24px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); }
.location-card-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 6px 18px; }
.location-card-top strong, .location-card-top span { display: block; }
.location-card-top strong { font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.location-card-top span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.location-card-top a { font-size: 13px; font-weight: 700; }
.location-card img { width: 100%; height: 340px; object-fit: cover; border-radius: 14px; filter: saturate(.55); }
.location-address { display: flex; align-items: center; justify-content: space-between; padding: 17px 6px 4px; font-size: 14px; }
.location-address span { color: var(--muted); }

.services { padding-top: 90px; }
.services-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { overflow: hidden; background: rgba(255,255,255,.48); border: 1px solid var(--line); border-radius: 22px; }
.service-card img { width: 100%; height: 260px; object-fit: cover; filter: grayscale(.22) saturate(.65); transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.035); }
.service-content { padding: 26px; }
.service-content > span { display: block; margin-bottom: 26px; color: var(--accent); font-size: 11px; font-weight: 700; }
.service-content h3 { margin: 0 0 13px; font-family: "Playfair Display", Georgia, serif; font-size: 27px; }
.service-content p { margin: 0; color: var(--muted); line-height: 1.65; }
.centered-button { margin: 40px auto 0; width: fit-content; display: flex; }

.appointment { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr); gap: clamp(50px, 8vw, 120px); align-items: start; }
.appointment-copy { position: sticky; top: 125px; }
.appointment-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.7; font-size: 17px; }
.contact-details { margin-top: 34px; display: grid; gap: 14px; }
.contact-details a { width: fit-content; border-bottom: 1px solid var(--line); padding-bottom: 4px; font-weight: 600; }
.appointment-form { padding: 34px; display: grid; gap: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); border-radius: 28px; box-shadow: var(--shadow); }
.appointment-form label { display: grid; gap: 9px; font-size: 13px; font-weight: 700; }
.appointment-form input, .appointment-form select, .appointment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: rgba(250,249,247,.9); padding: 15px 16px; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.appointment-form textarea { resize: vertical; }
.appointment-form input:focus, .appointment-form select:focus, .appointment-form textarea:focus { border-color: #7d7a74; box-shadow: 0 0 0 4px rgba(75,72,67,.07); }
.appointment-form small { color: var(--muted); line-height: 1.5; }

.site-footer {
  margin-top: 80px;
  padding: 70px max(40px, calc((100% - var(--max-width))/2));
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .8fr);
  gap: 48px;
  color: #f3f1ed;
  background: #393836;
}
.brand-footer img { width: 52px; height: 52px; }
.brand-footer span { color: white; }
.footer-brand p { color: #c5c2bc; line-height: 1.65; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: 10px; }
.footer-column { display: grid; align-content: start; gap: 12px; }
.footer-column strong { margin-bottom: 8px; font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.footer-column a, .footer-column span { color: #c5c2bc; font-size: 14px; }
.footer-column a:hover { color: white; }
.footer-bottom { grid-column: 1 / -1; padding-top: 35px; display: flex; justify-content: space-between; gap: 24px; color: #aaa7a1; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; inset: 92px 28px auto; padding: 26px; flex-direction: column; align-items: stretch; background: rgba(255,255,255,.96); border-radius: 26px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-toggle { display: block; justify-self: end; }
  .header-cta { display: none; }
  .hero { min-height: 980px; }
  .hero-title { top: 130px; max-width: 330px; }
  .hero-visual { inset: 210px 18% 200px; }
  .card-one { top: 500px; }
  .card-three { top: 490px; }
  .card-two { top: 710px; }
  .hero-appointment { bottom: 68px; }
  .about, .location, .appointment { grid-template-columns: 1fr; }
  .about-media { min-height: 500px; }
  .about-media img { height: 460px; }
  .location { gap: 55px; }
  .location-card { max-width: 760px; }
  .appointment-copy { position: static; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); }
  .site-footer { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-column:nth-of-type(3) { grid-column: 2; }
}

@media (max-width: 760px) {
  .page-shell { width: 100%; margin: 0; border: 0; }
  .site-header { top: 8px; width: calc(100% - 24px); min-height: 66px; margin-top: 8px; padding: 8px 10px 8px 12px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 17px; }
  .section-pad { width: calc(100% - 36px); padding: 82px 0; }
  .hero { min-height: 1040px; padding-top: 105px; }
  .hero-title { position: relative; top: auto; left: auto; right: auto; max-width: 100%; text-align: left; font-size: clamp(54px, 17vw, 80px); }
  .hero-title-right { margin-top: -6px; text-align: right; }
  .hero-visual { position: relative; inset: auto; height: 350px; margin-top: -25px; }
  .tooth-halo { width: 330px; height: 330px; }
  .hero-tooth { width: 270px; }
  .floating-card { position: relative; inset: auto !important; transform: none !important; width: 100%; min-height: auto; margin-top: 12px; padding: 22px; }
  .floating-card .card-index { margin-bottom: 18px; }
  .hero-appointment { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 16px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 112px; }
  .about-media { min-height: 400px; }
  .about-media img { width: 100%; height: 380px; }
  .mini-features { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
  .location-card img { height: 270px; }
  .location-card-top, .location-address { align-items: flex-start; flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; max-width: none; }
  .appointment { grid-template-columns: 1fr; }
  .appointment-form { padding: 24px; }
  .site-footer { padding: 58px 24px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
