/* MEKA Lojistik — site styles */
:root {
  --navy-900: #0A2540;
  --navy-800: #0E2F50;
  --navy-700: #163E66;
  --line-dark: #24486E;
  --border-dark: #3A5F86;
  --on-dark: #EEF3F8;
  --on-dark-muted: #B4C6D9;
  --on-dark-soft: #9DB3CA;
  --on-dark-label: #93AAC2;
  --on-dark-link: #D6E2EE;

  --bg: #F6F8FB;
  --card: #FFFFFF;
  --line: #D5DEE8;
  --img-bg: #E3EAF2;
  --input-border: #B5C3D2;
  --text: #12263A;
  --text-2: #33475C;
  --muted: #51637A;
  --muted-2: #5F7186;

  --blue: #2B74B8;
  --blue-hover: #23629D;
  --blue-ink: #22639E;
  --blue-ink-hover: #184C7C;
  --sky: #8EC5EE;
  --sky-hover: #A7D3F3;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 4px;
  --section-y: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); }
a:hover { color: var(--blue-ink-hover); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 12px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: var(--section-y); }
.section-tight-top { padding-top: 0; }
.dark { background: var(--navy-800); color: var(--on-dark); }
.white { background: var(--card); border-block: 1px solid var(--line); }
.sky-band { background: var(--sky); color: var(--navy-800); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: var(--blue-ink); }
.dark .eyebrow { color: var(--sky); }
.h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(38px, 5.2vw, 74px); line-height: 1.03; letter-spacing: -0.02em; text-wrap: balance; }
.h1-page { font-size: clamp(38px, 4.8vw, 66px); }
.h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.h2-sm { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.14; letter-spacing: -0.01em; }
.h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--text-2); }
.dark .lead { color: var(--on-dark-muted); }
.body-text { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.small-text { font-size: 15px; line-height: 1.65; color: var(--muted); }
.dark .small-text { color: var(--on-dark-muted); }
.num { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.dark .num, .num-accent { color: var(--blue-ink); }
.dark .num-accent { color: var(--sky); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { flex: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); color: #fff; }
.btn-sky { background: var(--sky); color: var(--navy-800); }
.btn-sky:hover { background: var(--sky-hover); color: var(--navy-800); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; min-height: 48px; padding: 0 22px; }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-outline-dark { border-color: var(--border-dark); color: var(--on-dark); font-weight: 500; }
.btn-outline-dark:hover { border-color: var(--on-dark); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy-800); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--blue-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 76px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; min-height: 48px; }
.logo img { height: 34px; width: auto; }
.header-menu { display: flex; align-items: center; gap: 12px 28px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 2px; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none;
}
.nav-list a:hover { color: var(--navy-800); }
.nav-list a[aria-current="page"] { color: var(--navy-800); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); }
.lang-switch button {
  min-width: 44px; min-height: 38px; border: 0; border-radius: 3px; cursor: pointer;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  background: transparent; color: var(--text-2);
}
.lang-switch button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text);
  font-weight: 600; font-size: 15px; cursor: pointer;
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; column-gap: 12px; }
  .logo img { height: 28px; }
  .header-menu { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 12px; border-top: 1px solid var(--line); }
  .header-menu.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { min-height: 48px; padding: 0 4px; width: 100%; }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); padding-left: 12px; }
  .header-actions { justify-content: space-between; padding-top: 8px; }
}

/* ---------- Hero ---------- */
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 48px; align-items: stretch; padding-block: clamp(48px, 6vw, 88px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero-copy .lead { max-width: 560px; }
.hero-figure { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--navy-700); }
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  background: var(--navy-800); color: var(--on-dark); padding: 12px 16px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
}
.hero-figure figcaption span + span { color: var(--sky); }
.mode-strip { border-top: 1px solid var(--line-dark); }
.mode-strip ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.mode-strip li { display: flex; align-items: baseline; gap: 10px; padding: 22px 16px 22px 0; font-size: 15px; font-weight: 500; color: var(--on-dark-link); }
.mode-strip li span { font-family: var(--font-mono); font-size: 12px; color: var(--sky); }

.page-hero { padding-block: clamp(56px, 7vw, 104px); }
.page-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px 80px; align-items: end; }

/* ---------- Layout helpers ---------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px 80px; }
.two-col-center { align-items: center; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 40px; }
.section-head .stack { max-width: 720px; gap: 16px; }

/* ---------- Service grid (home) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--card); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.service-card .card-top { display: flex; justify-content: space-between; align-items: center; }
.service-card svg { color: var(--blue-ink); }

/* ---------- Slogan band ---------- */
.slogan-band { padding-block: 40px; }
.slogan-band .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; }
.slogan { font-family: var(--font-head); font-weight: 700; font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.slogan-sub { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; max-width: 380px; line-height: 1.6; }

/* ---------- Numbered list ---------- */
.num-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 36px 40px; }
.num-list li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.num-list.light li { border-top: 3px solid var(--text); }

/* ---------- Project cards (home) ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 24px; }
.project-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.project-card:hover { color: var(--text); border-color: var(--blue); box-shadow: 0 6px 24px rgba(14, 47, 80, 0.08); }
.project-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--img-bg); }
.project-card .card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--blue-ink); }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; font-size: 15px; }

/* ---------- Certificates ---------- */
.cert-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.cert-mini li { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #F3F6FA; }
.cert-mini img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border: 1px solid var(--img-bg); }
.cert-code { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.cert-name { font-size: 13px; line-height: 1.45; color: var(--muted); }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.cert-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cert-open { display: block; width: 100%; padding: 20px; border: 0; border-bottom: 1px solid var(--line); background: #EAF0F6; cursor: zoom-in; }
.cert-open img { width: 100%; aspect-ratio: 989 / 1400; object-fit: contain; box-shadow: 0 1px 3px rgba(14, 47, 80, 0.18); }
.cert-card .card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cert-meta { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.cert-meta div { display: flex; justify-content: space-between; gap: 12px; }
.cert-meta dt { color: var(--muted-2); }
.cert-meta dd { font-family: var(--font-mono); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(10, 37, 64, 0.9);
}
.lightbox.is-open { display: flex; }
.lightbox-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; }
.lightbox img { max-width: min(92vw, 760px); max-height: calc(100vh - 120px); object-fit: contain; background: #fff; }
.lightbox-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; color: var(--on-dark); }
.lightbox-bar span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; }
.lightbox button { min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--border-dark); background: var(--navy-800); color: var(--on-dark); font-weight: 500; cursor: pointer; }

/* ---------- CTA ---------- */
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-tile { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--border-dark); color: var(--on-dark); }
.cta-tile:hover { color: #fff; border-color: var(--on-dark-soft); }
.cta-tile.primary { background: var(--sky); border-color: var(--sky); color: var(--navy-800); }
.cta-tile.primary:hover { background: var(--sky-hover); color: var(--navy-800); }
.cta-tile .tile-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cta-tile .tile-label { font-size: 14px; color: var(--on-dark-soft); }
.cta-tile.primary .tile-label { color: var(--navy-800); }
.cta-tile .tile-value { font-weight: 600; font-size: 18px; overflow-wrap: anywhere; }
.cta-tile svg { flex: none; }
.cta-tile:not(.primary) svg { color: var(--sky); }

.cta-band .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.cta-band-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.02em; max-width: 760px; }

/* ---------- Services page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--border-dark); border-radius: var(--radius); color: var(--on-dark); text-decoration: none; font-size: 14px;
  background: transparent; cursor: pointer; font-weight: 500;
}
.chip:hover { color: #fff; border-color: var(--on-dark-soft); }
.chip span { font-family: var(--font-mono); font-size: 12px; color: var(--sky); }
.chip[aria-pressed="true"] { background: var(--on-dark); border-color: var(--on-dark); color: var(--navy-800); }

.service-rows { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.service-row { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; scroll-margin-top: 100px; }
.service-row:nth-child(even) { flex-direction: row-reverse; }
.service-media { flex: 1 1 460px; min-width: 0; position: relative; }
.service-media img { width: 100%; height: clamp(280px, 32vw, 440px); object-fit: cover; border-radius: var(--radius); background: var(--img-bg); }
.media-badge { position: absolute; top: 16px; left: 16px; background: var(--navy-800); color: var(--sky); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; padding: 8px 12px; border-radius: 3px; }
.service-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.scope { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.scope h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted-2); }
.scope ul { display: flex; flex-direction: column; gap: 10px; }
.scope li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.5; }
.scope li::before { content: ""; flex: none; width: 10px; height: 2px; background: var(--blue-ink); transform: translateY(-4px); }
.service-body .btn-outline { align-self: flex-start; margin-top: 6px; }

/* ---------- Projects page ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.project-list { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.project-item { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.project-item[hidden] { display: none; }
.gallery { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--img-bg); }
.gallery-main img { width: 100%; height: clamp(300px, 36vw, 500px); object-fit: cover; }
.gallery-counter { position: absolute; right: 12px; bottom: 12px; background: var(--navy-800); color: var(--on-dark); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; padding: 6px 10px; border-radius: 3px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs button { width: 88px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; background: var(--img-bg); opacity: 0.72; }
.thumbs button[aria-pressed="true"] { border-color: var(--blue); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.project-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.project-info .meta-line { display: flex; align-items: center; gap: 14px; }
.project-info .meta-line .rule { height: 1px; flex: 1; background: var(--line); }
.specs { margin-top: 8px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.specs div { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { flex: 0 0 150px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted-2); padding-top: 3px; }
.specs dd { flex: 1 1 200px; font-size: 16px; font-weight: 500; }

/* ---------- About page ---------- */
.about-hero-img { width: 100%; height: clamp(320px, 34vw, 480px); object-fit: cover; border-radius: var(--radius); background: var(--navy-700); }
.pull-quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.01em; padding-left: 24px; border-left: 4px solid var(--blue); }
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.vm-card { border-radius: var(--radius); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; background: var(--card); border: 1px solid var(--line); }
.vm-card.dark { border-color: var(--navy-800); }
.vm-head { display: flex; align-items: center; gap: 14px; }
.vm-head h2 { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; color: var(--blue-ink); }
.vm-card.dark .vm-head h2, .vm-card.dark svg { color: var(--sky); }
.vm-card svg { color: var(--blue-ink); }
.vm-text { font-family: var(--font-head); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; }
.legal-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px 48px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.label-mono { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted-2); margin-bottom: 8px; }

/* ---------- Contact page ---------- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.contact-aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
a.contact-card:hover { color: var(--text); border-color: var(--blue); }
.contact-card.top { align-items: flex-start; }
.icon-box { flex: none; width: 48px; height: 48px; border-radius: var(--radius); background: var(--navy-800); color: var(--sky); display: flex; align-items: center; justify-content: center; }
.contact-card .c-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card .c-label { font-size: 13px; color: var(--muted); }
.contact-card .c-value { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.contact-card .c-value.big { font-family: var(--font-head); font-size: 20px; }
.form-card { flex: 999 1 560px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 48px); }
.quote-form { display: flex; flex-direction: column; gap: 32px; }
.quote-form[hidden] { display: none; }
.quote-form fieldset { margin: 0; padding: 0; border: 0; }
.quote-form legend { padding: 0; margin-bottom: 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--blue-ink); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field .req { color: var(--blue-ink); }
.field input, .field textarea {
  min-height: 48px; padding: 0 14px; border: 1px solid var(--input-border); border-radius: var(--radius);
  font-size: 16px; background: #fff; color: var(--text);
}
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(43, 116, 184, 0.25); outline-offset: 0; }
.honeypot { display: none !important; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot p { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 340px; }
.form-error { display: none; padding: 14px 16px; border-radius: var(--radius); background: #FDF1F0; border: 1px solid #E7B4AF; color: #8A2C22; font-size: 15px; line-height: 1.5; }
.form-error.is-visible { display: block; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.form-success { display: none; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 0; }
.form-success.is-visible { display: flex; }
.success-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--navy-800); color: var(--sky); display: flex; align-items: center; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; padding-block: 64px 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 300px; }
.footer-brand .footer-slogan { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--on-dark); }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col h2 { margin: 0 0 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--on-dark-label); }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; color: var(--on-dark-link); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-contact { gap: 14px; }
.footer-contact a, .footer-contact p { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.footer-contact p { align-items: flex-start; font-size: 14px; line-height: 1.6; font-weight: 400; color: var(--on-dark-muted); }
.footer-contact svg { flex: none; color: var(--sky); }
.footer-contact p svg { margin-top: 2px; }
.footer-bottom { border-top: 1px solid #1C3F63; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px; font-size: 13px; color: var(--on-dark-label); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
