/* =============================================================
   EZ Floorz — Design System
   Brand: professional flooring company | North Liberty, IA
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --red:        #E4072E;
  --red-dark:   #B60524;
  --red-soft:   #FDECEF;

  /* Neutrals */
  --ink:        #16181C;   /* headings */
  --charcoal:   #2A2D33;   /* dark surfaces */
  --slate:      #5E696A;   /* body text */
  --slate-light:#8A9294;
  --line:       #E7E9EE;   /* borders */
  --cloud:      #F5F6FA;   /* light bg */
  --cloud-2:    #FBFBFD;
  --white:      #FFFFFF;

  /* Typography */
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale (8pt) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

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

  /* Shadow */
  --sh-1: 0 1px 3px rgba(22,24,28,.06), 0 1px 2px rgba(22,24,28,.04);
  --sh-2: 0 6px 18px rgba(22,24,28,.08);
  --sh-3: 0 18px 48px rgba(22,24,28,.14);
  --sh-red: 0 10px 26px rgba(228,7,46,.28);

  /* Layout */
  --container: 1200px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 220ms;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg,video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.001ms!important; transition-duration:.001ms!important; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.bg-cloud { background: var(--cloud); }
.bg-ink { background: var(--ink); color: #C9CDD6; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--sp-4); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.center .eyebrow::before { display: none; }

.section-head { max-width: 640px; margin-inline: auto; margin-bottom: var(--sp-7); }
.section-head p { margin-top: var(--sp-3); font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur), box-shadow var(--dur), color var(--dur);
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--sh-red); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color:#fff; }
.btn--dark:hover { background: var(--charcoal); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background:#fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--onred { background:#fff; color: var(--red); }
.btn--onred:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn--sm { padding: 10px 18px; min-height: 42px; font-size:.9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-weight:600; color: var(--red);
  transition: gap var(--dur) var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.promo-bar {
  background: var(--ink); color:#fff; text-align:center;
  font-size:.85rem; letter-spacing:.01em; padding: 9px 16px;
}
.promo-bar strong { color:#fff; }
.promo-bar .promo-link { color: #FFC7CF; font-weight:600; margin-left:6px; }
.promo-bar .promo-link:hover { color:#fff; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 46px; height: 46px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing:-.02em; color: var(--ink); }
.brand__name b { color: var(--red); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--charcoal);
  padding: 9px 14px; border-radius: var(--r-sm); position: relative;
  transition: color var(--dur), background var(--dur);
}
.nav__links a:hover { color: var(--red); background: var(--red-soft); }
.nav__links a.active { color: var(--red); }
.nav__links a.active::after {
  content:""; position:absolute; left:14px; right:14px; bottom:2px; height:2px;
  background: var(--red); border-radius:2px;
}
.nav__cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav__phone { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:600; color: var(--ink); font-size:.95rem; }
.nav__phone svg { width:18px; height:18px; color: var(--red); }

.nav__toggle { display:none; background:none; border:none; width:44px; height:44px; align-items:center; justify-content:center; color:var(--ink); }
.nav__toggle svg { width:26px; height:26px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--white); padding: 24px;
  transform: translateX(100%); transition: transform 320ms var(--ease);
  display: flex; flex-direction: column;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu__top { display:flex; align-items:center; justify-content:space-between; height: var(--nav-h); }
.mobile-menu__close { background:none;border:none;width:44px;height:44px;color:var(--ink); }
.mobile-menu__close svg{ width:28px;height:28px; }
.mobile-menu nav { display:flex; flex-direction:column; margin-top: 16px; }
.mobile-menu nav a {
  font-family: var(--font-head); font-weight:600; font-size:1.35rem; color: var(--ink);
  padding: 16px 4px; border-bottom: 1px solid var(--line);
}
.mobile-menu nav a.active { color: var(--red); }
.mobile-menu__foot { margin-top:auto; display:flex; flex-direction:column; gap:12px; padding-top:20px; }

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; overflow: hidden; background: var(--cloud-2); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px,5vw,72px); align-items: center;
  padding-block: clamp(48px, 7vw, 92px);
}
.hero__eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); }
.hero__sub { font-size: 1.18rem; max-width: 52ch; margin-bottom: 32px; }
.hero__cta { display:flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__trust { display:flex; align-items:center; gap: 22px; flex-wrap: wrap; }
.hero__stars { display:flex; align-items:center; gap:10px; }
.hero__stars .stars { color: #F5A623; }
.hero__stars b { color: var(--ink); font-family: var(--font-head); }
.hero__stars span { font-size:.9rem; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  aspect-ratio: 5/4;
}
.hero__badge {
  position:absolute; left: -18px; bottom: 28px;
  background:#fff; border-radius: var(--r-md); box-shadow: var(--sh-3);
  padding: 16px 20px; display:flex; align-items:center; gap:14px; max-width: 260px;
}
.hero__badge .ico { width:44px;height:44px;flex-shrink:0; background: var(--red-soft); border-radius: 12px; display:grid;place-items:center; color: var(--red); }
.hero__badge .ico svg{ width:24px;height:24px; }
.hero__badge b { display:block; font-family:var(--font-head); color:var(--ink); font-size:1.05rem; }
.hero__badge span { font-size:.82rem; line-height:1.35; }

/* =============================================================
   TRUST STRIP (red band)
   ============================================================= */
.trust-band { background: var(--red); color:#fff; }
.trust-band__grid {
  display:grid; grid-template-columns: repeat(4,1fr);
  gap: 8px; padding-block: 30px;
}
.trust-item { display:flex; align-items:center; gap:14px; padding: 6px 10px; }
.trust-item + .trust-item { border-left: 1px solid rgba(255,255,255,.22); }
.trust-item svg { width: 30px; height: 30px; flex-shrink:0; stroke-width: 1.6; }
.trust-item b { display:block; font-family: var(--font-head); font-size: 1rem; color:#fff; }
.trust-item span { font-size: .84rem; color: rgba(255,255,255,.85); line-height:1.3; }

/* =============================================================
   CARDS / GRIDS
   ============================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background:#fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.card__ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--red-soft); color: var(--red);
  display:grid; place-items:center; margin-bottom: 18px;
}
.card__ico svg { width: 28px; height: 28px; stroke-width: 1.7; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; }

/* Product / category card with swatch */
.prod-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 260px; display:flex; flex-direction:column; justify-content:flex-end;
  padding: 24px; color:#fff;
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.prod-card__img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; transition: transform 500ms var(--ease); }
.prod-card:hover .prod-card__img { transform: scale(1.06); }
.prod-card::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.82) 100%); }
.prod-card h3, .prod-card p, .prod-card .prod-card__go { position:relative; z-index:2; }
.prod-card h3 { color:#fff; }
.prod-card p { color: rgba(255,255,255,.9); font-size:.92rem; margin-top:4px; }
.prod-card .prod-card__go { margin-top:14px; display:inline-flex;align-items:center;gap:8px; font-family:var(--font-head); font-weight:600; font-size:.9rem; }

/* Swatch backgrounds (wood/vinyl/tile tones via gradients) */
.sw-hardwood { background: linear-gradient(135deg,#a9683b,#7c4622 55%,#5e3417); }
.sw-carpet   { background: linear-gradient(135deg,#9aa0a6,#6f767d 55%,#525860); }
.sw-lvp      { background: linear-gradient(135deg,#c69a6d,#9c7143 55%,#6f4e2a); }
.sw-tile     { background: linear-gradient(135deg,#e7e2d8,#c3bcae 55%,#8f8878); }
.sw-laminate { background: linear-gradient(135deg,#d0a878,#b0824f 55%,#835f34); }
.sw-waterproof{ background: linear-gradient(135deg,#7f8b93,#54636d 55%,#33424c); }
.sw-vinyl    { background: linear-gradient(135deg,#b9a58a,#8f7a5c 55%,#655338); }
.sw-stone    { background: linear-gradient(135deg,#cfcabf,#a29a8b 55%,#6d675b); }

/* =============================================================
   SPLIT (image + text)
   ============================================================= */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items:center; }
.split--rev .split__media { order: 2; }
.split__media img, .split__media .media-fill {
  width:100%; border-radius: var(--r-lg); box-shadow: var(--sh-2); aspect-ratio: 4/3; object-fit: cover;
}
.media-fill { display:grid; place-items:center; color:#fff; }
.check-list li { display:flex; align-items:flex-start; gap:12px; margin-top:14px; font-size:1.02rem; }
.check-list li svg { width:22px;height:22px;flex-shrink:0;color:var(--red); margin-top:2px; }

/* Stat row */
.stats { display:flex; gap: 40px; flex-wrap:wrap; margin-top: 8px; }
.stat b { display:block; font-family:var(--font-head); font-size: clamp(2rem,4vw,2.6rem); color: var(--ink); line-height:1; }
.stat span { font-size:.9rem; }

/* =============================================================
   REVIEWS
   ============================================================= */
.reviews-head { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom: 40px; }
.google-badge { display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: 14px 20px; box-shadow: var(--sh-1); }
.google-badge .g-logo { width:36px; height:36px; flex-shrink:0; }
.google-badge .g-score { font-family:var(--font-head); font-weight:800; font-size:1.5rem; color:var(--ink); line-height:1; }
.google-badge .stars { color:#F5A623; font-size:1rem; letter-spacing:1px; }
.google-badge small { color: var(--slate); font-size:.82rem; }


/* =============================================================
   BRANDS strip
   ============================================================= */
.brands { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap: 18px 46px; }
.brands span {
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing:-.02em;
  color: var(--slate-light); filter: grayscale(1); opacity:.75;
  transition: color var(--dur), opacity var(--dur);
}
.brands span:hover { color: var(--ink); opacity:1; }

/* Vendor logo marquee */
.logo-marquee {
  position: relative; overflow: hidden; width: 100%; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track { display: flex; align-items: center; gap: 68px; width: max-content; animation: logoscroll 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img {
  height: 42px; width: auto; max-width: 170px; object-fit: contain; flex-shrink: 0;
  filter: grayscale(1); opacity: .62;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.logo-track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 32px 56px; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 680px) { .logo-track { gap: 44px; } .logo-track img { height: 34px; } }

/* =============================================================
   CTA BAND
   ============================================================= */
.cta-band { background: var(--ink); border-radius: var(--r-xl); padding: clamp(40px,6vw,72px); color:#fff; position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; width:420px;height:420px; right:-120px; top:-160px; background: radial-gradient(circle, rgba(228,7,46,.55), transparent 62%); }
.cta-band h2 { color:#fff; position:relative; }
.cta-band p { color: rgba(255,255,255,.8); margin-top:14px; position:relative; max-width: 54ch; }
.cta-band .cta-band__actions { margin-top: 30px; display:flex; gap:14px; flex-wrap:wrap; position:relative; }

/* =============================================================
   PAGE HERO (interior pages)
   ============================================================= */
.page-hero { background: var(--ink); color:#fff; position:relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(1200px 400px at 80% -10%, rgba(228,7,46,.28), transparent 60%); }
.page-hero__inner { position:relative; padding-block: clamp(56px,8vw,104px); max-width: 720px; }
.page-hero h1 { color:#fff; }
.page-hero p { color: rgba(255,255,255,.8); font-size:1.15rem; margin-top:16px; max-width: 56ch; }
.breadcrumb { display:flex; gap:8px; align-items:center; font-size:.86rem; color: rgba(255,255,255,.6); margin-bottom: 20px; font-family:var(--font-head); }
.breadcrumb a:hover { color:#fff; }
.breadcrumb .sep { opacity:.5; }

/* =============================================================
   FORMS
   ============================================================= */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--sh-2); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family:var(--font-head); font-weight:600; font-size:.9rem; color:var(--ink); margin-bottom:7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 15px; font: inherit; font-size:1rem; color: var(--ink);
  background: var(--cloud-2); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
  min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background:#fff; box-shadow: 0 0 0 4px var(--red-soft);
}
.field .hint { font-size:.8rem; color: var(--slate-light); margin-top:6px; }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox-row { display:flex; gap:10px; align-items:flex-start; font-size:.9rem; }
.checkbox-row input { width:20px;height:20px;min-height:auto; flex-shrink:0; margin-top:2px; accent-color: var(--red); }
.chip-group { display:flex; flex-wrap:wrap; gap:10px; }
.chip { position:relative; }
.chip input { position:absolute; opacity:0; }
.chip label {
  display:inline-flex; padding: 9px 16px; border:1.5px solid var(--line); border-radius: var(--r-pill);
  font-size:.9rem; font-family:var(--font-head); font-weight:500; color:var(--charcoal); cursor:pointer; margin:0;
  transition: all var(--dur);
}
.chip input:checked + label { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.form-note { font-size:.82rem; color: var(--slate-light); margin-top: 14px; }
.form-status { margin-top:14px; padding: 12px 16px; border-radius: var(--r-sm); font-size:.92rem; display:none; }
.form-status.show { display:block; }
.form-status.ok { background:#E9F7EF; color:#1B7A46; }
.form-status.err { background: var(--red-soft); color: var(--red-dark); }

/* Contact info list */
.info-list li { display:flex; gap:16px; align-items:flex-start; padding: 16px 0; border-bottom:1px solid var(--line); }
.info-list li:last-child { border-bottom:none; }
.info-list .ico { width:46px;height:46px;border-radius:12px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;flex-shrink:0; }
.info-list .ico svg { width:22px;height:22px; }
.info-list b { display:block; font-family:var(--font-head); color:var(--ink); font-size:1rem; margin-bottom:2px; }
.info-list a, .info-list span { color: var(--slate); }
.info-list a:hover { color: var(--red); }

/* =============================================================
   GALLERY
   ============================================================= */
.gallery-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.gallery-item { position:relative; border-radius: var(--r-md); overflow:hidden; color:#fff; aspect-ratio: 1 / 1; cursor: zoom-in; }
.gallery-item .zoom-hint { position:absolute; top:10px; right:10px; z-index:3; width:34px; height:34px; border-radius:50%; background:rgba(0,0,0,.42); display:grid; place-items:center; opacity:0; transition:opacity var(--dur); pointer-events:none; }
.gallery-item .zoom-hint svg { width:18px; height:18px; color:#fff; }
.gallery-item:hover .zoom-hint { opacity:1; }
@media (hover:none){ .gallery-item .zoom-hint { opacity:1; } }
.gallery-item img, .gallery-item .fill { width:100%;height:100%;object-fit:cover; transition: transform 500ms var(--ease); }
.gallery-item:hover img, .gallery-item:hover .fill { transform: scale(1.06); }
.gallery-item .fill { display:grid; place-items:center; }
.gallery-item .cap { position:absolute; left:0; right:0; bottom:0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.72)); font-family:var(--font-head); font-weight:600; font-size:.95rem; }
.gallery-note { text-align:center; font-size:.9rem; color:var(--slate-light); margin-top:24px; }

/* FAQ / accordion */
.faq { max-width: 760px; margin-inline:auto; }
.faq-item { border-bottom:1px solid var(--line); }
.faq-q { width:100%; text-align:left; background:none; border:none; padding: 22px 4px; display:flex; align-items:center; justify-content:space-between; gap:16px; font-family:var(--font-head); font-weight:600; font-size:1.1rem; color:var(--ink); }
.faq-q svg { width:22px;height:22px; flex-shrink:0; color:var(--red); transition: transform var(--dur); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height 320ms var(--ease); }
.faq-a p { padding: 0 4px 22px; font-size:1rem; }

/* Step / process */
.steps { counter-reset: step; display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position:relative; }
.step__num { counter-increment: step; width:52px;height:52px;border-radius:50%; background:var(--red); color:#fff; display:grid;place-items:center; font-family:var(--font-head); font-weight:700; font-size:1.3rem; margin-bottom:16px; }
.step__num::before { content: counter(step); }
.step h3 { font-size:1.15rem; margin-bottom:6px; }
.step p { font-size:.95rem; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--ink); color: #A9AEB8; padding-top: clamp(48px,7vw,80px); }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-areas { border-top:1px solid rgba(255,255,255,.1); padding-top:22px; display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; padding-bottom:4px; }
.footer-areas__label { font-family:var(--font-head); font-weight:600; color:#fff; font-size:.9rem; }
.footer-areas a { font-size:.9rem; transition: color var(--dur); }
.footer-areas a:hover { color:#fff; }
.site-footer .brand__name { color:#fff; }
.footer-about p { margin-top:16px; font-size:.95rem; max-width: 34ch; }
.footer-social { display:flex; gap:10px; margin-top:20px; }
.footer-social a { width:40px;height:40px;border-radius:10px; background: rgba(255,255,255,.07); display:grid;place-items:center; color:#fff; transition: background var(--dur), transform var(--dur); }
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }
.footer-social svg { width:19px;height:19px; }
.footer-col h4 { color:#fff; font-size:1rem; margin-bottom:16px; }
.footer-col ul li { margin-bottom:10px; }
.footer-col a { font-size:.95rem; transition: color var(--dur); }
.footer-col a:hover { color:#fff; }
.footer-contact li { display:flex; gap:10px; margin-bottom:12px; font-size:.95rem; align-items:flex-start; }
.footer-contact svg { width:18px;height:18px;flex-shrink:0;color:var(--red);margin-top:3px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-block: 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.85rem; }
.footer-bottom .links { display:flex; gap:20px; }
.footer-bottom a:hover { color:#fff; }

/* Reveal on scroll */
.reveal { opacity:0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links, .nav__phone { display:none; }
  .nav__toggle { display:flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .split__media { order: -1; }
  .trust-band__grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .trust-item:nth-child(3) { border-left: none; }
  .trust-item + .trust-item { border-left: none; }
}
@media (max-width: 560px) {
  .nav__cta .btn--primary { display: none; } /* estimate CTA lives in mobile menu */
  .nav { gap: 12px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reviews-head { justify-content:center; text-align:center; }
  .hero__badge { display:none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content:center; text-align:center; }
  .cta-band__actions .btn { width:100%; }
}

/* =============================================================
   LIGHTBOX (tap-to-enlarge gallery)
   ============================================================= */
.lightbox { position:fixed; inset:0; z-index:1000; background:rgba(0,0,0,.93); display:none; align-items:center; justify-content:center; padding:16px; touch-action:none; }
.lightbox.open { display:flex; }
.lightbox__img { max-width:96vw; max-height:82vh; width:auto; height:auto; object-fit:contain; border-radius:8px; box-shadow:0 24px 70px rgba(0,0,0,.55); }
.lightbox__cap { position:absolute; left:0; right:0; bottom:18px; text-align:center; color:#fff; font-family:var(--font-head); font-weight:600; font-size:1rem; padding:0 64px; text-shadow:0 1px 4px rgba(0,0,0,.7); }
.lightbox__btn { position:absolute; background:rgba(255,255,255,.15); border:none; color:#fff; width:52px; height:52px; border-radius:50%; display:grid; place-items:center; cursor:pointer; transition:background .2s, transform .1s; -webkit-tap-highlight-color:transparent; }
.lightbox__btn:hover { background:rgba(255,255,255,.3); }
.lightbox__btn:active { transform:scale(.94); }
.lightbox__btn svg { width:26px; height:26px; }
.lightbox__close { top:16px; right:16px; }
.lightbox__prev { left:12px; top:50%; transform:translateY(-50%); }
.lightbox__next { right:12px; top:50%; transform:translateY(-50%); }
.lightbox__count { position:absolute; top:22px; left:22px; color:rgba(255,255,255,.75); font-family:var(--font-head); font-size:.9rem; }
@media (max-width:680px){
  .lightbox__btn { width:46px; height:46px; }
  .lightbox__btn svg { width:22px; height:22px; }
  .lightbox__prev { left:6px; } .lightbox__next { right:6px; }
  .lightbox__cap { font-size:.85rem; padding:0 50px; bottom:14px; }
  .lightbox__img { max-height:78vh; }
}

/* Comfortable heading sizes on small phones */
@media (max-width: 560px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.55rem; }
  .hero h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p, .hero__sub, .lead { font-size: 1.02rem; }
  .section-head p { font-size: 1rem; }
}
