/* ==========================================================================
   Mathur Dental & Orthodontic Clinic — Design System
   Palette: midnight navy, warm ivory, soft white, muted blue-gray, champagne
   ========================================================================== */

:root {
  --navy: #0e1c2f;
  --navy-700: #16293f;
  --navy-500: #33475f;
  --ivory: #f7f4ee;
  --ivory-deep: #efeae1;
  --white: #ffffff;
  --gray-cool: #f2f4f6;
  --blue-gray: #6b7c8d;
  --line: rgba(14, 28, 47, 0.12);
  --line-soft: rgba(14, 28, 47, 0.07);
  --champagne: #b79a63;
  --champagne-soft: rgba(183, 154, 99, 0.16);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(14, 28, 47, 0.04), 0 8px 24px rgba(14, 28, 47, 0.05);
  --shadow-md: 0 2px 6px rgba(14, 28, 47, 0.05), 0 24px 60px rgba(14, 28, 47, 0.09);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 92px;
  --section-y: clamp(72px, 9vw, 140px);
}

/* ------------------------------- base ---------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
}

p { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--navy); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 2px;
}

.container-x {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.section { padding-block: var(--section-y); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--navy);
  color: var(--ivory);
  padding: 10px 18px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------------------------- typography -------------------------------- */
.eyebrow {
  font-size: clamp(0.66rem, 1.1vw, 0.72rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--champagne);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--champagne);
  flex: none;
}
.eyebrow.no-rule::before { display: none; }

.display-1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
.display-2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.display-3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.lede {
  font-size: clamp(1rem, 1.35vw, 1.115rem);
  color: var(--navy-500);
  line-height: 1.8;
  max-width: 62ch;
}

.muted { color: var(--blue-gray); }
.small-caps {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ------------------------------ buttons --------------------------------- */
.btn-m {
  --btn-bg: var(--navy);
  --btn-fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 2px;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
    background-color 0.4s var(--ease), transform 0.4s var(--ease);
  cursor: pointer;
}
.btn-m span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }
.btn-m::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--champagne);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn-m:hover::after, .btn-m:focus-visible::after { transform: translateY(0); }
.btn-m:hover, .btn-m:focus-visible { color: var(--navy); border-color: var(--champagne); }
.btn-m i { transition: transform 0.35s var(--ease); }
.btn-m:hover i { transform: translateX(4px); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--navy); }

.btn-light {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  border-color: rgba(247, 244, 238, 0.35);
}

.btn-sm { padding: 11px 20px; font-size: 0.72rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
}
.link-arrow i { transition: transform 0.35s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ------------------------------- header --------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  background: rgba(247, 244, 238, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px rgba(14, 28, 47, 0.06);
}
.site-header.is-stuck .header-inner { height: 74px; }

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s var(--ease);
}
.site-header.is-stuck .brand img { height: 40px; }
.brand-text { line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-gray);
  white-space: nowrap;
}

.nav-list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-link {
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy);
  padding-block: 6px;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--navy); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.icon-btn:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* mobile offcanvas */
.offcanvas.mathur-canvas {
  background: var(--ivory);
  width: min(88vw, 380px);
}
.mathur-canvas .offcanvas-header { border-bottom: 1px solid var(--line-soft); padding: 20px 24px; }
.mathur-canvas .mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.mathur-canvas .mobile-nav a i { color: var(--champagne); font-size: 0.8rem; }

/* -------------------------------- hero ---------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(36px, 7vw, 90px));
  padding-bottom: clamp(48px, 6vw, 96px);
  background:
    radial-gradient(120% 90% at 85% 0%, #fffdf9 0%, var(--ivory) 55%, var(--ivory-deep) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  pointer-events: none;
}
.hero-title { margin: 22px 0 24px; }
.hero-title em { font-style: italic; color: var(--navy-500); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: var(--shadow-md);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 28, 47, 0) 45%, rgba(14, 28, 47, 0.42) 100%);
}
.hero-badge {
  position: absolute;
  left: -22px;
  bottom: 40px;
  z-index: 2;
  background: var(--navy);
  color: var(--ivory);
  padding: 22px 26px;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
}
.hero-badge .year {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--champagne);
}
.hero-badge .label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.75);
  margin-top: 6px;
}

.trust-strip {
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item { padding: 26px clamp(14px, 2vw, 32px); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
}
.trust-label { font-size: 0.76rem; color: var(--blue-gray); letter-spacing: 0.06em; }
.stars { color: var(--champagne); font-size: 0.8rem; letter-spacing: 2px; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-gray);
}
.scroll-cue .rule {
  width: 44px;
  height: 1px;
  background: var(--blue-gray);
  position: relative;
  overflow: hidden;
}
.scroll-cue .rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--champagne);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ------------------------------- legacy --------------------------------- */
.legacy { background: var(--white); }
.year-mark {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 11rem);
  line-height: 0.86;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.year-mark span { color: var(--champagne); }
.legacy-note {
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 3vw, 34px);
}
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--navy-500);
  background: var(--ivory);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pill i { color: var(--champagne); }
.pill:hover { border-color: var(--champagne); transform: translateY(-2px); }

/* ------------------------------ services -------------------------------- */
.section-head { max-width: 720px; }
.service-card {
  position: relative;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: clamp(26px, 3vw, 38px);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 22px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--champagne);
  border-color: var(--navy);
  transform: translateY(-3px);
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-desc { font-size: 0.92rem; color: var(--blue-gray); }
.service-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  font-size: 0.9rem;
  color: var(--navy-500);
}
.service-list li {
  padding: 7px 0 7px 18px;
  position: relative;
  border-top: 1px solid var(--line-soft);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 1px;
  background: var(--champagne);
}
.service-card .link-arrow { margin-top: auto; }

/* ----------------------------- emergency -------------------------------- */
.emergency {
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.emergency::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(183, 154, 99, 0.25);
  border-radius: 50%;
}
.emergency h2 { color: var(--ivory); }
.emergency p { color: rgba(247, 244, 238, 0.72); }
.emergency-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }
.emergency-points span {
  font-size: 0.82rem;
  color: rgba(247, 244, 238, 0.85);
  display: inline-flex;
  gap: 9px;
  align-items: center;
}
.emergency-points i { color: var(--champagne); }

/* ------------------------------- why us --------------------------------- */
.why { background: var(--white); }
.why-figure {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 3px;
}
.why-figure img { width: 100%; height: 100%; object-fit: cover; }
.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(14px, 2vw, 26px);
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
  transition: padding-left 0.4s var(--ease);
}
.why-item:last-child { border-bottom: 1px solid var(--line-soft); }
.why-item:hover { padding-left: 8px; }
.why-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--champagne);
  line-height: 1;
  padding-top: 4px;
}
.why-item h3 { font-size: 1.35rem; margin-bottom: 6px; }
.why-item p { font-size: 0.92rem; color: var(--blue-gray); }

/* ------------------------------ doctors --------------------------------- */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  height: 100%;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.doctor-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gray-cool); }
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.02);
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}
.doctor-card:hover .doctor-photo img { transform: scale(1.04); filter: grayscale(0%); }
.doctor-body { padding: 26px clamp(20px, 2.4vw, 30px) 30px; }
.doctor-body h3 { font-size: 1.6rem; margin-bottom: 4px; }
.doctor-role { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne); }
.photo-note { font-size: 0.72rem; color: var(--blue-gray); }

/* ------------------------------ reviews --------------------------------- */
.reviews { background: var(--navy); color: var(--ivory); }
.reviews h2 { color: var(--ivory); }
.rating-block {
  border: 1px solid rgba(247, 244, 238, 0.16);
  padding: 28px 32px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}
.rating-value { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; }
.review-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start;
  flex: 0 0 min(88vw, 390px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(247, 244, 238, 0.14);
  padding: 30px;
  border-radius: 2px;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.review-card:hover { border-color: rgba(183, 154, 99, 0.6); background: rgba(255, 255, 255, 0.07); }
.review-quote {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ivory);
  margin: 16px 0 22px;
}
.review-meta { margin-top: auto; font-size: 0.76rem; color: rgba(247, 244, 238, 0.6); }
.verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--champagne);
}
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, 0.28);
  background: transparent;
  color: var(--ivory);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.carousel-nav button:hover { background: var(--champagne); border-color: var(--champagne); color: var(--navy); }

/* --------------------------- insurance ---------------------------------- */
.facility-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.facility-item i { color: var(--champagne); }
.insurer {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 14px;
  text-align: center;
  border-radius: 2px;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  color: var(--navy-500);
  height: 100%;
  display: grid;
  place-items: center;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.insurer:hover { border-color: var(--champagne); color: var(--navy); transform: translateY(-3px); }

/* ----------------------------- location --------------------------------- */
.location { background: var(--white); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
  font-weight: 500;
  vertical-align: top;
}
.hours-table th { text-align: left; color: var(--navy); font-weight: 600; width: 42%; }
.hours-table td { text-align: right; color: var(--navy-500); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--champagne); }
.map-panel {
  position: relative;
  min-height: 420px;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(14, 28, 47, 0.05) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(14, 28, 47, 0.05) 0 1px, transparent 1px 78px),
    linear-gradient(140deg, #eef1f4, #f7f4ee);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
}
.map-pin {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--champagne);
  font-size: 1.4rem;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 10px rgba(14, 28, 47, 0.06);
}

/* ------------------------------ contact --------------------------------- */
.contact { background: var(--ivory-deep); }
.form-panel {
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}
.form-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy-500);
  margin-bottom: 8px;
}
.form-control, .form-select {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 16px;
  font-size: 0.94rem;
  background: var(--ivory);
  color: var(--navy);
  box-shadow: none;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.form-control:focus, .form-select:focus {
  border-color: var(--champagne);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--champagne-soft);
  color: var(--navy);
}
.form-control::placeholder { color: #9fadb9; }
.invalid-feedback { font-size: 0.78rem; }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: #b4442f; }
.form-success {
  border: 1px solid var(--champagne);
  background: rgba(183, 154, 99, 0.08);
  padding: 30px;
  border-radius: 2px;
}
.form-success i { color: var(--champagne); font-size: 1.8rem; }

/* ------------------------------- footer --------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(247, 244, 238, 0.72);
  padding-top: clamp(60px, 7vw, 100px);
}
.site-footer h4 {
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}
.site-footer a { color: rgba(247, 244, 238, 0.72); transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--champagne); }
.footer-links { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.footer-links li { margin-bottom: 11px; }
.footer-logo {
  background: var(--ivory);
  padding: 14px 18px;
  border-radius: 3px;
  display: inline-block;
}
.footer-logo img { height: 58px; width: auto; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 70px);
  border-top: 1px solid rgba(247, 244, 238, 0.14);
  padding-block: 26px;
  font-size: 0.8rem;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, 0.25);
  display: grid;
  place-items: center;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.social-btn:hover { background: var(--champagne); color: var(--navy) !important; }

/* ---------------------------- back to top ------------------------------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 1040;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy); color: var(--champagne); }

/* ------------------------------ reveal ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------- responsive -------------------------------- */
@media (max-width: 1199.98px) {
  .hero-badge { left: 16px; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 78px; }
  .hero-figure { aspect-ratio: 3 / 2; margin-top: 40px; }
  .why-figure { min-height: 320px; margin-bottom: 34px; }
  .legacy-note { border-left: 0; padding-left: 0; margin-top: 24px; }
}
@media (max-width: 767.98px) {
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .hours-table th { width: 46%; }
  .brand img { height: 38px; }
  .brand-name { font-size: 0.95rem; }
  .brand-sub { font-size: 0.5rem; letter-spacing: 0.18em; }
  .hero-cta .btn-m { width: 100%; }
  .review-card { padding: 24px; }
}
@media (max-width: 359.98px) {
  .brand-text { display: none; }
}

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