/* Scan IT Africa – site styles
   Brand: green (Scan), red (IT), royal blue (Africa) from the logo; deep navy for structure. */

/* Bundled font so text looks identical on Windows, Android, iOS and Mac (SIL OFL – see assets/fonts/OFL.txt) */
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;   /* stop Android/Samsung "dark mode for websites" from recolouring the design */
    --green-800: #135e27;
    --green-700: #187233;
    --green-600: #1e8a3e;
    --green-500: #27a34b;
    --green-100: #dcf2e2;
    --green-50:  #eef8f1;

    --navy-950: #071a30;
    --navy-900: #0d2b4e;
    --navy-800: #143a66;
    --navy-700: #1f5c98;
    --blue-600: #1d4ed8;

    --red-600: #d0262c;
    --amber-400: #f6b81a;

    --ink:     #142133;
    --ink-2:   #3d4b5f;
    --muted:   #637083;
    --line:    #dde3ea;
    --surface: #ffffff;
    --tint:    #f4f7f9;

    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgb(13 43 78 / .06), 0 1px 3px rgb(13 43 78 / .08);
    --shadow:    0 4px 6px -1px rgb(13 43 78 / .06), 0 10px 24px -6px rgb(13 43 78 / .14);
    --shadow-lg: 0 24px 48px -12px rgb(7 26 48 / .35);

    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-800); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; color: var(--navy-900); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--green-100); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.note { margin-top: 1.5rem; color: var(--muted); font-size: .95rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xl { width: 48px; height: 48px; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: .75rem; }
.eyebrow--light { color: #8fe0a6; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--navy-900); --fg: #fff; --bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .72rem 1.25rem; border-radius: 999px; border: 2px solid var(--bd);
    background: var(--bg); color: var(--fg); font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn--primary { --bg: var(--green-600); }
.btn--primary:hover { --bg: var(--green-700); }
.btn--secondary { --bg: var(--surface); --fg: var(--navy-900); --bd: var(--line); }
.btn--secondary:hover { --bd: var(--navy-700); }
.btn--ghost { --bg: transparent; --fg: var(--navy-900); --bd: var(--line); }
.btn--ghost-light { --bg: rgb(255 255 255 / .06); --fg: #fff; --bd: rgb(255 255 255 / .35); }
.btn--ghost-light:hover { --bg: rgb(255 255 255 / .14); }
.btn--sm { padding: .5rem 1rem; font-size: .92rem; }
.btn--lg { padding: .9rem 1.5rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; text-decoration: none; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: #c9d6e6; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: #8fe0a6; }
.topbar__note { display: inline-flex; align-items: center; gap: .35rem; }
.topbar__links { display: flex; gap: 1.25rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); }
.brand img { width: 64px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--green-700); }
.brand__name b { color: var(--red-600); }
.brand__tag { font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.brand--light .brand__name { color: #8fe0a6; }
.brand--light .brand__name b { color: #ff6b6f; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .98rem; text-decoration: none; }
.site-nav ul a:hover { color: var(--navy-900); background: var(--tint); }
.site-nav ul a[aria-current="page"] { color: var(--green-700); background: var(--green-50); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--navy-900); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.nav-toggle .icon { display: block; }

@media (max-width: 960px) {
    .topbar__note { display: none; }
    .topbar__inner { justify-content: center; }
    .js .nav-toggle { display: block; }
    .site-header__inner { flex-wrap: wrap; }
    .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: .75rem; padding-bottom: 1rem; }
    .site-nav ul { flex-direction: column; }
    .site-nav ul a { padding: .7rem .9rem; border-radius: 10px; }
    .js .site-nav { display: none; }
    .js .site-nav.is-open { display: flex; }
}
@media (max-width: 560px) {
    .topbar__links a:last-child { display: none; }
    .brand__tag { display: none; }
    .brand img { width: 52px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #dbe6f3;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgb(39 163 75 / .28), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgb(29 78 216 / .35), transparent 60%),
        linear-gradient(var(--navy-900), var(--navy-950)); }
/* Blueprint grid – a nod to the building plans we scan */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px),
        linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero__title { color: #fff; margin-bottom: 1.1rem; }
.hero__title .hl { color: #8fe0a6; }
.hero__lead { font-size: 1.15rem; max-width: 40em; color: #c9d6e6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-weight: 700; color: #fff; letter-spacing: .02em; }
.hero__trust li:first-child { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #8ea3bc; }

.spec-card { position: relative; overflow: hidden; background: rgb(255 255 255 / .97); color: var(--ink); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-lg); }
.spec-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--green-600) 0 40%, var(--red-600) 40% 52%, var(--blue-600) 52%); }
.spec-card__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .75rem; }
.spec-card__list { margin: 0; }
.spec-card__list div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.spec-card__list div:last-child { border-bottom: 0; }
.spec-card__list dt { color: var(--ink-2); }
.spec-card__list dd { margin: 0; font-weight: 750; color: var(--navy-900); text-align: right; font-variant-numeric: tabular-nums; }
.spec-card__scan { position: absolute; left: 0; right: 0; top: 0; height: 60px; pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgb(39 163 75 / .14) 85%, rgb(39 163 75 / .55) 100%);
    animation: scan 4.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes scan { 0% { transform: translateY(-60px); } 60%, 100% { transform: translateY(520px); } }
@media (prefers-reduced-motion: reduce) { .spec-card__scan { display: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hero__actions .btn, .cta__actions .btn { width: 100%; } }

/* ---------- Page header ---------- */
.page-header { position: relative; overflow: hidden; color: #c9d6e6; background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.page-header::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
    background-size: 32px 32px; mask-image: linear-gradient(to left, #000, transparent 70%); }
.page-header .container { position: relative; }
.page-header__title { color: #fff; max-width: 22em; margin-bottom: .6rem; }
.page-header__lead { font-size: 1.12rem; max-width: 46em; margin: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .88rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #6f86a3; }
.breadcrumbs a { color: #c9d6e6; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #8ea3bc; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy-900); color: #c9d6e6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 2.75rem; text-align: center; }
.section-head p:last-child { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 0; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; max-width: none; text-align: left; margin-bottom: 2rem; }
.section-head--row h2 { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.split__media figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.split figure { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.photo-stack { position: relative; padding: 0 12% 18% 0; }
.photo-stack img:last-child { position: absolute; right: 0; bottom: 0; width: 62%; border: 6px solid var(--surface); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.service-card { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .2s, transform .2s; }
.service-card:hover { color: var(--ink); border-color: var(--green-500); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card__icon, .feature__icon, .service__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); margin-bottom: 1.1rem; }
.service-card h3 { margin-bottom: .4rem; }
.service-card p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.service-card--cta { background: var(--navy-900); border-color: var(--navy-900); color: #c9d6e6; }
.service-card--cta:hover { color: #c9d6e6; border-color: var(--green-500); }
.service-card--cta h3 { color: #fff; }
.service-card--cta p { color: #c9d6e6; }
.service-card--cta .service-card__icon { background: rgb(255 255 255 / .08); color: #8fe0a6; }
.service-card--cta .service-card__more { color: #8fe0a6; }
.service-card__more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--green-700); font-size: .95rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 1rem; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; margin: 0; }
.feature h3 { margin-bottom: .25rem; }
.feature p { color: var(--ink-2); font-size: .98rem; margin: 0; }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .6rem; align-items: start; }
.checklist .icon { color: var(--green-600); margin-top: .25em; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { display: flex; flex-direction: column; gap: .35rem; padding-left: 1.25rem; border-left: 3px solid var(--green-500); }
.stat__value { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .95rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: .5rem .95rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.section:not(.section--tint) .tag-list li { background: var(--tint); }
.tag-list--center { justify-content: center; max-width: 900px; margin-inline: auto; }

.pill-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.pill-list li { padding: .3rem .75rem; border-radius: 999px; background: var(--green-50); color: var(--green-800); font-size: .9rem; font-weight: 600; }

.client-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; list-style: none; padding: 0; margin: 0 0 3rem; }
.client-list li { min-width: 180px; padding: 1.4rem 2rem; text-align: center; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy-900); }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }
.article-card { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .2s, transform .2s; }
.article-card:hover { color: var(--ink); border-color: var(--green-500); box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card__cat { align-self: start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); margin-bottom: .6rem; }
.article-card__title { font-size: 1.08rem; margin-bottom: .5rem; }
.article-card__text { font-size: .95rem; color: var(--ink-2); flex: 1; }
.article-card__more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; font-size: .92rem; color: var(--green-700); }

.filters { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.search { display: flex; align-items: center; gap: .6rem; max-width: 460px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); }
.search:focus-within { border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); }
.search input { flex: 1; border: 0; padding: .75rem 0; font: inherit; background: none; color: var(--ink); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--navy-700); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filters__count { margin: 0; color: var(--muted); font-size: .92rem; }
.article-group { margin-bottom: 3rem; }
.article-group__title { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.article-group__title span { font-size: .8rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--green-50); color: var(--green-700); }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
@media (max-width: 900px) { .article-aside { position: static; } }
.aside-card { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.aside-card h2 { font-size: 1.1rem; }
.aside-card p { color: var(--ink-2); font-size: .95rem; }
.aside-card--accent { background: var(--green-50); border-color: var(--green-100); }
.aside-card__phone { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: .85rem; font-weight: 650; text-decoration: none; }

/* Long-form text */
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: #26344a; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: .6rem; margin: 0 0 1.4rem; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--green-500); transform: rotate(45deg); }
.prose strong { color: var(--navy-900); }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .5rem; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: .45rem .85rem; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; }
.subnav a:hover, .subnav a.is-active { background: var(--green-50); color: var(--green-700); }
@media (max-width: 960px) { .subnav { top: 0; position: relative; } }
.service .lead { margin-bottom: 1.1rem; }
.service h3 { margin-top: 1.5rem; }
.service .container > .service__icon { margin-bottom: 1rem; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media (max-width: 960px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { padding: 1.4rem; border-radius: var(--radius); background: var(--tint); border-top: 3px solid var(--green-500); }
.info-card h3 { margin: 0 0 .4rem; }
.info-card p { font-size: .95rem; color: var(--ink-2); margin: 0; }

.benefit-panel { padding: 2rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.benefit-panel .checklist { margin-bottom: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding: 1.6rem; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.steps__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-600); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.steps p { margin: 0; font-size: .97rem; }
.steps__more { text-align: center; margin: 2rem 0 0; }
.steps__more a { color: #8fe0a6; display: inline-flex; gap: .35rem; align-items: center; font-weight: 650; }

.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 650; color: var(--navy-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--green-600); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.25rem 1.2rem; margin: 0; color: var(--ink-2); }

/* ---------- Products ---------- */
.supplier { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem; border-radius: var(--radius-lg); background: var(--tint); margin-bottom: 2.5rem; }
.supplier p { margin: 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 760px) { .supplier { flex-direction: column; align-items: start; } }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.product__media { display: grid; place-items: center; height: 200px; padding: 1rem; background: linear-gradient(#fff, #f1f4f7); border-bottom: 1px solid var(--line); }
.product__media img { max-height: 170px; width: auto; mix-blend-mode: multiply; }
.product__media--icon { color: var(--green-600); }
.product__body { padding: 1.4rem; }
.product__body p { font-size: .96rem; color: var(--ink-2); }

/* ---------- About ---------- */
.fact-panel { padding: 2rem; border-radius: var(--radius-lg); background: var(--tint); }
.fact-panel img { margin: 0 auto 1.5rem; width: 180px; }
.fact-panel dl { margin: 0; }
.fact-panel dl div { padding: .75rem 0; border-top: 1px solid var(--line); }
.fact-panel dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fact-panel dd { margin: 0; font-weight: 650; color: var(--navy-900); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: .6rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 650; font-size: .95rem; color: var(--navy-900); }
.req { color: var(--red-600); }
.opt { color: var(--muted); font-weight: 500; font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: .75rem .9rem; border: 1px solid #c7d0db; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 140px; }
/* Same dropdown on every browser (Android draws its own otherwise) */
.field select { -webkit-appearance: none; appearance: none; padding-right: 2.5rem; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23637083' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 18px; }
.field input, .field textarea { -webkit-appearance: none; appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); }
.field--error input { border-color: var(--red-600); }
.field__error { margin: 0; color: var(--red-600); font-size: .88rem; font-weight: 600; }
.form__note { margin: 0; font-size: .88rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.25rem; font-weight: 600; }
.alert--error { background: #fdecec; color: #8c1d21; border: 1px solid #f5c2c4; }

.contact-details { display: grid; gap: 1rem; }
.contact-block { padding: 1.5rem; border-radius: var(--radius); background: var(--tint); }
.contact-block h2 { font-size: 1.1rem; margin-bottom: .9rem; }
.contact-block address { margin-bottom: .6rem; line-height: 1.6; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: center; }
.contact-list .icon { color: var(--green-600); }
.contact-list div { display: flex; flex-direction: column; line-height: 1.35; }
.contact-list__label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--navy-900); }
.contact-list a:hover { color: var(--green-700); }

/* ---------- Message pages ---------- */
.message-page { padding-block: clamp(4rem, 10vw, 7rem); }
.message-page__icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--green-50); color: var(--green-600); margin-bottom: 1.5rem; }
.message-page__code { font-size: 5rem; font-weight: 800; line-height: 1; color: var(--green-100); margin-bottom: .5rem; letter-spacing: -.04em; }
.message-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 2rem 0; }

/* ---------- CTA & footer ---------- */
.cta { background: linear-gradient(110deg, var(--green-700), var(--green-600) 45%, var(--navy-700)); color: #e9f6ee; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(2.75rem, 6vw, 4rem); }
.cta__title { color: #fff; margin-bottom: .4rem; }
.cta__text { margin: 0; max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }
.cta .btn--primary { --bg: #fff; --fg: var(--green-800); }
.cta .btn--primary:hover { --bg: #f1fbf4; }
@media (max-width: 860px) { .cta__inner { flex-direction: column; align-items: start; } }

.site-footer { background: var(--navy-950); color: #9fb1c7; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__about p { margin-top: 1rem; max-width: 38ch; }
.site-footer__heading { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #c9d6e6; text-decoration: none; }
.site-footer a:hover { color: #8fe0a6; text-decoration: underline; }
.site-footer__contact li { display: flex; gap: .6rem; align-items: start; }
.site-footer__contact .icon { color: #8fe0a6; margin-top: .2em; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem; border-top: 1px solid rgb(255 255 255 / .08); font-size: .85rem; color: #7b8fa8; }

@media print {
    .topbar, .site-header, .site-footer, .cta, .article-aside, .subnav { display: none !important; }
    .page-header { background: none; color: #000; }
    .page-header__title { color: #000; }
}
