/* ==========================================================================
   CAS Systems — prototype stylesheet
   Brand colours are taken from the existing logo (navy blue) with an amber
   accent for calls-to-action. Change the tokens below to restyle the site.
   ========================================================================== */

:root {
  --brand: #1a4f8f;
  --brand-600: #154277;
  --brand-800: #0c2a50;
  --brand-900: #071a33;
  --brand-50: #eef4fb;
  --brand-100: #dbe7f6;
  --accent: #f5a524;
  --accent-600: #e08e0b;

  --ink: #0f1b2d;
  --ink-2: #3c4a5e;
  --ink-3: #5a6880;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .08);
  --shadow: 0 10px 30px -12px rgba(15, 27, 45, .25);
  --shadow-lg: 0 30px 60px -20px rgba(7, 26, 51, .45);

  --container: 1180px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

/* Browser surfaces */
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--brand-900); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 0 0 12px 12px; }
.skip-link:focus { top: 0; color: #fff; }
.noscript-bar { margin: 0; padding: 12px 16px; text-align: center; background: var(--brand-900); color: #fff; font-weight: 600; }
.noscript-bar a { color: var(--accent); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; font-family: inherit;
  line-height: 1.2; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-accent { background: var(--accent); color: var(--brand-900); box-shadow: 0 8px 20px -8px rgba(245, 165, 36, .7); }
.btn-accent:hover { background: var(--accent-600); color: var(--brand-900); transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--brand-900); color: #c9d6e8; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 27, 45, .4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-img { height: 64px; width: auto; }
.site-footer .logo-img { height: 76px; }
.logo-mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, var(--brand), var(--brand-800)); display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(26, 79, 143, .7); flex: none; }
.logo-mark svg { width: 26px; height: 26px; color: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.logo-text small { white-space: nowrap; font-size: .68rem; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); background: var(--brand-50); }
.nav-links a.active { color: var(--brand); background: var(--brand-50); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: flex; flex-direction: column; white-space: nowrap; text-align: right; line-height: 1.15; }
.nav-phone small { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.nav-phone a { font-weight: 800; color: var(--ink); font-size: 1.05rem; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #d5e0ef;
  background: linear-gradient(160deg, var(--brand-800), var(--brand-900) 70%);
}
.hero::after { /* soft light glows, kept off the base so text sits on solid navy */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(64, 132, 214, .45), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(245, 165, 36, .14), transparent 60%);
}
.hero::before { /* subtle signal-wave pattern */
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 104px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { color: #c3d1e6; max-width: 560px; margin-bottom: 32px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; list-style: none; }
.trust-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; font-size: .88rem; font-weight: 600; color: #e6edf7; }
.trust-chips svg { width: 16px; height: 16px; color: var(--accent); }

.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .08); transform: rotate(1.2deg); }
.hero-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-photo-2 { position: absolute; width: 44%; left: -8%; bottom: -14%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid #fff; transform: rotate(-3deg); }
.hero-photo-2 img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.hero-photo-3 { position: absolute; width: 34%; right: -6%; bottom: -16%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid #fff; transform: rotate(2.5deg); }
.hero-photo-3 img { aspect-ratio: 1; object-fit: cover; width: 100%; background: #fff; }
.hero-badge { position: absolute; top: -18px; right: -10px; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.hero-badge strong { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; }
.hero-badge span { font-size: .8rem; font-weight: 700; line-height: 1.25; color: var(--ink-2); }

/* Inner-page hero */
.page-hero { position: relative; overflow: hidden; color: #c3d1e6; background: linear-gradient(160deg, var(--brand-800), var(--brand-900) 75%); }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 400px at 90% -20%, rgba(64, 132, 214, .45), transparent 60%); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 28px 28px; }
.page-hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .lead { color: #c3d1e6; max-width: 640px; margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #8fa7c7; }
.crumbs a { color: #c3d1e6; }

/* ---------- Accreditation strip ---------- */
.accred { border-bottom: 1px solid var(--line); background: #fff; }
.accred .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.accred p { margin: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
.accred-logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: flex-end; flex: 1 1 0; min-width: 0; }
.accred p { flex: none; }
.accred-logos img { height: 52px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.accred-logos img:hover { filter: none; opacity: 1; }
.accred-logos .stat { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.accred-logos .stat svg { width: 22px; height: 22px; color: var(--brand); }

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

.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; color: inherit; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.service-card .media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--brand-50); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .media img { transform: scale(1.05); }
.service-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card p { font-size: .97rem; }
.service-card .more { margin-top: auto; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.service-card .more svg { width: 18px; height: 18px; transition: transform .2s; }
.service-card:hover .more svg { transform: translateX(4px); }

.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: .95rem; }

/* Wide service card (homepage networking) */
.service-wide { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-wide:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.service-wide p { font-size: .97rem; margin-bottom: 14px; }
.service-wide .more { font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.service-wide .more svg { width: 18px; height: 18px; transition: transform .2s; }
.service-wide:hover .more svg { transform: translateX(4px); }
.sw-points { list-style: none; display: grid; gap: 4px; }
.sw-points li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-weight: 600; color: var(--ink); }
.sw-points li + li { border-top: 1px solid var(--line); }
.sw-points svg { width: 22px; height: 22px; flex: none; color: var(--brand); }

/* Photo still to supply */
.photo-todo { aspect-ratio: 4/3; border-radius: var(--radius-lg); border: 2px dashed var(--accent-600); background: #fff6e0; color: #8a5a00; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px; text-align: center; font-weight: 600; }
.service-card .media .photo-todo { aspect-ratio: auto; height: 100%; border-radius: 0; border-width: 0 0 2px; padding: 16px; font-size: .9rem; }
.photo-todo svg { width: 44px; height: 44px; }
.photo-todo span { max-width: 26ch; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4f8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: 12px 28px; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.split-media .ratio-43 { aspect-ratio: 4/3; }
.split-media .ratio-34 { aspect-ratio: 4/3.6; }
.float-card { position: absolute; right: -18px; bottom: -22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; display: flex; gap: 14px; align-items: center; max-width: 280px; }
.float-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--brand-900); display: grid; place-items: center; flex: none; }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.float-card strong + span { display: block; margin-top: 3px; font-size: .85rem; line-height: 1.4; color: var(--ink-3); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.stat-box strong { display: block; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.stat-box span { color: #b6c6dd; font-size: .92rem; font-weight: 600; }
.dark { background: linear-gradient(160deg, var(--brand-800), var(--brand-900)); color: #c3d1e6; }
.dark h2, .dark h3 { color: #fff; }

/* ---------- Housing associations (homepage) ---------- */
.ha-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ha-split h2 { text-wrap: balance; }
.ha-split .lead { margin-bottom: 28px; }
.ha-list { list-style: none; display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px 28px; box-shadow: var(--shadow-sm); }
.ha-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; color: var(--ink); font-weight: 600; }
.ha-list li + li { border-top: 1px solid var(--line); }
.ha-list svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
.ha-list small { display: block; font-weight: 500; color: var(--ink-3); font-size: .92rem; margin-top: 2px; }

/* ---------- Testimonial ---------- */
.quote-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 860px; margin: 0 auto; }
.quote-card .mark { position: absolute; top: -26px; left: 40px; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); display: grid; place-items: center; color: var(--brand-900); }
.quote-card .mark svg { width: 28px; height: 28px; }
.stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 14px; }
.stars svg { width: 20px; height: 20px; }
.quote-card blockquote { margin: 0 0 24px; font-size: 1.25rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--ink); }
.quote-card cite span { display: block; font-weight: 500; color: var(--ink-3); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px; background: linear-gradient(140deg, var(--brand), var(--brand-800)); color: #d5e0ef; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 100% 0, rgba(245, 165, 36, .25), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Spec grid (CCTV) ---------- */
.spec { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.spec .big { font-size: 1.9rem; font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.spec h3 { font-size: 1.02rem; margin-bottom: 6px; }
.spec p { font-size: .94rem; margin: 0; }

.brand-row { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 24px; }
.brand-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; place-items: center; aspect-ratio: 1; }
.brand-tile { overflow: hidden; }
.brand-tile img { width: 100%; height: 100%; object-fit: contain; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: .9rem; color: var(--accent-600); letter-spacing: .1em; margin-bottom: 12px; }
.step h3 { font-size: 1.08rem; }
.step p { margin: 0; font-size: .94rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.filters button { font-family: inherit; font-weight: 600; font-size: .92rem; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; min-height: 44px; transition: background-color .2s, border-color .2s, color .2s; }
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.masonry { columns: 3 280px; column-gap: 20px; }
.masonry figure { margin: 0 0 20px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--brand-50); }
.masonry .zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.masonry .zoom:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.masonry img { width: 100%; transition: transform .5s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(7, 26, 51, .85)); color: #fff; font-weight: 600; font-size: .95rem; }
.masonry figure.hide { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7, 18, 36, .92); display: none; align-items: center; justify-content: center; padding: 32px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox button svg { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; }
.contact-item + .contact-item { border-top: 1px solid var(--line); }
.contact-card > .contact-item:first-of-type { padding-top: 0; }
.contact-card > .contact-item:last-child { padding-bottom: 0; }
.contact-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; font-weight: 700; }
.contact-item p { margin: 0; color: var(--ink); font-weight: 600; }
.contact-item .phone-big { font-size: 1.5rem; font-weight: 800; color: var(--brand); letter-spacing: -.01em; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-3); margin: 0; }
.form-error { margin: 0; padding: 14px 18px; border-radius: 12px; background: #fdecec; color: #8a1c1c; font-weight: 600; }
.form-error a { color: inherit; text-decoration: underline; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form button[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-success { display: none; padding: 18px 20px; border-radius: 12px; background: #e8f6ee; color: #145c32; font-weight: 600; }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--brand-50); min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Placeholder for content still to be confirmed with the client */
.todo { display: inline-block; background: #fff6e0; border: 1px dashed var(--accent-600); color: #8a5a00; padding: 2px 10px; border-radius: 8px; font-size: .88em; font-weight: 600; }

.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--ink); }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
.notice p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: #9fb1ca; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c9d6e8; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo-text small { color: #8fa7c7; }
.footer-accred { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.footer-accred img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 6px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7f93b0; }

/* Mobile sticky call bar */
.mobile-call { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 10px; }
.mobile-call a { flex: 1; }

/* Reveal-on-scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .nav-phone { display: none; }
}
@media (max-width: 1120px) {
  .nav-links a { padding: 8px 9px; font-size: .9rem; }
  .logo-text small { display: none; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero .container, .split, .contact-grid, .cta-band, .ha-split { grid-template-columns: 1fr; }
  .ha-split { gap: 36px; }
  .hero .container { padding-top: 56px; padding-bottom: 96px; gap: 72px; }
  .hero-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .split { gap: 48px; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 32px; }
  .cta-band .btn-row { justify-content: flex-start; }

  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .service-wide { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .accred-logos { justify-content: flex-start; flex-basis: 100%; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .topbar .hide-sm { display: none; }
  .grid-2, .grid-3, .grid-4, .steps, .footer-grid { grid-template-columns: 1fr; }
  .brand-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-tile { padding: 10px; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .quote-card { padding: 40px 24px 28px; }
  .quote-card blockquote { font-size: 1.08rem; }
  .hero-badge { right: 0; }
  .hero-photo-2 { left: -2%; }
  .hero-photo-3 { right: -2%; }
  .float-card { right: 8px; left: 8px; max-width: none; }
  .accred-logos { gap: 24px; }
  .mobile-call { display: flex; }
}
