/* ==========================================================================
   ARKABI — arkabi.lt
   Single stylesheet, shared by LT (/) and EN (/en/).
   Sections are ordered the same way they appear in the markup.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* surface */
  --bg:            #080D17;
  --bg-raised:     #0B1220;
  --surface:       rgba(255, 255, 255, 0.028);
  --surface-hover: rgba(255, 255, 255, 0.052);
  --line:          rgba(255, 255, 255, 0.088);
  --line-strong:   rgba(255, 255, 255, 0.17);

  /* ink */
  --text:    #EAEFF7;
  --text-mid:#9DAABE;
  --text-dim:#6E7C92;

  /* accent */
  --accent:      #5C93CE;
  --accent-soft: #86B2E2;
  --accent-dim:  rgba(92, 147, 206, 0.14);

  /* type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --shell:      1240px;
  --gutter:     clamp(20px, 4vw, 40px);
  --section-y:  clamp(76px, 9vw, 132px);
  --radius:     16px;
  --radius-lg:  22px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

ul { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(92, 147, 206, 0.32); }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  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;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #06101E;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   3. Shared blocks
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(92, 147, 206, 0.55);
}

.section-head { max-width: 720px; margin-bottom: clamp(44px, 5vw, 68px); }

.section-head h2 {
  font-size: clamp(29px, 3.9vw, 46px);
}

.section-head p {
  margin-top: 20px;
  color: var(--text-mid);
  font-size: clamp(16px, 1.5vw, 18.5px);
}

/* Section-level heading + lead paragraph, used outside .section-head too */
.h2 { font-size: clamp(29px, 3.9vw, 46px); }

.lede {
  margin-top: 20px;
  color: var(--text-mid);
  font-size: clamp(16px, 1.5vw, 18.5px);
}
.lede + .lede { margin-top: 18px; }

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(180deg, #6FA3DC 0%, #4F82BC 100%);
  color: #05101F;
  box-shadow: 0 10px 30px -12px rgba(92, 147, 206, 0.75);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(92, 147, 206, 0.9);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 20px; font-size: 14.5px; }

/* card ------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              transform 0.3s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 50% 0%, rgba(92, 147, 206, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  transform: translateY(-4px);
}
.card:hover::after { opacity: 1; }

.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p  { color: var(--text-mid); font-size: 15.5px; line-height: 1.65; }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(92, 147, 206, 0.10);
  color: var(--accent-soft);
}
.card__icon svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  padding: 11px 0;
  background: rgba(8, 13, 23, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.site-header .shell {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
}
.brand__mark { width: 26px; height: 26px; flex: none; }

.nav { margin-left: auto; }

.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__list a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__list a:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* language switch -------------------------------------------------------- */
.lang {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

/* mobile burger ---------------------------------------------------------- */
.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  padding-top: clamp(140px, 18vh, 190px);
  padding-bottom: clamp(80px, 11vh, 130px);
  overflow: hidden;
  isolation: isolate;
}

/* Hero artwork. The SVG sits underneath as an instant-painting base layer in
   the brand palette, so there is never a flash of flat colour while the photo
   decodes — and it is what shows if the JPG ever fails to load. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hero-bg.jpg"), url("../img/hero-bg.svg");
  background-size: cover, cover;
  background-position: 50% 45%, 68% center;
  background-repeat: no-repeat, no-repeat;
}

/* Extra CSS-side depth + guarantees text contrast on very wide/narrow crops. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 23, 0.90) 0%, rgba(8, 13, 23, 0.62) 34%,
                           rgba(8, 13, 23, 0.12) 66%, rgba(8, 13, 23, 0) 100%),
    linear-gradient(180deg, rgba(8, 13, 23, 0.72) 0%, rgba(8, 13, 23, 0) 26%,
                           rgba(8, 13, 23, 0) 62%, var(--bg) 100%);
}

.hero__inner { max-width: 760px; }

.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.032em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #A9C9EC 0%, #6FA3DC 55%, #4F82BC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 600px;
  margin-top: 28px;
  color: var(--text-mid);
  font-size: clamp(16.5px, 1.7vw, 20px);
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 14px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero__trust svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; }

.section--raised {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.016) 22%,
                              rgba(255, 255, 255, 0.016) 78%, transparent);
  border-block: 1px solid var(--line);
}

/* services --------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

/* process ---------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  counter-reset: step;
}

.step { position: relative; padding-top: 34px; }

.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 42px; height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(92, 147, 206, 0.6);
}

.step__num {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.step h3 { font-size: 19px; margin-bottom: 11px; }
.step p  { color: var(--text-mid); font-size: 15.5px; }

/* why / split ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.checklist { display: grid; gap: 22px; }

.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
}
.checklist svg {
  width: 26px; height: 26px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(92, 147, 206, 0.10);
  color: var(--accent-soft);
}
.checklist h3 { font-size: 17px; margin-bottom: 5px; }
.checklist p  { color: var(--text-mid); font-size: 15.5px; }

/* stats ------------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.stat { padding: 28px 26px; background: var(--bg); }
.stat__value {
  display: block;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}
.stat__label { margin-top: 6px; color: var(--text-dim); font-size: 14px; }

/* tech tags -------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-mid);
  font-size: 14.5px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.tags li:hover { border-color: var(--accent); color: var(--text); }

/* image panel ------------------------------------------------------------ */
.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
}
.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Blends the photo edges into the page so it reads as depth, not a pasted box */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 13, 23, 0.28) 0%, transparent 30%,
                            transparent 62%, rgba(8, 13, 23, 0.42) 100%),
    linear-gradient(90deg, rgba(8, 13, 23, 0.30) 0%, transparent 34%);
}
.panel--tall { aspect-ratio: 4 / 3; }

/* cta band --------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(44px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--bg-raised);
  background-image:
    radial-gradient(900px 420px at 78% 0%, rgba(92, 147, 206, 0.22), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    url("../img/texture-blueprint.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, center;
  overflow: hidden;
  text-align: center;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(27px, 3.6vw, 42px); }
.cta-band p {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--text-mid);
  font-size: clamp(16px, 1.5vw, 18px);
}
.cta-band .hero__cta { justify-content: center; margin-top: 36px; }

/* --------------------------------------------------------------------------
   7. Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(32px, 4.5vw, 66px);
  align-items: start;
}

.contact-details { display: grid; gap: 26px; margin-top: 38px; }

.contact-details__row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-details__row svg {
  width: 42px; height: 42px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(92, 147, 206, 0.10);
  color: var(--accent-soft);
}
.contact-details__label {
  display: block;
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-details__value {
  display: inline-block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
a.contact-details__value:hover { color: var(--accent-soft); }

/* form ------------------------------------------------------------------- */
.form {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form__grid { display: grid; gap: 18px; }

.field { display: grid; gap: 8px; }

.field label {
  color: var(--text-mid);
  font-size: 13.5px;
  font-weight: 500;
}
.field label .req { color: var(--accent-soft); }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.028);
  font-size: 15.5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(92, 147, 206, 0.07);
}
.field textarea { min-height: 132px; resize: vertical; }

/* honeypot: hidden from humans, tempting to bots */
.field--trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
}
.form__consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.form__consent a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }

.form .btn { width: 100%; }

.form__note {
  margin-top: 4px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 14.5px;
}
.form__note[hidden] { display: none; }
.form__note--ok    { border-color: rgba(92, 206, 147, 0.45); background: rgba(92, 206, 147, 0.10); }
.form__note--error { border-color: rgba(226, 116, 116, 0.45); background: rgba(226, 116, 116, 0.10); }

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(52px, 6vw, 76px) 34px;
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 44px;
}

.footer-top p {
  max-width: 340px;
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 15px;
}

.footer-col h4 {
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-col li + li { margin-top: 11px; }
.footer-col a {
  color: var(--text-mid);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 14px;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   9. Legal pages
   -------------------------------------------------------------------------- */
.legal { padding-top: clamp(150px, 18vh, 200px); }
.legal .shell { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 14px; }
.legal .legal__meta { color: var(--text-dim); font-size: 14.5px; margin-bottom: 48px; }
.legal h2 { font-size: clamp(21px, 2.4vw, 26px); margin-top: 46px; margin-bottom: 14px; }
.legal p, .legal li { color: var(--text-mid); font-size: 16px; }
.legal p + p { margin-top: 14px; }
.legal ul { margin-top: 14px; display: grid; gap: 10px; }
.legal ul li { padding-left: 20px; position: relative; }
.legal ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.legal a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   10. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* stagger children of a revealed grid */
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }
.reveal[data-delay="5"] { transition-delay: 0.35s; }

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 0 0 auto;
    margin: 0;
    padding: 92px var(--gutter) 34px;
    background: rgba(8, 13, 23, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0.4s var(--ease);
    z-index: 1;
  }
  .nav.is-open { transform: none; visibility: visible; }

  /* The brand and the language switch stay readable above the open panel. */
  .site-header .brand,
  .header-actions,
  .burger { position: relative; z-index: 2; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }

  .burger { display: block; order: 3; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }
  .hero__bg { background-position: 74% center, 76% center; }
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(8, 13, 23, 0.86) 0%, rgba(8, 13, 23, 0.66) 45%,
                              rgba(8, 13, 23, 0.80) 78%, var(--bg) 100%);
  }
  .hero__trust { gap: 12px 20px; }

  .cta-band { padding: 38px 24px; }
  .form .btn, .hero__cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   12. Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__bg, .burger, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
