/* ==========================================================================
   RBF Latam — Design System
   Consultoria, Participações e Eventos
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --navy-950: #131030;
  --navy-900: #1B1740;
  --navy-800: #211C4E;
  --navy: #2A255B;
  --navy-600: #3A3475;
  --azure: #009DE0;          /* accent decorativo */
  --azure-700: #0077AD;      /* testo e bottoni (AA su bianco) */
  --azure-900: #00638F;      /* hover */
  --azure-050: #E9F6FD;

  /* Neutrals */
  --ink: #14142A;
  --body: #3E4259;
  --muted: #6E7389;
  --line: #E4E7F0;
  --surface: #FFFFFF;
  --surface-2: #F6F7FB;
  --surface-3: #EFF1F7;

  /* System */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 42, .06), 0 8px 24px -18px rgba(20, 20, 42, .28);
  --shadow: 0 2px 4px rgba(20, 20, 42, .04), 0 24px 48px -32px rgba(20, 20, 42, .35);
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--azure-700); text-decoration: none; }
a:hover { color: var(--azure-900); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.022em; line-height: 1.14; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.32rem); letter-spacing: -.015em; }
p { margin: 0 0 1.1rem; }
ul { margin: 0 0 1.1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }
strong { color: var(--ink); font-weight: 600; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--soft { background: var(--surface-2); }
.section--navy { background: var(--navy); color: #E7EAF6; }
.section--navy h2, .section--navy h3, .section--navy h1 { color: #fff; }
.section--navy p { color: #C9CFE4; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
[id] { scroll-margin-top: 92px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--azure-700); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--azure); border-radius: 2px;
}
.section--navy .eyebrow { color: #7FD4F7; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--body); }
.section--navy .lead { color: #CBD2E8; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.header-block { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.header-block p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 100px; border: 1px solid transparent;
  font-size: .97rem; font-weight: 600; letter-spacing: -.01em; cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--azure-700); color: #fff; box-shadow: 0 10px 24px -14px rgba(0, 119, 173, .85); }
.btn--primary:hover { background: var(--azure-900); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: #CBD1E4; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: #F7F8FC; }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .26); }
.btn--light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #EAF6FD; color: var(--navy); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 14px; border-radius: 100px; color: var(--ink);
  font-size: .94rem; font-weight: 500; letter-spacing: -.01em;
}
.nav a:hover { background: var(--surface-3); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--azure-700); font-weight: 600; background: var(--azure-050); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 11px 20px; font-size: .92rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Language bar (top-left) ---------- */
.langbar {
  position: relative; z-index: 101;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.langbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px 20px; flex-wrap: wrap;
  min-height: 40px; padding-top: 5px; padding-bottom: 5px;
}
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 9px; border-radius: 999px;
  color: rgba(255, 255, 255, .74);
  font-size: .71rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  line-height: 1;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-switch a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .16); }
.lang-switch .flag {
  display: block; width: 20px; height: 14px; flex: none;
  border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .24);
}
.langbar__motto {
  margin: 0; color: rgba(255, 255, 255, .6);
  font-size: .76rem; font-weight: 500; letter-spacing: .02em;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(0, 157, 224, .34), transparent 62%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy) 58%, var(--navy-600) 100%);
  padding: clamp(64px, 9vw, 116px) 0 clamp(56px, 8vw, 104px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 78%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: #C8D0E8; max-width: 34em; }
/* widget in alto a sinistra: test gratuito di maturità */
.hero-widget {
  display: inline-flex; align-items: center; gap: 14px;
  width: min(100%, 420px); margin: 0 0 26px; padding: 12px 16px 12px 14px;
  border-radius: var(--radius); text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 22px 44px -34px rgba(0, 0, 0, .95);
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.hero-widget:hover { background: rgba(255, 255, 255, .14); border-color: rgba(0, 157, 224, .65); transform: translateY(-2px); color: #fff; }
.hero-widget:focus-visible { outline: 3px solid rgba(0, 157, 224, .6); outline-offset: 3px; }
.hero-widget__icon {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, var(--azure) 0%, var(--azure-900) 100%);
}
.hero-widget__icon svg { width: 20px; height: 20px; }
.hero-widget__label {
  display: block; margin-bottom: 3px;
  font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #8FD8F6;
}
.hero-widget__text { flex: 1; min-width: 0; }
.hero-widget__text strong { display: block; color: #fff; font-size: .97rem; font-weight: 600; line-height: 1.3; }
.hero-widget__go { margin-left: auto; display: flex; color: rgba(255, 255, 255, .62); transition: color .18s var(--ease), transform .18s var(--ease); }
.hero-widget__go svg { width: 18px; height: 18px; }
.hero-widget:hover .hero-widget__go { color: #fff; transform: translateX(3px); }
@media (max-width: 620px) {
  .hero-widget { width: 100%; max-width: none; margin-bottom: 22px; padding: 12px 14px; gap: 12px; }
  .hero-widget__label { font-size: .61rem; letter-spacing: .06em; }
  .hero-widget__text strong { font-size: .93rem; }
  .hero-widget__icon { width: 34px; height: 34px; }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 100px;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #BFE8FA;
}
.hero__eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--azure); display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 8px;
  backdrop-filter: blur(6px);
}
.hero-card__row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 18px; border-radius: 18px;
  transition: background .25s var(--ease);
}
.hero-card__row + .hero-card__row { border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-card__row:hover { background: rgba(255, 255, 255, .05); }
.hero-card__row svg { width: 22px; height: 22px; color: #6FD0F5; flex: none; margin-top: 2px; }
.hero-card__row strong { display: block; color: #fff; font-size: .99rem; font-weight: 600; }
.hero-card__row span { display: block; color: #B9C2DC; font-size: .89rem; line-height: 1.5; }

/* ---------- Marquee / trust strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: 22px 0; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.strip__item { display: inline-flex; align-items: center; gap: 9px; }
.strip__item svg { width: 16px; height: 16px; color: var(--azure); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  height: 100%;
}
.split > .card, .split > * > .card { height: auto; align-self: start; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D3D9E9; }
.card h3 { margin-top: 16px; margin-bottom: 10px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--azure-050); color: var(--azure-700);
}
.card__icon svg { width: 23px; height: 23px; }
.card--plain { box-shadow: none; background: var(--surface-2); border-color: transparent; }
.card--plain:hover { transform: none; box-shadow: none; }
.card--link { display: block; color: inherit; text-decoration: none; }
.card--link:hover, .card--link:focus-visible { color: inherit; }
.card--link h3 { color: var(--navy); }
.card--link .small { color: var(--muted); margin-bottom: 0; }
.card--link::after {
  content: "→"; display: block; margin-top: 14px;
  font-size: .95rem; font-weight: 600; color: var(--azure-700);
  transition: transform .22s var(--ease);
}
.card--link:hover::after { transform: translateX(4px); }
.section--navy .card { background: var(--surface); }
.section--navy .card h3 { color: var(--navy); }
.section--navy .card p, .section--navy .card li { color: var(--body); }
.section--navy .card .small, .section--navy .card .muted { color: var(--muted); }

/* ---------- Valori ---------- */
.value-num {
  display: block; margin-bottom: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  color: var(--azure-700);
}
.card--accent { background: var(--navy-950); border-color: transparent; }
.card--accent h3 { color: #fff; }
.card--accent .tick-list li { color: rgba(255, 255, 255, .82); font-size: .92rem; margin-bottom: 8px; }
.card--accent .tick-list li:last-child { margin-bottom: 0; }
.card--accent .tick-list li::before { background: rgba(255, 255, 255, .10); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.card--accent .tick-list li::after { border-left-color: #fff; border-bottom-color: #fff; }

.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .96rem; }
.tick-list li:last-child { margin-bottom: 0; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--azure-050);
  box-shadow: inset 0 0 0 1.5px rgba(0, 157, 224, .35);
}
.tick-list li::after {
  content: ""; position: absolute; left: 5px; top: .72em; width: 5px; height: 3px;
  border-left: 2px solid var(--azure-700); border-bottom: 2px solid var(--azure-700); transform: rotate(-45deg);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; padding: 28px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--azure-700);
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { margin-bottom: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Media split ---------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-3); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-caption { margin-top: 12px; font-size: .82rem; color: var(--muted); }

/* ---------- Photo band (full-bleed) ---------- */
.photo-band { position: relative; margin: 0; overflow: hidden; background: var(--navy-950); }
.photo-band img {
  display: block; width: 100%; height: clamp(220px, 30vw, 400px);
  object-fit: cover; object-position: center;
}
.photo-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 38, .14) 0%, rgba(8, 14, 36, .34) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .photo-band img { transition: transform .9s var(--ease); }
  .photo-band:hover img { transform: scale(1.015); }
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 100px;
  background: var(--surface-3); color: var(--navy); font-size: .82rem; font-weight: 600;
}
.section--navy .pill { background: rgba(255, 255, 255, .1); color: #DCE3F5; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-600));
  color: #fff; padding: clamp(34px, 4.6vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 157, 224, .35), transparent 68%);
}
.cta h2 { color: #fff; margin-bottom: 8px; max-width: 22em; }
.cta p { color: #C2CAE3; margin: 0; max-width: 34em; }
.cta__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page header ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(0, 157, 224, .28), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy));
  color: #fff; padding: clamp(52px, 7vw, 88px) 0 clamp(44px, 6vw, 72px);
}
.page-hero h1 { color: #fff; max-width: 20em; }
.page-hero p { color: #C6CFE6; max-width: 46em; margin-bottom: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: #93A2C7; margin-bottom: 20px; }
.crumbs a { color: #BFD9EA; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid #D6DBE8; border-radius: 12px; background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--azure); box-shadow: 0 0 0 4px rgba(0, 157, 224, .14); outline: none;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192, 57, 43, .10);
}
.field__error { color: #C0392B; font-size: .82rem; min-height: 1em; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-status { margin-top: 16px; font-size: .92rem; }

/* ---------- Contact blocks ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--azure); flex: none; margin-top: 3px; }
.contact-list span { display: block; font-size: .82rem; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 600; color: var(--ink); font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B3CF; padding: clamp(48px, 6vw, 72px) 0 28px; }
.site-footer a { color: #C7D0E6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: clamp(24px, 4vw, 48px); }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; color: #97A2C0; max-width: 30em; }
.footer-col h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: .92rem; }
.footer-bottom {
  margin-top: clamp(32px, 4vw, 52px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .8rem; color: #7E89A8;
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--primary { display: none; }
  .site-header__inner { height: 68px; }
  .brand img { width: 140px; }

  .nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px; box-shadow: 0 24px 40px -32px rgba(20, 20, 42, .5);
  }
  .nav-open .nav a { padding: 13px 14px; border-radius: 12px; font-size: 1rem; }
  .nav-open .nav .btn { margin-top: 8px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .langbar__inner { justify-content: flex-start; gap: 4px 12px; padding-top: 6px; padding-bottom: 6px; }
  .lang-switch a { padding: 6px 7px; letter-spacing: .07em; }
  .langbar__motto { width: 100%; font-size: .74rem; letter-spacing: 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .strip__inner { justify-content: flex-start; }
  .cta { padding: 30px 24px; }
  .hero { padding-top: 52px; }
  .hero__actions .btn { width: 100%; }
  .page-hero { padding-top: 40px; }
}
