/* GASCOMEDIA Nigeria Limited — site styles
   Layout concept: a site-engineer's drawing set — an ink "title block" band for
   headers and footers, light working sheets for content, the brand orange used
   like a survey marker for actions and key labels only. */
/* Self-hosted fonts (SIL Open Font License) — no third-party font requests */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 800; font-stretch: 100% 125%; font-display: swap; src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: optional; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --brand: #F58534;          /* logo orange */
  --brand-strong: #E2711F;   /* hover */
  --on-brand: #1B1206;
  --ink: #13202A;            /* title-block band */
  --ink-2: #1C2D39;
  --band-fg: #EEF2F4;
  --band-muted: #A9B8C2;
  --paper: #F2F4F5;
  --surface: #FFFFFF;
  --line: #D7DEE2;
  --text: #17242D;
  --muted: #536570;
  --link: #B0520C;           /* orange dark enough for text on white */
  --focus: #1F6FD1;
  --ok: #1E7A46;
  --err: #B3261E;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.4vw, 3.8rem);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 4px;
  --header-h: 76px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #0B141A; --ink-2: #13212B; --band-fg: #E8EEF1; --band-muted: #9DB0BC;
    --paper: #0F181E; --surface: #15222B; --line: #273844; --text: #E4EBEF; --muted: #9DAEB9;
    --link: #F9A462; --focus: #6FA8FF; --ok: #5CC98A; --err: #FF8A80;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #0B141A; --ink-2: #13212B; --band-fg: #E8EEF1; --band-muted: #9DB0BC;
  --paper: #0F181E; --surface: #15222B; --line: #273844; --text: #E4EBEF; --muted: #9DAEB9;
  --link: #F9A462; --focus: #6FA8FF; --ok: #5CC98A; --err: #FF8A80;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 112%; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; font-stretch: 105%; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.prose { display: grid; gap: 1em; max-width: 68ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font-family: var(--display); font-stretch: 105%; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-family: var(--display); font-stretch: 105%; font-weight: 700; color: var(--link); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: var(--band-muted); font-size: 0.875rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.topbar a { color: var(--band-fg); text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar .contacts { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.45); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand img { height: 52px; width: auto; border-radius: 2px; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-stretch: 118%; font-weight: 800; letter-spacing: 0.02em; font-size: 1.05rem; }
.brand-text span { font-size: 0.75rem; color: var(--muted); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.brand-text { display: none; }
@media (min-width: 1180px) { .brand-text { display: grid; max-width: 130px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav a.nav-link, .nav button.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; border: 0; background: none; font-family: var(--body); cursor: pointer; border-radius: var(--radius); position: relative; }
.nav a.nav-link:hover, .nav button.nav-link:hover { color: var(--link); }
.nav [aria-current="page"], .nav .is-active > .nav-link { color: var(--link); }
.nav [aria-current="page"]::after, .nav .is-active > .nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--brand); }
.nav .caret { width: 14px; height: 14px; transition: transform .2s; }
.has-menu { position: relative; }
.submenu { position: absolute; top: calc(100% + 8px); left: -12px; min-width: 340px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px -20px rgba(0,0,0,.4); padding: 8px; list-style: none; margin: 0; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-menu:hover .submenu, .has-menu.open .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.has-menu.open .caret, .has-menu:hover .caret { transform: rotate(180deg); }
.submenu a { display: block; padding: 9px 12px; color: var(--text); text-decoration: none; border-radius: var(--radius); font-size: 0.97rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--paper); color: var(--link); }
.nav-cta { margin-left: 10px; min-height: 44px; padding: 10px 18px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a.nav-link, .nav button.nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; }
  .nav [aria-current="page"]::after, .nav .is-active > .nav-link::after { display: none; }
  .submenu { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; display: none; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: none; }
  .has-menu.open .submenu { display: grid; }
  .has-menu:hover .caret { transform: none; }
  .has-menu.open .caret { transform: rotate(180deg); }
  .nav-cta { margin: 20px 0 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { background: var(--ink); color: var(--band-fg); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--band-fg) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--band-fg) 5%, transparent) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000 0%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero .eyebrow { color: var(--brand); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { color: var(--band-muted); }
.hero .btn-ghost { color: var(--band-fg); }
.disciplines { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.disciplines li { font-family: var(--mono); font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--band-fg) 25%, transparent); padding: 5px 10px; border-radius: 2px; color: var(--band-fg); }
.hero-visual { position: relative; min-width: 0; }
.slides { position: relative; aspect-ratio: 4 / 3.4; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.slides figure { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.slides figure.is-active { opacity: 1; }
.slides figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.slides figure.is-active img { transform: scale(1); }
.slides figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(8,14,18,.85)); color: #fff; font-family: var(--mono); font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; }
.slide-dots { display: flex; gap: 8px; margin-top: 14px; }
.slide-dots button { width: 34px; height: 4px; border: 0; padding: 0; background: color-mix(in srgb, var(--band-fg) 25%, transparent); cursor: pointer; border-radius: 2px; position: relative; }
.slide-dots button::before { content: ""; position: absolute; inset: -10px 0; }
.slide-dots button[aria-current="true"] { background: var(--brand); }
.marker { position: absolute; top: -14px; right: -14px; width: 92px; height: 92px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-content: center; text-align: center; font-family: var(--display); font-weight: 800; font-stretch: 115%; line-height: 1; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.marker small { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.62rem; letter-spacing: .12em; margin-bottom: 4px; }
.marker span { font-size: 1.5rem; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .marker { right: 8px; top: -18px; width: 80px; height: 80px; } }

/* ---------- Spec strip (facts drawn from the content guide) ---------- */
.spec-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.spec-strip dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec-strip dl > div { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.spec-strip dl > div:first-child { border-left: 0; padding-left: 0; }
.spec-strip dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); order: 2; }
.spec-strip dd { margin: 0; font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: var(--step-2); font-variant-numeric: tabular-nums; order: 1; }
@media (max-width: 760px) { .spec-strip dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec-strip dl > div:nth-child(3) { border-left: 0; padding-left: 0; } .spec-strip dl > div { padding: 16px 14px; } .spec-strip dl > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
@media (max-width: 760px) { .section-head.split { grid-template-columns: minmax(0, 1fr); } }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .card-grid, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid, .card-grid.four { grid-template-columns: minmax(0, 1fr); } }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; min-width: 0; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(0,0,0,.5); border-color: var(--brand); }
.svc-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .thumb img { transform: scale(1.05); }
.svc-card .body { padding: 20px 22px 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.svc-card .code { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.svc-card p { color: var(--muted); }
.svc-card .text-link { margin-top: auto; padding-top: 6px; }
.section.alt .svc-card { background: var(--paper); }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split, .split.reverse { grid-template-columns: minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } }
.split > * { min-width: 0; }
.photo-pair { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }
.photo-pair img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-pair img:first-child { aspect-ratio: 3 / 4; }
.photo-pair img:last-child { aspect-ratio: 1 / 1; margin-bottom: 40px; }
.feature-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip-list li { background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: 2px; font-size: 0.95rem; }
.section.alt .chip-list li { background: var(--surface); }

/* Sector band */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
.sectors div { background: var(--surface); padding: 22px; display: grid; gap: 6px; }
.sectors strong { font-family: var(--display); font-stretch: 108%; font-size: 1.05rem; }
.sectors span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 880px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sectors { grid-template-columns: minmax(0, 1fr); } }

/* Process (a real sequence, so it is numbered) */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process li { counter-increment: step; padding: 26px 22px 24px 0; border-top: 2px solid var(--line); position: relative; display: grid; gap: 8px; align-content: start; }
.process li::before { content: "0" counter(step); font-family: var(--mono); font-size: 0.8rem; color: var(--link); letter-spacing: .1em; }
.process li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--paper); }
.section.alt .process li::after { box-shadow: 0 0 0 4px var(--surface); }
.process h3 { font-size: 1.1rem; }
.process p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 1020px) { .process { grid-template-columns: minmax(0, 1fr); } .process li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 28px 28px; } .process li::after { top: 2px; left: -7px; } }

/* Values / principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.principles li { border-top: 3px solid var(--brand); padding-top: 16px; display: grid; gap: 6px; }
.principles strong { font-family: var(--display); font-stretch: 110%; font-size: 1.15rem; }
.principles span { color: var(--muted); }

.pvm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 880px) { .pvm { grid-template-columns: minmax(0, 1fr); } }
.pvm article { background: var(--surface); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); display: grid; gap: 12px; align-content: start; }
.pvm .eyebrow::before { display: none; }

.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why-grid article { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.why-grid article:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.why-grid p { color: var(--muted); }
@media (max-width: 760px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-grid article:nth-child(even) { padding-left: 0; border-left: 0; } .why-grid article { padding-right: 0; } }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--ink); color: var(--band-fg); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; display: grid; gap: 16px; padding-block: clamp(40px, 6vw, 80px); }
.page-hero.has-img .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 40px; }
.page-hero.has-img .wrap > div { display: grid; gap: 16px; min-width: 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.page-hero .lede { color: var(--band-muted); }
.page-hero .eyebrow { color: var(--brand); }
.page-hero .hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
@media (max-width: 880px) { .page-hero.has-img .wrap { grid-template-columns: minmax(0, 1fr); } }
.crumbs { font-size: 0.875rem; color: var(--band-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--band-fg); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.detail-main { display: grid; gap: 40px; min-width: 0; }
.detail-main section { display: grid; gap: 16px; }
.detail-main h2 { font-size: var(--step-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 2px; background: var(--brand); }
.ticks li::after { content: ""; position: absolute; left: 12px; top: 16px; width: 6px; height: 6px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sub-block { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.brief-card { background: var(--ink); color: var(--band-fg); padding: 26px; border-radius: var(--radius); display: grid; gap: 14px; }
.brief-card h2 { font-size: 1.3rem; color: #fff; }
.brief-card p { color: var(--band-muted); }
.brief-card .btn { width: 100%; }
.brief-card a.plain { color: var(--band-fg); text-decoration: none; font-weight: 600; }
.brief-card a.plain:hover { color: var(--brand); }
.svc-index { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.svc-index h2 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; font-weight: 500; font-stretch: 100%; }
.svc-index ul { list-style: none; margin: 0; padding: 0; }
.svc-index a { display: block; padding: 9px 10px; color: var(--text); text-decoration: none; border-radius: var(--radius); font-size: 0.97rem; }
.svc-index a:hover { background: var(--paper); color: var(--link); }
.svc-index a[aria-current="page"] { background: var(--paper); color: var(--link); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand); }
@media (max-width: 960px) { .sidebar { position: static; } }

/* ---------- Projects ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 9px 14px; border-radius: 999px; font: 600 0.95rem var(--body); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.filters button span { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.filters button:hover { border-color: var(--brand); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--band-fg); border-color: var(--ink); }
.filters button[aria-pressed="true"] span { color: var(--brand); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; padding: 11px 14px 11px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.result-count { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.ref-group { display: grid; gap: 0; margin-bottom: 44px; }
.ref-group > h2 { font-size: var(--step-2); padding-bottom: 14px; border-bottom: 2px solid var(--text); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ref-group > h2 small { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; color: var(--muted); font-stretch: 100%; }
.ref { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ref .cat { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); padding-top: 4px; }
.ref h3 { font-family: var(--body); font-stretch: 100%; font-weight: 600; font-size: 1.08rem; line-height: 1.45; letter-spacing: 0; }
.ref .client { color: var(--muted); font-size: 0.97rem; margin-top: 4px; }
.ref .specs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 260px; }
.ref .specs span { font-family: var(--mono); font-size: 0.75rem; background: var(--surface); border: 1px solid var(--line); padding: 3px 8px; border-radius: 2px; white-space: nowrap; }
.ref .status { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 6px; display: block; }
@media (max-width: 760px) { .ref { grid-template-columns: minmax(0, 1fr); } .ref .specs { justify-content: flex-start; max-width: none; } }
.ref[hidden], .ref-group[hidden] { display: none !important; }
.empty { padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.note { font-size: 0.95rem; color: var(--muted); border-left: 3px solid var(--brand); padding: 4px 0 4px 16px; max-width: 72ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: var(--on-brand); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); color: var(--on-brand); }
.cta-band p { margin-top: 10px; max-width: 60ch; color: color-mix(in srgb, var(--on-brand) 82%, transparent); font-size: 1.1rem; }
.cta-band .btn-dark { background: #13202A; color: #fff; }
.cta-band .btn-dark:hover { background: #000; }
.cta-band .btn-ghost { color: var(--on-brand); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-cards { display: grid; gap: 14px; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.c-card .ico { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--link); display: grid; place-items: center; }
.c-card .ico svg { width: 20px; height: 20px; }
.c-card h2 { font-size: 1.05rem; margin-bottom: 4px; }
.c-card a { font-weight: 600; word-break: break-word; }
.c-card .lines { display: grid; gap: 2px; }
.copy-btn { border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 0.8rem var(--body); padding: 3px 8px; border-radius: 2px; cursor: pointer; margin-left: 6px; }
.copy-btn:hover { color: var(--link); border-color: var(--brand); }
.quote-tips { display: grid; gap: 12px; margin-top: 8px; }
.quote-tips div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.quote-tips strong { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); padding-top: 3px; }
@media (max-width: 480px) { .quote-tips div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.form-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); display: grid; gap: 22px; }
.form-card h2 { font-size: var(--step-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: 0.88rem; min-height: 0; }
.field .hint { color: var(--muted); font-size: 0.85rem; }
.hp { position: absolute !important; left: -9999px !important; }
.form-notice { font-size: 0.9rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.form-status.error { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); border: 1px solid color-mix(in srgb, var(--err) 40%, transparent); }
.form-status.info { background: var(--paper); color: var(--text); border: 1px solid var(--line); font-weight: 400; }
.form-status.info textarea { width: 100%; min-height: 140px; margin-top: 10px; font: 0.85rem var(--mono); padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--display); font-stretch: 105%; font-weight: 700; font-size: 1.15rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: linear-gradient(var(--brand), var(--brand)) center / 14px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 14px no-repeat; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--link); }
.faq-list .answer { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; }
.faq-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.faq-tools .search { max-width: 420px; }
.linkish { background: none; border: 0; color: var(--link); font: 600 0.95rem var(--body); cursor: pointer; padding: 8px 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--band-muted); font-size: 0.97rem; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h2 { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--band-fg); font-weight: 500; font-stretch: 100%; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--band-fg); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.foot-brand { display: grid; gap: 16px; max-width: 380px; }
.foot-brand img { height: 64px; width: auto; border-radius: 2px; }
.foot-base { border-top: 1px solid color-mix(in srgb, var(--band-fg) 14%, transparent); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; }
.to-top { background: none; border: 1px solid color-mix(in srgb, var(--band-fg) 25%, transparent); color: var(--band-fg); padding: 6px 12px; border-radius: 2px; cursor: pointer; font: 600 0.85rem var(--body); }
.to-top:hover { border-color: var(--brand); color: var(--brand); }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; transform: translateY(110%); transition: transform .25s; }
  .action-bar.show { transform: none; }
  .action-bar .btn { min-height: 44px; padding: 8px 12px; font-size: 0.95rem; }
  .action-bar .btn-ghost { color: var(--text); border-color: var(--line); }
  body { padding-bottom: 72px; }
}

/* Reveal: elements rest visible; JS only adds a gentle lift when they enter */
.reveal.pre { transform: translateY(18px); }
.reveal { transition: transform .6s ease, opacity .6s ease; }

/* 404 */
.notfound { text-align: left; display: grid; gap: 18px; padding-block: 96px; max-width: 640px; }
.notfound .code { font-family: var(--mono); color: var(--link); letter-spacing: .1em; }

/* ---------- Acceptance-checklist additions ---------- */
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.foot-legal a, .foot-legal .linkish { color: var(--band-muted); font: inherit; padding: 6px 0; }
.foot-legal a:hover, .foot-legal .linkish:hover { color: var(--band-fg); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=file] { padding: 10px; background: var(--surface); }
.field.consent .check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400; font-size: 0.95rem; }
.field.consent input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-strong); }
.field.invalid.consent .check { color: var(--err); }

.map-frame { position: relative; aspect-ratio: 16 / 7; min-height: 320px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--muted);
  background: repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), var(--paper); }
.map-placeholder p { background: var(--surface); padding: 6px 12px; border-radius: var(--radius); }
.map-placeholder .btn { background: var(--surface); color: var(--text); }
@media (max-width: 620px) { .map-frame { aspect-ratio: 4 / 5; } }

.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: var(--band-fg); border-radius: 6px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); border-top: 4px solid var(--brand); }
.cookie-banner .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding-block: 16px; }
.cookie-banner p { max-width: 70ch; font-size: 0.95rem; }
.cookie-banner a { color: var(--brand); }
.cookie-banner .btn-ghost { color: var(--band-fg); }
.cookie-banner[hidden] { display: none; }
body.has-banner .action-bar { display: none; }

.wa-btn { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #1F7A4D; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px -12px rgba(0,0,0,.6); }
.wa-btn svg { width: 22px; height: 22px; }
.wa-btn:hover { background: #17603C; }
.wa-btn[hidden] { display: none; }
@media (max-width: 1020px) { .wa-btn { bottom: 84px; padding: 12px; } .wa-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
body.has-banner .wa-btn { display: none; }

.legal { max-width: 820px; }
.legal h2 { font-size: var(--step-1, 1.3rem); margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.cookie-table { border-collapse: collapse; width: 100%; font-size: 0.92rem; background: var(--surface); }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); min-width: 120px; }
.cookie-table th { background: var(--paper); }

.ref.has-photo { grid-template-columns: 150px minmax(0, 1fr) auto 140px; }
.ref-photo img { width: 140px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 760px) { .ref.has-photo { grid-template-columns: minmax(0, 1fr); } .ref-photo img { width: 100%; max-width: 360px; } }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.photo-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.photo-grid figcaption { padding: 12px 14px; font-size: 0.95rem; display: grid; gap: 4px; }
.photo-grid .cat { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
