/* =========================================================
   HEXAGON LETTING CO LTD — Site stylesheet
   Palette: signature blue + deep navy + soft white
   Type: Manrope (sans) throughout, with a mono accent
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --blue: #1d4ed8;
  --blue-600: #1846c2;
  --blue-50: #eef2ff;
  --navy: #0f1a3a;
  --navy-700: #15244d;
  --ink: #0b1226;
  --muted: #5b6478;
  --line: #e3e7ef;
  --panel: #f3f4f6;
  --bg: #ffffff;
  --soft: #f7f8fb;
  --warn: #b45309;
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 58, .06);
  --shadow: 0 12px 36px -18px rgba(15, 26, 58, .25);
  --shadow-lg: 0 30px 80px -30px rgba(15, 26, 58, .35);
  --font: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow.muted { color: var(--muted); }

h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; line-height: 1.2; }
h4 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
p.lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--navy-700); line-height: 1.45; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f0f2f8; }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #c8d0e3;
  font-size: 13px;
  padding: 9px 0;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1360px;
}
.topbar a { color: #c8d0e3; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar .left, .topbar .right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar .right .sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.topbar .wa { display: inline-flex; align-items: center; }
.topbar .wa::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #25d366; margin-right: 7px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 12px; padding-bottom: 12px;
  max-width: 1360px;
}
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo img { height: 72px; width: auto; max-width: none; display: block; image-rendering: -webkit-optimize-contrast; }
.site-logo .lockup-text { display: none; }

.nav-primary { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; min-width: 0; }
.nav-primary > li { position: relative; list-style: none; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; }
.nav-primary > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 9px; color: var(--navy); font-weight: 600; font-size: 13.5px;
  border-radius: 8px; white-space: nowrap;
}
.nav-primary > li > a:hover { background: var(--soft); text-decoration: none; color: var(--blue); }
.nav-primary > li > a .chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); opacity: .6; }
.nav-primary .submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px; margin-top: 6px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: all .15s ease;
}
.nav-primary > li:hover > .submenu,
.nav-primary > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-primary .submenu a {
  display: block; padding: 9px 12px; color: var(--navy); font-size: 14px; font-weight: 500;
  border-radius: 6px;
}
.nav-primary .submenu a:hover { background: var(--blue-50); color: var(--blue); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { white-space: nowrap; }

/* Hamburger button */
.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; flex-shrink: 0;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; margin: 0 auto;
  background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-close { display: none; }
.mobile-drawer { display: none; }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.5);
  opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 110;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

/* ---------- Hex motif ---------- */
.hex-grid-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(29,78,216,.10) 1px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

.hex-tile {
  width: 100%; aspect-ratio: 1 / 1.1547;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 80px 0 110px;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
}
.hero h1 .accent { color: var(--blue); }
.hero h1 .underline-accent {
  position: relative;
  background: linear-gradient(180deg, transparent 70%, rgba(29,78,216,.18) 70%);
  padding: 0 4px;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px; margin-top: 32px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-stats .stat { padding: 4px 18px 4px 0; }
.hero-stats .stat:first-child { padding-left: 0; }
.hero-stats .num {
  font-family: var(--font); font-weight: 700; font-size: 30px; color: var(--navy);
  letter-spacing: -0.02em;
}
.hero-stats .num .unit { font-size: 18px; color: var(--blue); font-weight: 600; }
.hero-stats .label { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

/* Hero visual: layered hexagon composition */
.hero-visual {
  position: relative; aspect-ratio: 1.05 / 1;
}
.hero-visual .hex-photo {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background-size: cover; background-position: center;
}
.hero-visual .hex-photo.h1 { top: 0; left: 8%; width: 58%; aspect-ratio: 1 / 1.1547;
  background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1200&q=80');
}
.hero-visual .hex-photo.h2 { top: 38%; right: 0; width: 46%; aspect-ratio: 1 / 1.1547;
  background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1200&q=80');
}
.hero-visual .hex-photo.h3 { bottom: 0; left: 22%; width: 36%; aspect-ratio: 1 / 1.1547;
  background-image: url('https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=1200&q=80');
}
.hero-visual .hex-fill {
  position: absolute; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hero-visual .hex-fill.b1 { top: 18%; right: 14%; width: 22%; aspect-ratio: 1 / 1.1547; background: var(--blue); }
.hero-visual .hex-fill.b2 { bottom: 8%; left: 4%; width: 16%; aspect-ratio: 1 / 1.1547; background: var(--navy); }
.hero-visual .hex-fill.b3 { top: 4%; right: 30%; width: 10%; aspect-ratio: 1 / 1.1547; background: #cbd5e1; }

/* Hero variant B: editorial / centered */
body[data-hero="b"] .hero-grid { grid-template-columns: 1fr; text-align: center; max-width: 920px; margin: 0 auto; }
body[data-hero="b"] .hero-visual { display: none; }
body[data-hero="b"] .hero-meta { justify-content: center; }
body[data-hero="b"] .hero-stats { margin-top: 70px; }
body[data-hero="b"] .hero-band {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
body[data-hero="b"] .hero-band .tile {
  aspect-ratio: 1 / 1.1547;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background-size: cover; background-position: center;
}
body:not([data-hero="b"]) .hero-band { display: none; }

/* ---------- Section building blocks ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head .title { max-width: 720px; }
.section-head h2 + p { color: var(--muted); margin-top: 14px; max-width: 600px; }
.section-head .actions { flex-shrink: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d0d6e2; }
.service-card .thumb {
  aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  position: relative;
}
.service-card .thumb::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to top, rgba(15,26,58,.35), transparent);
}
.service-card .body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card .body .eyebrow { margin-bottom: 10px; }
.service-card .body h3 { color: var(--navy); margin-bottom: 10px; }
.service-card .body p { color: var(--muted); font-size: 15px; flex: 1; }
.service-card .body .link {
  margin-top: 14px; color: var(--blue); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card .body .link .arrow { transition: transform .15s ease; }
.service-card:hover .body .link .arrow { transform: translateX(3px); }

/* Why us / values */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value {
  padding: 28px 26px; border-radius: var(--radius);
  background: var(--soft); border: 1px solid var(--line);
}
.value .num {
  font-family: var(--mono); font-size: 12px; color: var(--blue);
  letter-spacing: 0.16em; margin-bottom: 18px;
}
.value h4 { color: var(--navy); margin-bottom: 10px; font-size: 18px; }
.value p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* CTA strip */
.cta-strip {
  background: var(--navy); color: #fff; border-radius: 24px;
  padding: 56px 56px; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 60%; height: 180%;
  background:
    repeating-linear-gradient(60deg, transparent 0 28px, rgba(255,255,255,.04) 28px 29px),
    repeating-linear-gradient(-60deg, transparent 0 28px, rgba(255,255,255,.04) 28px 29px);
  transform: rotate(8deg);
  pointer-events: none;
}
.cta-strip .row { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,.75); margin-top: 14px; max-width: 520px; }
.cta-strip .actions { display: flex; gap: 12px; justify-content: flex-end; }

/* Audience switcher */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience-card {
  display: block;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px; transition: all .2s ease;
  position: relative; overflow: hidden;
}
.audience-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.audience-card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.audience-card .icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.audience-card h4 { color: var(--navy); margin-bottom: 6px; font-size: 17px; }
.audience-card p { color: var(--muted); font-size: 14px; margin: 0; }
.audience-card .go {
  position: absolute; top: 24px; right: 24px;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); transition: all .2s ease;
}
.audience-card:hover .go { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Logos / trust strip */
.trust-strip {
  padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-strip .row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.trust-strip .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.trust-strip .badges { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.trust-strip .badge { font-weight: 600; color: var(--navy); font-size: 14px; letter-spacing: 0.02em; }
.trust-strip .badges.logos { gap: 22px; align-items: center; flex-wrap: wrap; }
.cred-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 156px; height: 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  flex: 0 0 auto;
  transition: border-color .15s ease, transform .15s ease;
}
.cred-logo:hover { border-color: rgba(29,78,216,.35); transform: translateY(-1px); }
.cred-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; }
.cred-logo--dark { background: var(--navy); border-color: var(--navy); }
.cred-logo--green { background: #1f8a5b; border-color: #1f8a5b; }
.cred-logo--maroon { background: #7a1d2b; border-color: #7a1d2b; }

/* Contact form */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.5; }
.form-status.ok { background: #e8f5ee; border: 1px solid #1f8a5b; color: #14693f; }
.form-status.err { background: #fdecea; border: 1px solid #c0392b; color: #962317; }
@media (max-width: 760px) {
  .trust-strip .row { gap: 18px; }
  .cred-logo { width: calc(50% - 11px); height: 64px; }
}
@media (max-width: 480px) {
  .cred-logo { width: 100%; }
}

/* Posts list */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.post .thumb { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.post .body { padding: 22px 22px 24px; }
.post .meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.post .meta .tag { color: var(--blue); }
.post h3 { font-size: 18px; color: var(--navy); line-height: 1.3; }
.post p { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy); color: #fff;
  padding: 80px 0 110px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,.07) 1.5px, transparent 2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to right, transparent, black 50%, transparent);
}
.page-hero .crumbs {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 28px;
}
.page-hero .crumbs a { color: rgba(255,255,255,.7); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 680px; margin-top: 20px; font-size: 18px; line-height: 1.5; }
.page-hero .actions { margin-top: 36px; display: flex; gap: 12px; }

/* ---------- Content blocks ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split .media {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
}
.split h2 + p { color: var(--muted); margin-top: 16px; max-width: 540px; }
.split ul.checks { padding: 0; margin: 24px 0 0; list-style: none; }
.split ul.checks li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
  align-items: start;
}
.split ul.checks li:last-child { border-bottom: 1px solid var(--line); }
.split ul.checks li::before {
  content: ""; width: 14px; height: 14px; margin-top: 4px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--blue);
}

/* Stat row */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat-row .cell {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.stat-row .cell:last-child { border-right: 0; }
.stat-row .num { font-size: 38px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.stat-row .num .unit { color: var(--blue); font-weight: 600; font-size: 22px; }
.stat-row .label { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* FAQ */
.faqs { max-width: 820px; margin: 0 auto; }
.faq {
  padding: 24px 8px; border-top: 1px solid var(--line);
}
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 600; color: var(--navy); font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--navy);
  flex-shrink: 0;
}
.faq[open] summary .ic { background: var(--blue); border-color: var(--blue); color: #fff; }
.faq[open] summary .ic .plus::after { transform: rotate(0); }
.faq summary .ic .plus { position: relative; width: 12px; height: 12px; display: inline-block; }
.faq summary .ic .plus::before, .faq summary .ic .plus::after { content: ""; position: absolute; background: currentColor; }
.faq summary .ic .plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq summary .ic .plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); transition: transform .2s ease; }
.faq[open] summary .ic .plus::after { transform: translateX(-50%) rotate(90deg); }
.faq .answer { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 720px; }

/* Forms */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,.10);
}
.field textarea { resize: vertical; min-height: 110px; }

/* Team / cards */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card .photo {
  aspect-ratio: 4 / 5; background-size: cover; background-position: center; background-color: #cbd5e1;
}
.team-card .body { padding: 20px 22px 24px; }
.team-card .body h4 { color: var(--navy); margin-bottom: 4px; font-size: 18px; }
.team-card .body .role { font-size: 13px; color: var(--blue); font-weight: 600; }

/* Property areas grid */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-pill {
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 14px 22px; font-weight: 600; color: var(--navy); font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.area-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Footer */
.faq-divider { margin: 64px 0 28px; padding-top: 48px; border-top: 1px solid var(--line); }
.faq-divider .eyebrow { margin-bottom: 8px; }
.faq-divider h2 { margin: 6px 0 8px; font-size: 28px; }
.faq-divider p { color: var(--muted); margin: 0; max-width: 56ch; }

/* Google reviews */
.reviews-section .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.reviews-summary { flex: 0 0 auto; text-align: right; }
.reviews-summary .rs-score { font-size: 56px; font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.reviews-summary .rs-stars { color: #f5b400; font-size: 22px; letter-spacing: 2px; margin-top: 6px; }
.reviews-summary .rs-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.review-card:hover { border-color: rgba(29,78,216,.35); box-shadow: 0 8px 24px rgba(15,23,42,.07); transform: translateY(-2px); }
.review-card .rc-stars { color: #f5b400; font-size: 16px; letter-spacing: 2px; }
.review-card .rc-body { color: var(--ink); font-size: 15px; line-height: 1.55; margin: 0; flex: 1; }
.review-card .rc-meta { color: var(--muted); font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); }
.review-card .rc-meta strong { color: var(--navy); }
.reviews-cta { margin-top: 36px; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .reviews-section .section-head { align-items: flex-start; }
  .reviews-summary { text-align: left; }
}
@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

.site-footer { background: var(--ink); color: #c8d0e3; padding: 80px 0 28px; }
.site-footer .row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px;
  margin-bottom: 60px;
}
.site-footer .brand-col img {
  height: 64px; width: auto; margin-bottom: 18px;
  background: #fff; padding: 12px 16px; border-radius: 10px;
  image-rendering: -webkit-optimize-contrast;
}
.site-footer .brand-col p { color: #8b94aa; font-size: 14px; max-width: 320px; }
.site-footer h5 { color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #aab3c8; font-size: 14px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .contact-col .item { margin-bottom: 16px; }
.site-footer .contact-col .item .label { font-size: 12px; color: #b8c0d4; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.site-footer .contact-col .item .value { color: #fff; font-size: 15px; font-weight: 500; background: none; border: 0; padding: 0; border-radius: 0; }
.site-footer .contact-col .item .value a { color: #fff; }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 13px; color: #7a8298;
}
.site-footer .bottom .legal { display: flex; gap: 18px; }

/* Tweaks Panel base (only on home) */
.tw-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 16px 18px 18px;
  font-family: var(--font); font-size: 13px;
  display: none;
}
.tw-panel.open { display: block; }
.tw-panel h6 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tw-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tw-row:last-child { border-bottom: 0; }
.tw-row label { color: var(--navy); font-weight: 600; font-size: 13px; }
.tw-seg { display: flex; gap: 4px; background: var(--soft); padding: 3px; border-radius: 8px; }
.tw-seg button {
  border: 0; background: transparent; padding: 6px 10px; border-radius: 6px;
  cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted);
}
.tw-seg button.on { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.tw-swatches { display: flex; gap: 6px; }
.tw-sw { width: 22px; height: 22px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; }
.tw-sw.on { border-color: var(--navy); }
.tw-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }

/* Palette tweaks */
body[data-palette="gold"] { --blue: #b8862a; --blue-600: #9c701f; --blue-50: #fdf6e7; }
body[data-palette="emerald"] { --blue: #047857; --blue-600: #035e44; --blue-50: #e7f5ef; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid, .split, .cta-strip .row { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: initial; }
  .card-grid, .card-grid.four, .value-grid, .audience-grid, .team-grid, .area-grid, .posts {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer .row { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-row .cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat-row .cell:nth-last-child(-n+2) { border-bottom: 0; }
  .menu-toggle { display: inline-flex; }
  .section { padding: 64px 0; }

  /* Desktop nav hidden; drawer drives navigation */
  .site-header .nav-primary { display: none; }

  /* Slide-in drawer (appended to <body>) */
  .mobile-drawer {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(86vw, 360px);
    background: #fff; z-index: 120;
    transform: translateX(100%); transition: transform .28s ease, visibility .28s ease;
    visibility: hidden;
    padding: 80px 20px 40px; overflow-y: auto;
    box-shadow: -16px 0 48px rgba(15,23,42,.18);
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open .mobile-drawer { transform: translateX(0); visibility: visible; }
  .nav-close {
    display: block; position: absolute; top: 18px; right: 18px;
    width: 42px; height: 42px; padding: 0; line-height: 1;
    font-size: 30px; color: var(--navy);
    background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .mobile-drawer .nav-primary {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 2px; flex-wrap: nowrap; min-width: 0;
  }
  .mobile-drawer .nav-primary > li { width: 100%; position: static; }
  .mobile-drawer .nav-primary > li > a {
    font-size: 16px; padding: 13px 12px; border-radius: 10px;
    justify-content: space-between; color: var(--navy);
  }
  .mobile-drawer .nav-primary > li > a .chev { display: none; }
  .mobile-drawer .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; min-width: 0; margin: 0 0 6px;
    padding: 0 0 6px 12px; background: transparent;
  }
  .mobile-drawer .submenu a { font-size: 14.5px; padding: 9px 12px; color: var(--muted); }
  .drawer-cta { margin-top: 16px; justify-content: center; }
  /* Keep the header CTA from overflowing the row on small screens */
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  /* Top bar: drop secondary items, keep phone + WhatsApp */
  .topbar { font-size: 12px; }
  .topbar .right { gap: 14px; }
  .topbar .right .sep,
  .topbar .right a[href="report-a-repair.html"],
  .topbar .right a[href="contact.html"] { display: none; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .site-logo img { height: 56px; }
  .header-cta .btn .arrow { display: none; }
  .header-cta .btn { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 600px) {
  .card-grid, .card-grid.four, .value-grid, .audience-grid, .team-grid, .area-grid, .posts,
  .form-row, .site-footer .row { grid-template-columns: 1fr; }
  .topbar .left .em { display: none; }
  .topbar .left, .topbar .right { gap: 12px; }
  .cta-strip { padding: 36px 24px; }
  .cta-strip .actions { justify-content: flex-start; }
  .cta-strip .actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .section { padding: 52px 0; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .reviews-section .section-head { flex-direction: column; }
  .header-cta .btn { font-size: 13px; }
  .site-logo img { height: 50px; }
}
@media (max-width: 380px) {
  .topbar .right a:not(.wa) { display: none; }
  h1 { font-size: 28px; }
}
