/*
Theme Name: One Faith Roofing & Construction Exact
Theme URI: https://onefaithroofing.com/
Author: One Faith Roofing & Construction
Description: WordPress wrapper preserving the original One Faith Roofing & Construction responsive HTML/CSS/JS design.
Version: 2.0.0
*/
  /* ── Palette: SoCal terracotta on deep slate, warm sand neutrals ── */
  :root {
    --slate: #14222f;      /* primary dark */
    --slate-2: #1e3244;    /* raised dark */
    --slate-3: #2b4459;
    --terra: #b94e33;      /* terracotta – primary action */
    --terra-h: #a2432b;    /* hover */
    --terra-l: #e58a6a;    /* terracotta on dark bg */
    --sun: #e8b04c;        /* warm gold accent, used sparingly */
    --sand: #f7f1ea;       /* warm light section bg */
    --sand-2: #efe4d6;
    --ink: #16202a;        /* headings */
    --text: #3d4751;       /* body */
    --muted: #555e67;
    --line: #e7ddd0;
    --bg: #fffdfa;
    --on-dark: #d5dde5;
    --on-dark-2: #b3c1ce;
    --radius: 16px;
    --shadow: 0 24px 50px -24px rgba(20, 34, 47, .45);
    --tiles-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='40'%3E%3Cpath d='M0 20a12 12 0 0 1 24 0a12 12 0 0 1 24 0M-12 40a12 12 0 0 1 24 0a12 12 0 0 1 24 0a12 12 0 0 1 24 0' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E");
    --tiles-terra: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='40'%3E%3Cpath d='M0 20a12 12 0 0 1 24 0a12 12 0 0 1 24 0M-12 40a12 12 0 0 1 24 0a12 12 0 0 1 24 0a12 12 0 0 1 24 0' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='2'/%3E%3C/svg%3E");
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { color-scheme: only light; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
  body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--bg); font-size: 16.5px; line-height: 1.6; overflow-x: clip; }
  html, body, main, #about { background-color: var(--bg) !important; color: var(--text); }
  h1, h2, h3 { color: var(--ink); }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, .display { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; color: var(--ink); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; }
  .wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-h); }
  .eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
  .on-dark .eyebrow, .eyebrow.light { color: var(--terra-l); }

  /* Buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s; font-family: inherit; }
  .btn:hover { transform: translateY(-2px); }
  .btn svg { width: 18px; height: 18px; }
  .btn-terra { background: var(--terra); color: #fff; box-shadow: 0 12px 26px -12px rgba(185, 78, 51, .9); }
  .btn-terra:hover { background: var(--terra-h); }
  .btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
  .btn-ghost:hover { background: #fff; color: var(--slate); }
  .btn-slate { background: var(--slate); color: #fff; }
  .btn-slate:hover { background: var(--slate-2); }
  .btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
  .btn-outline:hover { border-color: var(--ink); }

  /* Top strip */
  .strip { background: var(--slate); color: var(--on-dark); font-size: 14px; }
  .strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
  .strip a { color: #fff; font-weight: 700; white-space: nowrap; }
  .strip .wrap > span:last-child { white-space: nowrap; }
  .strip .areas { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Header */
  header.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,253,250,.95); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
  header.nav.scrolled { box-shadow: 0 10px 30px -20px rgba(0,0,0,.4); border-color: var(--line); }
  header.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 82px; transition: height .25s; }
  header.nav.scrolled .wrap { height: 68px; }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand img { height: 52px; width: auto; transition: height .25s; }
  header.nav.scrolled .brand img { height: 44px; }
  .brand-text { display: none; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 25px; line-height: 1; color: var(--slate); text-transform: uppercase; }
  .brand-text small { display: block; font-size: 13px; letter-spacing: .2em; color: var(--terra); }
  .brand.no-logo .brand-text { display: block; }
  .menu { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; color: var(--ink); }
  .menu a:not(.btn) { position: relative; padding: 6px 0; }
  .menu a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--terra); transition: width .25s; }
  .menu a:not(.btn):hover::after, .menu a.active::after { width: 100%; }
  .menu .btn { padding: 12px 20px; font-size: 14px; }
  .burger { display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer; position: relative; }
  .burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
  .burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
  .burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Hero with crossfading slideshow */
  .hero { position: relative; color: #fff; background: var(--slate); isolation: isolate; overflow: hidden; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,34,47,.96) 0%, rgba(20,34,47,.84) 42%, rgba(20,34,47,.35) 100%); }
  .hero { background: radial-gradient(900px 500px at 85% 0%, #2b4459 0%, transparent 60%), var(--slate); }
  .hero::before { background-image: var(--tiles-dark); opacity: .5; }
  .hero-art { position: relative; }
  .hero-art .frame { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.08); }
  .hero-art .frame svg, .hero-art .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; display: block; }
  .call-card { position: absolute; left: -36px; bottom: -34px; background: #fff; color: var(--text); border-radius: 18px; padding: 20px 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); display: flex; align-items: center; gap: 16px; max-width: 380px; }
  .call-card .ring { width: 58px; height: 58px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; flex-shrink: 0; position: relative; }
  .call-card .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--terra); animation: ring 2s ease-out infinite; }
  .call-card .ring svg { width: 26px; height: 26px; }
  .call-card small { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
  .call-card b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 34px; line-height: 1; color: var(--ink); }
  .call-card span { font-size: 14px; color: var(--text); }
  .btn-call { font-size: 17px; padding: 18px 30px; }
  @keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 88px 0 104px; }
  .hero h1 { color: #fff; font-size: clamp(38px, 6vw, 78px); font-weight: 800; margin: 18px 0 20px; }
  .hero h1 em { font-style: normal; color: var(--terra-l); }
  .hero p.lead { font-size: 19px; color: var(--on-dark); max-width: 560px; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
  .hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; }
  .badge { display: flex; align-items: center; gap: 12px; }
  .badge .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(229,138,106,.14); color: var(--terra-l); border: 1px solid rgba(229,138,106,.25); }
  .badge .ico svg { width: 22px; height: 22px; }
  .badge b { display: block; color: #fff; font-size: 15px; }
  .badge span { font-size: 14px; color: var(--on-dark); }
  .roof-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 1; }

  /* Sections */
  section { padding: 104px 0; }
  .head { max-width: 740px; margin-bottom: 52px; }
  .head.center { margin-inline: auto; text-align: center; }
  .head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
  .head h2 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; margin: 14px 0 14px; }
  .head p { font-size: 18px; color: var(--text); }
  .on-dark .head h2 { color: #fff; }
  .on-dark .head p { color: var(--on-dark-2); }

  /* Areas marquee */
  .areas-band { background: var(--terra); color: #fff; padding: 16px 0; overflow: hidden; position: relative; z-index: 2; }
  .marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
  .areas-band:hover .marquee { animation-play-state: paused; }
  .marquee span { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .05em; padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; }
  .marquee span::after { content: "◆"; font-size: 11px; color: var(--sun); }

  /* Services */
  .services { background: var(--sand); }
  .feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .feat { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s; }
  .feat:hover, .feat:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; outline: none; }
  .feat .art { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
  .feat .art svg, .feat .art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s ease; }
  .feat:hover .art svg, .feat:hover .art img { transform: scale(1.07); }
  .feat .in { padding: 22px 22px 24px; }
  .feat h3 { font-size: 30px; font-weight: 800; }
  .feat p { font-size: 14.5px; color: var(--muted); margin: 6px 0 14px; }
  .feat .more { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); display: inline-flex; gap: 8px; align-items: center; }
  .feat .more svg { width: 16px; height: 16px; transition: transform .25s; }
  .feat:hover .more svg { transform: translateX(4px); }
  .mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
  .mini { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px; cursor: pointer; font: inherit; color: inherit; text-align: left; transition: transform .25s, box-shadow .25s, border-color .25s; }
  .mini:hover, .mini:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; outline: none; }
  .mini .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--sand-2); color: var(--terra); display: grid; place-items: center; flex-shrink: 0; transition: background .25s, color .25s; }
  .mini:hover .ico { background: var(--terra); color: #fff; }
  .mini .ico svg { width: 24px; height: 24px; }
  .mini b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 22px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
  .mini span { font-size: 13px; color: var(--muted); }

  /* Before / After */
  .ba-section { background: var(--slate); color: var(--on-dark); position: relative; overflow: hidden; }
  .ba-section::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px); }
  .ba-section .wrap { position: relative; }
  .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
  .tab { font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 11px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2); background: transparent; color: var(--on-dark); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
  .tab:hover { border-color: var(--terra-l); color: #fff; }
  .tab.on { background: var(--terra); border-color: var(--terra); color: #fff; }
  .ba { --pos: 50%; position: relative; max-width: 1020px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); user-select: none; touch-action: pan-y; background: var(--slate-2); cursor: ew-resize; }
  .ba .layer { position: absolute; inset: 0; pointer-events: none; transition: opacity .35s; }
  .ba .layer svg, .ba .layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
  .ba.swap .layer { opacity: 0; }
  .ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.4); pointer-events: none; }
  .ba .knob { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--terra); border: 3px solid #fff; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: transform .2s; }
  .ba:hover .knob, .ba.drag .knob { transform: scale(1.1); }
  .ba .knob svg { width: 26px; height: 26px; }
  .ba .tag { position: absolute; top: 18px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(20,34,47,.78); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
  .ba .tag.b { left: 18px; } .ba .tag.a { right: 18px; background: rgba(185,78,51,.9); }
  .ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
  .ba input[type=range]:focus-visible ~ .handle .knob { outline: 3px solid var(--sun); outline-offset: 3px; }
  .ba-caption { text-align: center; margin-top: 20px; color: var(--on-dark-2); font-size: 15px; }
  .ba-caption b { color: #fff; }
  .ba-note { text-align: center; margin-top: 8px; font-size: 13.5px; color: #b3c1ce; }

  /* Gallery + lightbox */
  .gallery { background: var(--sand); }
  .g-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: 560px; }
  .g-tile { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand-2); box-shadow: var(--shadow); }
  .g-tile:first-child { grid-row: span 2; }
  .g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
  .g-tile:hover img, .g-tile:focus-visible img { transform: scale(1.06); }
  .g-tile:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
  .g-grid.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .g-grid.n2 { grid-template-rows: 1fr; }
  .g-grid.n2 .g-tile:first-child, .g-grid.n1 .g-tile:first-child { grid-row: auto; }
  .lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14,24,34,.92); display: grid; place-items: center; padding: 24px; }
  .lightbox[hidden] { display: none; }
  .lightbox img { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .3s ease; }
  .lb-close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--slate); font-size: 30px; line-height: 1; cursor: pointer; }
  @media (max-width: 640px) { .g-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; } .g-tile { aspect-ratio: 4 / 3; } .g-tile:first-child { grid-row: auto; } }
  /* About / capabilities */
  .caps { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
  .cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 26px 0 34px; list-style: none; }
  .cap-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
  .cap-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--terra); margin-top: 1px; }
  .collage { position: relative; min-height: 540px; }
  .ph { position: absolute; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--slate-2), var(--slate)); box-shadow: var(--shadow); }
  .ph img, .ph svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s; }
  .ph:hover img, .ph:hover svg { transform: scale(1.06); }
  .ph.a { inset: 0 22% 22% 0; }
  .ph.b { inset: 44% 0 0 38%; border: 8px solid var(--bg); }
  .years { position: absolute; left: 4%; bottom: 2%; background: var(--terra); color: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); z-index: 2; }
  .years .display { font-size: 58px; font-weight: 800; color: #fff; line-height: .9; }
  .years span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .years .display .count { display: inline; font-size: inherit; letter-spacing: 0; text-transform: none; }

  /* Why (image-backed) */
  .why { position: relative; color: var(--on-dark); overflow: hidden; isolation: isolate; background: var(--slate); }
  .why .bgimg { position: absolute; inset: -20% 0; z-index: -2; background-image: var(--tiles-dark); background-size: 72px 60px; opacity: 1; will-change: transform; }
  .why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 10% 0%, rgba(185,78,51,.18), transparent 70%); }
  .why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .why-card { border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px 26px; background: rgba(255,255,255,.04); backdrop-filter: blur(4px); transition: background .3s, border-color .3s, transform .3s; }
  .why-card:hover { background: rgba(185,78,51,.14); border-color: rgba(229,138,106,.45); transform: translateY(-4px); }
  .why-card .num { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 54px; color: var(--terra-l); line-height: 1; }
  .why-card h3 { color: #fff; font-size: 24px; margin: 14px 0 8px; }
  .why-card p { font-size: 15px; }

  /* Review */
  .review { background: var(--sand); }
  .review .head { margin-bottom: 72px; }
  .quote-card { max-width: 900px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 56px 56px 44px; box-shadow: var(--shadow); position: relative; text-align: center; }
  .quote-mark { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); width: 68px; height: 68px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(185,78,51,.8); }
  .quote-mark svg { width: 30px; height: 30px; }
  .stars { display: flex; justify-content: center; gap: 4px; color: var(--sun); margin-bottom: 18px; }
  .stars svg { width: 22px; height: 22px; }
  .quote-card blockquote { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.6; color: var(--ink); font-weight: 500; }
  .quote-card cite { display: block; margin-top: 22px; font-style: normal; }
  .quote-card cite b { display: block; color: var(--ink); font-size: 17px; }
  .quote-card cite span { font-size: 14px; color: var(--muted); }
  .quote-card .avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--terra), 0 10px 20px -8px rgba(0,0,0,.4); }
  .yelp-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 15px; transition: border-color .2s, transform .2s; }
  .yelp-badge:hover { border-color: #d32323; transform: translateY(-2px); }
  .yelp-stars { color: #fff; background: #d32323; border-radius: 6px; padding: 2px 8px; letter-spacing: 2px; font-size: 15px; }
  .review-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .review-links .btn { padding: 12px 22px; font-size: 14px; }

  /* CTA band (parallax image) */
  .cta-band { padding: 0; background: linear-gradient(var(--sand) 50%, var(--slate) 50%); }
  .cta-inner { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 60px 56px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow); background: var(--terra); }
  .cta-inner .bgimg { position: absolute; inset: -40% 0; z-index: -1; background-image: var(--tiles-terra); background-size: 72px 60px; will-change: transform; }
  .cta-inner::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, #a2432b 0%, #b94e33 60%, #c8643f 100%); }
  .cta-inner h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; color: #fff; }
  .cta-inner p { color: #fff; font-size: 18px; margin-top: 6px; font-weight: 500; }
  .cta-inner .btns { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-white { background: #fff; color: var(--slate); }
  .btn-white:hover { background: var(--slate); color: #fff; }

  /* Contact */
  .contact { background: var(--slate); color: var(--on-dark); }
  .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .info-list { display: grid; gap: 14px; }
  .info { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); transition: border-color .25s, background .25s; }
  a.info:hover { border-color: var(--terra-l); background: rgba(185,78,51,.1); }
  .info .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--terra); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
  .info .ico svg { width: 22px; height: 22px; }
  .info small { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
  .info b { color: #fff; font-size: 19px; }
  .map { border-radius: 18px; overflow: hidden; min-height: 420px; background: var(--slate-2); border: 1px solid rgba(255,255,255,.1); }
  .map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.2) contrast(1.05); }

  /* Footer */
  footer { background: #0e1822; color: var(--on-dark-2); padding: 64px 0 28px; font-size: 14.5px; }
  .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
  footer h4 { font-family: "Barlow Condensed", sans-serif; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
  footer ul { list-style: none; display: grid; gap: 8px; }
  footer ul a:hover { color: var(--terra-l); }
  .foot-brand .brand-text { display: block; color: #fff; }
  .foot-brand .brand-text small { color: var(--terra-l); }
  .foot-brand p { margin-top: 14px; max-width: 320px; }
  .foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
  .foot-bottom a { text-decoration: underline; }
  .credit { font-size: 12px; color: #6f8193; }

  /* Mobile call bar */
  .callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--slate); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -10px 30px -10px rgba(0,0,0,.5); }
  .callbar a { flex: 1; flex-direction: row !important; justify-content: center; font-size: 15px !important; gap: 10px !important; padding: 14px 4px !important; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 8px 4px; border-radius: 10px; }
  .callbar a svg { width: 20px; height: 20px; }
  .callbar a.primary { background: var(--terra); }

  /* Reveal: content is visible without JS; JS adds .js to animate */
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

  @keyframes marquee { to { transform: translateX(-50%); } }
  @keyframes pop { from { transform: scale(.95); opacity: 0; } to { transform: none; opacity: 1; } }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
  }

  /* Responsive */
  @media (max-width: 1080px) {
    .feat-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 920px) {
    .menu { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; align-items: flex-start; gap: 6px; background: var(--bg); padding: 96px 28px 28px; box-shadow: -20px 0 40px -20px rgba(0,0,0,.4); transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; z-index: 55; }
    .menu.open { transform: none; visibility: visible; transition: transform .35s ease, visibility 0s; }
    .menu a:not(.btn) { font-size: 20px; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
    .menu .btn { margin-top: 18px; width: 100%; }
    .burger { display: block; z-index: 56; }
    .hero .wrap { grid-template-columns: 1fr; padding: 64px 0 110px; gap: 44px; }
    .call-card { left: 16px; right: 16px; max-width: none; }
    .caps, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .collage { min-height: 440px; }
    .ba { aspect-ratio: 4 / 3; }
  }
  @media (max-width: 640px) {
    body { font-size: 16px; padding-bottom: 76px; }
    .wrap { width: calc(100% - 32px); }
    .strip .areas { display: none; }
    .strip .wrap { justify-content: center; }
    section { padding: 76px 0; }
    .feat-grid, .mini-grid, .why-grid, .cap-list { grid-template-columns: 1fr; }
    .quote-card { padding: 50px 22px 32px; }
    .cta-inner { padding: 40px 24px; }
    .cta-inner .btns, .cta-inner .btn { width: 100%; }
    .foot-grid { grid-template-columns: 1fr; }
    .callbar { display: flex; }
    .hero-badges { gap: 18px; }
    .ba { aspect-ratio: 1 / 1; border-radius: 16px; }
    .ba .knob { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
    .tab { padding: 10px 14px; font-size: 13px; }
  }

/* ══════════ Multi-page additions ══════════ */
/* Nav dropdown */
.has-sub { position: relative; }
.has-sub > a .caret { display: inline-block; margin-left: 6px; font-size: 11px; transform: translateY(-1px); }
.sub { position: absolute; top: calc(100% + 10px); left: -18px; min-width: 250px; display: grid; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; z-index: 60; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
.menu .sub a { padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; }
.menu .sub a::after { display: none; }
.menu .sub a:hover, .menu .sub a.active { background: var(--sand); color: var(--terra-h); }
.menu a.active { color: var(--terra-h); }

/* Page hero banner */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--slate); padding: 92px 0 84px; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,34,47,.96) 0%, rgba(20,34,47,.82) 50%, rgba(20,34,47,.5) 100%), var(--tiles-dark); }
.page-hero.plain::before { background: radial-gradient(700px 360px at 85% 10%, rgba(185,78,51,.28), transparent 70%), var(--tiles-dark); }
.crumbs { font-size: 14px; color: var(--on-dark); margin-bottom: 16px; }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { margin: 0 8px; opacity: .6; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 74px); font-weight: 800; margin: 12px 0 16px; max-width: 900px; }
.page-hero h1 em { font-style: normal; color: var(--terra-l); }
.page-hero p.lead { font-size: 19px; color: var(--on-dark); max-width: 660px; }
.page-hero .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero .ph-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(229,138,106,.14); border: 1px solid rgba(229,138,106,.3); color: var(--terra-l); display: grid; place-items: center; }
.page-hero .ph-icon svg { width: 32px; height: 32px; }

/* Service detail layout */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.prose p { font-size: 18px; margin-bottom: 16px; color: var(--text); }
.prose h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose .cap-list { margin: 10px 0 8px; }
.content-img { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; margin: 26px 0 8px; box-shadow: var(--shadow); background: var(--sand-2); }
.content-img img, .content-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.sign-list { list-style: none; display: grid; gap: 10px; margin: 8px 0; }
.sign-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--sand); border-radius: 12px; padding: 14px 16px; color: var(--ink); font-weight: 500; }
.sign-list li::before { content: "!"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--terra); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-top: 1px; }
.side { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-card { background: var(--slate); color: var(--on-dark); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.side-card h3 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.side-card p { font-size: 15.5px; margin-bottom: 18px; }
.side-card .btn { width: 100%; }
.side-card ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }
.side-card li { display: flex; gap: 10px; align-items: center; }
.side-card li svg { width: 18px; height: 18px; color: var(--terra-l); flex-shrink: 0; }
.mini-review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.mini-review .stars { justify-content: flex-start; margin-bottom: 10px; }
.mini-review .stars svg { width: 18px; height: 18px; }
.mini-review blockquote { font-size: 15px; color: var(--ink); line-height: 1.6; }
.mini-review .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.mini-review .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--terra); }
.mini-review .who b { display: block; color: var(--ink); font-size: 15px; }
.mini-review .who span { font-size: 13.5px; color: var(--muted); }
.mini-review a.more-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--terra-h); text-decoration: underline; text-underline-offset: 3px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; }
.step .n { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 44px; line-height: 1; color: var(--terra); }
.step h3 { font-size: 22px; margin: 8px 0 6px; }
.step p { font-size: 15px; color: var(--text); margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 18px; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--terra); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; font-size: 16.5px; color: var(--text); }

/* Related + overview grids */
.related { background: var(--sand); }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.area { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; color: var(--ink); }
.area svg { width: 18px; height: 18px; color: var(--terra); flex-shrink: 0; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.svc-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.svc-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-row .thumb { background: var(--slate); color: var(--terra-l); display: grid; place-items: center; min-height: 180px; position: relative; overflow: hidden; }
.svc-row .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-row .thumb svg.ic { width: 56px; height: 56px; }
.svc-row .body { padding: 22px 24px; }
.svc-row h3 { font-size: 28px; margin-bottom: 6px; }
.svc-row p { font-size: 15.5px; color: var(--text); margin-bottom: 12px; }
.svc-row .more { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-h); display: inline-flex; gap: 8px; align-items: center; }
.svc-row .more svg { width: 16px; height: 16px; }

/* Gallery (full page) */
.g-grid.full { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 280px; height: auto; }
.g-grid.full .g-tile:first-child { grid-column: span 2; grid-row: span 2; }
.g-grid.teaser { height: 520px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.center-cta { text-align: center; margin-top: 36px; }

@media (max-width: 1080px) {
  .svc-list { grid-template-columns: 1fr; }
  .g-grid.full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .side { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .menu { overflow-y: auto; }
  .has-sub { width: 100%; }
  .has-sub > a .caret { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 14px; min-width: 0; background: none; }
  .sub::before { display: none; }
  .menu .sub a { font-size: 16px; padding: 7px 0; border-bottom: 0; width: 100%; }
}
@media (max-width: 640px) {
  .page-hero { padding: 64px 0 60px; }
  .steps, .contact-cards { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row .thumb { min-height: 170px; }
  .g-grid.full { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .g-grid.full .g-tile:first-child { grid-column: auto; grid-row: auto; }
  .g-grid.teaser { height: auto; }
}
/* Fixes: mobile menu containing block; gallery balance by photo count */
@media (max-width: 920px) { header.nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); } }
.g-grid.full.n1 { grid-template-columns: 1fr; grid-auto-rows: 520px; }
.g-grid.full.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 440px; }
.g-grid.full.n1 .g-tile:first-child, .g-grid.full.n2 .g-tile:first-child { grid-column: auto; grid-row: auto; }
.g-grid.full.n4 .g-tile:nth-child(4), .g-grid.full.n7 .g-tile:nth-child(7) { grid-column: span 3; }
.g-grid.full.n5 .g-tile:nth-child(4) { grid-column: span 2; }
@media (max-width: 1080px) { .g-grid.full.n4 .g-tile:nth-child(4), .g-grid.full.n7 .g-tile:nth-child(7), .g-grid.full.n5 .g-tile:nth-child(4) { grid-column: auto; } }
@media (max-width: 640px) { .g-grid.full.n1, .g-grid.full.n2 { grid-template-columns: 1fr; grid-auto-rows: auto; } }

/* ── Moving project rows (top: left→right, bottom: right→left) ── */
.pm-section { background: var(--bg); overflow: hidden; }
.pm-rows { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.pm-row { overflow: hidden; }
.pm-track { display: flex; width: max-content; animation: pm-ltr var(--dur, 48s) linear infinite; will-change: transform; }
.pm-row.rtl .pm-track { animation-name: pm-rtl; }
.pm-row:hover .pm-track, .pm-row:focus-within .pm-track { animation-play-state: paused; }
.pm-tile { flex: 0 0 auto; width: 320px; aspect-ratio: 3 / 2; margin-right: 18px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--sand-2); box-shadow: 0 14px 30px -18px rgba(20,34,47,.5); }
.pm-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.pm-tile:hover img, .pm-tile:focus-visible img { transform: scale(1.07); }
.pm-tile:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.pm-section .center-cta { margin-top: 40px; }
@keyframes pm-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes pm-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .pm-tile { width: 230px; margin-right: 12px; } .pm-rows { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .pm-track { animation: none; } .pm-row { overflow-x: auto; } }

/* ── Service cards (image + icon badge + title + 2-line text + Learn More) ── */
.svc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px -16px rgba(20,34,47,.3); transition: transform .3s, box-shadow .3s; color: inherit; }
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); outline: none; }
.svc-card:focus-visible { box-shadow: 0 0 0 3px var(--terra), var(--shadow); }
.svc-card .img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.svc-card .img img, .svc-card .img svg:not(.bi) { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.svc-card:hover .img img, .svc-card:hover .img svg:not(.bi) { transform: scale(1.06); }
.svc-card .badge-ic { position: absolute; top: 12px; left: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 11px; background: #fff; color: var(--slate); display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(0,0,0,.3); }
.svc-card .badge-ic svg { width: 21px; height: 21px; }
.svc-card .body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.svc-card h3 { font-family: "Inter", system-ui, sans-serif; text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; line-height: 1.55; color: var(--text); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--terra-h); }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.svc-card:hover .more svg { transform: translateX(4px); }
@media (max-width: 1080px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-cards { grid-template-columns: 1fr; gap: 18px; } }

/* ── Before/after: three compact sliders side by side ── */
.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ba-grid .ba { max-width: none; margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: 0 26px 50px -26px rgba(0,0,0,.75); }
.ba-grid .ba .knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-width: 3px; }
.ba-grid .ba .knob svg { width: 20px; height: 20px; }
.ba-grid .ba .tag { top: 12px; padding: 5px 11px; font-size: 11px; letter-spacing: .12em; }
.ba-grid .ba .tag.b { left: 12px; } .ba-grid .ba .tag.a { right: 12px; }
.ba-grid + .ba-note { margin-top: 22px; }
@media (max-width: 980px) { .ba-grid { grid-template-columns: 1fr 1fr; } .ba-grid .ba:last-child { grid-column: span 2; aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .ba-grid { grid-template-columns: 1fr; gap: 16px; } .ba-grid .ba, .ba-grid .ba:last-child { grid-column: auto; aspect-ratio: 4 / 3; border-radius: 16px; } }

/* ── Additions: start-to-finish timeline ── */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 14px 0 8px; }
.tl-step { margin: 0; }
.tl-img { display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--sand-2); }
.tl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tl-img:hover img { transform: scale(1.06); }
.tl-step figcaption { margin-top: 8px; font-weight: 700; color: var(--ink); font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
.tl-step figcaption span { font-family: "Barlow Condensed", sans-serif; color: var(--terra); font-size: 18px; }
@media (max-width: 760px) { .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Reviews: continuously moving row of review cards ── */
.rv-section .head { margin-bottom: 40px; }
.rv-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--ink); }
.rv-stars { display: inline-flex; gap: 3px; color: var(--sun); }
.rv-stars svg { width: 18px; height: 18px; }
.rv-row { overflow: hidden; padding: 6px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.rv-track { display: flex; width: max-content; animation: pm-rtl var(--dur, 70s) linear infinite; }
.rv-row:hover .rv-track, .rv-row:focus-within .rv-track { animation-play-state: paused; }
.rv-card { flex: 0 0 auto; width: 360px; margin: 0 22px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 20px; box-shadow: 0 14px 30px -20px rgba(20,34,47,.35); display: flex; flex-direction: column; }
.rv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rv-q { width: 30px; height: 30px; color: var(--terra-l); opacity: .9; }
.rv-card blockquote { font-size: 15px; line-height: 1.65; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.65em * 6); }
.rv-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 18px; }
.rv-av { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.rv-av span { font-weight: 700; color: var(--terra-h); font-size: 16px; }
.rv-av img { width: 100%; height: 100%; object-fit: cover; }
.rv-card figcaption b { display: block; color: var(--ink); font-size: 15.5px; }
.rv-card figcaption small { color: var(--muted); font-size: 13px; }
.rv-section .center-cta { margin-top: 26px; }
@media (max-width: 640px) { .rv-card { width: 290px; margin-right: 14px; padding: 20px; } .rv-section .center-cta .btn { margin: 6px 0 0 !important; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .rv-track { animation: none; } .rv-row { overflow-x: auto; } }
@media (max-width: 640px) { .rv-badge { font-size: 14px; gap: 8px; padding: 9px 14px; } .rv-badge .rv-stars svg { width: 15px; height: 15px; } }

/* ══════════ Unique page components ══════════ */
.wrap.narrow { max-width: 920px; }
.hero-split { padding: 64px 0 72px; }
.hs-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hs-img { position: relative; }
.hs-img .g-tile { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; border: 0; padding: 0; box-shadow: 0 34px 70px -28px rgba(0,0,0,.7); cursor: zoom-in; }
.hs-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-badge { position: absolute; left: -22px; bottom: -22px; background: var(--terra); color: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow); }
.hs-badge b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 40px; line-height: 1; }
.hs-badge span { font-size: 13px; font-weight: 600; }
.g-tile { cursor: zoom-in; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.rev .split-img { order: 2; }
.split-img .g-tile { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.split-img .g-tile:hover img { transform: scale(1.05); }
.split-txt h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 12px 0 14px; }
.split-txt p { font-size: 17.5px; margin-bottom: 14px; }
.split-txt .cap-list { margin-top: 16px; }
.split-plain { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.type-grid { display: grid; gap: 20px; }
.type-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.type-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.tc-img { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; overflow: hidden; background: var(--sand-2); }
.tc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.type-card:hover .tc-img img { transform: scale(1.06); }
.tc-body { padding: 18px 20px 22px; }
.tc-body h3 { font-size: 26px; margin-bottom: 6px; }
.tc-body p { font-size: 15px; color: var(--text); }
.ic-grid { display: grid; gap: 18px; }
.ic-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ic-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ic-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; transition: transform .25s, box-shadow .25s; }
.ic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ic-card .ico { width: 50px; height: 50px; border-radius: 13px; background: var(--sand-2); color: var(--terra); display: grid; place-items: center; margin-bottom: 14px; }
.ic-card .ico svg { width: 24px; height: 24px; }
.ic-card h3 { font-size: 24px; margin-bottom: 6px; }
.ic-card p { font-size: 15px; color: var(--text); }
.cmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.cmp-col { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.cmp-col.alt { background: var(--slate); border-color: var(--slate); }
.cmp-col h3 { font-size: 26px; margin-bottom: 14px; }
.cmp-col.alt h3 { color: #fff; }
.cmp-col ul { list-style: none; display: grid; gap: 10px; }
.cmp-col li { display: flex; gap: 10px; font-weight: 500; color: var(--ink); }
.cmp-col.alt li { color: var(--on-dark); }
.cmp-col li svg { width: 20px; height: 20px; color: var(--terra); flex-shrink: 0; margin-top: 2px; }
.cmp-col.alt li svg { color: var(--terra-l); }
.cmp-vs { align-self: center; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--muted); }
.cmp-note { text-align: center; margin-top: 22px; font-size: 17px; color: var(--ink); font-weight: 500; }
.num-list { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.num-list li { display: flex; gap: 16px; align-items: flex-start; }
.num-list span { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 30px; color: var(--terra); line-height: 1; min-width: 40px; }
.num-list h3 { font-size: 21px; margin-bottom: 2px; }
.num-list p { font-size: 15.5px; margin: 0 !important; }
.emg { background: var(--terra); color: #fff; padding: 46px 0; }
.emg-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.emg-ic { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.emg-ic svg { width: 34px; height: 34px; }
.emg h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.emg p { color: #fff; font-size: 17px; }
.emg-in > div:nth-child(2) { flex: 1; min-width: 240px; }
.sign-list.grid2 { grid-template-columns: 1fr 1fr; }
.frows { display: grid; gap: 34px; }
.frow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.frow.rev .frow-img { order: 2; }
.frow-img { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; padding: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.frow-img img { width: 100%; height: 100%; object-fit: cover; }
.frow-n { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 48px; color: var(--terra); line-height: 1; }
.frow-txt h3 { font-size: 34px; margin: 6px 0 10px; }
.frow-txt p { font-size: 17px; }
.ba-one { max-width: 860px; margin: 0 auto; aspect-ratio: 4 / 3; }
.ba-note.dark { margin-top: 16px; }
.duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.duo .g-tile { display: block; border: 0; padding: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.duo img { width: 100%; height: 100%; object-fit: cover; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tc-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 22px; }
.tc-panel .g-tile { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.tc-panel img { width: 100%; height: 100%; object-fit: cover; }
.tc-panel h3 { font-size: 28px; margin-bottom: 4px; }
.tc-panel .cap-list { grid-template-columns: 1fr; margin: 10px 0 0; }
.pgrid { display: grid; gap: 14px; }
.pgrid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid .g-tile { display: block; border: 0; padding: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; }
.pgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pgrid .g-tile:hover img { transform: scale(1.06); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--ink); }
/* Projects filter grid */
.pf-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.pf-btn { font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s, border-color .2s; }
.pf-btn i { font-style: normal; font-size: 12.5px; background: var(--sand-2); color: var(--terra-h); border-radius: 999px; padding: 1px 8px; }
.pf-btn:hover { border-color: var(--terra); }
.pf-btn.on { background: var(--terra); border-color: var(--terra); color: #fff; }
.pf-btn.on i { background: rgba(255,255,255,.22); color: #fff; }
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pf-item { margin: 0; animation: pop .35s ease; }
.pf-item[hidden] { display: none; }
.pf-item .g-tile { display: block; width: 100%; aspect-ratio: 1 / 1; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--sand-2); }
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pf-item .g-tile:hover img { transform: scale(1.06); }
.pf-item figcaption { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 8px; }
@media (max-width: 1080px) {
  .type-grid.c4, .ic-grid.c4, .pf-grid, .pgrid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ic-grid.c3, .type-grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hs-grid, .split, .split-plain, .frow, .two-col, .duo { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .split-img, .frow.rev .frow-img { order: 0; }
  .hs-badge { left: 14px; bottom: -18px; }
  .cmp { grid-template-columns: 1fr; }
  .cmp-vs { justify-self: center; }
  .sign-list.grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .type-grid.c4, .type-grid.c3, .ic-grid.c3, .ic-grid.c4 { grid-template-columns: 1fr; }
  .pf-grid, .pgrid.c4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .emg-in { flex-direction: column; align-items: flex-start; }
  .emg .btn { width: 100%; }
}
.pf-btn.on i { background: rgba(0,0,0,.22); }
.tl-step figcaption span, .frow-n, .num-list span, .step .n { color: var(--terra-h); }

/* ══════════ Service areas ══════════ */
.sa-regions { display: grid; gap: 40px; }
.sa-rhead { display: flex; align-items: baseline; gap: 14px; font-size: 26px; margin-bottom: 16px; border-bottom: 2px solid var(--line); padding-bottom: 10px; }
.sa-rhead i { font-style: normal; font-family: "Inter", sans-serif; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.sa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sa-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; box-shadow: 0 10px 26px -18px rgba(20,34,47,.35); transition: transform .25s, box-shadow .25s, border-color .25s; color: inherit; }
.sa-card:hover, .sa-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; outline: none; }
.sa-card:focus-visible { box-shadow: 0 0 0 3px var(--terra), var(--shadow); }
.sa-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.sa-pin { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--sand); color: var(--terra-h); display: grid; place-items: center; flex-shrink: 0; }
.sa-pin svg { width: 21px; height: 21px; }
.sa-top b { display: block; font-size: 20px; color: var(--ink); line-height: 1.2; }
.sa-top small { font-size: 13.5px; color: var(--muted); }
.sa-card p { font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.sa-more { margin-top: auto; font-weight: 700; font-size: 14.5px; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.sa-more svg { width: 16px; height: 16px; transition: transform .25s; }
.sa-card:hover .sa-more { color: var(--terra-h); }
.sa-card:hover .sa-more svg { transform: translateX(4px); }
.areas-grid a.area:hover { border-color: var(--terra); color: var(--terra-h); }

/* Mega menu */
.sub.mega { left: 50%; width: min(860px, 92vw); transform: translate(-50%, 8px); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 18px; padding: 18px 18px 16px; }
.has-sub:hover .sub.mega, .has-sub:focus-within .sub.mega { transform: translate(-50%, 0); }
.mm-col { display: flex; flex-direction: column; gap: 1px; }
.mm-head { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-h); padding: 4px 10px 8px; }
.menu .sub.mega a:not(.btn) { display: flex; align-items: center; gap: 8px; font-size: 14.5px; padding: 7px 10px; }
.menu .sub.mega a svg { width: 15px; height: 15px; color: var(--terra); flex-shrink: 0; }
.menu .sub.mega .mm-all { grid-column: 1 / -1; margin-top: 10px; padding: 12px 18px; font-size: 14px; }

/* Location page */
.loc-hero { padding: 80px 0 72px; }
.loc-intro { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.loc-intro h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; margin: 12px 0 16px; }
.loc-intro p { font-size: 17.5px; margin-bottom: 14px; }
.lc-h { font-size: 24px; margin: 22px 0 8px; }
.loc-fact { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.lf-img { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; overflow: hidden; }
.lf-img img { width: 100%; height: 100%; object-fit: cover; }
.lf-rows { padding: 6px 20px 12px; }
.lf-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lf-row:last-child { border-bottom: 0; }
.lf-row span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); white-space: nowrap; }
.lf-row span svg { width: 17px; height: 17px; color: var(--terra-h); }
.lf-row b { color: var(--ink); text-align: right; }
.lf-row b small { font-weight: 500; color: var(--muted); }
.ls-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ls-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ls-item:hover, .ls-item:focus-visible { border-color: var(--terra); transform: translateY(-2px); box-shadow: var(--shadow); outline: none; }
.ls-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--sand-2); color: var(--terra); display: grid; place-items: center; flex-shrink: 0; }
.ls-item .ico svg { width: 22px; height: 22px; }
.ls-item b { display: block; color: var(--ink); font-size: 17px; }
.ls-item small { color: var(--text); font-size: 14px; }
.ls-item > svg { width: 18px; height: 18px; color: var(--terra-h); margin-left: auto; flex-shrink: 0; }
.loc-areas { display: grid; gap: 10px; }
.loc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.loc-chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; color: var(--ink); font-size: 15px; }
.loc-chips li svg { width: 15px; height: 15px; color: var(--terra-h); }
.mini-review .who .rv-av { width: 44px; height: 44px; }

/* About */
.about-pair { position: relative; min-height: 460px; }
.about-pair .g-tile { position: absolute; border: 0; padding: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.about-pair img { width: 100%; height: 100%; object-fit: cover; }
.ap-a { inset: 0 20% 18% 0; }
.ap-b { inset: 46% 0 0 36%; border: 8px solid var(--bg) !important; }
.stat-band { background: var(--slate); padding: 56px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stat b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: clamp(44px, 6vw, 64px); font-weight: 800; color: var(--terra-l); line-height: 1; }
.stat span { color: var(--on-dark); font-size: 15px; font-weight: 600; }

@media (max-width: 1080px) { .sa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .loc-intro { grid-template-columns: 1fr; gap: 36px; } .loc-fact { position: static; } }
@media (max-width: 920px) {
  .sub.mega { width: auto; transform: none !important; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 4px 0 8px 14px; }
  .menu .sub.mega a:not(.btn) { border-bottom: 0; font-size: 15.5px; padding: 6px 0; }
  .menu .sub.mega .mm-all { margin-top: 8px; }
  .mm-head { padding: 10px 0 4px; }
}
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .about-pair { min-height: 360px; } }
@media (max-width: 640px) {
  .sa-grid, .ls-grid { grid-template-columns: 1fr; }
  .lf-row { flex-direction: column; gap: 2px; }
  .lf-row b { text-align: left; }
  .loc-hero { padding: 60px 0 56px; }
}
.stat b span { font-size: inherit; color: inherit; font-weight: inherit; }
.crumbs a { display: inline-block; padding: 8px 2px; }
.ba-grid .ba .tag { font-size: 12px; }
/* QA fixes */
.btn, .call-card b, .info b, .strip a, .lf-row b { white-space: nowrap; }
.lf-row b { white-space: normal; }
@media (max-width: 920px) { .menu { padding-bottom: 120px; } }
footer ul a { display: inline-block; padding: 6px 0; }
footer ul { gap: 2px; }
.strip a { display: inline-block; padding: 8px 0; }
.strip .wrap { padding: 2px 0; }
.btn { white-space: normal; text-align: center; }
@media (max-width: 640px) {
  .page-hero .btns .btn, .hero-ctas .btn { width: 100%; }
  .call-card { padding: 16px 16px; gap: 12px; }
  .call-card .ring { width: 48px; height: 48px; }
  .call-card b { font-size: 27px; }
}
@media (max-width: 400px) { .head h2, .split-txt h2, .loc-intro h2 { font-size: 32px; } h1 { overflow-wrap: break-word; } }
@media (max-width: 920px) { .contact-grid, .caps { grid-template-columns: minmax(0, 1fr); } .contact-grid > *, .caps > * { min-width: 0; } }
.info b { white-space: normal; }
.btn svg { flex-shrink: 0; }
.contact-cards > * { min-width: 0; }
@media (max-width: 860px) { .hs-grid { grid-template-columns: minmax(0, 1fr); } .hs-grid > * { min-width: 0; } }
@media (max-width: 360px) { .page-hero h1, .hero h1 { font-size: 33px; } .call-card b { font-size: 23px; } .call-card .ring { display: none; } }

/* ── Client logo ── */
.brand { flex-shrink: 1; min-width: 0; line-height: 0; }
.brand img { display: block; height: 56px; width: auto; max-width: 100%; }
header.nav.scrolled .brand img { height: 46px; }
.foot-logo { display: inline-block; line-height: 0; }
.foot-logo img { display: block; width: 250px; max-width: 100%; height: auto; }
@media (max-width: 1180px) and (min-width: 921px) { .brand img { height: 42px; } header.nav.scrolled .brand img { height: 38px; } }
@media (max-width: 520px) {
  .brand img, header.nav.scrolled .brand img { height: auto; width: min(205px, calc(100vw - 110px)); }
}
