/* METRO website stylesheet. REPLACE the whole content of public_html/css/style.css with this file. */
/* =========================================================================
   METRO Civil & Electrical Works — site styles
   Concept: "job card" engineering look. Deep ink navy with a blueprint grid,
   one signal-amber accent (the colour of site safety and live circuits),
   wide industrial headlines, mono labels like a maintenance ticket.
   ========================================================================= */

:root {
    /* Colour */
    /* Brand colours sampled from the METRO logo (indigo base, violet > pink > orange wings) */
    --ink: #141822;          /* logo background ink: hero, footer, topbar */
    --navy: #1D2233;         /* raised surfaces on ink */
    --navy-2: #2C3350;       /* borders on ink */
    --indigo: #2E3192;       /* logo base shield */
    --amber: #E13AA2;        /* primary accent = logo pink */
    --pink-deep: #C4227F;    /* pink for buttons with white text */
    --orange: #F36B21;       /* logo wing tip */
    --amber-soft: #FCE9F4;   /* pink tint for icon wells */
    --grad: linear-gradient(90deg, #3D41A0 0%, #8D3BA2 28%, #E13AA2 55%, #F36B21 100%);
    --grad-btn: linear-gradient(90deg, #5A35A8 0%, #C4227F 100%);
    --paper: #F6F5F9;        /* off-white with a slight violet bias */
    --white: #FFFFFF;
    --text: #1A2433;         /* body text on light */
    --muted: #586679;        /* secondary text on light */
    --line: #E3E1EB;         /* hairlines on light */
    --on-ink: #E8EDF4;       /* body text on navy */
    --on-ink-muted: #9AA8BC; /* secondary text on navy */
    --ok: #128A5B;
    --err: #C23B32;

    /* Type */
    --f-display: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --fs-xs: 0.78rem;
    --fs-sm: 0.9rem;
    --fs-base: 1.0625rem;
    --fs-lg: 1.2rem;
    --fs-h3: 1.3rem;
    --fs-h2: clamp(1.85rem, 1.3rem + 2.2vw, 2.9rem);
    --fs-h1: clamp(2.4rem, 1.5rem + 4vw, 4.4rem);

    /* Layout */
    --wrap: 1220px;
    --gutter: max(20px, env(safe-area-inset-left, 0px));
    --gutter-r: max(20px, env(safe-area-inset-right, 0px));
    --section: clamp(64px, 5rem + 3vw, 120px);
    --radius: 6px;
    --shadow: 0 1px 2px rgba(14, 27, 44, .06), 0 8px 24px rgba(14, 27, 44, .08);
    --shadow-lg: 0 24px 60px rgba(14, 27, 44, .22);
    --header-h: 76px;

    color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--f-display);
    font-stretch: 112%;
    line-height: 1.08;
    letter-spacing: -0.015em;
    text-wrap: balance;
    color: var(--ink);
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; }
.mono { font-family: var(--f-mono); letter-spacing: .04em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--amber); color: var(--white); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 16px; }

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + 40px);
    margin-inline: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter-r);
}

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--sm { width: .9em; height: .9em; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--grad); flex: none; }
.eyebrow--amber { color: var(--amber); }
.eyebrow--light { color: var(--on-ink-muted); }
.eyebrow--amber { color: #FF8CC9; }

.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }

.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head p { color: var(--muted); font-size: var(--fs-lg); max-width: 62ch; }
.section--ink .section-head p { color: var(--on-ink-muted); }
.section-head--split {
    max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    font-family: var(--f-body); font-weight: 600; font-size: 0.98rem;
    border: 2px solid transparent; border-radius: var(--radius);
    cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
    white-space: nowrap;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--amber, .btn--brand { background: var(--grad-btn); color: var(--white); box-shadow: 0 6px 18px rgba(196,34,127,.28); }
.btn--amber:hover, .btn--brand:hover { background: var(--pink-deep); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--navy-2); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost-dark:hover { border-color: var(--ink); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
    border-bottom: 2px solid var(--amber); padding-bottom: 2px;
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: var(--on-ink-muted); font-size: var(--fs-sm); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar__info a, .topbar__hours { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info a:hover { color: var(--white); }
.topbar__emergency { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.topbar__emergency .mono { font-size: var(--fs-xs); text-transform: uppercase; color: #FF8CC9; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(225,58,162,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(225,58,162,0); } 100% { box-shadow: 0 0 0 0 rgba(225,58,162,0); } }
@media (max-width: 760px) {
    .topbar__hours { display: none; }
    .topbar__info a span { display: none; }
    .topbar__emergency .mono { display: none; }
}

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
    background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14,27,44,.08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: var(--ink); color: var(--amber);
    font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 1.4rem;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 1.35rem; letter-spacing: .02em; color: var(--ink); }
.brand__text small { font-family: var(--f-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 3px; }
.brand--light .brand__mark { background: var(--amber); color: var(--ink); }
.brand--light .brand__text strong { color: var(--white); }
.brand--light .brand__text small { color: var(--on-ink-muted); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; font-weight: 500; color: var(--text); border-radius: var(--radius);
}
.nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); font-weight: 600; }

.nav__has-sub { position: relative; }
.nav__sub {
    position: absolute; top: calc(100% + 8px); left: -16px; width: 340px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; gap: 14px; padding: 12px; border-radius: var(--radius); }
.nav__sub a:hover { background: var(--paper); }
.nav__sub .icon { width: 22px; height: 22px; color: var(--ink); margin-top: 2px; }
.nav__sub span { display: grid; line-height: 1.35; }
.nav__sub strong { font-weight: 600; color: var(--ink); }
.nav__sub small { color: var(--muted); font-size: var(--fs-sm); }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }

@media (max-width: 1040px) {
    .nav-toggle { display: grid; }
    .site-header__cta { display: none; }
    .site-header__actions { margin-left: auto; }
    .nav {
        position: fixed; inset: calc(var(--header-h) + 42px) 0 0 0; margin: 0;
        background: var(--white); overflow-y: auto;
        padding: 16px var(--gutter-r) 32px var(--gutter);
        opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; visibility: hidden;
    }
    body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav-toggle__open { display: none; }
    body.nav-open .nav-toggle__close { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__list > li { border-bottom: 1px solid var(--line); }
    .nav__link { padding: 16px 4px; font-size: 1.1rem; width: 100%; justify-content: space-between; }
    .nav__link::after { display: none; }
    .nav__sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; }
    .nav__mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--ink); color: var(--on-ink);
    padding-block: clamp(64px, 8vw, 120px) clamp(72px, 8vw, 128px);
}
.hero__photo {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(100deg, rgba(14,27,44,.97) 0%, rgba(14,27,44,.88) 45%, rgba(14,27,44,.55) 100%),
        var(--hero-img, none) center / cover no-repeat,
        var(--ink);
}
/* Blueprint grid */
.hero::before, .page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
    mask-image: linear-gradient(90deg, #000 30%, transparent 95%);
    -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 95%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 28px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #B45BE0, #FF5DB5 50%, #FF8A3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--on-ink); max-width: 56ch; opacity: .9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-ink-muted); font-size: var(--fs-sm); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: #FF8CC9; }

/* Job-card panel */
.job-card {
    background: var(--white); color: var(--text); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.job-card__head {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 14px 22px; background: var(--grad); color: var(--white);
    font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
}
.job-card__body { padding: 8px 22px 22px; }
.job-card dl { margin: 0; display: grid; }
.job-card dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.job-card dt { font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.job-card dd { margin: 0; font-weight: 500; color: var(--ink); }
.job-card dd a { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.job-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.job-card__actions .btn { padding: 0 12px; }
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; }
    .job-card { max-width: 520px; }
}
@media (max-width: 420px) {
    .job-card dl > div { grid-template-columns: 1fr; gap: 2px; }
    .job-card__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__copy > *, .job-card { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
    .hero__copy > :nth-child(2) { animation-delay: .06s; }
    .hero__copy > :nth-child(3) { animation-delay: .12s; }
    .hero__copy > :nth-child(4) { animation-delay: .18s; }
    .hero__copy > :nth-child(5) { animation-delay: .24s; }
    .job-card { animation-delay: .3s; }
}
@keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Trades ticker ---------- */
.trades { background: var(--grad); color: var(--white); overflow: hidden; border-block: 1px solid rgba(0,0,0,.08); }
.trades__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.trades__track ul { display: flex; }
.trades li {
    display: inline-flex; align-items: center; gap: 18px; padding: 16px 22px;
    font-family: var(--f-display); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.trades li::after { content: ""; width: 7px; height: 7px; background: rgba(255,255,255,.85); transform: rotate(45deg); margin-left: 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trades__track { animation: none; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.stat { padding: 28px 28px 30px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.stat__num {
    font-family: var(--f-display); font-weight: 700;
    font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.stat__num sup { font-size: .5em; color: var(--amber); vertical-align: top; position: relative; top: .15em; margin-left: 2px; }
.stat__label { font-weight: 600; color: var(--ink); }
.stat__note { font-size: var(--fs-sm); color: var(--muted); }
.stats-band { padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
    .stat { border-bottom: 1px solid var(--line); padding: 22px 18px; }
}
.section--ink .stats, .section--ink .stat { border-color: var(--navy-2); }
.section--ink .stat__num, .section--ink .stat__label { color: var(--white); }
.section--ink .stat__note { color: var(--on-ink-muted); }

/* ---------- Media frames (photos with graceful fallback) ---------- */
.media {
    position: relative; overflow: hidden; border-radius: var(--radius); background-color: var(--navy);
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 32px 32px;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img.is-missing { display: none; }
.media__fallback {
    position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.18); z-index: 0;
}
.media__fallback .icon { width: 30%; height: auto; max-width: 140px; stroke-width: 1; }
.media img { position: relative; z-index: 1; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__media { position: relative; }
.split__media .media { aspect-ratio: 4 / 4.4; max-width: 100%; }
.split__badge {
    position: absolute; right: -18px; bottom: 32px; z-index: 2;
    background: var(--grad); color: var(--white); padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    display: grid; gap: 2px; max-width: 210px;
}
.split__badge strong { font-family: var(--f-display); font-weight: 700; font-size: 3rem; line-height: 1; }
.split__badge span { font-weight: 600; line-height: 1.3; }
.split__copy { display: grid; gap: 22px; }
.split__copy > p { color: var(--muted); font-size: var(--fs-lg); }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split__badge { right: 16px; }
}

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checks .icon { color: var(--white); background: var(--amber); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; stroke-width: 3; }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Service pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar {
    display: flex; flex-direction: column; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar .media { aspect-ratio: 16 / 10; border-radius: 0; }
.pillar__body { display: flex; flex-direction: column; gap: 14px; padding: 26px; flex: 1; }
.pillar__tag { font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.pillar p { color: var(--muted); }
.pillar ul { display: grid; gap: 8px; margin-top: 4px; }
.pillar li { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--text); }
.pillar li::before { content: ""; width: 6px; height: 6px; background: var(--amber); margin-top: .62em; flex: none; }
.pillar .link-arrow { margin-top: auto; align-self: flex-start; }
.pillar__body > :last-child { margin-top: auto; }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr; max-width: 620px; } }

/* ---------- Process (real sequence) ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; display: grid; gap: 12px; align-content: start; }
.step__num {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--f-mono); font-size: var(--fs-sm); font-weight: 600; color: #FF8CC9;
}
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--navy-2); }
.step:last-child .step__num::after { background: linear-gradient(90deg, var(--navy-2), transparent); }
.step .icon { width: 34px; height: 34px; color: var(--white); stroke-width: 1.5; margin-top: 8px; }
.step p { color: var(--on-ink-muted); font-size: var(--fs-sm); }
@media (max-width: 900px) {
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } .step { padding: 0; } }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector {
    position: relative; padding: 32px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    display: grid; gap: 12px; align-content: start; background: var(--white); transition: background .25s, color .25s;
}
.sector .icon { width: 34px; height: 34px; color: var(--ink); stroke-width: 1.5; }
.sector p { color: var(--muted); font-size: var(--fs-sm); }
.sector:hover { background: var(--ink); }
.sector:hover h3, .sector:hover .icon { color: var(--white); }
.sector:hover p { color: var(--on-ink-muted); }
.sector::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad); transition: width .3s; }
.sector:hover::after { width: 100%; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__list { display: grid; gap: 0; }
.why__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why__item:first-child { padding-top: 0; }
.why__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--amber-soft); color: var(--ink); border-radius: var(--radius); }
.why__icon .icon { width: 26px; height: 26px; }
.why__item p { color: var(--muted); margin-top: 6px; }
.why__aside { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; }
.why__aside > p { color: var(--muted); font-size: var(--fs-lg); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why__aside { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-ink); padding-block: clamp(56px, 6vw, 88px); isolation: isolate; }
.cta-band::after {
    content: ""; position: absolute; right: -8%; top: -40%; width: 55%; aspect-ratio: 1; z-index: -1;
    background: repeating-linear-gradient(-45deg, rgba(225,58,162,.14) 0 14px, transparent 14px 28px);
    transform: rotate(8deg);
}
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-ink-muted); margin-top: 12px; font-size: var(--fs-lg); max-width: 56ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); padding-block: clamp(56px, 7vw, 100px); }
.page-hero__inner { display: grid; gap: 18px; max-width: 820px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem); }
.page-hero p { font-size: var(--fs-lg); color: var(--on-ink-muted); max-width: 60ch; }
.crumbs { display: flex; gap: 10px; font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--on-ink-muted); }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-current] { color: #FF8CC9; }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; color: var(--text);
}
.subnav a:hover, .subnav a.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.svc-cat { padding-block: clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--line); }
.svc-cat:nth-of-type(even) { background: var(--paper); }
.svc-cat__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 40px; max-width: 860px; }
.svc-cat__code {
    display: grid; place-items: center; width: 72px; height: 72px; background: var(--grad); color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}
.svc-cat__code .icon { width: 32px; height: 32px; }
.svc-cat__head p { color: var(--muted); font-size: var(--fs-lg); margin-top: 10px; }
@media (max-width: 560px) { .svc-cat__head { grid-template-columns: 1fr; } }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc {
    display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.svc:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--amber-soft); color: var(--ink); border-radius: var(--radius); }
.svc__icon .icon { width: 26px; height: 26px; }
.svc__ref { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--muted); letter-spacing: .1em; }
.svc > p { color: var(--muted); }
.svc ul { display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); margin-top: auto; }
.svc li { display: flex; gap: 10px; font-size: var(--fs-sm); }
.svc li .icon { color: var(--ok); margin-top: 3px; width: 16px; height: 16px; stroke-width: 2.6; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid, .svc-grid--2 { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.licence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.licence li { background: var(--white); padding: 22px; display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--ink); }
.licence .icon { width: 26px; height: 26px; color: var(--ink); flex: none; }
@media (max-width: 860px) { .licence { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .licence { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { padding: 28px; border: 1px solid var(--navy-2); border-radius: var(--radius); display: grid; gap: 12px; align-content: start; background: var(--navy); }
.value .icon { width: 30px; height: 30px; color: #FF8CC9; }
.value p { color: var(--on-ink-muted); font-size: var(--fs-sm); }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.leaders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.leader { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.leader__photo { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--paper); color: var(--muted); }
.leader__photo .icon { width: 64px; height: 64px; stroke-width: 1.2; }
.leader__body { padding: 22px; display: grid; gap: 8px; }
.leader__role { font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.leader p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 980px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .leaders { grid-template-columns: 1fr; } }

.coverage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.region { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 4px; }
.region--hq { background: var(--ink); border-color: var(--ink); }
.region--hq strong { color: var(--white); }
.region--hq span { color: #FF8CC9; }
.region strong { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.region span { font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
@media (max-width: 860px) { .coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 16px; }
.info-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.info-card__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--amber-soft); border-radius: var(--radius); color: var(--ink); }
.info-card__icon .icon { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); }
.info-card a { overflow-wrap: anywhere; }
.info-card a:hover { color: var(--ink); text-decoration: underline; }
.info-card--emergency { background: var(--ink); border-color: var(--ink); }
.info-card--emergency h3 { color: #FF8CC9; }
.info-card--emergency .info-card__icon { background: var(--grad); color: var(--white); }
.info-card--emergency a { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: var(--white); }
.info-card--emergency p { color: var(--on-ink-muted); font-size: var(--fs-sm); }
.hours { display: grid; gap: 6px; margin-top: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: var(--fs-sm); border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.hours li strong { color: var(--ink); font-weight: 600; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.form-card__head { padding: 26px 30px; border-bottom: 1px solid var(--line); background: var(--paper); }
.form-card__head p { color: var(--muted); margin-top: 6px; }
.form { padding: 30px; display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } .form { padding: 22px; } .form-card__head { padding: 22px; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--white); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(225,58,162,.22); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.field__error { color: var(--err); font-size: var(--fs-sm); min-height: 0; }
.field__error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field .chips input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }
.chips label {
    display: inline-flex; align-items: center; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px;
    font-weight: 500; font-size: var(--fs-sm); cursor: pointer; color: var(--text); transition: .15s;
}
.chips input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); font-weight: 500; }
.notice .icon { margin-top: 3px; }
.notice--ok { background: #E6F5EE; color: #0B5E3E; border: 1px solid #B8E2CF; }
.notice--err { background: #FBECEA; color: #8E2A23; border: 1px solid #F0C4BF; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-cta {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
    padding-block: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--navy-2);
}
.footer-cta h2 { color: var(--white); margin-top: 12px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); max-width: 20ch; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-cta { grid-template-columns: 1fr; } }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; padding-block: 56px; }
.footer-col h3 { font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-col--brand { display: grid; gap: 20px; align-content: start; }
.footer-col--brand p { max-width: 40ch; }
.footer-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.footer-contact .icon { color: #FF8CC9; margin-top: 4px; }
.footer-contact a { overflow-wrap: anywhere; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--navy-2); border-radius: var(--radius); color: var(--on-ink); transition: .2s; }
.social a:hover { background: var(--grad); border-color: transparent; color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--navy-2); font-size: var(--fs-sm); }
.footer-bottom .mono { font-size: var(--fs-xs); text-transform: uppercase; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
    position: fixed; z-index: 90;
    right: max(20px, calc(env(safe-area-inset-right, 0px) + 16px));
    bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s;
}
.float-wa:hover { transform: scale(1.06); }
.float-wa .icon { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   v2 additions: logo, hero video, six-service grid, work gallery,
   time-lapse player, licence credentials
   ========================================================================= */
.brand img { height: 52px; width: auto; }
@media (max-width: 520px) { .brand img { height: 42px; } }
.footer-logo img { height: 60px; width: auto; }

/* Hero background video (shows only when /videos/hero-loop.mp4 is uploaded) */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero__photo--over-video { background:
    linear-gradient(100deg, rgba(20,24,34,.95) 0%, rgba(20,24,34,.82) 45%, rgba(20,24,34,.45) 100%); }

/* Six licensed services as photo cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card {
    display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card .media { aspect-ratio: 3 / 2; border-radius: 0; }
.svc-card__badge {
    position: absolute; left: 16px; bottom: 16px; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center;
    background: var(--white); color: var(--pink-deep); border-radius: var(--radius); box-shadow: var(--shadow);
}
.svc-card__badge .icon { width: 24px; height: 24px; }
.svc-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.svc-card__body p { color: var(--muted); }
.svc-card__body .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 980px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-cards { grid-template-columns: 1fr; } }

/* Services page: one row per licensed activity */
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-cat:nth-of-type(even) .svc-row > .svc-row__media { order: 2; }
.svc-row__media .media { aspect-ratio: 4 / 3; }
.svc-row__copy { display: grid; gap: 18px; }
.svc-row__copy > p { color: var(--muted); font-size: var(--fs-lg); }
.svc-row__lic { font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--pink-deep); display: inline-flex; gap: 8px; align-items: center; }
.svc-row__lic .icon { width: 16px; height: 16px; }
@media (max-width: 900px) {
    .svc-row { grid-template-columns: 1fr; }
    .svc-cat:nth-of-type(even) .svc-row > .svc-row__media { order: 0; }
}

/* Our work: project gallery */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-tile { position: relative; border-radius: var(--radius); overflow: hidden; }
.work-tile .media { aspect-ratio: 4 / 3; }
.work-tile:first-child { grid-column: span 2; grid-row: span 2; }
.work-tile:first-child .media { aspect-ratio: auto; height: 100%; min-height: 100%; }
.work-tile figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 18px 16px;
    background: linear-gradient(transparent, rgba(20,24,34,.88)); color: var(--white);
    display: grid; gap: 2px;
}
.work-tile figcaption strong { font-family: var(--f-display); font-weight: 600; }
.work-tile figcaption span { font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: #FFB3DB; }
@media (max-width: 760px) {
    .work-grid { grid-template-columns: 1fr 1fr; }
    .work-tile:first-child { grid-column: span 2; grid-row: auto; }
    .work-tile:first-child .media { aspect-ratio: 16 / 10; height: auto; }
}

/* Time-lapse player */
.timelapse { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.timelapse__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); max-width: 100%; }
.timelapse__frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy); }
.timelapse__copy { display: grid; gap: 16px; }
.timelapse__copy p { color: var(--on-ink-muted); }
@media (max-width: 900px) { .timelapse { grid-template-columns: 1fr; } }

/* Licence credentials */
.creds { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.creds__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--grad); color: var(--white); }
.creds__head .icon { width: 26px; height: 26px; }
.creds__head strong { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.creds dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.creds dl > div { padding: 16px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.creds dl > div:nth-child(odd) { border-right: 1px solid var(--line); }
.creds dt { font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.creds dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 600px) { .creds dl { grid-template-columns: 1fr; } .creds dl > div:nth-child(odd) { border-right: 0; } }

/* Text logo, shown only until the logo SVG files are uploaded to /images/ */
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--f-display); font-weight: 700; font-size: 2rem; letter-spacing: -.02em;
    background: linear-gradient(90deg, #5A35A8, #E13AA2 60%, #F36B21); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-family: var(--f-display); font-weight: 600; font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-top: 4px; }
.brand-text--white small { color: var(--white); }
.footer-logo .brand-text strong { font-size: 2.3rem; }
