/* =========================================================================
   Modular Interiors LLC — Design System
   Warm timber-and-clay architectural palette, keyed to the brand logo.
   Mobile-first. Espresso / Oak / Terracotta.
   ========================================================================= */

:root {
  /* Palette — sampled from the logo (espresso frame, oak shape, clay accent) */
  --bg:        #FAF8F5;
  --surface:   #FFFFFF;
  --text:      #1C1A17;
  --muted:     #6B635A;
  --primary:   #2E2519;  /* deep espresso */
  --secondary: #B5926A;  /* warm oak / timber */
  --accent:    #BD5836;  /* terracotta / clay — ALL CTAs */
  --accent-ink:#9E4324;  /* darker clay for hover */
  --border:    #E7E1D8;
  --focus:     #BD5836;

  /* Tints */
  --oak-tint:    #F3ECE2;
  --espresso-90: rgba(28,26,23,0.90);

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing / radius */
  --radius:   10px;
  --radius-lg:16px;
  --radius-sm:7px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --shadow-sm: 0 1px 2px rgba(28,26,23,0.05), 0 2px 8px rgba(28,26,23,0.04);
  --shadow-md: 0 8px 30px rgba(28,26,23,0.10), 0 2px 8px rgba(28,26,23,0.05);
  --shadow-lg: 0 24px 60px rgba(28,26,23,0.16);

  --header-h: 96px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--text); }
.h-display { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2.section-title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.text-wrap-pretty { text-wrap: pretty; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 128px); }
.section-head { max-width: 720px; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem;
  letter-spacing: -0.01em; min-height: 52px; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(189,88,54,0.28); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 10px 26px rgba(189,88,54,0.34); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--text); background: var(--surface); }
.btn-on-dark { background: rgba(255,255,255,0.10); color: #fff; border: 1.5px solid rgba(255,255,255,0.34); backdrop-filter: blur(4px); }
.btn-on-dark:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178a45; }
.btn-sm { padding: 11px 18px; min-height: 44px; font-size: 0.94rem; }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); font-size: 0.97rem; transition: gap .2s ease; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover { gap: 12px; }
.link-arrow:hover svg { transform: translateX(2px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(250,248,245,0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: height .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); height: 84px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 76px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand img { height: 58px; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 34px; }
.nav-desktop a { font-weight: 500; font-size: 0.98rem; color: var(--text); position: relative; padding: 6px 0; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .25s ease; }
.nav-desktop a:hover::after { width: 100%; }
.header-cta { display: none; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-phone { display: none; font-weight: 600; font-size: 0.95rem; align-items: center; gap: 8px; }
.header-phone svg { width: 17px; height: 17px; color: var(--accent); }

.hamburger { display: inline-flex; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--bg);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 24px var(--gutter) 40px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a.m-link { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--border); letter-spacing: -0.02em; }
.mobile-nav .m-actions { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mobile-nav .m-actions .btn { width: 100%; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(28,26,23,0.42) 0%, rgba(28,26,23,0.10) 32%, rgba(28,26,23,0.18) 58%, rgba(28,26,23,0.86) 100%),
    linear-gradient(90deg, rgba(28,26,23,0.55) 0%, rgba(28,26,23,0.0) 62%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: 56px clamp(48px, 7vw, 92px); }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.hero .lead { color: rgba(255,255,255,0.92); max-width: 52ch; margin-top: 22px; font-weight: 400; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-meta { margin-top: 30px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.82); font-size: 0.92rem; font-weight: 500; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--secondary); }

/* =========================================================================
   TRUST STRIP
   ========================================================================= */
.trust { background: var(--primary); color: #fff; padding-block: 0; }
.trust-grid { display: grid; grid-template-columns: 1fr; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px var(--gutter); border-bottom: 1px solid rgba(255,255,255,0.10); }
.trust-item:last-child { border-bottom: none; }
.trust-item .ti-mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; color: var(--secondary); }
.trust-item .ti-mark svg { width: 26px; height: 26px; }
.trust-item b { font-family: var(--font-display); font-size: 1.02rem; display: block; letter-spacing: -0.01em; }
.trust-item span { font-size: 0.86rem; color: rgba(255,255,255,0.66); }

/* =========================================================================
   SERVICES
   ========================================================================= */
.services { background: var(--bg); }
.svc-grid { margin-top: 52px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::after { transform: scaleY(1); }
.svc-ico { width: 50px; height: 50px; color: var(--accent); margin-bottom: 22px; }
.svc-ico svg { width: 100%; height: 100%; }
.svc-card .svc-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--border); letter-spacing: 0.04em; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 20px; }
.svc-usp { display: inline-block; margin-bottom: 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--oak-tint); padding: 5px 10px; border-radius: 100px; }

/* =========================================================================
   PORTFOLIO
   ========================================================================= */
.portfolio { background: var(--oak-tint); }
.filter-bar { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px; border-radius: 100px; font-weight: 600; font-size: 0.92rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  min-height: 44px; transition: all .2s ease;
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(189,88,54,0.26); }

.gallery { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #ddd;
  aspect-ratio: 4 / 3; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, opacity .3s ease;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,0,.2,1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28,26,23,0) 40%, rgba(28,26,23,0.72) 100%); opacity: 0; transition: opacity .3s ease; }
.tile:hover { box-shadow: var(--shadow-lg); }
.tile:hover img { transform: scale(1.06); }
.tile:hover::before { opacity: 1; }
.tile-tag {
  position: absolute; z-index: 2; left: 16px; top: 16px;
  background: rgba(250,248,245,0.92); color: var(--primary);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px; backdrop-filter: blur(4px);
}
.tile-zoom {
  position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.4);
  display: grid; place-items: center; color: #fff; backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.tile:hover .tile-zoom { opacity: 1; transform: translateY(0); }
.tile-zoom svg { width: 18px; height: 18px; }
.tile.hide { display: none; }
.tile.featured { aspect-ratio: 16 / 11; }
.gallery-note { margin-top: 22px; font-size: 0.86rem; color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,18,16,0.92); display: none; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: 20px; right: 22px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.3); }
.lb-close svg { width: 22px; height: 22px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.3); }
.lb-nav:hover { background: rgba(255,255,255,0.22); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.8); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* =========================================================================
   JOINERY BAND (USP)
   ========================================================================= */
.joinery { background: var(--primary); color: #fff; overflow: hidden; }
.joinery-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.joinery-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-lg); }
.joinery-media img { width: 100%; height: 100%; object-fit: cover; }
.joinery-media .jm-badge { position: absolute; left: 20px; bottom: 20px; background: var(--accent); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-md); }
.joinery h2 { color: #fff; }
.joinery .eyebrow { color: var(--secondary); }
.joinery .eyebrow::before { background: var(--secondary); }
.joinery p { color: rgba(255,255,255,0.78); margin-top: 20px; font-size: 1.05rem; }
.joinery-list { margin-top: 28px; display: grid; gap: 14px; }
.joinery-list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,0.9); }
.joinery-list svg { width: 22px; height: 22px; color: var(--secondary); flex: 0 0 auto; margin-top: 2px; }
.joinery-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================================
   PROCESS
   ========================================================================= */
.process { background: var(--bg); }
.steps { margin-top: 52px; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; display: flex; gap: 18px; align-items: flex-start; }
.step .step-no { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--accent); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about { background: var(--surface); border-block: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.about p { color: var(--muted); font-size: 1.06rem; margin-top: 18px; }
.about .lead { color: var(--text); }
.stat-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 26px 22px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.7rem); color: var(--primary); letter-spacing: -0.03em; line-height: 1; }
.stat .num .accent { color: var(--accent); }
.stat .lbl { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }
.stat .attr { display: block; margin-top: 4px; font-size: 0.72rem; color: var(--secondary); font-style: italic; }
.sectors-list { margin-top: 36px; }
.sectors-list h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-family: var(--font-body); font-weight: 600; margin-bottom: 16px; }
.sector-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.sector-pill { padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem; background: var(--bg); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact { background: var(--oak-tint); }
.contact-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 36px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.contact-card .sub { color: var(--muted); margin-bottom: 26px; font-size: 0.98rem; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; background: var(--bg); color: var(--text); transition: border-color .2s ease, box-shadow .2s ease;
  min-height: 52px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(189,88,54,0.14); }
.field.row2 { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
.field.row2 .field { margin-bottom: 0; }
.field-error { color: #B23B2E; font-size: 0.8rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B23B2E; }
.field.invalid .field-error { display: block; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.form-actions { margin-top: 8px; display: grid; gap: 12px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ok-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--oak-tint); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ok-ico svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* Contact info side */
.contact-info { display: grid; gap: 14px; align-content: start; }
.info-row { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.info-row .ir-ico { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; background: var(--oak-tint); color: var(--accent); display: grid; place-items: center; }
.info-row .ir-ico svg { width: 21px; height: 21px; }
.info-row .ir-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.info-row .ir-value { font-weight: 600; font-size: 1.02rem; color: var(--text); }
.info-row .ir-value a:hover { color: var(--accent); }
.info-row small { display: block; color: var(--muted); font-weight: 400; font-size: 0.84rem; margin-top: 2px; }

.map-placeholder {
  margin-top: 2px; border-radius: var(--radius); overflow: hidden; border: 1px dashed var(--secondary);
  background:
    repeating-linear-gradient(45deg, rgba(181,146,106,0.07) 0 12px, rgba(181,146,106,0.13) 12px 24px);
  min-height: 200px; display: grid; place-items: center; text-align: center; padding: 24px;
}
.map-placeholder .mp-ico { width: 40px; height: 40px; color: var(--secondary); margin: 0 auto 12px; }
.map-placeholder b { font-family: var(--font-display); color: var(--primary); display: block; }
.map-placeholder span { font-size: 0.84rem; color: var(--muted); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.7); padding-block: 64px 0; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-brand .logo-tile { display: inline-block; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-md); }
.footer-brand .logo-tile img { height: 104px; width: auto; }
.footer-brand p { margin-top: 22px; max-width: 36ch; line-height: 1.6; font-size: 0.96rem; }
.footer-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; font-family: var(--font-body); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: 0.96rem; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 4px; }
.socials a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: all .2s ease; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.12); padding-block: 24px 28px; display: flex; flex-direction: column; gap: 10px; font-size: 0.84rem; }
.footer-bottom .fb-row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }

/* =========================================================================
   MOBILE STICKY ACTION BAR
   ========================================================================= */
.action-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: var(--surface); border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  box-shadow: 0 -6px 20px rgba(28,26,23,0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 11px 4px; font-size: 0.72rem; font-weight: 600; color: var(--text); min-height: 60px; }
.action-bar a svg { width: 21px; height: 21px; }
.action-bar a.ab-quote { background: var(--accent); color: #fff; }
.action-bar a.ab-wa { color: #1FA855; }
.action-bar a.ab-call { color: var(--primary); }

/* Desktop WhatsApp FAB */
.wa-fab { display: none; position: fixed; right: 26px; bottom: 26px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: #1FA855; color: #fff; place-items: center; box-shadow: 0 10px 30px rgba(31,168,85,0.4); transition: transform .2s ease; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; }

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,0,.2,1), transform .7s cubic-bezier(.2,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   RESPONSIVE — tablet & desktop
   ========================================================================= */
@media (min-width: 600px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.10); }
  .field.row2 { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-actions .btn { flex: 0 0 auto; }
  .form-actions { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --header-h: 124px; }
  .brand img { height: 104px; }
  .nav-desktop { display: block; }
  .header-cta { display: flex; }
  .header-phone { display: flex; }
  .hamburger { display: none; }
  .action-bar { display: none; }
  .wa-fab { display: grid; }
  body { padding-bottom: 0 !important; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tile.featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-right: 1px solid rgba(255,255,255,0.10); border-bottom: none; }
  .trust-item:last-child { border-right: none; }
  .joinery-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .joinery-media { aspect-ratio: 4/5; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { flex-direction: column; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; gap: 44px; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
}

@media (min-width: 900px) {
  /* mobile bottom bar removed → no body padding needed */
}

/* body padding so content clears the mobile action bar */
@media (max-width: 899px) {
  body { padding-bottom: 64px; }
}

@media (max-width: 560px) {
  .hero { min-height: 100svh; }
  .hero-inner { padding-block: 38px 104px; }
  .hero h1 { font-size: clamp(2.25rem, 10.5vw, 2.8rem); line-height: 1.06; }
  .hero .lead { font-size: 1.02rem; line-height: 1.5; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
}
