/* ============================================================
   DEFENCE CONSTRUCTION INC. — Stylesheet (light theme)
   Pure HTML + CSS + vanilla JS, no build step
   ============================================================ */

:root {
  --ink: #0b1118;
  --navy: #0b1118;          /* dark surfaces (app chrome, buttons) */
  --navy-2: #101820;
  --steel: #34506f;
  --accent: #e9a23b;
  --accent-2: #f3b95f;
  --accent-text: #b4700a;   /* amber that stays readable on light backgrounds */
  --accent-ink: #1a1204;
  --body: #566170;
  --muted: #8a929c;
  --line: #e8e6e1;
  --soft: #f6f5f2;
  --warm: #fbf3e2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(11, 17, 24, .18);
  --shadow-lg: 0 40px 80px -30px rgba(11, 17, 24, .28);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: rgba(11,17,24,.25); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: 3rem; letter-spacing: -.035em; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.3; }
p + p { margin-top: 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-size: .93rem; font-weight: 500; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .3s var(--ease); line-height: 1.2;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(233,162,59,.8); }
.btn-ink, .btn-navy { background: var(--ink); color: var(--white); }
.btn-ink:hover, .btn-navy:hover { background: var(--steel); transform: translateY(-1px); }
.btn-outline, .btn-ghost { border-color: rgba(11,17,24,.22); color: var(--ink); background: transparent; }
.btn-outline:hover, .btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-sm { padding: 9px 20px; font-size: .86rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 34px; height: 34px; flex: none; }
.logo-text { line-height: 1; white-space: nowrap; }
.logo-name { display: block; color: var(--ink); font-weight: 700; font-size: .92rem; letter-spacing: .18em; }
.logo-name span { color: var(--ink); font-weight: 300; opacity: .7; }
.logo-tag { display: none; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--body); text-decoration: none; font-weight: 500; font-size: .875rem;
  padding: 9px 13px; border-radius: 999px; transition: color .25s, background .25s;
}
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a.active { color: var(--ink); background: var(--soft); }
.nav a.portal-link {
  margin-left: 10px; color: var(--white); background: var(--ink); font-weight: 500; padding: 9px 20px;
}
.nav a.portal-link:hover { background: var(--steel); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.nav-toggle svg { display: block; stroke: var(--ink); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; color: var(--ink); overflow: hidden; min-height: calc(100vh - var(--header-h));
  display: flex; align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(250,249,246,.97) 0%, rgba(250,249,246,.9) 36%, rgba(250,249,246,.35) 68%, rgba(250,249,246,0) 100%),
    linear-gradient(180deg, rgba(250,249,246,0) 55%, rgba(250,249,246,.96) 100%),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2000&q=70") center/cover no-repeat;
  background-color: var(--soft);
}
.hero-grid-bg { display: none; }
.hero > .container { width: 100%; }
.hero-inner-wrap { display: flex; flex-direction: column; gap: 72px; padding: 120px 0 44px; }
.hero-inner { max-width: 900px; }
.hero h1, .page-hero h1, .section-head h2, .cta-band h2 { text-wrap: balance; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--accent-text);
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.hero h1 { color: var(--ink); font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 600; margin-bottom: 24px; letter-spacing: -.045em; line-height: 1.04; }
.hero h1 .accent { color: var(--accent-text); font-weight: 300; font-style: italic; letter-spacing: -.03em; }
.hero p { color: var(--body); font-size: 1.12rem; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.6); }
.hero .btn-ghost:hover { background: var(--ink); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(11,17,24,.14); }
.hero-stat { padding: 26px 0 0; }
.hero-stat + .hero-stat { padding-left: 32px; border-left: 1px solid rgba(11,17,24,.1); }
.hero-stat b { display: block; color: var(--ink); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.hero-stat span { color: var(--body); font-size: .82rem; letter-spacing: .02em; }

/* ---------- Interior page hero ---------- */
.page-hero { background: var(--soft); color: var(--ink); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 120% at 100% 0%, rgba(233,162,59,.18), transparent 60%),
    linear-gradient(rgba(11,17,24,.045) 1px, transparent 1px) 0 0/72px 72px,
    linear-gradient(90deg, rgba(11,17,24,.045) 1px, transparent 1px) 0 0/72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
}
.page-hero-inner { position: relative; padding: 96px 0 100px; max-width: 800px; }
.breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 26px; display: flex; gap: 10px; align-items: center; letter-spacing: .04em; }
.breadcrumb a { color: var(--body); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.page-hero h1 { color: var(--ink); margin-bottom: 20px; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero p { color: var(--body); font-size: 1.1rem; max-width: 620px; }
.page-hero p a { color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 116px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; color: var(--accent-text);
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px;
}
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section-head.center .kicker::after { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section-head h2 { margin-bottom: 18px; }
.lead { font-size: 1.1rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: all .4s var(--ease);
}
.card:hover { border-color: rgba(11,17,24,.16); box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .95rem; }

.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 26px;
}
.icon-tile svg { stroke: var(--ink); }
.icon-tile.amber { background: rgba(233,162,59,.1); border-color: rgba(233,162,59,.3); }
.icon-tile.amber svg { stroke: var(--accent-text); }
.section.soft .icon-tile { background: var(--white); }

.svc-card { display: flex; flex-direction: column; }
.svc-card h3 { font-size: 1.1rem; }
.svc-card p { flex: 1; }
.svc-card .card-link {
  margin-top: 22px; font-weight: 500; color: var(--ink); text-decoration: none; font-size: .88rem;
  border-bottom: 1px solid var(--line); padding-bottom: 3px; align-self: flex-start; transition: all .25s;
}
.svc-card .card-link:hover { border-color: var(--accent); }

/* ---------- Stats ---------- */
.stats-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 84px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 0 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; color: var(--ink); font-size: 3rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--body); font-size: .9rem; }

/* ---------- Why us / split ---------- */
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 88px; align-items: center; }
.check-list { margin-top: 28px; }
.check-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list svg { flex: none; margin-top: 3px; stroke: var(--accent); }
.check-list b { color: var(--ink); font-weight: 600; }
.check-list p { margin: 2px 0 0; font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.split .visual, .why-grid .visual { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split .visual img, .why-grid .visual img { height: 100%; width: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; transition: transform 1.2s var(--ease); }
.split .visual:hover img, .why-grid .visual:hover img { transform: scale(1.03); }
.visual-caption { font-size: .78rem; color: var(--muted); margin-top: 14px; letter-spacing: .03em; }

/* ---------- Projects ---------- */
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-media { height: 240px; position: relative; background: var(--soft); overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-media .badge {
  position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.94); color: var(--ink);
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(11,17,24,.1);
}
.project-media .badge.amber { background: var(--accent); color: var(--accent-ink); }
.project-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.project-body p { font-size: .9rem; flex: 1; }
.project-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip {
  font-size: .72rem; font-weight: 500; letter-spacing: .02em; color: var(--body);
  background: transparent; border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px;
}

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  font-family: var(--font); font-size: .85rem; font-weight: 500; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--body); transition: all .25s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Team (About) ---------- */
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .4s var(--ease); display: flex; flex-direction: column;
}
.team-card:hover { border-color: rgba(11,17,24,.16); box-shadow: var(--shadow); transform: translateY(-3px); }
.team-photo { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--soft); }
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  filter: grayscale(1) contrast(1.04); transition: filter .6s var(--ease), transform 1s var(--ease);
}
.team-card:hover .team-photo img { filter: none; transform: scale(1.04); }
.team-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.team-body h3 { font-size: 1.08rem; margin: 0 0 6px; }
.team-creds {
  display: inline-block; font-size: .66rem; font-weight: 600; letter-spacing: .06em; color: var(--steel);
  border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; margin-left: 4px; vertical-align: 2px;
}
.team-body .team-role {
  margin: 0 0 14px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
  line-height: 1.5; min-height: 3em; /* reserve two lines so bio dividers align across cards */
}
@media (max-width: 640px) { .team-body .team-role { min-height: 0; } }
.team-body .team-bio { margin: 0; font-size: .9rem; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { position: relative; padding: 34px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: .8rem; font-weight: 600; color: var(--accent-text); letter-spacing: .15em; margin-bottom: 22px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: .92rem; }
.step .step-line { display: none; }

/* ---------- Testimonials ---------- */
.quote-card { padding: 38px; }
.quote-card .stars { color: var(--accent); letter-spacing: 4px; margin-bottom: 20px; font-size: .85rem; }
.quote-card blockquote { font-size: 1rem; line-height: 1.7; margin: 0 0 28px; color: #2a3340; }
.quote-card .who { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-card .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: rgba(233,162,59,.14); color: var(--accent-text); font-weight: 600; font-size: .8rem; letter-spacing: .05em;
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(233,162,59,.35);
}
.quote-card .who b { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; }
.quote-card .who span { color: var(--muted); font-size: .8rem; }

/* ---------- Offices ---------- */
.office-card { position: relative; }
.office-card .flag {
  position: absolute; top: 28px; right: 28px; font-size: .66rem; font-weight: 600; letter-spacing: .14em;
  color: var(--steel); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px;
}
.office-card h3 { padding-right: 52px; }
.office-meta { margin-top: 18px; display: grid; gap: 12px; }
.office-meta div { display: flex; gap: 12px; font-size: .88rem; align-items: flex-start; }
.office-meta svg { flex: none; margin-top: 4px; stroke: var(--accent); }
.office-meta a { color: var(--body); text-decoration: none; }
.office-meta a:hover { color: var(--ink); }
.office-hours { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem !important; color: var(--muted); }

.map-visual { border-radius: 18px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); position: relative; min-height: 440px; }
.map-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-visual .map-label {
  position: absolute; bottom: 18px; left: 18px; background: var(--white);
  color: var(--body); font-size: .74rem; letter-spacing: .06em; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--warm); border-top: 1px solid rgba(233,162,59,.25); border-bottom: 1px solid rgba(233,162,59,.25); color: var(--ink); padding: 104px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -10%; top: -60%; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,162,59,.22), transparent 65%);
}
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); margin-bottom: 14px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-band p { color: var(--body); max-width: 520px; }
.cta-band .btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--ink); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--steel); box-shadow: 0 10px 24px -10px rgba(11,17,24,.5); }
.cta-band .btn-ghost { border-color: rgba(11,17,24,.25); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 44px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; color: var(--ink); font-size: .82rem; letter-spacing: .02em; margin-bottom: 8px; }
.field label .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--ink);
  padding: 13px 16px; border: 1px solid #dedcd6; border-radius: 10px; background: var(--white);
  transition: border .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #aab0b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(233,162,59,.2);
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { flex: none; margin-top: 2px; stroke: var(--accent); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.info-tile { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 44px; }
.info-tile h3 { color: var(--ink); margin-bottom: 26px; font-size: 1.3rem; }
.info-tile .row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-tile .row:last-of-type { border-bottom: 0; }
.info-tile .row svg { flex: none; margin-top: 4px; stroke: var(--accent-text); }
.info-tile .row b { color: var(--ink); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.info-tile .row span, .info-tile .row a { color: var(--body); font-size: .95rem; text-decoration: none; }
.info-tile .row a:hover { color: var(--ink); }

/* ---------- Client portal ---------- */
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-tag {
  display: inline-block; font-size: .66rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 16px;
}
.portal-form-card { max-width: 480px; }
.portal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.login-demo {
  margin-top: 20px; padding: 16px 20px; background: var(--soft); border: 1px solid var(--line);
  border-left: 2px solid var(--accent); border-radius: 10px; font-size: .82rem; color: var(--body);
}
.login-demo b { color: var(--ink); }

/* ---------- Tables / pills ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
table.data th {
  text-align: left; background: var(--soft); color: var(--steel); font-weight: 600;
  padding: 14px 20px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
}
table.data td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: middle; }
.pill { display: inline-block; font-size: .72rem; font-weight: 500; padding: 4px 12px; border-radius: 999px; }
.pill.green { background: #e7f4ec; color: #1d7a44; }
.pill.amber { background: #fcf1dc; color: #94650f; }
.pill.blue { background: #e6eefa; color: #2c5fa8; }
.pill.slate { background: #eef0f3; color: #55606c; }
.progress { background: #eceae5; height: 4px; border-radius: 100px; overflow: hidden; min-width: 120px; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 100px; }

/* ---------- Careers ---------- */
.job-card { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 30px 34px; }
.job-card .job-info h3 { margin-bottom: 8px; font-size: 1.1rem; }
.job-card .job-info p { font-size: .9rem; max-width: 640px; }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.job-card .btn { flex: none; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); color: var(--body); font-size: .9rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px; padding: 88px 0 64px; }
.footer-grid h4 { color: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; }
.footer-grid ul { display: grid; gap: 13px; }
.footer-grid a { color: var(--body); text-decoration: none; transition: color .2s; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand p { margin-top: 22px; max-width: 320px; font-size: .88rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 4px; stroke: var(--accent-text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.social-links { display: flex; gap: 10px; margin-top: 28px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #dcd9d2; background: var(--white);
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.social-links a:hover { background: var(--ink); border-color: var(--ink); }
.social-links a:hover svg { stroke: var(--white); }
.social-links svg { stroke: var(--body); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Big numbers (About safety stats) ---------- */
.card .big-num { font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 10px; color: var(--ink); }
.card .big-num + p { color: var(--body); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.txt-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column;
    background: rgba(255,255,255,.98); padding: 14px 28px 26px; gap: 2px; align-items: stretch;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(11,17,24,.2);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: 10px; }
  .nav a.portal-link { margin: 10px 0 0; text-align: center; }
  .nav-toggle { display: block; }
}
@media (max-width: 960px) {
  .cols-3, .cols-4, .portal-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .split, .contact-grid, .portal-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid, .steps, .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3), .step:nth-child(3), .hero-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .section { padding: 84px 0; }
  .hero {
    background:
      linear-gradient(180deg, rgba(250,249,246,.92) 0%, rgba(250,249,246,.8) 55%, rgba(250,249,246,.97) 100%),
      url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1400&q=60") center/cover no-repeat;
  }
}
@media (max-width: 640px) {
  .map-visual { min-height: 0; aspect-ratio: 840 / 340; }
  .cols-2, .cols-3, .cols-4, .portal-grid, .benefits-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .info-tile { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner-wrap { padding-top: 80px; gap: 48px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 22px; }
}
