/* ============================================================
   MARS USA Dental Lab — site.css (DDS-style redesign)
   Design system imported from Claude Design "MARS USA Homepage v2"
   (values sampled from ddslab.com): navy structure, orange action,
   blue digital accent, cool tint surfaces, Nunito Sans, square corners.
   ============================================================ */

:root {
  /* palette */
  --navy-900: #182933;
  --navy-800: #22374c;
  --navy-700: #29415a;
  --navy-600: #2e4057;   /* core brand navy */
  --navy-500: #3a5170;
  --orange-600: #cf1212;   /* logo-red hover/pressed */
  --orange-500: #f01e1e; /* core action — MARS logo red */
  --orange-100: #fde5e5;
  --blue-600: #1c74db;
  --blue-500: #2d8cff;
  --blue-100: #dbeaff;
  --teal-400: #1fdec1;   /* tiny "online" dots only */
  --white: #ffffff;
  --tint-50: #f1f7ff;
  --gray-100: #e4eaf1;
  --gray-200: #ced6de;
  --gray-400: #a1abb5;
  --gray-600: #4c5262;
  /* semantic */
  --heading: var(--navy-600);
  --body-c: var(--gray-600);
  --line: var(--gray-100);
  --border-card: var(--gray-200);
  --on-dark-muted: #c8d3e0;
  /* type */
  --font: "Nunito Sans", "Museo Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ls-eyebrow: .14em;
  /* radius / motion / shadow */
  --r-sm: 3px; --r-md: 4px; --r-lg: 6px;
  --dur-fast: 120ms; --dur: 200ms; --dur-slow: 320ms;
  --ease: cubic-bezier(.4,0,.2,1); --ease-out: cubic-bezier(0,0,.2,1);
  --sh-xs: 0 1px 2px rgba(46,64,87,.08);
  --sh-sm: 0 2px 6px rgba(46,64,87,.10);
  --sh-md: 0 6px 18px rgba(46,64,87,.12);
  --sh-lg: 0 14px 40px rgba(46,64,87,.16);
  --scrim: linear-gradient(180deg, rgba(24,41,51,0) 35%, rgba(24,41,51,.78) 100%);
  --container: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: var(--body-c); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
main ol { list-style: decimal; padding-left: 1.4rem; }
::selection { background: var(--orange-100); color: var(--navy-600); }
strong, b { font-weight: 700; color: var(--heading); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 640px) { .wrap { padding: 0 2.5rem; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--heading); line-height: 1.22; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); font-weight: 900; line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: var(--orange-500);
}
.eyebrow.blue { color: var(--blue-600); }
.lead { font-size: 1.125rem; font-weight: 300; color: var(--body-c); line-height: 1.7; }
.muted { color: var(--body-c); }
.small { font-size: .875rem; }
.accent { color: var(--blue-600); }
.rule { width: 64px; height: 4px; background: var(--orange-500); margin-top: 1rem; }
.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--navy-900); color: var(--on-dark-muted); font-size: 12px; font-weight: 600; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--orange-500); }
.tb-loc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-live { white-space: nowrap; }
.tb-phone { white-space: nowrap; }
@media (max-width: 1023px) { .tb-loc { display: none; } .topbar .wrap { justify-content: center; } }
@media (max-width: 599px) { .tb-phone, .tb-sep { display: none; } .tb-live { font-size: 11.5px; } }
.tb-live { display: inline-flex; align-items: center; gap: 7px; }
.dot-live { position: relative; width: 7px; height: 7px; display: inline-block; }
.dot-live::before, .dot-live::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--teal-400); }
.dot-live::after { animation: marsPulse 2.6s var(--ease-out) infinite; }
@keyframes marsPulse { 0% { transform: scale(.85); opacity: .6; } 70%, 100% { transform: scale(2.2); opacity: 0; } }

.site-header {
  position: sticky; top: 0; z-index: 60; background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-sm); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 16px 0; transition: padding var(--dur) var(--ease); }
.site-header.scrolled .navbar { padding: 10px 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.nav-links { display: none; align-items: center; gap: 1.9rem; font-size: 14px; font-weight: 600; }
.nav-links > li { position: relative; }
a.nav-item { color: var(--gray-600); padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color var(--dur-fast) var(--ease); }
a.nav-item:hover { color: var(--orange-500); }
a.nav-item[aria-current="page"] { color: var(--navy-600); border-bottom-color: var(--orange-500); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--orange-500); color: #fff !important;
  border-radius: var(--r-sm); padding: 10px 20px; font-size: 14px; font-weight: 700; letter-spacing: .01em;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav-cta:hover { background: var(--orange-600); }
.nav-cta:active { transform: scale(.985); }
.nav-cta::after { content: "›"; font-size: 16px; line-height: 1; }

.has-drop > a.nav-item::after { content: " ▾"; font-size: 10px; }
.dropdown {
  position: absolute; top: 100%; left: -16px; padding-top: 14px; display: none; z-index: 70;
}
.dropdown-inner {
  display: flex; flex-direction: column; min-width: 268px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 8px 0;
  animation: marsDrop var(--dur) var(--ease) both;
}
@keyframes marsDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 20px; font-size: 14px; font-weight: 600; color: var(--gray-600); }
.dropdown a:hover { color: var(--orange-500); background: var(--tint-50); }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-600); border-radius: 2px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: .75rem 0 1.1rem; background: var(--white); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: .6rem .35rem; font-weight: 700; font-size: 15px; color: var(--navy-600); }
.mobile-menu a:hover { color: var(--orange-500); }
.mobile-menu .mm-sub { padding-left: 1.2rem; font-size: 14px; font-weight: 400; color: var(--gray-600); }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.tint { background: var(--tint-50); }
.page-head { padding: 56px 0 8px; }
.page-head h1 { margin-top: .7rem; }
.page-head .lead { margin-top: 1.1rem; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-sm); font-family: var(--font); font-weight: 700; letter-spacing: .01em;
  cursor: pointer; border: 0; font-size: 15px; padding: 13px 26px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(.985); }
.btn-coral::after { content: "›"; font-size: 17px; line-height: 1; }
.btn-coral { background: var(--orange-500); color: #fff; }
.btn-coral:hover { background: var(--orange-600); }
.btn-blue { background: var(--navy-600); color: #fff; }
.btn-blue:hover { background: var(--navy-500); }
.btn-ghost { background: transparent; color: var(--navy-600); border: 1px solid var(--navy-600); }
.btn-ghost:hover { background: var(--navy-600); color: #fff; }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--navy-600); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-500); font-size: 14px; font-weight: 700; }
.link-arrow::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.6rem; box-shadow: var(--sh-xs);
}
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card h3 a:hover { color: var(--orange-500); }
.card .more { color: var(--orange-500); font-weight: 700; font-size: 14px; }
.card .more:hover { text-decoration: underline; }

/* ---------- Answer block ---------- */
.answer-block {
  background: var(--tint-50); border-left: 4px solid var(--orange-500); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.15rem 1.4rem; margin: 1.25rem 0; color: var(--navy-600); font-size: 1.02rem; font-weight: 400; line-height: 1.65;
}

/* ---------- Stat band (orange, DDS style) ---------- */
.stat-band { background: var(--orange-500); color: #fff; border-radius: 0; padding: 3rem 2rem; }
.stat-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-size: 2.5rem; font-weight: 900; color: #fff; letter-spacing: -.01em; line-height: 1.1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.85); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: .3rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-xs); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 420px; }
table.data th {
  text-align: left; font-size: 12px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--gray-400); font-weight: 700; padding: .85rem 1.1rem; border-bottom: 2px solid var(--line); background: var(--tint-50);
}
table.data td { padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); font-weight: 400; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num { font-weight: 900; color: var(--navy-600); white-space: nowrap; }

/* ---------- Checklist ---------- */
.checklist li { display: flex; gap: .7rem; align-items: flex-start; padding: .38rem 0; font-weight: 400; }
.checklist li::before { content: "✓"; flex-shrink: 0; color: var(--orange-500); font-weight: 900; margin-top: 1px; }
.checklist.on-dark li { color: var(--on-dark-muted); }

/* ---------- Testimonials ---------- */
.quote-who { font-size: 12px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--gray-400); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: .7rem; box-shadow: var(--sh-xs); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 700; font-size: 1rem; color: var(--navy-600);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--orange-500); font-weight: 400; transition: transform var(--dur-fast); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.3rem 1.2rem; color: var(--body-c); font-weight: 400; line-height: 1.7; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 13px; color: var(--gray-400); padding: 1.1rem 0 0; font-weight: 600; }
.crumbs a:hover { color: var(--orange-500); }
.crumbs span[aria-current] { color: var(--navy-600); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-600); margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--white); border: 1px solid var(--border-card); border-radius: var(--r-md);
  padding: .8rem 1rem; font: inherit; font-size: 15px; font-weight: 400; color: var(--navy-600);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(45,140,255,.25); }
.field-error { color: #c2410c; font-size: 12.5px; margin-top: .3rem; font-weight: 600; }
.form-note { font-size: 12.5px; color: var(--body-c); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-600); color: #fff; border-radius: var(--r-lg); padding: 3rem 2rem; text-align: center;
}
.cta-band h2 { color: #fff; font-weight: 900; }
.cta-band p { color: var(--on-dark-muted); max-width: 40rem; margin: .9rem auto 1.6rem; font-weight: 300; }

/* ---------- Download tiles / steps ---------- */
.dl-tile {
  display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1rem 1.2rem; box-shadow: var(--sh-xs);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.dl-tile:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.dl-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--orange-500); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 900; flex-shrink: 0;
}
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--navy-600); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.step-num.hot { background: var(--orange-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); font-size: 14.5px; font-weight: 300; margin-top: 4.5rem; }
.footer-grid { display: grid; gap: 2.25rem; padding: 3.5rem 0 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.15fr; } }
.site-footer h4 { font-size: 12px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--gray-400); margin-bottom: 1rem; font-weight: 600; }
.site-footer a:hover { color: var(--orange-500); }
.site-footer li { padding: .24rem 0; }
.footer-logo-chip { display: inline-block; background: #fff; padding: 9px 14px; border-radius: var(--r-sm); }
.footer-logo-chip img { height: 36px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0 2.4rem; font-size: 12px; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.dot-blink { width: 6px; height: 6px; border-radius: 999px; background: var(--teal-400); display: inline-block; animation: marsBlink 2.4s var(--ease) infinite; }
@keyframes marsBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ============================================================
   HOMEPAGE (DDS design) — hero, tiles, splits, services, toggle,
   turnaround, rotator, steps, cta split
   ============================================================ */

@keyframes marsKen { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes marsWipe { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); } }

[data-reveal] { opacity: 0; transform: translateY(12px); }
[data-reveal="left"] { transform: translateX(-10px); }
.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Hero */
.hero2 { position: relative; background: var(--navy-600); overflow: hidden; display: grid; }
@media (min-width: 960px) { .hero2 { grid-template-columns: minmax(0,1fr) minmax(0,.92fr); } }
.hero2-copy { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding: 90px 2.5rem 120px; }
.hero2-copy > div { width: 100%; max-width: 620px; }
.hero2-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--blue-100); color: var(--blue-600);
  font-size: 13px; font-weight: 700; letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--r-sm);
}
.hero2 h1 { margin-top: 1.5rem; font-size: clamp(38px, 4.6vw, 64px); font-weight: 900; line-height: 1.08; color: #fff; }
.hero2 h1 em { font-style: normal; color: var(--orange-500); }
.hero2-lead { margin-top: 1.5rem; max-width: 48ch; font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--on-dark-muted); }
.hero2-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.hero2-note { margin-top: 1.5rem; font-size: 14px; color: var(--on-dark-muted); }
.hero2-note a { color: #fff; font-weight: 700; }
.hero2-photo { position: relative; overflow: hidden; min-height: 320px; animation: marsWipe 720ms var(--ease-out) both; }
@media (min-width: 960px) { .hero2-photo { min-height: 520px; } }
.hero2-photo .ken { position: absolute; inset: -2%; animation: marsKen 26s var(--ease) infinite alternate; }
.hero2-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero2-photo .fade { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(90deg, var(--navy-600) 0%, rgba(46,64,87,.55) 55%, rgba(46,64,87,0) 100%); pointer-events: none; }
.no-motion .hero2-photo, .no-motion .hero2-photo .ken, .no-motion .ken { animation: none !important; clip-path: none !important; }

/* Icon tile row overlapping hero */
.tile-row { display: grid; gap: 1.25rem; transform: translateY(-46px); }
@media (min-width: 640px) { .tile-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tile-row { grid-template-columns: repeat(4, 1fr); } }
.tile {
  display: grid; grid-template-columns: 56px 1fr; background: var(--white); box-shadow: var(--sh-sm);
  border-radius: var(--r-sm); overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tile:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.tile-ic { display: grid; place-items: center; color: #fff; font-size: 22px; }
.tile-tx { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.tile-tx b { font-size: 14px; font-weight: 700; line-height: 1.25; }
.tile-tx span { font-size: 12px; font-weight: 400; color: var(--gray-600); line-height: 1.35; }

/* Section heading pattern */
.sh { max-width: 760px; }
.sh.center { margin-left: auto; margin-right: auto; text-align: center; }
.sh .eyebrow { display: block; }
.sh h2 { margin-top: .8rem; font-weight: 900; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; }
.sh .lead { margin-top: 1rem; font-weight: 300; }
.sh.on-dark h2 { color: #fff; }
.sh.on-dark .lead { color: var(--on-dark-muted); }
.sh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* Values 3-up */
.vals { display: grid; gap: 1px; background: var(--line); margin-top: 3rem; }
@media (min-width: 900px) { .vals { grid-template-columns: repeat(3, 1fr); } }
.val { background: var(--tint-50); display: flex; flex-direction: column; }
.val-photo { position: relative; overflow: hidden; height: 220px; }
.val-photo img { width: 100%; height: 100%; object-fit: cover; }
.val-photo::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.val-word { position: absolute; left: 1.5rem; bottom: 1rem; z-index: 1; color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 900; line-height: 1; letter-spacing: -.01em; }
.val-body { padding: 1.5rem 2rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; flex: 1; }
.val-body p { font-size: 15px; font-weight: 400; color: var(--gray-600); }
.val-body .link-arrow { margin-top: auto; }

/* 50/50 splits */
.split { display: grid; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split-pane { display: flex; }
.split-pane.left { justify-content: flex-end; }
.split-pane > div { width: 100%; max-width: 640px; padding: 90px 2.5rem; }
.split-pane.left > div { padding-right: 4rem; }
.split-pane.right > div { padding-left: 4rem; }
@media (max-width: 959px) { .split-pane.left > div, .split-pane.right > div { padding: 60px 1.5rem; } }
.bg-navy { background: var(--navy-600); }
.bg-blue-soft { background: var(--blue-100); }
.bg-orange { background: var(--orange-500); }
.split-photo { position: relative; background: var(--navy-700); overflow: hidden; min-height: 320px; }
.split-photo .ken { position: absolute; inset: -2%; animation: marsKen 30s var(--ease) infinite alternate; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Services grid */
.svc-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc {
  background: var(--white); display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 2rem 1.5rem 0; text-align: center; transition: box-shadow var(--dur) var(--ease);
}
.svc:hover { box-shadow: var(--sh-md); position: relative; z-index: 1; }
.svc h3 { font-size: 1.15rem; }
.svc p { font-size: 14px; font-weight: 400; color: var(--gray-600); }
.svc-photo { width: 100%; height: 180px; margin-top: auto; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.svc:hover .svc-photo img { transform: scale(1.04); }
.svc-wide {
  margin-top: 1.25rem; background: var(--white); border: 1px solid var(--line);
  padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}

/* Material toggle */
.mat { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-xs); overflow: hidden; }
.mat-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--tint-50); border-bottom: 1px solid var(--line); }
.mat-ind { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: var(--navy-600); transition: transform var(--dur-slow) var(--ease); }
.mat-tabs button {
  position: relative; z-index: 1; background: none; border: 0; cursor: pointer; padding: 16px;
  font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: var(--gray-600); transition: color var(--dur) var(--ease);
}
.mat-tabs button.on { color: #fff; }
.mat-panes { position: relative; min-height: 230px; }
.mat-pane { padding: 2.5rem; transition: opacity var(--dur) var(--ease), transform var(--dur-slow) var(--ease); }
.mat-pane.off { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); pointer-events: none; }
.mat-pane h3 { font-size: 1.4rem; }
.mat-pane p { margin: 1rem 0 1.5rem; font-weight: 300; max-width: 70ch; }
.mat-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.mat-chips span { border: 1px solid var(--border-card); border-radius: var(--r-sm); padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--navy-600); }

/* Turnaround (navy) */
.turn { display: grid; gap: 4rem; margin-top: 3rem; }
@media (min-width: 900px) { .turn { grid-template-columns: 1fr 1fr; } }
.turn-col-h { font-size: 13px; font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--on-dark-muted); padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.22); }
.turn-row { padding: 1.2rem 0 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.turn-row .tr-line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.turn-row .tr-name { font-size: 16px; font-weight: 300; color: #fff; }
.turn-row .tr-days { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.turn-row .tr-days.hot { color: var(--orange-500); }
.turn-bar { height: 4px; background: rgba(255,255,255,.14); margin-top: 10px; }
.turn-bar > div { height: 100%; width: 0; background: var(--blue-500); transition: width 1600ms var(--ease-out); }
.turn-bar > div.hot { background: var(--orange-500); }

/* Testimonial rotator */
.t-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.t-panes { position: relative; min-height: 230px; }
.t-pane { transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.t-pane.off { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); pointer-events: none; }
.t-pane blockquote { font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 300; line-height: 1.35; letter-spacing: -.01em; color: var(--navy-600); }
.t-pane .quote-who { margin-top: 1.5rem; }
.t-dots { display: flex; gap: .5rem; margin-top: 2rem; }
.t-dots button { border: 0; padding: 0; cursor: pointer; background: var(--line); height: 3px; width: 84px; overflow: hidden; }
.t-dots button span { display: block; height: 100%; background: var(--orange-500); width: 0; transition: width var(--dur-slow) var(--ease); }
.t-dots button.on span { width: 100%; }

/* Steps with progress line */
.steps-wrap { position: relative; margin-top: 3rem; }
.steps-line { position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--border-card); }
.steps-line > div { height: 100%; width: 0; background: var(--orange-500); transition: width 1400ms var(--ease-out); }
.steps { position: relative; display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps h3 { margin: 1.5rem 0 .5rem; font-size: 1.15rem; }
.steps p { font-size: 14px; font-weight: 400; color: var(--gray-600); }

/* Scroll progress + back to top */
.progress-rail { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.progress-rail > div { height: 100%; width: 0; background: var(--orange-500); }
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 44px; height: 44px; border: 0;
  border-radius: var(--r-sm); background: var(--navy-600); color: #fff; font-size: 16px; cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none; box-shadow: var(--sh-md);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.to-top.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--orange-500); }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.center { text-align: center; }
.flex-wrap-gap { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.updated { font-size: 11px; letter-spacing: .08em; color: var(--gray-400); text-transform: uppercase; font-weight: 600; }
.img-round { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.two-col { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.two-col > *, .card-grid > *, .steps > *, .svc-grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }

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

/* Service page image: after intro on small screens, right column on desktop */
.svc-img-m { display: block; margin-top: 1.25rem; }
.svc-img-d { display: none; }
@media (min-width: 900px) {
  .svc-img-m { display: none; }
  .svc-img-d { display: block; }
}
