/* =========================================================
   JTW Brickwork LTD — one-page site
   Brand: black, off-white, blue → purple gradient (from logo)
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wght.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1a1724;
  --bg-2: #211d2d;
  --surface: #2a2538;
  --surface-2: #342e45;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f5f9;
  --muted: #c4c0d2;

  --paper: #f5f3f0;
  --paper-2: #ebe7e2;
  --ink: #16141b;
  --ink-muted: #5c5866;
  --paper-line: rgba(22, 20, 27, 0.1);

  --blue: #4f8ef7;
  --violet: #7b5cf5;
  --purple: #9b3fe0;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--violet) 50%, var(--purple) 100%);
  --brick: #c4643f;
  --star: #f5b83d;
  --wa: #25d366;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.01em; }
h1, h2 { font-weight: 850; text-transform: uppercase; }
h2 { font-size: clamp(30px, 5vw, 54px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 750; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 4px; border-radius: 4px; background: var(--grad);
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.light .section-head p { color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 750; font-size: 16px; text-decoration: none; letter-spacing: 0.01em;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-wa {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(123, 92, 245, 0.75);
}
.btn-wa .wa-dot {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--wa); margin-left: -10px;
}
.btn-wa .wa-dot svg { width: 18px; height: 18px; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08); color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.light .btn-ghost { background: transparent; color: var(--ink); border-color: var(--paper-line); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(26, 23, 36, 0.9); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted);
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 0 6px;
}
.header-phone svg { width: 18px; height: 18px; color: var(--violet); }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  position: relative; transition: transform .2s ease, background-color .2s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 8vh, 90px);
  isolation: isolate; overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-media img { object-position: 60% 50%; animation: heroZoom 18s ease-out both; filter: brightness(1.18) contrast(1.05) saturate(1.12); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,17,28,.55) 0%, rgba(20,17,28,0) 18%, rgba(20,17,28,0) 45%, rgba(20,17,28,.78) 100%),
    linear-gradient(90deg, rgba(20,17,28,.62) 0%, rgba(20,17,28,.25) 45%, rgba(20,17,28,0) 70%);
}
.hero-content { max-width: 1000px; }
.hero h1 { font-size: clamp(32px, 5.6vw, 80px); line-height: .96; overflow-wrap: normal; }
.hero h1 .grad-text { display: inline-block; white-space: nowrap; padding-bottom: .04em; }
.hero h1 .l1 { display: block; }
.hero h1, .hero .lead, .hero .eyebrow, .hero-rating { text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45); }
.hero h1 .grad-text { text-shadow: none; filter: drop-shadow(0 2px 14px rgba(0,0,0,.5)); }
.hero .lead {
  font-size: clamp(18px, 2vw, 21px); color: #fff; max-width: 600px; margin: 22px 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: 15px; color: #dcdae3; text-decoration: none;
}
.stars { color: var(--star); letter-spacing: 2px; font-size: 17px; }
.hero-rating:hover span:last-child { text-decoration: underline; }

@media (max-width: 700px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(20,17,28,.45) 0%, rgba(20,17,28,.15) 30%, rgba(20,17,28,.55) 60%, rgba(20,17,28,.88) 100%);
  }
}

#work, #reviews, #about {
  background:
    radial-gradient(60% 45% at 100% 0%, rgba(123,92,245,.16), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(79,142,247,.12), transparent 70%),
    var(--bg);
}

/* ---------- Trust strip ---------- */
.trust { background: var(--bg-2); border-block: 1px solid var(--line); }
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust li {
  display: flex; gap: 14px; align-items: center; padding: 26px 22px;
  border-left: 1px solid var(--line);
}
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust .ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(79,142,247,.18), rgba(155,63,224,.22));
  border: 1px solid rgba(123,92,245,.35);
}
.trust .ic svg { width: 22px; height: 22px; color: #c9bcff; }
.trust strong { display: block; font-size: 17px; line-height: 1.2; }
.trust span { color: var(--muted); font-size: 14px; line-height: 1.35; display: block; margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 130px) 0; position: relative; }
.light { background: var(--paper); color: var(--ink); }
.light .eyebrow { color: var(--ink-muted); }

/* ---------- Work / gallery ---------- */
.work-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.work-top .section-head { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  font-weight: 650; font-size: 15px; transition: all .15s ease;
}
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  grid-auto-flow: dense;
}
.work-item { margin: 0; position: relative; aspect-ratio: 3 / 4; min-width: 0; }
.work-item.is-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.work-item.is-wide { grid-column: span 2; aspect-ratio: auto; }
.work-item[hidden] { display: none; }
.work-open {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--surface);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative;
}
.work-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work-open::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,10,15,.85) 100%);
  pointer-events: none;
}
.work-open:hover img { transform: scale(1.04); }
.work-item figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; pointer-events: none;
  font-size: 15px; font-weight: 600; line-height: 1.3; color: #fff;
}
.tag {
  display: inline-block; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; margin-bottom: 7px;
  background: rgba(11,10,15,.6); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
}
.gallery-note { color: var(--muted); font-size: 15px; margin-top: 14px; }
.gallery-note a { color: var(--text); font-weight: 650; }

/* ---------- Before / After ---------- */
.ba {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  margin-top: clamp(64px, 9vw, 110px);
  padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.ba h3 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 850; text-transform: uppercase; line-height: 1; margin-bottom: 16px; }
.ba p { color: var(--muted); }
.ba blockquote {
  margin: 22px 0 0; padding: 18px 20px; border-left: 4px solid; border-image: var(--grad) 1;
  background: var(--surface-2); border-radius: 0 10px 10px 0; font-size: 16px;
}
.ba blockquote footer { color: var(--muted); font-size: 14px; margin-top: 8px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-pair figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.ba-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-label {
  position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(11,10,15,.75); backdrop-filter: blur(6px); color: #fff;
}
.ba-pair figure:last-child .ba-label { background: var(--grad); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--paper-line); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(22,20,27,.45); }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--ink-muted); font-size: 16px; }
.service ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.service li {
  font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--paper); color: var(--ink-muted); border: 1px solid var(--paper-line);
}
.service-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 750; text-decoration: none; color: var(--ink);
}
.service-link svg { width: 18px; height: 18px; color: #6b3fd6; transition: transform .2s ease; }
.service-link:hover svg { transform: translateX(4px); }
.service-quote {
  background: var(--ink); color: var(--text); border: 0;
  background-image: radial-gradient(circle at 100% 0%, rgba(123,92,245,.35), transparent 55%);
}
.service-quote .service-body { justify-content: space-between; gap: 22px; padding: 30px; }
.service-quote p { color: var(--muted); }
.service-quote li { background: rgba(255,255,255,.06); color: var(--muted); border-color: var(--line); }
.service-quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; color: var(--text); }
.service-quote blockquote footer { margin-top: 10px; font-size: 14px; color: var(--muted); }
.service-quote .service-link { color: var(--text); }
.also { margin-top: 34px; color: var(--ink-muted); font-size: 16px; }
.also strong { color: var(--ink); }

/* ---------- Reviews ---------- */
.reviews-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.reviews-top .section-head { margin-bottom: 0; }
.score {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
}
.score .big { font-size: 44px; font-weight: 850; line-height: 1; }
.score small { display: block; color: var(--muted); font-size: 14px; }
.reviews-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.review {
  grid-column: span 2; margin: 0; padding: 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.review.wide { grid-column: span 3; }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.review blockquote { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: #e4e2ea; }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-weight: 800; color: #fff; background: var(--grad); font-size: 17px;
}
.review cite { font-style: normal; font-weight: 700; display: block; line-height: 1.2; }
.review figcaption span { color: var(--muted); font-size: 14px; }
.source {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  color: var(--muted); letter-spacing: .04em;
}
.source svg { width: 16px; height: 16px; }
.recommends { color: #e4e2ea; font-size: 14px; font-weight: 650; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--paper-line); counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: 56px; font-weight: 900; line-height: 1; margin-bottom: 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-muted); margin: 0; font-size: 16px; }
.process-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.process-cta p { margin: 0; color: var(--ink-muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-badge {
  position: absolute; right: -14px; bottom: 28px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--grad); color: #fff; box-shadow: var(--shadow); text-align: center;
}
.about-badge strong { display: block; font-size: 40px; font-weight: 900; line-height: 1; }
.about-badge span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-copy p { color: var(--muted); font-size: 18px; }
.about-copy p.first { color: var(--text); font-size: 20px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.fact { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.fact strong { display: block; font-size: 26px; font-weight: 850; line-height: 1.1; }
.fact span { font-size: 14px; color: var(--muted); }

/* ---------- Areas + FAQ ---------- */
.areas-faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.areas h2, .faq h2 { font-size: clamp(28px, 4vw, 44px); }
.area-list { list-style: none; margin: 26px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li {
  padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--paper-line);
  font-weight: 650; font-size: 15px;
}
.area-list li.main { background: var(--ink); color: #fff; border-color: var(--ink); }
.areas p { color: var(--ink-muted); }
.faq-list { margin-top: 26px; border-top: 1px solid var(--paper-line); }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 18px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 3px solid #6b3fd6; border-bottom: 3px solid #6b3fd6; transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-muted); padding: 0 30px 20px 0; margin: 0; font-size: 16px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .55;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(79,142,247,.3), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(155,63,224,.35), transparent 60%);
}
.contact .wrap { position: relative; z-index: 1; }
.contact-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 60px); border-radius: 28px;
  background: rgba(23, 20, 31, .75); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.contact h2 { font-size: clamp(34px, 5.4vw, 64px); }
.contact-copy p { color: var(--muted); font-size: 18px; margin-top: 20px; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions .btn { width: 100%; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list svg { width: 18px; height: 18px; color: #c9bcff; flex: none; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); transition: background .15s ease;
}
.socials a:hover { background: rgba(255,255,255,.15); }
.socials svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: #14121c; border-top: 1px solid var(--line); padding: 54px 0 calc(34px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-grid img { height: 64px; width: auto; margin-bottom: 14px; }
.site-footer h2 { font-size: 14px; letter-spacing: .14em; color: var(--text); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(26, 23, 36, 0.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  gap: 10px; grid-template-columns: 1.6fr 1fr;
  transform: translateY(110%); transition: transform .3s ease;
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 50px; padding: 0 14px; font-size: 16px; width: 100%; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(7,6,9,.96); color: var(--text);
}
.lightbox::backdrop { background: rgba(7,6,9,.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.lb-count { color: var(--muted); font-size: 14px; font-weight: 600; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; user-select: none; }
.lb-caption { text-align: center; padding: 14px 16px 22px; font-weight: 600; }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: 0; }
  .nav.is-open {
    display: block; position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(26, 23, 36, 0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
  }
  .nav.is-open ul { flex-direction: column; gap: 0; }
  .nav.is-open a { display: block; padding: 14px 0; font-size: 19px; color: var(--text); border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .review, .review.wide { grid-column: span 1; }
  .review.feature { grid-column: span 2; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .brand img { height: 44px; }
  .header-cta .btn-wa { display: none; }
  .ba, .about-grid, .areas-faq, .contact-card { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .about-badge { right: 12px; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
  .lb-caption { padding-top: 70px; }
}

@media (max-width: 600px) {
  .hero { min-height: 92svh; }
  .hero-actions .btn { width: 100%; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .review.feature { grid-column: span 1; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { flex-direction: column; align-items: flex-start; padding: 20px 14px; gap: 10px; }
  .trust li:nth-child(odd) { padding-left: 0; }
  .trust strong { font-size: 15px; }
  .trust span { font-size: 13px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .work-item figcaption { left: 10px; right: 10px; bottom: 10px; font-size: 13px; }
  .tag { font-size: 10px; padding: 3px 7px; margin-bottom: 5px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .fact { padding: 14px 10px; }
  .fact strong { font-size: 20px; }
  .fact span { font-size: 12px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.work-item.is-feature figcaption { left: 22px; bottom: 20px; font-size: 19px; }
@media (max-width: 600px) { .work-item.is-feature figcaption { left: 12px; bottom: 12px; font-size: 15px; } }

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(30px, 8.6vw, 44px); }
  .hero h1 .grad-text { white-space: normal; }
}

/* ---- New hero photo ---- */
.hero-media img {
  filter: none;
  object-position: 68% 55%;
}
.hero::after {
  background:
    linear-gradient(180deg, rgba(20,17,28,.55) 0%, rgba(20,17,28,0) 22%, rgba(20,17,28,0) 58%, rgba(20,17,28,.85) 100%),
    linear-gradient(90deg, rgba(20,17,28,.82) 0%, rgba(20,17,28,.55) 35%, rgba(20,17,28,.12) 62%, rgba(20,17,28,0) 75%);
}
.hero { padding-top: calc(var(--header-h) + 90px); }

@media (max-width: 700px) {
  .hero-media img { object-position: 62% 50%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(20,17,28,.55) 0%, rgba(20,17,28,.08) 24%, rgba(20,17,28,.45) 50%, rgba(20,17,28,.9) 100%);
  }
  .hero { padding-top: calc(var(--header-h) + 60px); }
}

/* ---- Overlapping logo tab ---- */
.site-header { overflow: visible; }
.brand {
  align-self: flex-start;
  position: relative;
  background: rgba(26, 23, 36, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 20px 18px;
  border-radius: 0 0 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.6);
  transition: padding .25s ease, border-radius .25s ease;
}
.brand::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--grad);
}
.brand img {
  height: 104px; width: auto;
  transition: height .25s ease;
}
.site-header.is-solid .brand { padding: 8px 14px 10px; border-radius: 0 0 14px 14px; }
.site-header.is-solid .brand img { height: 54px; }

@media (max-width: 860px) {
  .brand { padding: 10px 12px 13px; border-radius: 0 0 16px 16px; }
  .brand::after { left: 12px; right: 12px; }
  .brand img { height: 68px; }
  .site-header.is-solid .brand { padding: 6px 10px 8px; }
  .site-header.is-solid .brand img { height: 42px; }
}

/* ---- Lighter hero overlay on desktop ---- */
@media (min-width: 701px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(20,17,28,.35) 0%, rgba(20,17,28,0) 16%, rgba(20,17,28,0) 65%, rgba(20,17,28,.55) 100%),
      linear-gradient(90deg, rgba(20,17,28,.42) 0%, rgba(20,17,28,.22) 38%, rgba(20,17,28,0) 62%);
  }
  .hero-media img { filter: none; }
  .hero h1, .hero .lead, .hero .eyebrow, .hero-rating {
    text-shadow: 0 2px 20px rgba(0,0,0,.65), 0 1px 4px rgba(0,0,0,.55);
  }
  .hero h1 .grad-text { filter: drop-shadow(0 2px 16px rgba(0,0,0,.6)); }
}
