/* =========================================================
   Quacil Projekt Ltd — main stylesheet
   Tokens first; see docs/DESIGN.md.
   ========================================================= */
:root {
    --navy: #1d2766;
    --navy-800: #182057;
    --navy-900: #0f1540;
    --orange: #f07c2b;
    --orange-600: #d9661a;
    --sky: #5f97c8;
    --sand: #f8d9bb;
    --paper: #f6f4ef;
    --white: #ffffff;
    --ink: #151a33;
    --muted: #5b6280;
    --line: #e3e1da;

    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 18px 40px -18px rgba(15, 21, 64, .35);
    --shadow-sm: 0 6px 18px -8px rgba(15, 21, 64, .25);
    --container: 1220px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(64px, 9vw, 120px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: .005em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.1; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--orange); color: var(--navy-900); padding: 10px 16px; z-index: 200; font-weight: 600; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-900); color: #dfe3f5; }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section--navy .lede { color: #b9c0de; }
.section-head { display: grid; gap: 8px 48px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin: 0; max-width: 18ch; }
@media (min-width: 900px) {
    .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; }
    .section-head--split .lede { margin: 0; }
}
.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 600; font-size: .98rem; line-height: 1; cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    font-family: inherit;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: var(--navy-900); }
.btn--primary:hover { background: var(--orange-600); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-900); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.link-arrow .icon { color: var(--orange); transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: #c7cde8; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; }
.topbar__contacts { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a, .topbar__meta { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--white); }
.topbar .icon { color: var(--orange); width: 1em; height: 1em; }
@media (max-width: 760px) { .topbar__meta, .topbar__contacts a:nth-child(2) { display: none; } }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(15,21,64,.4); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand__text strong { font-size: 1.75rem; letter-spacing: .06em; color: var(--navy); }
.brand__text small { font-size: .82rem; letter-spacing: .32em; color: var(--orange); font-weight: 600; margin-top: 3px; }
.brand--light .brand__text strong { color: var(--white); }
.brand__badge { background: var(--white); border-radius: 12px; padding: 6px 8px; }
.brand__badge img { width: 34px; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav ul a {
    position: relative; font-weight: 600; font-size: .98rem; color: var(--navy); padding-block: 8px;
}
.main-nav ul a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle .icon--close { display: none; }

@media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; inset: 84px 0 auto 0; height: calc(100dvh - 84px);
        flex-direction: column; align-items: stretch; gap: 24px;
        background: var(--white); padding: 24px var(--gutter) 40px;
        transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
        overflow-y: auto;
    }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; border-bottom: 1px solid var(--line); }
    .main-nav ul a::after { display: none; }
    .main-nav ul a[aria-current="page"] { color: var(--orange); }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open .nav-toggle .icon--open { display: none; }
    .nav-open .nav-toggle .icon--close { display: block; }
    .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; color: var(--white);
    min-height: min(88vh, 820px); display: flex; align-items: center;
    padding-block: 120px 170px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(15,21,64,.92) 0%, rgba(15,21,64,.72) 45%, rgba(15,21,64,.25) 100%),
        linear-gradient(0deg, rgba(15,21,64,.6) 0%, transparent 40%);
}
.hero h1 { color: var(--white); max-width: 13ch; margin-bottom: 22px; }
.hero h1 span { color: var(--orange); }
.hero .lede { color: #d5daf0; margin-bottom: 34px; max-width: 54ch; }
.hero .eyebrow { color: var(--sand); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.stats {
    position: relative; z-index: 2; margin-top: -96px;
}
.stats__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1; color: var(--navy); }
.stat__num span + span { color: var(--orange); }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: 6px; }
@media (max-width: 860px) {
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; color: var(--white); padding-block: clamp(90px, 13vw, 170px) clamp(60px, 8vw, 100px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,21,64,.93), rgba(15,21,64,.55)); }
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 16ch; }
.page-hero .lede { color: #d5daf0; }
.page-hero .eyebrow { color: var(--sand); }
.breadcrumb { display: flex; gap: 8px; font-size: .88rem; color: #aeb6d8; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Intro / split ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.media-stack { position: relative; padding: 0 0 48px 48px; }
.media-stack__main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__small { position: absolute; left: 0; bottom: 0; width: 46%; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow); aspect-ratio: 1; }
.media-stack__small img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge {
    position: absolute; right: -10px; top: 36px; background: var(--orange); color: var(--navy-900);
    border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); text-align: center;
    font-family: var(--font-display); text-transform: uppercase; line-height: 1;
}
.media-stack__badge strong { display: block; font-size: 2.8rem; }
.media-stack__badge span { font-size: .95rem; font-weight: 600; letter-spacing: .06em; }
@media (max-width: 600px) { .media-stack { padding: 0 0 36px 24px; } .media-stack__badge { right: 0; } }

.checklist { display: grid; gap: 12px; margin: 26px 0 34px; }
@media (min-width: 560px) { .checklist--2 { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .icon { color: var(--white); background: var(--orange); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.service-card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 6px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    overflow: hidden;
}
.service-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon { width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--navy); margin-bottom: 18px; transition: background .3s, color .3s; }
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card:hover .service-card__icon { background: var(--orange); color: var(--white); }
.service-card p { color: var(--muted); flex: 1; }
.service-card__num { position: absolute; right: 24px; top: 18px; font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; color: var(--paper); line-height: 1; }

/* ---------- Projects ---------- */
.project-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.project-grid--featured { grid-template-columns: repeat(12, 1fr); }
.project-grid--featured > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.project-grid--featured > :nth-child(n+2) { grid-column: span 5; }
.project-grid--featured > :nth-child(4), .project-grid--featured > :nth-child(5) { grid-column: span 6; }
.project-grid--featured > :nth-child(1) .project-card__media { aspect-ratio: auto; height: 100%; min-height: 420px; }
@media (max-width: 900px) {
    .project-grid--featured { grid-template-columns: 1fr; }
    .project-grid--featured > * { grid-column: auto !important; grid-row: auto !important; }
    .project-grid--featured > :nth-child(1) .project-card__media { min-height: 0; aspect-ratio: 4/3; }
}
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--white); display: block; background: var(--navy); isolation: isolate; }
.project-card__media { aspect-ratio: 4/3; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.07); }
.project-card__body {
    position: absolute; inset: auto 0 0 0; padding: 70px 24px 22px;
    background: linear-gradient(0deg, rgba(15,21,64,.95) 0%, rgba(15,21,64,.6) 55%, transparent 100%);
}
.project-card h3 { color: var(--white); margin: 8px 0 4px; }
.project-card__meta { font-size: .9rem; color: #c9cfe9; display: flex; align-items: center; gap: 6px; }
.project-card__meta .icon { color: var(--orange); width: 1em; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: var(--orange); color: var(--navy-900); }
.chip--light { background: rgba(255,255,255,.16); color: var(--white); backdrop-filter: blur(4px); }
.chip--status-ongoing { background: var(--sky); color: var(--white); }
.chip--status-design { background: var(--sand); color: var(--navy-900); }
.project-card__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.project-card__arrow { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; transform: scale(.6) rotate(-45deg); opacity: 0; transition: .35s var(--ease); }
.project-card:hover .project-card__arrow { transform: scale(1) rotate(-45deg); opacity: 1; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn { font: inherit; font-weight: 600; font-size: .92rem; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; transition: .2s; }
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.project-card.is-hidden { display: none; }

/* Track record table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.record-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 720px; }
.record-table th { text-align: left; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; background: var(--navy); color: var(--white); padding: 16px 18px; }
.record-table td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.record-table tr:hover td { background: var(--paper); }
.record-table td:nth-child(2) { white-space: nowrap; color: var(--muted); }
.type-dot { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .85rem; color: var(--muted); }
.type-dot::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.type-dot[data-type="Infrastructure"]::before { background: var(--navy); }
.type-dot[data-type="Water & Irrigation"]::before { background: var(--sky); }

/* ---------- Values / why ---------- */
.values-grid { display: grid; gap: 1px; background: rgba(255,255,255,.1); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--navy-900); padding: 34px 30px; transition: background .3s; }
.value:hover { background: var(--navy-800); }
.value .icon { width: 38px; height: 38px; color: var(--orange); margin-bottom: 18px; }
.value h3 { font-size: 1.55rem; }
.value p { color: #b9c0de; margin: 0; font-size: .97rem; }
.section--paper .values-grid, .values-grid--light { background: var(--line); }
.values-grid--light .value { background: var(--white); }
.values-grid--light .value:hover { background: var(--paper); }
.values-grid--light .value p { color: var(--muted); }
.values-grid--light .value h3 { color: var(--navy); }

/* ---------- Process ---------- */
.process { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.process__step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.process__step::before { counter-increment: step; content: '0' counter(step); position: absolute; top: -14px; left: 0; background: var(--paper); padding-right: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--orange); line-height: 1; }
.process__step h3 { font-size: 1.45rem; }
.process__step p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Safety band ---------- */
.feature-band { display: grid; background: var(--navy); color: #d5daf0; border-radius: calc(var(--radius) * 1.5); overflow: hidden; }
@media (min-width: 900px) { .feature-band { grid-template-columns: 1.05fr 1fr; } }
.feature-band__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature-band__body { padding: clamp(32px, 5vw, 64px); }
.feature-band h2 { color: var(--white); }
.feature-band .checklist li { color: var(--white); }

/* ---------- Clients ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.client { padding: 14px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--navy); background: var(--white); font-size: .95rem; transition: .25s; }
.client:hover { border-color: var(--orange); color: var(--orange-600); }

/* ---------- CTA band ---------- */
.cta {
    position: relative; overflow: hidden; background: var(--orange); color: var(--navy-900);
    border-radius: calc(var(--radius) * 1.5); padding: clamp(36px, 6vw, 70px);
    display: grid; gap: 28px; align-items: center;
}
.cta::before {
    content: ''; position: absolute; right: -10%; top: 0; bottom: 0; width: 55%;
    background: repeating-linear-gradient(-45deg, rgba(15,21,64,.08) 0 18px, transparent 18px 36px);
}
.cta > * { position: relative; }
.cta h2 { color: var(--navy-900); margin: 0 0 8px; max-width: 20ch; }
.cta p { margin: 0; font-size: 1.1rem; max-width: 52ch; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }

/* ---------- Services page detail ---------- */
.service-detail { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.service-detail:first-child { border-top: 0; }
.service-detail__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--orange); color: var(--white); margin-bottom: 18px; }
.service-detail__icon .icon { width: 28px; height: 28px; }

/* ---------- About page ---------- */
.mv-grid { display: grid; gap: 22px; }
@media (min-width: 800px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv-card--navy { background: var(--navy); color: #d5daf0; border-color: var(--navy); }
.mv-card--navy h3 { color: var(--white); }
.mv-card .icon { width: 44px; height: 44px; color: var(--orange); margin-bottom: 18px; }
.mv-card p { font-size: 1.12rem; margin: 0; }

.team-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.person { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 30px; }
.person__avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--sky)); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 18px; overflow: hidden; }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 4px; }
.person__role { color: var(--orange-600); font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.person p { color: var(--muted); font-size: .95rem; margin: 0; }
.pro-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.pro-list li { background: var(--white); padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pro-list strong { display: block; color: var(--navy); }
.pro-list span { color: var(--muted); font-size: .9rem; }
.pro-list em { font-style: normal; font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: 1.3rem; white-space: nowrap; }

.org { display: grid; gap: 18px; justify-items: center; text-align: center; }
.org__node { background: var(--navy); color: var(--white); padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; }
.org__node--top { background: var(--orange); color: var(--navy-900); }
.org__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }
.org__group { display: grid; gap: 10px; justify-items: center; padding: 18px; border: 1px dashed #c8cbe0; border-radius: var(--radius); }
.org__sub { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.org__sub span { background: var(--paper); color: var(--navy); padding: 8px 14px; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; }
.org__line { width: 2px; height: 22px; background: #c8cbe0; }

.credentials { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.credential { background: var(--white); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--orange); box-shadow: var(--shadow-sm); }
.credential small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.credential strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); letter-spacing: .02em; word-break: break-word; }

/* ---------- Project detail ---------- */
.project-layout { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .project-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.facts { background: var(--paper); border-radius: var(--radius); padding: 30px; position: sticky; top: 110px; }
.facts dl { margin: 0 0 24px; display: grid; gap: 0; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted); padding-top: 14px; }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.prose p { font-size: 1.08rem; color: #343a5a; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-top: 36px; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; background: var(--paper); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.next-project { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 1.3fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--paper); align-items: flex-start; }
.contact-card .icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; flex: none; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 2px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-card a { color: var(--navy); font-weight: 600; }
.contact-card a:hover { color: var(--orange-600); }
.form-card { background: var(--white); border-radius: calc(var(--radius) * 1.3); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 48px); border-top: 5px solid var(--orange); scroll-margin-top: 110px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--line); background: #fcfcfa; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29,39,102,.12); }
.field .error { color: #b42318; font-size: .85rem; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 22px; font-weight: 500; }
.alert--success { background: #e7f6ec; color: #11633a; border: 1px solid #b6e3c6; }
.alert--error { background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bc; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; min-height: 300px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aeb6d8; padding-top: clamp(56px, 8vw, 90px); font-size: .95rem; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); padding-bottom: 50px; }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr; } }
.site-footer h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--orange); }
.site-footer__about p { margin-top: 20px; max-width: 36ch; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--orange); margin-top: 3px; width: 1.05em; }
.site-footer__contact small { display: block; color: #7f88b3; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #7f88b3; }

.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4); transition: transform .25s var(--ease); }
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab .icon { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,11,32,.94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1200px; }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #c7cde8; text-align: center; margin-top: 14px; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: var(--orange); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 10px; } .lightbox__nav { top: auto !important; bottom: 14px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 14vw, 180px); }
.notfound__code { font-family: var(--font-display); font-size: clamp(7rem, 22vw, 14rem); font-weight: 700; color: var(--orange); line-height: .9; }
.notfound .lede { margin-inline: auto; }
