@charset "utf-8";
/* ==========================================================================
   铮希教育 zxdentist.com — design system
   Hand-authored token-based CSS. No CDN, no remote fonts.
   Palette derived from the site's own photography and original brand colours.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* brand */
  --brand: #072b4a;
  --brand-dark: #04203a;
  --brand-mid: #0d3f66;
  --brand-soft: #e7f0f8;
  --accent: #197ead;
  --accent-dark: #12628a;
  --accent-soft: #c6e2f8;
  --accent-wash: #f2f8fd;

  /* neutrals */
  --ink: #101b26;
  --ink-2: #33465a;
  --ink-3: #5b6e82;
  --ink-4: #8598aa;
  --line: #dde5ed;
  --line-soft: #eaf0f6;
  --paper: #ffffff;
  --paper-2: #f6f9fc;
  --paper-3: #edf3f9;

  /* status */
  --ok: #15803d;
  --warn: #b45309;

  /* type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.125rem;
  --fs-4xl: 2.75rem;
  --fs-5xl: 3.25rem;
  --lh-tight: 1.22;
  --lh-snug: 1.45;
  --lh-base: 1.8;

  /* space */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 88px;
  --sp-10: 120px;

  /* shape */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(7, 43, 74, 0.06);
  --sh-2: 0 4px 16px rgba(7, 43, 74, 0.08);
  --sh-3: 0 14px 40px rgba(7, 43, 74, 0.14);
  --sh-4: 0 26px 70px rgba(7, 43, 74, 0.22);

  /* layout */
  --wrap: 1240px;
  --wrap-narrow: 820px;
  --header-h: 76px;
  --bar-h: 36px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-1: 0.16s;
  --dur-2: 0.28s;
  --dur-3: 0.6s;
}

/* --------------------------------------------------------------------------
   3. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--ink);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }

a { color: var(--accent-dark); text-decoration: none; transition: color var(--dur-1) var(--ease); }
a:hover { color: var(--accent); }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

img { max-width: 100%; height: auto; display: block; }
/* inline icons must never inherit a heading's full line box */
h1 svg, h2 svg, h3 svg, h4 svg, p svg, li svg {
  width: 1em; height: 1em; vertical-align: -0.12em; flex: none;
}
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }
li { margin-bottom: var(--sp-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: var(--sp-9) 0; }
.section-tight { padding: var(--sp-7) 0; }
.section-alt { background: var(--paper-2); }
.section-deep { background: var(--brand); color: var(--accent-soft); }
.section-deep h2, .section-deep h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.section-deep .eyebrow { color: var(--accent-soft); }
.lead { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease),
    box-shadow var(--dur-2) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--sh-3); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }
.btn-line { background: var(--paper); color: var(--brand); border-color: var(--line); }
.btn-line:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-sm { padding: 9px 18px; font-size: var(--fs-sm); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   5. Top bar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-dark);
  color: var(--accent-soft);
  font-size: var(--fs-xs);
  height: var(--bar-h);
  display: flex;
  align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.topbar a { color: var(--accent-soft); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: var(--sp-5); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }

.nav { margin-left: auto; }
.nav > ul {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}
.nav > ul > li { margin: 0; position: relative; }
.nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: var(--header-h);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
}
.nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--dur-2) var(--ease);
}
.nav > ul > li:hover > a::after,
.nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav .caret { width: 10px; height: 10px; opacity: 0.55; }

.header-cta { flex: none; margin-left: var(--sp-4); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--brand);
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   6. Mega menu
   -------------------------------------------------------------------------- */
/* must out-specify `.nav > ul > li { position: relative }`, otherwise the panel
   centres on the menu item instead of the header and runs off-screen */
.nav > ul > li.has-mega { position: static; }
.mega {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 8px);
  top: calc(var(--header-h) - 1px);
  width: min(calc(100vw - 48px), var(--wrap));
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  padding: var(--sp-6);
  display: grid;
  /* minmax(0,…) keeps long labels from blowing the columns past the container */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: var(--sp-6);
  overflow-x: hidden;
  /* the nav list is nowrap; the panel must wrap normally again */
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease),
    visibility var(--dur-2);
  max-height: min(74vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega h4 {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line-soft);
}
.mega > div { min-width: 0; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { margin-bottom: var(--sp-1); }
.mega-link {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-2);
  border-radius: var(--r-md);
  color: var(--ink);
  transition: background var(--dur-1) var(--ease);
  min-width: 0;
}
.mega-link:hover { background: var(--accent-wash); color: var(--accent-dark); }
.mega-link img {
  width: 58px; height: 44px; flex: none;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--paper-3);
}
.mega-link > span { min-width: 0; display: block; }
.mega-link .t { font-weight: 600; font-size: var(--fs-base); line-height: 1.3; display: block; }
.mega-link .d {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-promo {
  background: var(--brand);
  color: var(--accent-soft);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  align-self: start;
}
.mega-promo h4 { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.mega-promo p { font-size: var(--fs-sm); line-height: 1.7; }

/* --------------------------------------------------------------------------
   7. Mobile drawer
   -------------------------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  background: var(--paper);
  box-shadow: var(--sh-4);
  padding: var(--sp-6) var(--sp-5);
  transform: translateX(102%);
  transition: transform var(--dur-2) var(--ease);
  z-index: 90;
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateX(0); }
.drawer ul { list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.drawer a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-weight: 600;
}
.drawer .sub a { padding-left: var(--sp-4); font-weight: 400; font-size: var(--fs-sm); color: var(--ink-3); }
.drawer-close {
  border: 0; background: none; font-size: 26px; line-height: 1;
  color: var(--ink-3); margin-bottom: var(--sp-4); cursor: pointer;
}
.scrim {
  position: fixed; inset: 0; background: rgba(7, 43, 74, 0.45);
  opacity: 0; visibility: hidden; z-index: 80;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   8. Hero carousel
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: clamp(520px, 74vh, 720px); overflow: hidden; background: var(--brand-dark); }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease);
}
.hero-slide[data-active="true"] { opacity: 1; }
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 9s linear;
}
.hero-slide[data-active="true"] img { transform: scale(1.11); }
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(104deg,
    rgba(4, 32, 58, 0.88) 0%,
    rgba(4, 32, 58, 0.7) 42%,
    rgba(4, 32, 58, 0.34) 72%,
    rgba(4, 32, 58, 0.42) 100%);
}
.hero-body {
  position: relative;
  z-index: 2;
  min-height: clamp(520px, 74vh, 720px);
}
/* copy layers sit above the photo layers and cross-fade with them */
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: var(--sp-9) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-3) var(--ease), visibility var(--dur-3);
}
.hero-text[data-active="true"] { opacity: 1; visibility: visible; }
.hero-copy { max-width: 660px; color: #fff; }
.hero-copy .eyebrow { color: var(--accent-soft); }
.hero-copy h1 { color: #fff; font-size: var(--fs-5xl); margin-bottom: var(--sp-5); }
.hero-copy p { font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.9); line-height: 1.72; margin-bottom: var(--sp-6); }
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: var(--sp-6);
  z-index: 3;
  display: flex;
  gap: var(--sp-2);
}
.hero-dots button {
  width: 44px; height: 4px; padding: 0;
  border: 0; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: background var(--dur-2) var(--ease);
}
.hero-dots button[aria-selected="true"] { background: var(--accent-soft); }

/* --------------------------------------------------------------------------
   9. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--accent-soft); }
.card-media { aspect-ratio: 16 / 10; background: var(--paper-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.card-body p { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; }
.card-more { margin-top: auto; padding-top: var(--sp-3); font-weight: 600; font-size: var(--fs-sm); color: var(--accent-dark); }

.feature {
  padding: var(--sp-5);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--paper);
  border-top: 3px solid var(--accent);
}
.feature h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.feature p { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; line-height: 1.7; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.split img { border-radius: var(--r-lg); box-shadow: var(--sh-2); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; padding: var(--sp-5) var(--sp-3); }
.stat b { display: block; font-size: var(--fs-2xl); color: #fff; line-height: 1.1; margin-bottom: var(--sp-2); }
.stat span { font-size: var(--fs-sm); color: var(--accent-soft); }

/* --------------------------------------------------------------------------
   10. Breadcrumb, page head, prose
   -------------------------------------------------------------------------- */
.crumb { font-size: var(--fs-xs); color: var(--ink-4); padding: var(--sp-4) 0; }
.crumb a { color: var(--ink-3); }
.crumb span { margin: 0 6px; opacity: 0.5; }

.page-head { background: var(--brand); color: var(--accent-soft); padding: var(--sp-8) 0; }
.page-head h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-head p { max-width: 760px; color: rgba(255, 255, 255, 0.82); font-size: var(--fs-md); margin: 0; }
.page-head .crumb { color: rgba(255, 255, 255, 0.6); padding: 0 0 var(--sp-4); }
.page-head .crumb a { color: rgba(255, 255, 255, 0.82); }

.prose { font-size: var(--fs-md); line-height: 1.95; color: var(--ink-2); }
.prose h2 { font-size: var(--fs-xl); margin: var(--sp-7) 0 var(--sp-4); }
.prose h3 { font-size: var(--fs-lg); margin: var(--sp-6) 0 var(--sp-3); }
.prose img { border-radius: var(--r-md); margin: var(--sp-5) 0; box-shadow: var(--sh-1); }
.prose > p:first-of-type { font-size: var(--fs-lg); color: var(--ink); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: var(--sp-3); }
.checklist li::before {
  content: "";
  position: absolute; left: 4px; top: 0.62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.spec-table th { width: 34%; color: var(--ink); background: var(--paper-2); font-weight: 600; }

.faq-item { border-bottom: 1px solid var(--line-soft); padding: var(--sp-4) 0; }
.faq-item h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.faq-item p { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; }

.dl-group { margin-bottom: var(--sp-7); }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.dl-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 13px var(--sp-4);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.dl-item:hover { border-color: var(--accent); background: var(--accent-wash); color: var(--accent-dark); }
.dl-item svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.dl-item .ext {
  margin-left: auto; flex: none;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-4); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px 6px;
}

.post-meta { font-size: var(--fs-xs); color: var(--ink-4); margin-bottom: var(--sp-4); }
.tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  color: var(--accent-dark); background: var(--accent-wash);
  border-radius: var(--r-pill); padding: 3px 11px;
}

.pager { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-7); }
.pager a, .pager span {
  min-width: 38px; text-align: center;
  padding: 7px 11px; border: 1px solid var(--line);
  border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--ink-2);
}
.pager .now { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.info-card {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: var(--sp-5); background: var(--paper); height: 100%;
}
.info-card h3 { font-size: var(--fs-md); display: flex; align-items: center; gap: var(--sp-2); }
.info-card h3 svg { width: 18px; height: 18px; color: var(--accent); }
.info-card p, .info-card li { font-size: var(--fs-sm); color: var(--ink-3); }
.info-card a { font-weight: 600; }

.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand-mid)); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 640px; }

/* --------------------------------------------------------------------------
   11. Floating contact button
   -------------------------------------------------------------------------- */
.float-contact {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.float-contact a {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-3);
  transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.float-contact a:hover { transform: scale(1.07); background: var(--accent-dark); color: #fff; }
.float-contact a.tel { background: var(--brand); }
.float-contact a.tel:hover { background: var(--brand-dark); }
.float-contact svg { width: 25px; height: 25px; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-dark); color: rgba(255, 255, 255, 0.72); padding: var(--sp-8) 0 var(--sp-5); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--sp-2); }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 40px; width: auto; margin-bottom: var(--sp-4); }
.footer-bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   13. Motion
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --fs-5xl: 2.8rem; --fs-4xl: 2.4rem; --wrap: 1100px; }
  .nav > ul { gap: var(--sp-4); }
  .mega { grid-template-columns: 1fr 1fr 0.85fr; padding: var(--sp-5); }
}

@media (max-width: 1060px) {
  .header-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; --fs-5xl: 2.4rem; --fs-4xl: 2.1rem; --fs-3xl: 1.8rem; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .section { padding: var(--sp-8) 0; }
}

@media (max-width: 780px) {
  .topbar-links { display: none; }
  .hero { min-height: 560px; }
  .hero-body { min-height: 560px; }
  .hero-copy h1 { font-size: 2rem; }
  .hero-copy p { font-size: var(--fs-md); }
}

@media (max-width: 640px) {
  :root { --fs-3xl: 1.6rem; --fs-2xl: 1.45rem; }
  .wrap, .wrap-narrow { width: min(100% - 32px, var(--wrap)); }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-contact { right: 14px; bottom: 76px; }
  .float-contact a { width: 50px; height: 50px; }
  .btn { padding: 12px 22px; }
  .section { padding: var(--sp-7) 0; }
}

@media (max-width: 420px) {
  .stat-row { grid-template-columns: 1fr; }
  .hero-dots button { width: 30px; }
  .logo img { height: 36px; }
}

@media (min-width: 1500px) {
  :root { --wrap: 1320px; --fs-5xl: 3.6rem; }
}

@media print {
  .site-header, .topbar, .float-contact, .site-footer, .hero-dots, .drawer, .scrim { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
