/* =====================================================================
   FLOOR-MART — Cape Coral, FL  |  styles.css
   "Sharp Editorial" — logo blue + yellow, Montserrat, square geometry,
   diamond ◆ motif from the logo, kinetic-but-fast vanilla everything.
   Brand tokens live in :root.
   ===================================================================== */

:root {
  /* ---- Brand ---- */
  --blue:       #2E3192;   /* logo royal blue */
  --blue-deep:  #1c1e5e;   /* deep panel blue */
  --ink:        #12143f;   /* darkest navy — dark sections */
  --ink-2:      #0d0f30;   /* footer */
  --yellow:     #F6EF2D;   /* logo yellow */
  --yellow-dim: #cdbe00;   /* yellow-adjacent for small text on light */

  /* ---- Neutrals ---- */
  --paper:      #f4f3ee;
  --white:      #ffffff;
  --body:       #23243a;
  --muted:      #5c5d70;
  --line:       #dcdce6;
  --line-dark:  rgba(255,255,255,.16);
  --on-blue:    #c9cbf4;
  --on-ink:     #b9bbe6;

  /* ---- Type / layout ---- */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1240px;
  --header-h: 92px;
  --pad: 24px;
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--body); background: var(--white);
  font-size: 17px; line-height: 1.68; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 800; line-height: 1.02; letter-spacing: -.5px; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--muted); }
section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 104px 0; position: relative; }
.section--paper { background: var(--paper); }
.section--blue  { background: var(--blue); }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: var(--on-blue); }
.section--ink   { background: var(--ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: var(--on-ink); }

/* kicker: ◆ + index + label */
.kicker { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.kicker .dia { color: var(--yellow-dim); font-size: .9em; }
.section--blue .kicker { color: #fff; }
.section--blue .kicker .dia, .section--ink .kicker .dia { color: var(--yellow); }
.section--ink .kicker { color: #fff; }
.kicker .idx { color: inherit; opacity: .45; }
.section-head { max-width: 820px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 400; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 800; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 2px;
}

/* ---------------- Buttons (square, outlined — per spec) ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 800; font-size: .92rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 16px 28px; border-radius: 0; border: 2px solid transparent; cursor: pointer; line-height: 1;
  text-decoration: none !important; background: transparent;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .08s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
/* yellow: transparent + yellow stroke + yellow text → hover fills yellow, text knocks out to the background */
.btn--yellow { color: var(--yellow); border-color: var(--yellow); }
.btn--yellow:hover { background: var(--yellow); color: var(--btn-knockout, var(--blue)); border-color: var(--yellow); }
/* blue twin for light backgrounds — same outline language */
.btn--blue { color: var(--blue); border-color: var(--blue); }
.btn--blue:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--lg { padding: 18px 34px; font-size: .98rem; }
.btn--block { width: 100%; }

/* knockout contexts */
.site-header    { --btn-knockout: var(--blue); }
.hero           { --btn-knockout: var(--blue); }
.section--blue  { --btn-knockout: var(--blue); }
.section--ink   { --btn-knockout: var(--ink); }
.svc-more       { --btn-knockout: var(--ink); }
.nav            { --btn-knockout: var(--blue-deep); }
.site-footer    { --btn-knockout: var(--ink-2); }

/* ---------------- Scroll progress ---------------- */
#progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); z-index: 300; pointer-events: none; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--header-h);
  display: flex; align-items: center; background: var(--blue);
  border-bottom: 3px solid var(--yellow);
  transition: transform .28s ease, box-shadow .28s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(9,10,40,.35); }
.header-inner { display: flex; align-items: center; gap: 26px; width: 100%; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 60px; width: auto; display: block; }

.nav { display: flex; align-items: center; flex: 1; justify-content: space-evenly; gap: 20px; margin: 0 8px; }
.nav a { font-weight: 700; font-size: .82rem; letter-spacing: 1.6px; text-transform: uppercase; color: #d9dafb; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--yellow); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .95rem; }
.header-phone:hover { text-decoration: none; color: var(--yellow); }
.header-phone svg { width: 16px; height: 16px; }

.nav-toggle { display: none; background: transparent; border: 2px solid var(--yellow); width: 48px; height: 44px; cursor: pointer; position: relative; z-index: 260; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2.5px; background: var(--yellow); transition: transform .22s ease, opacity .22s ease, background-color .22s; }
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; } .nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  background: var(--blue); color: #fff; position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 24px) 0 64px;
  min-height: 88vh; min-height: 88svh;
  display: flex; align-items: center;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 84px 84px;
}
.hero-mark { position: absolute; right: -2%; bottom: -4%; font-weight: 900; font-size: clamp(6rem, 17vw, 15rem); line-height: .8; letter-spacing: -4px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09); pointer-events: none; user-select: none; white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; width: 100%; position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 26px; }
.hero-eyebrow .dia { font-size: .85em; }
.hero h1 { color: #fff; text-transform: uppercase; letter-spacing: -1.5px; line-height: .95; margin-bottom: 26px; }
.hero h1 .y { color: var(--yellow); }
.ln { display: block; overflow: hidden; }
.ln > span { display: inline-block; }
html.js .ln > span { transform: translateY(115%); animation: rise .85s cubic-bezier(.19,.74,.22,1) forwards; }
html.js .ln:nth-child(1) > span { animation-delay: .05s; }
html.js .ln:nth-child(2) > span { animation-delay: .16s; }
html.js .ln:nth-child(3) > span { animation-delay: .27s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-lead { font-size: 1.14rem; color: #d5d7fa; max-width: 44ch; margin-bottom: 34px; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 44px; }
.hero-phone { color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .5px; border-bottom: 2px solid rgba(255,255,255,.4); padding-bottom: 3px; }
.hero-phone:hover { text-decoration: none; border-bottom-color: var(--yellow); }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; }
.hero-stats .num { color: var(--yellow); font-weight: 900; font-size: 2rem; letter-spacing: -1px; line-height: 1; }
.hero-stats .lbl { color: #9fa2e0; font-size: .68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-top: 7px; }

.hero-media { position: relative; z-index: 1; }
.hero-media::after { content: ""; position: absolute; top: 22px; left: 22px; right: -16px; bottom: -16px; border: 2px solid rgba(246,239,45,.5); z-index: 0; pointer-events: none; }
.hero-frame { position: relative; border: 5px solid var(--yellow); overflow: hidden; aspect-ratio: 4 / 5; background: var(--blue-deep); z-index: 2; }
.hero-frame img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.hero-tag { position: absolute; left: 0; bottom: 0; z-index: 3; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; padding: 12px 18px; }

/* ---------------- Ticker ---------------- */
.ticker { background: var(--yellow); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
html.js .ticker-track { animation: tick 36s linear infinite; }
.ticker-group { display: flex; }
.ticker-item { display: inline-flex; align-items: center; gap: 28px; padding: 15px 28px 15px 0; margin-left: 28px; font-weight: 800; font-size: .92rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ticker-item::after { content: "◆"; font-size: .72em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------- Flooring ---------------- */
.floor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.svc { position: relative; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 28px 30px; transition: background-color .18s ease; }
.svc .no { position: absolute; top: 22px; right: 24px; font-weight: 900; font-size: 1.6rem; letter-spacing: -1px; color: transparent; -webkit-text-stroke: 1.4px var(--line); transition: -webkit-text-stroke-color .18s ease; }
.svc .ic { width: 54px; height: 54px; background: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background-color .18s ease; }
.svc .ic svg { width: 27px; height: 27px; stroke: var(--yellow); fill: none; stroke-width: 1.9; }
.svc h3 { margin-bottom: 7px; transition: color .18s ease; }
.svc p { margin: 0; font-size: .97rem; transition: color .18s ease; }
.svc:hover { background: var(--blue); }
.svc:hover h3 { color: #fff; }
.svc:hover p { color: var(--on-blue); }
.svc:hover .no { -webkit-text-stroke-color: var(--yellow); }
.svc:hover .ic { background: var(--yellow); }
.svc:hover .ic svg { stroke: var(--blue); }

.svc-more { margin-top: 40px; background: var(--ink); padding: 30px 34px; display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center; text-align: center; }
.svc-more p { margin: 0; color: var(--on-ink); } .svc-more strong { color: #fff; }

/* ---------------- Process ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 24px; position: relative; }
.step .big { font-weight: 900; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -2px; color: transparent; -webkit-text-stroke: 1.6px var(--blue); margin-bottom: 14px; }
.step h3 { text-transform: uppercase; letter-spacing: .5px; }
.step p { margin: 0; font-size: .99rem; }
.step .dia { color: var(--yellow-dim); position: absolute; top: -13px; left: 0; background: var(--paper); padding-right: 12px; font-size: .95rem; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-copy p { font-size: 1.06rem; color: var(--body); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.fact { background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 24px; }
.fact .n { font-weight: 900; font-size: 2.1rem; color: var(--blue); line-height: 1; letter-spacing: -1px; }
.fact .t { font-size: .9rem; color: var(--muted); margin-top: 9px; }

/* ---------------- Why (blue) ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 38px; }
.why { display: flex; gap: 16px; align-items: flex-start; }
.why .ck { flex: 0 0 auto; width: 40px; height: 40px; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.why .ck svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 3; fill: none; }
.why h3 { color: #fff; font-size: 1.08rem; margin: 3px 0 5px; }
.why p { margin: 0; font-size: .95rem; color: var(--on-blue); }

/* ---------------- Service area ---------------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-block { margin-bottom: 24px; }
.info-label { font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: .7rem; color: var(--blue); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.info-label::before { content: "◆"; color: var(--yellow-dim); font-size: .8em; }
address { font-style: normal; }
.addr { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.phone-lg { font-weight: 900; font-size: 1.55rem; color: var(--blue); letter-spacing: -.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fff; border: 1px solid var(--line); padding: 9px 15px; font-weight: 700; font-size: .88rem; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.chip svg { width: 13px; height: 13px; stroke: var(--blue); fill: none; stroke-width: 2.4; }
.map { border: 1px solid var(--line); height: 100%; min-height: 440px; background: #ecedf2; box-shadow: 12px 12px 0 var(--blue); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
.area-note { max-width: 880px; }
.area-note p { font-size: .98rem; }

/* ---------------- Estimate (dark ink — yellow buttons shine) ---------------- */
.est-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 56px; align-items: start; }
.est-aside .phone-lg { color: var(--yellow); display: inline-block; margin: 10px 0 6px; }
.est-aside p { color: var(--on-ink); }
.form-card { background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: .92rem; color: #fff; letter-spacing: .3px; }
.field .req { color: var(--yellow); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; padding: 13px 14px;
  border: 1.5px solid var(--line-dark); background: rgba(255,255,255,.05); color: #fff; border-radius: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #8b8dbb; }
.field input:focus, .field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(246,239,45,.18); outline: none; }
.field textarea { resize: vertical; min-height: 108px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-dark); padding: 12px 13px; cursor: pointer; font-weight: 600; font-size: .95rem; color: #e4e5ff; transition: border-color .12s ease, background-color .12s ease; }
.choice:hover { border-color: rgba(246,239,45,.55); }
.choice input { width: 17px; height: 17px; accent-color: var(--yellow); margin: 0; }
.choice:has(input:checked) { border-color: var(--yellow); background: rgba(246,239,45,.08); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; } .radio-row .choice { flex: 1 1 130px; }
.form-note { font-size: .84rem; color: #8b8dbb; margin: 8px 0 18px; }
.form-status { display: none; padding: 13px 15px; font-weight: 600; margin-bottom: 16px; border: 1px solid transparent; }
.form-status.is-success { display: block; background: rgba(16,185,129,.14); color: #7df0c4; border-color: rgba(16,185,129,.5); }
.form-status.is-error { display: block; background: rgba(239,68,68,.14); color: #ffb3b3; border-color: rgba(239,68,68,.5); }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 6px; font-weight: 700; font-size: 1.07rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: 0 0 auto; width: 24px; height: 24px; position: relative; transition: transform .2s ease; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; background: var(--blue); }
.faq .plus::before { left: 2px; right: 2px; top: 11px; height: 2.5px; }
.faq .plus::after { top: 2px; bottom: 2px; left: 11px; width: 2.5px; }
.faq[open] .plus { transform: rotate(45deg); }
.faq .body { padding: 0 6px 24px; max-width: 70ch; }
.faq .body p { margin: 0; }

/* ---------------- Gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--line); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .ph { aspect-ratio: 1/1; border: 1px dashed #c2c3d6; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; background: #fff; color: var(--blue); font-weight: 700; font-size: .84rem; }

/* ---------------- CTA band ---------------- */
.cta-band { text-align: center; overflow: hidden; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -1.5px; margin-bottom: 14px; }
.cta-band h2 .y { color: var(--yellow); }
.cta-band p { max-width: 54ch; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.78); padding: 72px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; margin-bottom: 52px; }
.site-footer h4 { color: var(--yellow); font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase; margin: 0 0 16px; font-weight: 800; }
.site-footer a { color: rgba(255,255,255,.78); } .site-footer a:hover { color: var(--yellow); text-decoration: none; }
.foot-logo { height: 52px; width: auto; }
.foot-brand p { color: rgba(255,255,255,.55); font-size: .94rem; margin-top: 16px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .96rem; }
.foot-contact address { line-height: 1.9; font-size: .95rem; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; transition: background-color .15s ease, border-color .15s ease; }
.social a:hover { background: var(--yellow); border-color: var(--yellow); }
.social svg { width: 19px; height: 19px; fill: #fff; } .social a:hover svg { fill: var(--ink); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; color: rgba(255,255,255,.45); }
.foot-bottom a { color: rgba(255,255,255,.45); }
.foot-giant { font-weight: 900; font-size: clamp(3.4rem, 13.5vw, 12rem); line-height: .82; letter-spacing: -3px; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); user-select: none; pointer-events: none; white-space: nowrap; margin-top: 8px; }
.foot-giant .d { -webkit-text-stroke-color: rgba(246,239,45,.35); }

/* ---------------- Scroll reveals ---------------- */
html.js .rv { opacity: 0; transform: translateY(28px); }
html.js .rv.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.19,.74,.22,1); }
html.js .rv.d1.in { transition-delay: .08s; }
html.js .rv.d2.in { transition-delay: .16s; }
html.js .rv.d3.in { transition-delay: .24s; }

/* ---------------- Motion safety ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .ln > span { transform: none; animation: none; }
  html.js .ticker-track { animation: none; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .hero-frame img { transform: none !important; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .hero { min-height: 0; padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-media { max-width: 480px; }
  .floor-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: 1fr; }
  .est-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }
  .brand-logo { height: 46px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .header-phone, .header-actions .btn { display: none; }
  /* full-screen overlay menu */
  .nav { position: fixed; inset: 0; background: var(--blue-deep); flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: calc(var(--header-h) + 24px) 30px 40px; display: none; z-index: 240; }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.7rem; font-weight: 800; letter-spacing: 0; color: #fff; padding: 10px 0; border-bottom: 0; }
  .nav a:hover { color: var(--yellow); }
  .nav .m-only { display: inline-flex; }
  .nav .header-phone { font-size: 1.15rem; margin-top: 18px; color: var(--yellow); }
  .nav .btn { margin-top: 14px; font-size: .95rem; }
  .hero { padding-top: calc(var(--header-h) + 22px); min-height: 0; }
  .hero-frame { border-width: 4px; }
  .hero-media::after { top: 14px; left: 14px; right: -10px; bottom: -10px; }
  .hero-stats { gap: 26px; }
  .floor-grid, .why-grid, .form-row, .choice-grid, .facts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .svc-more { align-items: center; text-align: center; }
  .map { min-height: 340px; box-shadow: 8px 8px 0 var(--blue); }
  .form-card { padding: 26px 20px; }
}
.nav .m-only { display: none; }

/* =====================================================================
   MULTI-PAGE COMPONENTS (subpages: flooring, about, process, service, privacy)
   ===================================================================== */
.nav a.active { color: #fff; border-bottom-color: var(--yellow); }

/* page banner */
.page-hero { background: var(--blue); color: #fff; position: relative; overflow: hidden; border-bottom: 3px solid var(--yellow);
  padding: calc(var(--header-h) + 76px) 0 76px;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 84px 84px; --btn-knockout: var(--blue); }
.page-hero .hero-mark { font-size: clamp(4.5rem, 13vw, 10rem); bottom: -10%; }
.page-hero h1 { color: #fff; text-transform: uppercase; letter-spacing: -1.5px; line-height: .96; margin-bottom: 18px; }
.page-hero .lead { color: #d5d7fa; max-width: 62ch; font-size: 1.14rem; font-weight: 500; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--on-blue); margin-bottom: 20px; }
.breadcrumb a { color: var(--on-blue); } .breadcrumb a:hover { color: #fff; text-decoration: none; }
.breadcrumb .sep { color: var(--yellow); }

/* alternating text + media rows */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.media-row + .media-row { margin-top: 72px; }
.media-row.rev .m-text { order: 2; }
.media-row .m-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.media-row .m-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.media-row .m-list li { position: relative; padding-left: 26px; font-weight: 500; color: var(--body); }
.media-row .m-list li::before { content: "◆"; position: absolute; left: 0; top: 1px; color: var(--yellow-dim); font-size: .8em; }

/* labeled image placeholder */
.imgph { position: relative; border: 2px dashed #b3b4cf; background: repeating-linear-gradient(45deg, #eff0fb 0 15px, #e8e9f7 15px 30px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px; color: var(--blue); }
.imgph.tall { aspect-ratio: 4/5; } .imgph.wide { aspect-ratio: 16/10; } .imgph.sq { aspect-ratio: 1/1; }
.imgph .tag { font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .64rem; background: var(--blue); color: #fff; padding: 5px 11px; margin-bottom: 13px; }
.imgph .lbl { font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.imgph .hint { font-weight: 500; font-size: .84rem; color: var(--muted); margin-top: 9px; max-width: 36ch; line-height: 1.5; }

/* simple two-up + list utilities used on subpages */
.lede { max-width: 760px; font-size: 1.14rem; color: var(--body); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.town-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.town { background: #fff; border: 1px solid var(--line); padding: 20px 22px; }
.town h3 { margin: 0 0 5px; font-size: 1.05rem; }
.town p { margin: 0; font-size: .93rem; }

/* prose (privacy) */
.prose { max-width: 820px; }
.prose h2 { text-transform: none; font-size: 1.35rem; letter-spacing: -.3px; margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 1.25em; margin: 0 0 1rem; }
.prose li { margin-bottom: .45em; }
.prose .updated { font-weight: 700; color: var(--muted); font-size: .9rem; }

@media (max-width: 1020px) {
  .media-row { grid-template-columns: 1fr; gap: 26px; }
  .media-row.rev .m-text, .media-row.rev .m-img { order: 0; }
  .media-row + .media-row { margin-top: 52px; }
  .town-grid { grid-template-columns: 1fr; }
}
