/* ==========================================================
   Vertex Engineers — site stylesheet
   Palette drawn from the logo: indigo, sky blue, signal orange
   ========================================================== */
:root {
  --ink: #0d1530;
  --ink-2: #33405e;
  --muted: #5d6882;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --navy: #0f1a44;
  --navy-2: #182561;
  --indigo: #352d8a;
  --sky: #0a9bd8;
  --sky-soft: #e5f5fc;
  --orange: #f28a1d;
  --orange-dark: #d9740b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(13, 21, 48, .06), 0 8px 24px rgba(13, 21, 48, .07);
  --shadow-lg: 0 24px 60px rgba(13, 21, 48, .18);
  --container: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--indigo); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .82rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--indigo); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c9d2ea; font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar .tagline { letter-spacing: .14em; text-transform: uppercase; font-weight: 600; font-size: .7rem; color: #8f9cc4; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.topbar a { color: #e6ebf7; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--orange); }
.topbar svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13,21,48,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; color: var(--ink); font-weight: 700;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--indigo); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; padding: 12px 20px; }
.nav .btn::after { display: none; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,18,52,.94) 0%, rgba(15,26,68,.82) 42%, rgba(15,26,68,.25) 100%); }
.hero .container { position: relative; padding-top: 120px; padding-bottom: 150px; }
.hero-content { max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 14px; }
.hero h1 span { color: var(--sky); display: block; font-size: .58em; letter-spacing: -.01em; margin-top: 10px; }
.hero p.lead { font-size: 1.15rem; color: #d3dbf0; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding: 0; list-style: none; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9c4e2; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--orange); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 32px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: 2.5rem; font-weight: 800; color: var(--indigo); line-height: 1; letter-spacing: -.03em; }
.stat .num small { font-size: .5em; color: var(--sky); margin-left: 3px; }
.stat .label { margin-top: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #c9d2ea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2, .section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0; }
.section-head p { max-width: 520px; margin: 12px 0 0; color: var(--muted); }
.eyebrow-dark { color: var(--sky); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: var(--shadow); }
.split-media .badge-card {
  position: absolute; right: -24px; bottom: -28px; background: var(--orange); color: #fff;
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 230px;
}
.badge-card strong { display: block; font-size: 2rem; line-height: 1; font-weight: 800; }
.badge-card span { font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.lead-text { font-size: 1.12rem; color: var(--ink-2); }

.feature-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature-list .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky); }
.feature-list .ico svg { width: 22px; height: 22px; }
.feature-list h4 { font-size: 1.02rem; margin: 2px 0 2px; }
.feature-list p { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px 32px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--indigo), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ico { width: 58px; height: 58px; border-radius: 14px; background: var(--navy); color: var(--orange); display: grid; place-items: center; margin-bottom: 26px; }
.service-card .ico svg { width: 28px; height: 28px; }
.service-card .tag { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.service-card h3 { font-size: 1.4rem; }
.service-card p { color: var(--muted); flex: 1; }

/* ---------- Project cards ---------- */
.project-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .25s, transform .25s; }
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kv { display: inline-flex; align-items: baseline; gap: 4px; font-size: 2.2rem; font-weight: 800; color: var(--indigo); letter-spacing: -.03em; line-height: 1; }
.kv small { font-size: .45em; color: var(--sky); letter-spacing: 0; }
.project-card h3 { font-size: 1.12rem; margin: 0; }
.project-card .client { font-size: .9rem; color: var(--muted); margin: 0; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.project-card .client strong { color: var(--ink); display: block; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-done { background: #e8f6ee; color: #1d7a45; }
.pill-live { background: #fff1e2; color: #c2650a; }

/* ---------- Clients ---------- */
.clients { padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients p { text-align: center; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; }
.client-row span { font-size: 1.35rem; font-weight: 800; color: #a3abc0; letter-spacing: -.01em; transition: color .2s; }
.client-row span:hover { color: var(--indigo); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--indigo) 0%, var(--navy) 60%); color: #fff; padding: 84px 0; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(10,155,216,.14); }
.cta .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 8px; }
.cta p { margin: 0; color: #c9d2ea; font-size: 1.08rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero .hero-bg::after { background: linear-gradient(100deg, rgba(10,18,52,.95) 0%, rgba(15,26,68,.86) 55%, rgba(15,26,68,.55) 100%); }
.page-hero .container { position: relative; padding: 84px 24px 88px; }
.crumbs { display: flex; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8f9cc4; margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs a { color: #c9d2ea; }
.crumbs a:hover { color: var(--orange); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #56628a; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 780px; }
.page-hero p { max-width: 640px; color: #d3dbf0; font-size: 1.12rem; margin: 0; }

/* ---------- About ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.vm-card { border-radius: var(--radius); padding: 36px; background: var(--bg-soft); border: 1px solid var(--line); }
.vm-card.dark { background: var(--navy); border-color: var(--navy); color: #c9d2ea; }
.vm-card.dark h3 { color: #fff; }
.vm-card .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.vm-card .ico svg { width: 26px; height: 26px; }
.vm-card blockquote { margin: 0; font-size: 1.2rem; font-weight: 600; line-height: 1.5; color: inherit; }
.vm-card.light blockquote { color: var(--ink); }

.numbered { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.numbered li:first-child { border-top: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-size: 2rem; font-weight: 800; color: var(--sky); line-height: 1; letter-spacing: -.03em; }
.numbered p { margin: 0; font-size: 1.04rem; }
.section-dark .numbered li { border-color: rgba(255,255,255,.1); }
.section-dark .numbered li::before { color: var(--orange); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.gallery button { padding: 0; border: 0; background: #dfe4ee; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .3s; }
.gallery button:hover img { transform: scale(1.06); filter: brightness(.85); }
.lightbox { position: fixed; inset: 0; background: rgba(6,10,26,.92); display: none; align-items: center; justify-content: center; z-index: 300; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { width: min(560px, 90vw); height: auto; border-radius: var(--radius-sm); image-rendering: auto; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--orange); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #c9d2ea; font-size: .8rem; font-weight: 700; letter-spacing: .1em; }

/* ---------- Services page ---------- */
.service-block { display: grid; grid-template-columns: 300px 1fr; gap: 64px; padding: 72px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block aside { position: sticky; top: 110px; align-self: start; }
.service-block .num { font-size: 4rem; font-weight: 800; line-height: 1; color: var(--sky-soft); -webkit-text-stroke: 1.5px var(--sky); letter-spacing: -.04em; margin-bottom: 14px; }
.service-block aside h2 { font-size: 1.9rem; }
.service-block aside p { color: var(--muted); font-size: .95rem; }
.service-block aside img { margin-top: 24px; border-radius: var(--radius); width: 100%; max-width: 200px; }
.sub { padding: 28px 0; border-top: 1px solid var(--line); }
.sub:first-child { border-top: 0; padding-top: 0; }
.sub h3 { font-size: 1.22rem; display: flex; align-items: center; gap: 12px; }
.sub h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); flex: none; }
.sub p:last-child { margin-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a9bd8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.tower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0; }
.tower { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.tower:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.tower h4 { font-size: 1rem; margin-bottom: 6px; color: var(--indigo); }
.tower p { margin: 0; font-size: .92rem; color: var(--muted); }
.callout { background: var(--bg-soft); border-left: 4px solid var(--orange); padding: 22px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Projects table ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.toolbar .search { flex: 1 1 280px; position: relative; }
.toolbar .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.toolbar input, .toolbar select { font: 600 .92rem var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; height: 48px; padding: 0 14px; }
.toolbar input { width: 100%; padding-left: 42px; }
.toolbar select { padding-right: 34px; cursor: pointer; }
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(10,155,216,.15); }
.result-count { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.result-count strong { color: var(--ink); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
table.projects { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.projects th { text-align: left; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 16px 18px; }
table.projects td { padding: 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.projects tbody tr:nth-child(even) { background: #fafbfd; }
table.projects tbody tr:hover { background: var(--sky-soft); }
table.projects td.n { color: var(--muted); font-weight: 700; width: 60px; }
table.projects td.client { font-weight: 700; color: var(--ink); width: 24%; }
table.projects td.year { width: 140px; white-space: nowrap; font-weight: 700; color: var(--ink); }
.empty { padding: 48px; text-align: center; color: var(--muted); }
.timeline-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.timeline-strip div { padding: 22px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.timeline-strip strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--indigo); line-height: 1.1; }
.timeline-strip span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Achievements ---------- */
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -64px; position: relative; z-index: 2; }
.highlight { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.highlight .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--sky-soft); color: var(--sky); display: grid; place-items: center; margin-bottom: 20px; }
.highlight .ico svg { width: 28px; height: 28px; }
.highlight h3 { font-size: 1.3rem; }
.highlight p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info-card { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--orange); display: grid; place-items: center; }
.info-card .ico svg { width: 24px; height: 24px; }
.info-card h3 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 800; }
.info-card p, .info-card a { margin: 0; color: var(--ink); font-weight: 600; }
.info-card a:hover { color: var(--sky); }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 44px; border: 1px solid var(--line); }
.form-card h2 { font-size: 1.8rem; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--orange); }
.field input, .field textarea { font: 500 1rem var(--font); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 3px rgba(10,155,216,.15); }
.field.invalid input, .field.invalid textarea { border-color: #d64545; }
.field .err { font-size: .78rem; color: #d64545; display: none; }
.field.invalid .err { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { color: var(--muted); max-width: 300px; }
.map { margin-top: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1130; color: #9aa6c8; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 56px; padding: 72px 0 56px; }
.footer-logo { background: #fff; display: inline-block; padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; }
.footer-logo img { height: 38px; width: auto; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c9d2ea; }
.site-footer a:hover { color: var(--orange); }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 10px 10px; font-size: .76rem; }
  .nav a::after { left: 10px; right: 10px; }
  .split { gap: 48px; }
  .service-block { grid-template-columns: 240px 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; gap: 0; padding: 96px 24px 24px;
    background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s; z-index: 150;
  }
  .nav.open { transform: none; }
  .nav a { padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav a::after { display: none; }
  .nav .btn { margin: 20px 0 0; justify-content: center; border-bottom: 0; }
  .menu-toggle { position: relative; z-index: 160; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,10,26,.5); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-media .badge-card { right: 16px; }
  .cards-3, .highlight-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .service-block { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .service-block aside { position: static; }
  .service-block aside img { display: none; }
  .vm-grid { grid-template-columns: 1fr; }
  .timeline-strip { grid-template-columns: 1fr 1fr; }
  .table-wrap { border: 0; background: none; }
  table.projects thead { display: none; }
  table.projects, table.projects tbody, table.projects tr, table.projects td { display: block; width: 100% !important; }
  table.projects tr { background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 18px; }
  table.projects td { border: 0; padding: 4px 0; }
  table.projects td.n { display: none; }
  table.projects td.year { order: -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar .tagline, .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .site-header .container { height: 70px; }
  .brand img { height: 36px; }
  .hero .container { padding-top: 72px; padding-bottom: 120px; }
  .section { padding: 72px 0; }
  .stat { padding: 24px 18px; }
  .stat .num { font-size: 2rem; }
  .cards-3, .highlight-grid, .form-grid, .tower-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .page-hero .container { padding: 64px 16px 72px; }
  .numbered li { grid-template-columns: 52px 1fr; }
  .numbered li::before { font-size: 1.6rem; }
  .cta { padding: 64px 0; }
  .hero-actions .btn, .cta .btn { width: 100%; justify-content: center; }
  .footer-bottom .container { flex-direction: column; text-align: center; align-items: center; }
  .toolbar select { flex: 1 1 140px; }
}
