/* =========================================================
   ASCON – design system
   Colours drawn from the Swedish flag (blue #006AA7 / yellow
   #FECC02) with Nordic accents: falu red, pine, snow.
========================================================= */
:root {
  --blue: #006aa7;
  --blue-600: #005b99;
  --blue-700: #00466f;
  --blue-50: #e8f2fa;
  --yellow: #fecc02;
  --yellow-600: #e5b800;
  --navy: #0a1f33;
  --ink: #13283d;
  --muted: #52667a;
  --line: #dbe5ee;
  --snow: #f4f8fb;
  --white: #ffffff;
  --falu: #8e2b1e;
  --pine: #2f5d50;

  --font-head: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 31, 51, 0.06);
  --shadow: 0 12px 32px rgba(10, 31, 51, 0.1);
  --shadow-lg: 0 24px 60px rgba(10, 31, 51, 0.18);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 700 0.98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--yellow { --bg: var(--yellow); --fg: var(--navy); }
.btn--yellow:hover { --bg: #ffd83a; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, 0.1); }
.btn--outline { --bg: transparent; --fg: var(--blue); border-color: var(--blue); }
.btn--sm { padding: 0.7em 1.2em; font-size: 0.9rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 1.55rem/1 var(--font-head); letter-spacing: 0.12em; color: var(--navy); }
.brand__tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 0.96rem; position: relative;
}
.nav__list a:hover { background: var(--blue-50); color: var(--blue); }
.nav__list a.active { color: var(--blue); }
.nav__list a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--yellow); border-radius: 3px; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; background: var(--snow); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font: 700 0.78rem/1 var(--font-body); padding: 7px 10px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed='true'] { background: var(--blue); color: #fff; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--snow); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px;
    background: #fff; padding: 20px 20px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.25s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 12px 14px; font-size: 1.05rem; }
  .nav__list a.active::after { display: none; }
  .nav__actions { justify-content: space-between; }
}

/* ---------- Page transitions & reveal ---------- */
#main { outline: none; min-height: 60vh; }
.page { animation: pageIn 0.5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page, .reveal { animation: none; transition: none; opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: min(88vh, 820px); display: flex; align-items: center;
  background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6, 22, 40, 0.92) 0%, rgba(6, 22, 40, 0.72) 38%, rgba(6, 22, 40, 0.1) 72%), linear-gradient(0deg, rgba(6, 22, 40, 0.5), transparent 40%);
}
.hero__content { position: relative; z-index: 2; padding: 90px 0 140px; max-width: 680px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d7e6f3; max-width: 560px; margin-bottom: 2em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ''; width: 26px; height: 4px; background: var(--yellow); border-radius: 2px; }
.hero .eyebrow, .on-dark .eyebrow { color: var(--yellow); }
.hero .eyebrow::before, .on-dark .eyebrow::before { background: #fff; }

/* Flag stripe accent */
.flagline { height: 8px; background: linear-gradient(90deg, var(--blue) 0 62%, var(--yellow) 62% 74%, var(--blue) 74%); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -70px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--blue); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.stat:last-child { border-right: 0; }
.stat__num { font: 900 2.6rem/1 var(--font-head); color: var(--yellow); }
.stat__label { font-size: 0.95rem; color: #d7e6f3; margin-top: 8px; }
@media (max-width: 820px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.14); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--snow { background: var(--snow); }
.section--blue { background: var(--blue-700); color: #e2eef8; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section--blue .section__head p { color: #c8dcec; }
.section__head--center { margin-inline: auto; text-align: center; }

/* ---------- Service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--snow); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, 0.95); color: var(--navy);
  padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
}
.card__badge--live { background: var(--yellow); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin: -54px 0 16px; position: relative; box-shadow: 0 0 0 6px #fff; }
.card__icon svg { width: 28px; height: 28px; }
.card__body p { color: var(--muted); flex: 1; }
.card__meta { font-size: 0.88rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s; }
.card:hover .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Business areas (merged home section) ---------- */
.areas { display: grid; gap: clamp(80px, 10vw, 140px); margin-top: 20px; }
.area { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.area--rev .area__media { order: 2; }
.area__media { position: relative; margin-bottom: 40px; }
.area__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.area__inset {
  position: absolute; width: 42%; aspect-ratio: 4 / 3; object-fit: cover; right: -28px; bottom: -40px;
  border: 6px solid #fff; border-radius: 16px; box-shadow: var(--shadow);
}
.area--rev .area__inset { right: auto; left: -28px; }
.area__media::before {
  content: ''; position: absolute; left: -18px; top: -18px; width: 34%; height: 34%;
  background: var(--yellow); border-radius: var(--radius-lg); z-index: -1;
}
.area--rev .area__media::before { left: auto; right: -18px; }
.area__label { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.area__label .eyebrow { margin: 0; }
.area__num { font: 900 3.4rem/1 var(--font-head); color: var(--blue); letter-spacing: -0.02em; }
.area__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.area__icon svg { width: 24px; height: 24px; }
.area h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; }
.promise {
  margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--snow); border-left: 8px solid var(--yellow); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
}
.promise h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.promise p { color: var(--muted); margin: 0; }
.promise .checklist { margin: 0; }
@media (max-width: 900px) {
  .area, .promise { grid-template-columns: 1fr; }
  .area--rev .area__media { order: 0; }
  .area__inset { right: -8px; bottom: -28px; width: 40%; }
  .area--rev .area__inset { left: -8px; }
  .area__media::before { display: none; }
}

/* ---------- Values / features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.section--blue .feature { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.feature__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; }
.feature p { font-size: 0.97rem; margin: 0; color: var(--muted); }
.section--blue .feature p { color: #c8dcec; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__media::after { content: ''; position: absolute; width: 38%; height: 38%; right: -18px; bottom: -18px; background: var(--yellow); border-radius: var(--radius-lg); z-index: -1; }
.split__media { z-index: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ''; flex: 0 0 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FECC02' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 70px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font: 900 3rem/1 var(--font-head); color: var(--yellow);
}
.step::after { content: ''; position: absolute; top: 24px; left: 86px; right: -12px; height: 2px; background: rgba(255, 255, 255, 0.2); }
.step:last-child::after { display: none; }
.step p { color: #c8dcec; font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr; gap: 26px; padding-right: 42%;
}
/* Nordic cross tucked into the right side of the band */
.cta::before { content: ''; position: absolute; top: 0; bottom: 0; right: 16%; width: 56px; background: var(--yellow); }
.cta::after { content: ''; position: absolute; left: 62%; right: 0; top: 50%; height: 56px; transform: translateY(-50%); background: var(--yellow); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 0.3em; }
.cta p { color: #d7e6f3; margin: 0; font-size: 1.1rem; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta { padding-right: clamp(28px, 6vw, 72px); } .cta::before, .cta::after { display: none; } }

/* ---------- Page header (inner pages) ---------- */
.pagehead { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); }
.pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.pagehead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 51, 0.95), rgba(10, 31, 51, 0.4)); }
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 820px; }
.pagehead p { color: #c8dcec; font-size: 1.15rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 0.88rem; color: #9fb8cf; margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { color: #d7e6f3; text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

/* ---------- Projects ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 10px 18px; border-radius: 999px;
  font: 600 0.92rem/1 var(--font-body); cursor: pointer; transition: 0.2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
.card.is-hidden { display: none; }

.facts { background: var(--snow); border-radius: var(--radius-lg); padding: 30px; border-top: 6px solid var(--yellow); }
.facts dl { margin: 0; display: grid; gap: 16px; }
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
.detail__img { border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 36px; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.lead { font-size: 1.22rem; color: var(--navy); }

/* ---------- Quote ---------- */
.quote { font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.35 var(--font-head); color: var(--navy); max-width: 900px; margin: 0 auto; text-align: center; }
.quote::before { content: '”'; display: block; font-size: 5rem; line-height: 0.6; color: var(--yellow); margin-bottom: 10px; }
.quote cite { display: block; margin-top: 18px; font: 600 1rem var(--font-body); color: var(--muted); font-style: normal; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--snow); color: var(--ink); transition: 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 106, 167, 0.12); }
.field.invalid input, .field.invalid textarea { border-color: #c62828; }
.field .err { color: #c62828; font-size: 0.84rem; display: none; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); }
.consent.invalid { color: #c62828; }
.hp { position: absolute; left: -9999px; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form__status.ok { display: block; background: #e7f6ec; color: #1b5e20; }
.form__status.fail { display: block; background: #fdecea; color: #b71c1c; }

.infocard { background: var(--navy); color: #d7e6f3; border-radius: var(--radius-lg); padding: 34px; position: relative; overflow: hidden; }
.infocard::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--blue); opacity: 0.5; }
.infocard h3 { color: #fff; }
.infocard ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 18px; position: relative; z-index: 1; }
.infocard li { display: flex; gap: 14px; }
.infocard li svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--yellow); margin-top: 3px; }
.infocard a { color: #fff; text-decoration: none; font-weight: 600; }
.infocard small { display: block; color: #9fb8cf; font-size: 0.82rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #a9bfd3; padding: 70px 0 30px; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #d7e6f3; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; }
.footer__flag { display: inline-flex; align-items: center; gap: 8px; }
.footer__credit { margin: 18px 0 0; font-size: 0.8rem; color: #7f97ad; text-align: center; }
.footer__flag i { display: inline-block; width: 22px; height: 14px; border-radius: 2px; background: linear-gradient(90deg, transparent 0 31%, var(--yellow) 31% 50%, transparent 50%), linear-gradient(0deg, transparent 0 40%, var(--yellow) 40% 60%, transparent 60%), var(--blue); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 140px 0; }
.notfound .big { font: 900 clamp(5rem, 16vw, 10rem)/1 var(--font-head); color: var(--blue); }
.notfound .big span { color: var(--yellow); }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero__content { padding: 70px 0 120px; }
  .hero::before { background: linear-gradient(180deg, rgba(6, 22, 40, 0.85), rgba(6, 22, 40, 0.75)); }
  .brand__tag { display: none; }
  .stat { padding: 22px 18px; }
  .stat__num { font-size: 2rem; }
}
