/* =============================================================
   RAMIREZ FLOORING INSTALLATION LLC — Tampa, FL
   Design system: "Graphite & Grout"
   Professional / rugged trade aesthetic, 2026
   ============================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Surfaces */
  --ink:        #131110;
  --ink-2:      #1B1917;
  --graphite:   #262220;
  --graphite-2: #332E2A;
  --line:       #3A342F;

  /* Light surfaces */
  --bone:       #F5F2EC;
  --bone-2:     #EAE5DB;
  --sand:       #D8D0C1;
  --stone:      #A79E8D;

  /* Accent — burnt clay, the trade colour */
  --clay:       #C2531C;
  --clay-hi:    #E2721F;
  --clay-dim:   rgba(194, 83, 28, 0.14);

  /* WhatsApp — reserved, never used decoratively */
  --wa:         #25D366;
  --wa-dark:    #128C7E;

  /* Text */
  --tx-hi:      #FBFAF7;
  --tx:         #C9C2B7;
  --tx-dim:     #8C8478;
  --tx-ink:     #1A1714;
  --tx-ink-dim: #5E564C;

  /* Type */
  --f-display: "Archivo", "Archivo Black", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body:    "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1320px;
  --max-tx: 68ch;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Elevation */
  --sh-1: 0 1px 2px rgba(0,0,0,.18), 0 4px 14px rgba(0,0,0,.10);
  --sh-2: 0 2px 6px rgba(0,0,0,.22), 0 18px 44px rgba(0,0,0,.24);
  --sh-3: 0 30px 90px rgba(0,0,0,.5);

  /* Sticky mobile action bar height (used to pad page bottom) */
  --bar-h: 0px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--tx);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: var(--bar-h);
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--clay-hi);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--clay); color: #fff; }

/* ---------- 3. TYPE ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--tx-hi);
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.5rem, 6.6vw, 5.1rem); }
h2, .h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h3, .h3 { font-size: clamp(1.3rem, 2.3vw, 1.85rem); letter-spacing: -0.015em; }
h4, .h4 { font-size: clamp(1.05rem, 1.5vw, 1.2rem); letter-spacing: -0.008em; }
p { text-wrap: pretty; }
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.62;
  color: var(--tx);
  max-width: 56ch;
}
.eyebrow {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay-hi);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  max-width: 140px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }
.num {
  font-family: var(--f-display);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

/* ---------- 4. LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 940px; }
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--light { background: var(--bone); color: var(--tx-ink-dim); }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--tx-ink); }
.section--stone { background: var(--ink-2); }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.center { text-align: center; }
.sec-head { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head > * + * { margin-top: .9rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .eyebrow::after { display: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Grout-grid texture — the brand motif */
.grout-grid { position: relative; isolation: isolate; }
.grout-grid::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  --btn-bg: var(--clay);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem 1.75rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .085em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.32); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn--clay:hover { background: var(--clay-hi); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #06301A; }
.btn--wa:hover { --btn-bg: #33e074; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--tx-hi);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--bone); }
.btn--dark:hover { --btn-bg: var(--graphite); }
.btn--outline-ink {
  --btn-bg: transparent; --btn-fg: var(--tx-ink);
  border-color: rgba(26,23,20,.24);
}
.btn--outline-ink:hover { --btn-bg: rgba(26,23,20,.05); border-color: rgba(26,23,20,.5); }
.btn--lg { padding: 1.25rem 2.25rem; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--clay-hi);
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--clay-dim);
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow:hover { gap: .95rem; border-bottom-color: var(--clay-hi); }
.section--light .link-arrow { color: var(--clay); }

/* ---------- 6. HEADER ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
  padding-block: .7rem;
}
.hdr.is-stuck {
  background: rgba(19,17,16,.86);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr.is-stuck .hdr__in { min-height: 66px; }

.logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.logo__mark {
  width: 40px; height: 40px; flex: none;
  border: 1.5px solid var(--clay);
  display: grid;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  gap: 2px;
  padding: 3px;
  background: var(--clay-dim);
}
.logo__mark i { background: var(--clay); opacity: .85; }
.logo__mark i:nth-child(2) { opacity: .45; }
.logo__mark i:nth-child(3) { opacity: .6; }
.logo__txt { line-height: 1.05; }
.logo__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  color: var(--tx-hi);
  display: block;
}
.logo__sub {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tx-dim);
  display: block;
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav a {
  padding: .6rem .85rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--tx);
  border-radius: 2px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--tx-hi); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--clay); }

.hdr__cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.hdr__phone {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700; font-size: .9rem;
  color: var(--tx-hi); padding: .5rem .25rem;
}
.hdr__phone:hover { color: var(--clay-hi); }
.hdr .btn { padding: .8rem 1.25rem; font-size: .78rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 2px;
  place-items: center;
  margin-left: auto;
}
.burger span {
  display: block; width: 19px; height: 1.5px; background: var(--tx-hi);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: grid; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 66px 0 auto 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 1.75rem;
    gap: 0;
    max-height: calc(100dvh - 66px);
    overflow-y: auto;
  }
  .nav.is-open a {
    padding: 1rem .25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav.is-open a[aria-current="page"] { box-shadow: none; color: var(--clay-hi); }
  .nav.is-open .nav__cta { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.35rem; }
}
@media (min-width: 1081px) { .nav__cta { display: none; } }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero--sub { min-height: min(70svh, 620px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroPan 26s var(--ease) forwards;
}
@keyframes heroPan { from { transform: scale(1.1); } to { transform: scale(1.005); } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19,17,16,.82) 0%, rgba(19,17,16,.38) 34%, rgba(19,17,16,.72) 72%, var(--ink) 100%),
    linear-gradient(96deg, rgba(19,17,16,.86) 0%, rgba(19,17,16,.42) 52%, rgba(19,17,16,.12) 100%);
}
.hero__in { padding-bottom: clamp(3rem, 7vw, 6rem); position: relative; width: 100%; }
.hero__copy { max-width: 800px; }
.hero__copy > * + * { margin-top: 1.4rem; }
.hero h1 span { color: var(--clay-hi); display: block; }
.hero .btn-row { margin-top: 2rem; }

.hero__strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__strip li {
  display: flex; align-items: center; gap: .55rem;
  list-style: none;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--tx);
}
.hero__strip svg { color: var(--clay-hi); flex: none; }

/* ---------- 8. STAT BAR ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats > div {
  padding: clamp(1.5rem, 3vw, 2.35rem) clamp(1rem, 2vw, 1.75rem);
  border-right: 1px solid var(--line);
}
.stats > div:last-child { border-right: 0; }
.stats b {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--tx-hi);
  letter-spacing: -.03em;
}
.stats b em { font-style: normal; color: var(--clay-hi); }
.stats span {
  display: block;
  margin-top: .55rem;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--tx-dim);
}

/* ---------- 9. SERVICE SILOS ---------- */
.silos { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 1.5rem; }
.silo {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.silo:hover { border-color: var(--clay); transform: translateY(-5px); box-shadow: var(--sh-2); }
.silo__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.silo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.silo:hover .silo__img img { transform: scale(1.055); }
.silo__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19,17,16,.9) 100%);
}
.silo__no {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--f-display); font-weight: 800; font-size: .78rem;
  letter-spacing: .16em; color: var(--tx-hi);
  background: rgba(19,17,16,.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .6rem; border-radius: 2px;
}
.silo__body { padding: 1.6rem clamp(1.25rem, 2.4vw, 1.9rem) 1.9rem; display: flex; flex-direction: column; flex: 1; }
.silo__body > * + * { margin-top: .95rem; }
.silo__list { list-style: none; padding: 0; display: grid; gap: .55rem; }
.silo__list li {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .92rem; color: var(--tx);
}
.silo__list li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: .5rem;
  background: var(--clay); transform: rotate(45deg);
}
.silo .link-arrow { margin-top: auto; padding-top: 1.4rem; align-self: flex-start; }

/* ---------- 10. SPLIT / FEATURE ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide { grid-template-columns: 1.05fr .95fr; }
@media (max-width: 900px) { .split--wide { grid-template-columns: 1fr; } }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: 2px; }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.split__media--stack img { aspect-ratio: 3/4; object-fit: cover; }
.split__media--stack img:first-child { margin-top: clamp(1rem, 4vw, 3rem); }
.frame-tag {
  position: absolute; bottom: -1px; left: -1px;
  background: var(--clay); color: #fff;
  font-family: var(--f-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .7rem 1.1rem;
}

/* Spec list — the craftsmanship detail */
.specs { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.section--light .specs { border-color: rgba(26,23,20,.14); }
.specs li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1.1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.section--light .specs li { border-color: rgba(26,23,20,.14); }
.specs .num { color: var(--clay-hi); font-size: .95rem; padding-top: .15rem; }
.section--light .specs .num { color: var(--clay); }
.specs h4 { margin-bottom: .3rem; }
.specs p { font-size: .93rem; }

/* ---------- 11. GALLERY ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.chip {
  padding: .6rem 1.05rem;
  font-family: var(--f-display);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--stone); color: var(--tx-hi); }
.chip[aria-pressed="true"] { background: var(--clay); border-color: var(--clay); color: #fff; }
.section--light .chip { color: var(--tx-ink-dim); border-color: rgba(26,23,20,.2); }
.section--light .chip:hover { color: var(--tx-ink); border-color: rgba(26,23,20,.5); }
.section--light .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); }

.masonry { columns: 3 300px; column-gap: 1rem; }
.masonry > * { break-inside: avoid; margin-bottom: 1rem; }
.shot {
  position: relative; display: block; overflow: hidden;
  border-radius: 2px; background: var(--graphite);
  border: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.shot:hover { border-color: var(--clay); }
.shot img { width: 100%; transition: transform .8s var(--ease), filter .4s var(--ease); }
.shot:hover img { transform: scale(1.045); }
.shot__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.6rem 1rem .95rem;
  background: linear-gradient(180deg, transparent, rgba(19,17,16,.94));
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }
.shot__cap b {
  display: block; font-family: var(--f-display); font-weight: 700;
  font-size: .92rem; color: var(--tx-hi); letter-spacing: -.01em;
}
.shot__cap span {
  display: block; margin-top: .18rem;
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--clay-hi);
}
.shot__zoom {
  position: absolute; top: .7rem; right: .7rem;
  width: 32px; height: 32px; display: grid; place-items: center;
  background: rgba(19,17,16,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 2px;
  color: var(--tx-hi);
  opacity: 0; transition: opacity .3s var(--ease);
}
.shot:hover .shot__zoom { opacity: 1; }
@media (hover: none) { .shot__cap { opacity: 1; transform: none; } }
.is-hidden { display: none !important; }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,9,8,.96);
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__fig { max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.lb__fig img { max-height: 78svh; width: auto; margin-inline: auto; object-fit: contain; border-radius: 2px; }
.lb__cap { text-align: center; }
.lb__cap b { display: block; font-family: var(--f-display); color: var(--tx-hi); font-size: 1.05rem; }
.lb__cap span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-hi); }
.lb__x, .lb__nav {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px;
  background: rgba(38,34,32,.8); color: var(--tx-hi);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lb__x:hover, .lb__nav:hover { background: var(--clay); border-color: var(--clay); }
.lb__x { top: 1.25rem; right: 1.25rem; }
.lb__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb__nav--prev { left: .6rem; }
  .lb__nav--next { right: .6rem; }
}

/* ---------- 12. VIDEO RAIL ---------- */
.rail {
  display: flex; gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: .5rem 1.5rem;
  margin-inline: calc(var(--gut) * -1);
  padding-inline: var(--gut);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.reel {
  flex: none;
  width: min(64vw, 268px);
  scroll-snap-align: start;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--graphite);
  transition: border-color .3s var(--ease);
}
.reel:hover { border-color: var(--clay); }
.reel video, .reel img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.reel__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(19,17,16,.15), rgba(19,17,16,.55));
  transition: opacity .3s var(--ease);
}
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
.reel__play i {
  width: 56px; height: 56px; display: grid; place-items: center;
  background: rgba(19,17,16,.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.34); border-radius: 50%;
  color: #fff;
}
.reel:hover .reel__play i { background: var(--clay); border-color: var(--clay); }
.reel__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem .9rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(19,17,16,.92));
  font-size: .82rem; font-weight: 600; color: var(--tx-hi);
  pointer-events: none;
}
.reel__cap span {
  display: block; font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--clay-hi); margin-bottom: .2rem;
}

/* ---------- 13. PROCESS ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; }
.step {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.2vw, 1.75rem);
  border: 1px solid var(--line);
  margin: -0.5px;
  position: relative;
  transition: background-color .3s var(--ease);
}
.step:hover { background: rgba(255,255,255,.022); }
.step__no {
  font-family: var(--f-display); font-weight: 800;
  font-size: 2.6rem; line-height: 1; color: var(--clay);
  opacity: .34; letter-spacing: -.04em;
}
.step h4 { margin: .9rem 0 .5rem; }
.step p { font-size: .92rem; }
.section--light .step { border-color: rgba(26,23,20,.14); }
.section--light .step:hover { background: rgba(26,23,20,.025); }

/* ---------- 14. TRUST / REVIEWS ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.review {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex; flex-direction: column;
  position: relative;
}
.section--light .review { background: #fff; border-color: rgba(26,23,20,.1); box-shadow: var(--sh-1); }
.stars { display: flex; gap: 2px; color: var(--clay-hi); margin-bottom: 1rem; }
.review p { flex: 1; font-size: .97rem; line-height: 1.65; }
.section--light .review p { color: var(--tx-ink-dim); }
.review footer {
  margin-top: 1.4rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: .8rem;
}
.section--light .review footer { border-color: rgba(26,23,20,.1); }
.review__av {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--clay-dim); color: var(--clay-hi);
  font-family: var(--f-display); font-weight: 800; font-size: .9rem;
  border: 1px solid var(--clay);
}
.review__who b { display: block; font-size: .9rem; color: var(--tx-hi); font-family: var(--f-display); }
.section--light .review__who b { color: var(--tx-ink); }
.review__who span { font-size: .76rem; color: var(--tx-dim); }
.badge-sample {
  position: absolute; top: .75rem; right: .75rem;
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; padding: .25rem .45rem; border-radius: 2px;
  background: rgba(226,114,31,.14); color: var(--clay-hi);
  border: 1px solid rgba(226,114,31,.4);
}

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.trust {
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid var(--line); border-radius: 2px;
  background: linear-gradient(160deg, rgba(255,255,255,.035), transparent 60%);
}
.trust__ico {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--clay); color: var(--clay-hi);
  background: var(--clay-dim); border-radius: 2px; margin-bottom: 1.1rem;
}
.trust h4 { margin-bottom: .45rem; }
.trust p { font-size: .9rem; }
.trust dl { margin-top: .9rem; font-size: .84rem; }
.trust dt { color: var(--tx-dim); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.trust dd { margin: .15rem 0 .7rem; color: var(--tx-hi); font-family: var(--f-display); font-weight: 700; }

/* ---------- 15. AREAS ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; }
.areas a, .areas span {
  padding: .55rem .95rem; font-size: .84rem;
  border: 1px solid var(--line); border-radius: 2px; color: var(--tx);
  transition: all .2s var(--ease);
}
.areas a:hover { border-color: var(--clay); color: var(--tx-hi); background: var(--clay-dim); }

/* ---------- 16. FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.section--light .faq { border-color: rgba(26,23,20,.14); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.section--light .faq details { border-color: rgba(26,23,20,.14); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0;
  position: relative;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--tx-hi);
  transition: color .2s var(--ease);
}
.section--light .faq summary { color: var(--tx-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--clay-hi); }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%;
  width: 13px; height: 13px;
  border-right: 2px solid var(--clay); border-bottom: 2px solid var(--clay);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 1.5rem; font-size: .96rem; max-width: var(--max-tx); }

/* ---------- 17. CTA BAND ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--clay);
  color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.12) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn--dark { --btn-bg: var(--ink); }
.cta-band__in {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 2rem;
}

/* ---------- 18. MULTI-STEP FORM ---------- */
.quote {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.quote__head { padding: 1.35rem clamp(1.25rem, 3vw, 2rem) 0; }
.quote__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.quote__title h3 { font-size: 1.25rem; }
.quote__title p { font-size: .84rem; color: var(--tx-dim); margin-top: .3rem; }
.quote__x {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px; color: var(--tx);
}
.quote__x:hover { background: var(--graphite); color: var(--tx-hi); }

.prog { display: flex; gap: 4px; margin: 1.25rem 0 0; }
.prog i {
  flex: 1; height: 3px; background: var(--graphite-2); border-radius: 2px;
  transition: background-color .35s var(--ease);
}
.prog i.is-done { background: var(--clay); }
.prog i.is-now { background: var(--clay-hi); box-shadow: 0 0 12px rgba(226,114,31,.5); }
.prog-lbl {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: .6rem; font-size: .7rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--tx-dim);
}
.prog-lbl b { color: var(--clay-hi); font-family: var(--f-display); }

.quote__body { padding: 1.5rem clamp(1.25rem, 3vw, 2rem); }
.qstep { display: none; animation: qIn .35s var(--ease-out); }
.qstep.is-active { display: block; }
@keyframes qIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.qstep > h4 { margin-bottom: .35rem; }
.qstep > p.hint { font-size: .85rem; color: var(--tx-dim); margin-bottom: 1.35rem; }

.field { margin-bottom: 1.1rem; }
.field > label, .field > .lbl {
  display: block; margin-bottom: .5rem;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--tx-dim);
}
.field .req { color: var(--clay-hi); }
.inp, select.inp, textarea.inp {
  width: 100%;
  padding: .95rem 1rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--tx-hi);
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.inp::placeholder { color: #5C554C; }
.inp:focus { outline: 0; border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-dim); }
.inp:user-invalid { border-color: #C0392B; }
textarea.inp { resize: vertical; min-height: 96px; }
select.inp {
  background-image: 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 1l5 5 5-5' stroke='%23C2531C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Selectable option tiles — big thumb targets */
.opts { display: grid; gap: .6rem; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .opts--3 { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt span {
  display: flex; align-items: center; gap: .7rem;
  min-height: 56px;
  padding: .85rem 1rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .93rem; font-weight: 500; color: var(--tx);
  transition: all .2s var(--ease);
  height: 100%;
}
.opt span::before {
  content: ""; flex: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--line); border-radius: 2px;
  transition: all .2s var(--ease);
}
.opt input[type="radio"] + span::before { border-radius: 50%; }
.opt:hover span { border-color: var(--stone); color: var(--tx-hi); }
.opt input:focus-visible + span { outline: 2px solid var(--clay-hi); outline-offset: 2px; }
.opt input:checked + span {
  border-color: var(--clay); background: var(--clay-dim); color: var(--tx-hi);
}
.opt input:checked + span::before {
  background: var(--clay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.2 3.2L11 1.4' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-color: var(--clay);
}
.opt--compact span { min-height: 46px; padding: .6rem .8rem; font-size: .86rem; }

.quote__foot {
  display: flex; align-items: center; gap: .75rem;
  padding: 1.1rem clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.22);
}
.quote__foot .btn { flex: 1; }
.quote__foot .btn--back { flex: 0 0 auto; padding-inline: 1.2rem; }
.q-err {
  font-size: .82rem; color: #E0654F; margin-top: .6rem;
  display: none; align-items: center; gap: .45rem;
}
.q-err.is-on { display: flex; }
.q-note {
  font-size: .74rem; color: var(--tx-dim); text-align: center;
  padding: 0 clamp(1.25rem, 3vw, 2rem) 1.1rem;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}

/* Review / summary step */
.summary {
  background: var(--ink); border: 1px solid var(--line);
  border-radius: 2px; padding: 1.1rem 1.2rem; margin-bottom: 1.2rem;
  font-size: .9rem;
}
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; }
.summary dt { color: var(--tx-dim); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .12rem; }
.summary dd { margin: 0; color: var(--tx-hi); }

.quote__done { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.quote__done .tick {
  width: 64px; height: 64px; margin: 0 auto 1.4rem;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(37,211,102,.12); border: 1.5px solid var(--wa); color: var(--wa);
}

/* Quote modal shell */
.modal {
  position: fixed; inset: 0; z-index: 180;
  display: grid; place-items: center;
  padding: clamp(.75rem, 3vw, 2rem);
  background: rgba(10,9,8,.8);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal .quote {
  width: min(600px, 100%);
  max-height: calc(100dvh - 2rem);
  display: flex; flex-direction: column;
  transform: translateY(18px) scale(.985);
  transition: transform .35s var(--ease-out);
}
.modal.is-open .quote { transform: none; }
.modal .quote__body { overflow-y: auto; flex: 1; }

/* ---------- 19. STICKY MOBILE BAR + FAB ---------- */
.actionbar {
  position: fixed; inset: auto 0 0 0; z-index: 95;
  display: none;
  background: rgba(19,17,16,.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .45rem;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.actionbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .18rem;
  padding: .55rem .3rem; border-radius: 2px;
  font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--tx);
  border: 1px solid var(--line);
  min-height: 52px;
}
.actionbar a svg { color: var(--tx-hi); }
.actionbar a.ab--wa { background: var(--wa); color: #06301A; border-color: var(--wa); }
.actionbar a.ab--wa svg { color: #06301A; }
.actionbar a.ab--quote { background: var(--clay); color: #fff; border-color: var(--clay); flex: 1.35; }
.actionbar a.ab--quote svg { color: #fff; }
/* Stood down while the estimate form is on screen — initCtaSuppression(). */
.actionbar.is-suppressed { transform: translateY(110%); opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .actionbar { display: flex; }
  body { --bar-h: 78px; }
}

.fab {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem);
  bottom: calc(clamp(1rem, 2.5vw, 2rem) + var(--bar-h));
  z-index: 96;
  display: flex; align-items: center; gap: .65rem;
  padding: .8rem 1.15rem .8rem .85rem;
  background: var(--wa); color: #06301A;
  border-radius: 999px;
  font-family: var(--f-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em;
  box-shadow: 0 8px 30px rgba(37,211,102,.36), var(--sh-1);
  /* Hidden until scrolled: translate alone can't clear the sticky bar offset,
     so opacity + visibility do the actual hiding. */
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s var(--ease), opacity .25s var(--ease),
              visibility .25s, box-shadow .25s var(--ease);
}
.fab.is-in { transform: none; opacity: 1; visibility: visible; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(37,211,102,.46); }
/* After .is-in and :hover deliberately — suppression has to outrank both. */
.fab.is-suppressed { transform: translateY(140%); opacity: 0; visibility: hidden; }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--wa);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.28); opacity: 0; }
}
/* Below 860px the sticky action bar already carries WhatsApp — a FAB on top of
   it is duplicate UI competing for the same thumb. Desktop only. */
@media (max-width: 860px) { .fab { display: none; } }

/* ---------- 20. FOOTER ---------- */
.ftr { background: var(--ink-2); border-top: 1px solid var(--line); }
.ftr__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h5 {
  font-family: var(--f-display); font-weight: 700;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tx-hi); margin-bottom: 1.1rem;
}
.ftr ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.ftr a { font-size: .9rem; color: var(--tx); transition: color .2s var(--ease); }
.ftr a:hover { color: var(--clay-hi); }
.ftr p { font-size: .9rem; }
.ftr__bot {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--tx-dim);
}
.ftr__lic {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 2px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.ftr__lic svg { color: var(--clay-hi); }

/* ---------- 21. BREADCRUMB ---------- */
.crumbs {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  font-size: .76rem; letter-spacing: .06em; color: var(--tx-dim);
  margin-bottom: 1.4rem;
}
.crumbs a:hover { color: var(--clay-hi); }
.crumbs span { opacity: .5; }

/* ---------- 22. REVEAL ---------- */
.rv { opacity: 0; transform: translateY(22px); }
.rv.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------- 23. MISC ---------- */
.rule { height: 1px; background: var(--line); border: 0; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem; border-radius: 999px;
  background: var(--clay-dim); border: 1px solid rgba(226,114,31,.34);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--clay-hi);
}
.pill--wa { background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.34); color: var(--wa); }
.callout {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border-left: 3px solid var(--clay);
  background: linear-gradient(90deg, var(--clay-dim), transparent 70%);
  border-radius: 0 2px 2px 0;
}
.section--light .callout { background: linear-gradient(90deg, rgba(194,83,28,.09), transparent 70%); }
.price-note {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--tx-hi);
  letter-spacing: -.02em;
}
.price-note small { font-size: .5em; font-weight: 600; color: var(--tx-dim); letter-spacing: .02em; }

/* Print */
@media print {
  .hdr, .actionbar, .fab, .modal, .lb, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}
