/* ==========================================================================
   DiamondFinish — stylesheet
   Single file, no build step, mobile-first. Organised top-to-bottom:
   tokens → base → layout → components → header → hero → sections → footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — brand colours sampled from the Mirror Gloss logo
   -------------------------------------------------------------------------- */
:root {
  --ink: #0c1a2e;          /* Ink — wordmark, headings, dark sections */
  --ink-950: #071120;
  --ink-800: #13253d;
  --sapphire: #1d5bd6;     /* Sapphire — "Finish", buttons (5.9:1 with white) */
  --sapphire-700: #1748b0;
  --brilliant: #3fa9ea;    /* crown facet, gradients, sparkles */
  --ice: #7fdcf6;          /* Ice — sparkle, accents on dark */
  --ice-100: #dff6fd;
  --silver: #c7d2de;       /* Silver — borders, dividers */
  --frost: #edf5fb;        /* Frost — light sections */
  --frost-50: #f7fbfe;

  --text: #33435a;
  --muted: #5a6b82;
  --line: #dde6f0;
  --error: #c0262d;

  --font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --header-h: 68px;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 46, .06), 0 3px 10px rgba(12, 26, 46, .05);
  --shadow: 0 6px 16px rgba(12, 26, 46, .07), 0 18px 40px rgba(12, 26, 46, .09);
  --shadow-lg: 0 12px 30px rgba(12, 26, 46, .12), 0 32px 70px rgba(12, 26, 46, .18);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --transition: 200ms var(--ease);
}

@media (min-width: 1080px) {
  :root { --header-h: 84px; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--sapphire); text-underline-offset: .18em; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brilliant); outline-offset: 3px; }

.skip-link {
  position: absolute;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Swap short labels in on small phones */
.xs-show { display: none; }
@media (max-width: 479.98px) {
  .xs-hide { display: none; }
  .xs-show { display: inline; }
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stars { width: 100px; height: 20px; flex: none; fill: var(--sapphire); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

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

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section-head p:last-child { margin: 0; font-size: 1.0625rem; color: var(--muted); }

/* Small caps label with a sparkle bullet, borrowed from the logo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .9rem;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sapphire);
}
.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  background: currentColor;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.eyebrow--light { color: var(--ice); }

.section h2,
.estimate h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem); }

/* --------------------------------------------------------------------------
   4. Components
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .75rem 1.35rem;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  font: 700 1rem/1.2 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.2em; height: 1.2em; stroke-width: 2.2; }

.btn--primary {
  background: var(--sapphire) linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(29, 91, 214, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover { background-color: var(--sapphire-700); }
/* a glint crosses the button on hover, like light on a fresh topcoat */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  pointer-events: none;
}
.btn--primary:hover::after { transform: translateX(120%); }

.btn--white { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--white:hover { border-color: var(--silver); color: var(--sapphire); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-800); }

.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.0625rem; border-radius: 14px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Header + navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}
.header.is-scrolled,
.nav-open .header {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(12, 26, 46, .3);
}

.header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }

.brand { flex: none; display: block; margin-right: auto; }
.brand img { width: auto; height: 40px; }

.header__actions { display: flex; align-items: center; gap: .75rem; }

.header__phone {
  display: none;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.header__phone-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--frost);
  color: var(--sapphire);
  transition: background-color var(--transition), color var(--transition);
}
.header__phone:hover .header__phone-icon { background: var(--sapphire); color: #fff; }
.header__phone > span:last-child { display: none; }

.header__cta { display: none; }

.nav-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: .5rem var(--gutter) 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.nav__list a {
  display: block;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
}
.nav__cta { display: grid; gap: .75rem; margin-top: 1.25rem; }

@media (min-width: 600px) {
  .brand img { height: 46px; }
  .header__phone { display: inline-flex; }
  .header__cta { display: inline-flex; }
}

@media (min-width: 1080px) {
  .brand img { height: 52px; }
  .nav {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: 1.6rem; }
  .nav__list a {
    position: relative;
    padding: .5rem 0;
    border: 0;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--sapphire), var(--brilliant));
    transform: scaleX(0);
    transition: transform var(--transition);
  }
  .nav__list a:hover, .nav__list a.is-active { color: var(--ink); }
  .nav__list a:hover::after, .nav__list a.is-active::after { transform: none; }
  .nav__cta, .nav-toggle { display: none; }
  .header__actions { gap: 1.25rem; }
}

@media (min-width: 1280px) {
  .header__phone > span:last-child { display: block; }
}

/* --------------------------------------------------------------------------
   6. Hero — everything stands on a mirror-gloss floor and reflects in it
   -------------------------------------------------------------------------- */
.hero {
  --floor-h: 84px;
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.25rem, 5vw, 4.25rem);
  background:
    radial-gradient(55% 65% at 92% 0%, rgba(127, 220, 246, .38), transparent 70%),
    radial-gradient(45% 55% at 0% 12%, rgba(29, 91, 214, .08), transparent 70%),
    linear-gradient(180deg, var(--frost-50) 0%, var(--frost) 100%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.75rem;
  padding-bottom: var(--floor-h);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.4rem;
  padding: .45rem .95rem .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-sm);
  font-size: .875rem;
  line-height: 1.3;
  color: var(--text);
}
.hero__badge .stars { width: 82px; height: 16px; }
.hero__badge strong { color: var(--ink); }

.hero__title {
  margin-bottom: .45em;
  font-size: clamp(2.6rem, 1.55rem + 4.3vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

/* "diamonds." — sapphire-to-ice gradient with a glint that crosses it every few seconds */
.shine {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--sapphire) 0%, var(--sapphire) 30%, #b9ecff 45%, var(--brilliant) 55%, var(--sapphire) 80%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glint 7s var(--ease) 1.2s infinite;
}
.shine__spark {
  position: absolute;
  top: .26em;
  right: -.5em;
  width: .34em;
  height: .34em;
  fill: var(--brilliant);
  animation: twinkle 3.4s ease-in-out infinite;
}

@keyframes glint {
  0% { background-position: 100% 0; }
  30%, 100% { background-position: 0 0; }
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(.55) rotate(45deg); opacity: .55; }
}

.hero__lead { max-width: 35rem; margin-bottom: 1.5rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }

.hero__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: .6rem 1.4rem;
  margin-bottom: 2rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
}
.hero__checks li { display: flex; align-items: center; gap: .5rem; }
.hero__checks .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(29, 91, 214, .12);
  color: var(--sapphire);
  stroke-width: 3;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__visual { position: relative; }

/* The floor: a glossy band below the horizon with a slow light sweep */
.hero__floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--floor-h);
  background:
    radial-gradient(45% 140% at 50% 0%, rgba(255, 255, 255, .75), transparent 70%),
    linear-gradient(180deg, #d2e2f2 0%, #e3edf7 45%, #eef4fa 100%);
  box-shadow: inset 0 1px 0 #bfd3e8, inset 0 2px 0 rgba(255, 255, 255, .9);
}
.hero__floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%);
  background-size: 250% 100%;
  background-position: 120% 0;
  animation: floor-sweep 8s var(--ease) 2s infinite;
}
@keyframes floor-sweep {
  0% { background-position: 120% 0; }
  45%, 100% { background-position: -20% 0; }
}

/* Reflections (Chrome, Edge, Safari). Other browsers simply show the floor. */
@supports (-webkit-box-reflect: below) {
  .board { -webkit-box-reflect: below 0 linear-gradient(transparent 64%, rgba(255, 255, 255, .34)); }
}

/* Sparkles around the board */
.hero__spark { position: absolute; z-index: 2; fill: var(--brilliant); animation: twinkle 3.6s ease-in-out infinite; pointer-events: none; }
.hero__spark--a { top: -38px; right: 10%; width: 30px; height: 30px; }
.hero__spark--b { top: -12px; right: 3%; width: 16px; height: 16px; fill: var(--ice); animation-delay: 1.2s; }
.hero__spark--c { top: -52px; right: 21%; width: 12px; height: 12px; animation-delay: 2.1s; }

/* ---- Before/after sample board ---- */
.board {
  --pos: 50%;
  --p: 50;
  position: relative;
  isolation: isolate;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 20px;
  background: #394354;
  box-shadow: 0 22px 44px -26px rgba(12, 26, 46, .55);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.board.is-dragging { cursor: grabbing; }

.board__after, .board__before, .board__finish, .board__gloss { position: absolute; inset: 0; }

.board__finish { opacity: 0; transition: opacity .6s var(--ease); }
.board[data-finish="flake"] .board__finish--flake,
.board[data-finish="metallic"] .board__finish--metallic,
.board[data-finish="quartz"] .board__finish--quartz { opacity: 1; }
.board__finish--flake { background: url("../images/finish-flake.webp") 0 0 / 280px; }
.board__finish--metallic { background: url("../images/finish-metallic.webp") 50% 50% / cover; }
.board__finish--quartz { background: url("../images/finish-quartz.webp") 0 0 / 200px; }

/* Gloss on the finished side only: shop-light reflections, a sheen and a moving glint */
.board__gloss {
  overflow: hidden;
  background:
    radial-gradient(24% 2.6% at 29% 15%, rgba(255, 255, 255, .95) 0 38%, rgba(255, 255, 255, .35) 62%, transparent 100%),
    radial-gradient(24% 2.6% at 71% 15%, rgba(255, 255, 255, .9) 0 38%, rgba(255, 255, 255, .3) 62%, transparent 100%),
    radial-gradient(26% 3% at 29% 47%, rgba(255, 255, 255, .5) 0 30%, rgba(255, 255, 255, .16) 60%, transparent 100%),
    radial-gradient(26% 3% at 71% 47%, rgba(255, 255, 255, .45) 0 30%, rgba(255, 255, 255, .14) 60%, transparent 100%),
    linear-gradient(122deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .06) 34%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(12, 26, 46, .26));
}
.board__gloss::after {
  content: "";
  position: absolute;
  inset: 0 -40%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .42) 50%, transparent 60%);
  transform: translateX(-70%);
  animation: board-glint 7s var(--ease) 3.5s infinite;
}
@keyframes board-glint {
  0% { transform: translateX(-70%); }
  32%, 100% { transform: translateX(70%); }
}

.board__before {
  z-index: 1;
  background: url("../images/concrete.webp") 50% 50% / cover;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.board__before::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(12, 26, 46, .22));
}

.board__tag {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  padding: .38rem .75rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity .2s linear;
}
.board__tag--before { left: 14px; background: rgba(12, 26, 46, .6); opacity: clamp(0, calc((var(--p) - 14) / 8), 1); }
.board__tag--after { right: 14px; background: rgba(29, 91, 214, .85); opacity: clamp(0, calc((86 - var(--p)) / 8), 1); }

.board__divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 0; }
.board__divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5px;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 16px rgba(12, 26, 46, .45);
}
.board__handle {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: #fff;
  color: var(--sapphire);
  box-shadow: 0 8px 20px rgba(12, 26, 46, .38), 0 0 0 6px rgba(255, 255, 255, .3);
  cursor: grab;
  transition: transform var(--transition), box-shadow var(--transition);
}
.board__handle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.board:hover .board__handle, .board.is-dragging .board__handle { transform: scale(1.06); box-shadow: 0 10px 24px rgba(12, 26, 46, .42), 0 0 0 9px rgba(255, 255, 255, .32); }
.board__handle:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }

.finish-switch {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 50%;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 26, 46, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 20px -10px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  transform: translateX(-50%);
  cursor: default;
}
.finish-switch label { position: relative; display: block; cursor: pointer; }
.finish-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.finish-switch span {
  display: block;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, .86);
  transition: background-color var(--transition), color var(--transition);
}
.finish-switch label:hover span { color: #fff; }
.finish-switch input:checked + span { background: #fff; color: var(--sapphire); box-shadow: 0 2px 8px rgba(0, 0, 0, .22); }
.finish-switch input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }

@media (min-width: 600px) {
  .hero { --floor-h: 110px; }
  .finish-switch { left: auto; right: 14px; transform: none; }
}

@media (max-width: 479.98px) {
  .hero__checks { grid-template-columns: 1fr 1fr; gap: .55rem .75rem; margin-bottom: 1.6rem; font-size: .875rem; }
  .hero__lead { font-size: 1rem; margin-bottom: 1.25rem; }
  .hero__ctas { display: grid; grid-template-columns: 1.1fr 1fr; gap: .6rem; }
  .hero__ctas .btn { padding-inline: .8rem; font-size: 1rem; }
  .board { aspect-ratio: 1 / 1; border-radius: 18px; }
  .board__handle { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}

@media (max-width: 359.98px) {
  .hero__checks { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .hero__ctas .btn { padding-inline: 1.15rem; }
}

@media (min-width: 1024px) {
  .hero { --floor-h: 132px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 3.5rem; align-items: end; }
  .hero__ctas { -webkit-box-reflect: below 0 linear-gradient(transparent 50%, rgba(255, 255, 255, .3)); }
  .hero__spark--a { top: -46px; }
}

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: 1.6rem .75rem;
  text-align: center;
}
.trust__item:nth-child(odd) { border-right: 1px solid var(--line); }
.trust__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.trust__item strong {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font: 600 clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem)/1.1 var(--font-display);
  letter-spacing: -.02em;
  color: var(--ink);
}
.trust__item span { font-size: .9rem; color: var(--muted); }
.icon--star { width: .8em; height: .8em; fill: var(--sapphire); stroke: none; }

@media (min-width: 900px) {
  .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__item { padding-block: 2rem; }
  .trust__item:nth-child(-n + 2) { border-bottom: 0; }
  .trust__item:not(:last-child) { border-right: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
.services { display: grid; gap: 1.25rem; }
.service {
  position: relative;
  padding: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--sapphire), var(--ice));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: #c9d9ee; box-shadow: var(--shadow); }
.service:hover::before { transform: none; }
.service h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.service p { margin: 0; }
.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--brilliant), var(--sapphire));
  color: #fff;
  box-shadow: 0 12px 22px -12px rgba(29, 91, 214, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.service__icon .icon { width: 26px; height: 26px; }

@media (min-width: 640px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* --------------------------------------------------------------------------
   9. Finishes gallery — the same textures as the hero board, recoloured
   -------------------------------------------------------------------------- */
.finishes { display: grid; gap: 1.25rem; }
.finish {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.finish:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.finish__swatch { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.finish__swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(24% 2.8% at 29% 18%, rgba(255, 255, 255, .85) 0 36%, rgba(255, 255, 255, .28) 62%, transparent 100%),
    radial-gradient(24% 2.8% at 71% 18%, rgba(255, 255, 255, .8) 0 36%, rgba(255, 255, 255, .25) 62%, transparent 100%),
    linear-gradient(122deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(12, 26, 46, .22));
}
.finish__swatch--metallic { background: url("../images/finish-metallic.webp") 30% 40% / 190%; }
.finish__swatch--flake { background: url("../images/finish-flake.webp") 0 0 / 240px; }
.finish__swatch--quartz { background: url("../images/finish-quartz.webp") 0 0 / 170px; }
.finish__swatch--pearl { background: url("../images/finish-metallic.webp") 75% 70% / 220%; filter: grayscale(.92) brightness(1.5) contrast(.82); }
.finish__swatch--graphite { background: url("../images/finish-flake.webp") 60px 40px / 240px; filter: grayscale(1) brightness(.92) contrast(1.05); }
.finish__swatch--copper { background: url("../images/finish-metallic.webp") 60% 15% / 200%; filter: hue-rotate(172deg) saturate(.72) brightness(1.08); }
.finish p { display: flex; flex-direction: column; margin: 0; padding: 1rem 1.25rem 1.15rem; font-size: .9rem; color: var(--muted); }
.finish strong { font: 600 1.15rem/1.3 var(--font-display); color: var(--ink); }

@media (min-width: 600px) { .finishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .finishes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* --------------------------------------------------------------------------
   10. Process — dark section with an exploded view of the floor system
   -------------------------------------------------------------------------- */
.process {
  background:
    radial-gradient(55% 60% at 0% 0%, rgba(29, 91, 214, .32), transparent 70%),
    radial-gradient(45% 50% at 100% 100%, rgba(127, 220, 246, .12), transparent 70%),
    var(--ink);
  color: rgba(255, 255, 255, .75);
}
.process h2 { color: #fff; }
.process h2 span { color: var(--ice); }
.process__inner { display: grid; gap: 3rem; align-items: center; }
.process__copy header { margin-bottom: 2rem; }
.process__copy header p { font-size: 1.0625rem; margin: 0; }

.layers { width: 100%; max-width: 520px; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.layers__tags circle { fill: var(--sapphire); stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; }
.layers__tags text { fill: #fff; }

.steps { display: grid; gap: .9rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, var(--ice));
  font: 600 1.1rem/1 var(--font-display);
  color: var(--ink);
}
.step h3 { margin: .35rem 0 .3rem; font-size: 1.2rem; color: #fff; }
.step p { margin: 0; font-size: .95rem; }

@media (min-width: 1000px) {
  .process__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
}

/* --------------------------------------------------------------------------
   11. Built for Florida
   -------------------------------------------------------------------------- */
.about { display: grid; gap: 2.5rem; align-items: center; }
.about__copy p { font-size: 1.0625rem; margin-bottom: 1.75rem; }
.features { display: grid; gap: 1rem; }
.feature {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, #fff, var(--frost));
}
.feature h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.feature p { margin: 0; font-size: .95rem; }
.feature__icon .icon { width: 23px; height: 23px; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #fff;
  color: var(--sapphire);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}

@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .about { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; }
}

/* --------------------------------------------------------------------------
   12. Reviews
   -------------------------------------------------------------------------- */
.reviews { display: grid; gap: 1.25rem; }
.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.review blockquote { margin: 0; font-size: 1.0625rem; color: var(--ink); }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; font-size: .875rem; color: var(--muted); }
.review figcaption strong { display: block; font-size: .95rem; color: var(--ink); }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brilliant), var(--sapphire));
  font-weight: 700;
  font-size: .875rem;
  color: #fff;
}

@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* --------------------------------------------------------------------------
   13. Service area
   -------------------------------------------------------------------------- */
.areas__inner { display: grid; gap: 2.5rem; align-items: center; }
.areas__copy p { font-size: 1.0625rem; margin-bottom: 1.75rem; }
.areas__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.areas__list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--frost-50);
  font-weight: 600;
  color: var(--ink);
}
.areas__list .icon { color: var(--sapphire); }

@media (min-width: 640px) { .areas__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .areas__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; } }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; }
.faq__item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow var(--transition); }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 2px solid var(--sapphire);
  border-bottom: 2px solid var(--sapphire);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--transition);
}
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__item p { margin: 0; padding: 0 1.35rem 1.25rem; }

/* --------------------------------------------------------------------------
   15. Estimate — dark band with the request form
   -------------------------------------------------------------------------- */
.estimate {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(127, 220, 246, .16), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(29, 91, 214, .35), transparent 70%),
    linear-gradient(165deg, #10223d, var(--ink) 60%);
  color: rgba(255, 255, 255, .78);
}
.estimate__inner { display: grid; gap: 2.5rem; align-items: center; }
.estimate h2 { color: #fff; }
.estimate h2 span {
  background: linear-gradient(90deg, var(--ice), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.estimate__copy > p { font-size: 1.0625rem; max-width: 34rem; }
.estimate__list { display: grid; gap: .7rem; margin: 1.75rem 0 2rem; }
.estimate__list li { display: flex; align-items: center; gap: .7rem; color: #fff; font-weight: 500; }
.estimate__list .icon { color: var(--ice); }
.estimate__phone {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font: 600 1.6rem/1.15 var(--font-display);
  color: #fff;
  text-decoration: none;
}
.estimate__phone small { display: block; font: 500 .8125rem/1.3 var(--font-sans); color: rgba(255, 255, 255, .6); }
.estimate__phone .icon {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(127, 220, 246, .14);
  color: var(--ice);
}

.estimate__card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.estimate__title { font-size: 1.6rem; margin-bottom: 1.25rem; }

.field { position: relative; margin: 0 0 .9rem; }
.field label, .chips legend { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 600; color: var(--ink); }
.field input, .field select {
  width: 100%;
  min-height: 50px;
  padding: .7rem .9rem;
  border: 1.5px solid var(--silver);
  border-radius: 12px;
  background: #fff;
  font: 500 1rem/1.3 var(--font-sans);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231d5bd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
}
.field input::placeholder { color: #9aa7b8; }
.field input:focus, .field select:focus { outline: none; border-color: var(--sapphire); box-shadow: 0 0 0 4px rgba(29, 91, 214, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field__error { display: block; min-height: 1.15em; margin-top: .25rem; font-size: .8125rem; color: var(--error); }
.field__error:empty { min-height: 0; margin: 0; }
.field-row { display: grid; gap: 0 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; padding: 0; border: 0; }
.chips legend { width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips span {
  display: block;
  padding: .55rem 1rem;
  border: 1.5px solid var(--silver);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.chips label:hover span { border-color: var(--sapphire); }
.chips input:checked + span { border-color: var(--sapphire); background: var(--sapphire); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--brilliant); outline-offset: 2px; }

.estimate-form__note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .9rem 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.estimate-form__note .icon { width: 15px; height: 15px; }

.estimate-success { text-align: center; padding: 1.5rem 0; }
.estimate-success__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brilliant), var(--sapphire));
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(29, 91, 214, .7);
}
.estimate-success__icon .icon { width: 30px; height: 30px; stroke-width: 2.6; }

@media (min-width: 480px) { .field-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (min-width: 1000px) {
  .estimate__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 4rem; }
}

/* --------------------------------------------------------------------------
   16. Footer + mobile call bar
   -------------------------------------------------------------------------- */
.footer { padding: 4rem 0 2rem; background: var(--ink-950); color: rgba(255, 255, 255, .66); font-size: .9375rem; }
.footer__grid { display: grid; gap: 2.25rem; }
.footer__brand img { width: 220px; height: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 24rem; }
.footer h3 { margin-bottom: 1rem; font: 700 .8125rem/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer ul { display: grid; gap: .6rem; }
.footer a { color: inherit; text-decoration: none; transition: color var(--transition); }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer__contact .icon { margin-top: .15rem; color: var(--ice); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
}
.footer__bottom p { margin: 0; }

@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; } }

.mobile-bar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -14px rgba(12, 26, 46, .35);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 50px; }

@media (max-width: 767.98px) {
  body { padding-bottom: 72px; }
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* --------------------------------------------------------------------------
   17. Scroll reveal + reduced motion
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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