/* ==========================================================================
   A2 Agency – main stylesheet (mobile-first, no framework)
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable, Latin + Latin Extended) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-wght-normal.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;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  --navy: #153F60;
  --navy-deep: #0D2B45;
  --navy-tile: #14385A;
  --navy-line: #1E4C72;
  --ink: #10233A;
  --muted: #3E5064;
  --muted-2: #4A5B6E;
  --on-dark: #C9D8E6;
  --on-dark-2: #DCE8F2;
  --accent: #F4A62A;
  --accent-hover: #F7B851;
  --tint: #E8F0F7;
  --line: #DCE4EC;
  --line-strong: #B6C6D6;
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --success: #1F7A4D;
  --error: #B42318;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 12px;
  --radius-l: 18px;
  --radius-xl: 24px;
  --shadow-card: 0 18px 40px rgba(21, 63, 96, .22);
  --shadow-hero: 0 24px 60px rgba(13, 43, 69, .25);

  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 96px);
  --container: 1200px;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
abbr[title] { text-decoration: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }

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

.visually-hidden {
  position: absolute !important; 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: 12px; top: -60px; z-index: 100;
  background: var(--navy-deep); color: var(--white); padding: 10px 16px; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.icon { flex: none; }

/* ---------- Typography ---------- */
.h1 {
  font-family: var(--font-head); font-weight: 800; color: var(--navy-deep);
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); line-height: 1.1; letter-spacing: -.01em;
}
.h1--page { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
.h2 { font-family: var(--font-head); font-weight: 800; color: var(--navy-deep); font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem); }
.h3 { font-family: var(--font-head); font-weight: 700; color: var(--navy-deep); font-size: 1.3rem; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 40rem; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8125rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px;
}
.eyebrow--wide { letter-spacing: .22em; word-spacing: .2em; }
.eyebrow--accent { color: var(--accent); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-m);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--accent); color: var(--navy-deep); }
.btn--primary:hover { background: var(--accent-hover); color: var(--navy-deep); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); font-weight: 600; }
.btn--outline:hover { background: var(--tint); color: var(--navy-deep); }
.btn--large { min-height: 54px; padding: 14px 26px; }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--navy);
  min-height: 44px;
}
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon, .card-link:hover ~ .link-arrow .icon { transform: translateX(3px); }
.link-arrow--light { color: var(--accent); }
.link-arrow--light:hover { color: var(--accent-hover); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 44px; height: 36px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; }
.brand__descriptor { font-size: .7rem; color: var(--muted-2); }

.menu-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--navy); cursor: pointer;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav__list { display: flex; gap: 4px; list-style: none; }
.site-nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 8px;
}
.site-nav__list a:hover { color: var(--navy); background: var(--tint); }
.site-nav__list a[aria-current="page"], .site-nav__list a.is-active { color: var(--navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

.lang-switch { display: flex; gap: 2px; list-style: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 36px; padding: 0 8px;
  border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--navy); text-decoration: none;
}
.lang-switch a:hover { background: var(--tint); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--white); }

/* Mobile navigation (JS adds .js to <html>; without JS the nav stays visible and wraps). */
@media (max-width: 960px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(13, 43, 69, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; }
  .js .site-nav__list a { width: 100%; min-height: 48px; font-size: 1.05rem; padding: 0 12px; }
  .js .site-nav__list a[aria-current="page"], .js .site-nav__list a.is-active { box-shadow: inset 3px 0 0 var(--accent); }
  .js .lang-switch { align-self: flex-start; }
  .site-header__inner { flex-wrap: wrap; position: relative; }
  html:not(.js) .site-nav { flex-wrap: wrap; width: 100%; }
}
@media (max-width: 420px) {
  .brand__descriptor { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .875rem; margin-bottom: clamp(20px, 3vw, 32px); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; color: var(--muted-2); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--dark { background: var(--navy-deep); color: var(--white); }
.section--dark .h2, .section--dark .h3 { color: var(--white); }
.section--dark .section-head__intro { color: var(--on-dark); }
.section--flush-top { padding-top: 0; }
.section--flush-top-sm { padding-top: clamp(24px, 4vw, 40px); }
.section-head { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 40px); }
.section-head .h2 { margin-bottom: 10px; }
.section-head__intro { color: var(--muted); font-size: 1.06rem; }
.section-head--split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; max-width: none; }
.section-head--split > div { flex: 1 1 32rem; min-width: 0; max-width: 44rem; }
.section-more { margin-top: 28px; }

.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: flex-start; }
.split__main { flex: 1 1 26rem; min-width: 0; }
.split__side { flex: 1 1 22rem; min-width: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(22px, 3vw, 30px);
}
.icon-box {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--navy);
}
.icon-box--accent { background: var(--accent); color: var(--navy-deep); }

.service-card { display: flex; flex-direction: column; gap: 14px; position: relative; }
.service-card p { color: var(--muted); }
.service-card .link-arrow { margin-top: auto; }
.service-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card--featured { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow-card); }
.service-card--featured .h3 { color: var(--white); }
.service-card--featured p, .service-card--featured .list-check { color: var(--on-dark-2); }
.service-card--featured .list-check .icon { color: var(--accent); }
.service-card--featured .link-arrow { color: var(--accent); }
.badge { font-size: .75rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); }

/* Whole card clickable via the heading link. */
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { color: var(--navy); }
.service-card:has(.card-link:hover) { border-color: var(--navy); }

.list-check { list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .95rem; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; }
.list-check .icon { margin-top: 3px; color: var(--navy); }
.list-check--columns { display: grid; gap: 14px 32px; font-size: 1.02rem; color: var(--ink); }
@media (min-width: 720px) { .list-check--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.feature { display: flex; flex-direction: column; gap: 12px; }
.feature p { color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { font-size: .8rem; padding: 4px 11px; border-radius: 999px; background: var(--tint); color: var(--navy); }
.tags--large li { font-size: .95rem; padding: 8px 16px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.section--white .tags--large li { background: var(--bg); }

/* ---------- Hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero__inner {
  display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 56px); align-items: center;
  padding-block: clamp(44px, 8vw, 96px);
}
.hero__copy { flex: 1 1 30rem; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__copy .eyebrow { margin-bottom: 0; }
.hero__visual { flex: 1 1 22rem; min-width: 0; display: flex; justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--navy); }

.chat-card {
  margin: 0; width: 100%; max-width: 440px; background: var(--navy-deep); color: var(--white);
  border-radius: 22px; padding: 22px; box-shadow: var(--shadow-hero); display: flex; flex-direction: column; gap: 12px;
}
.chat-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.chat-card__head > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.chat-card__head small { font-size: .75rem; color: var(--on-dark); }
.chat-card__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.bubble { max-width: 86%; padding: 10px 14px; font-size: .9rem; line-height: 1.45; }
.bubble--user { align-self: flex-end; background: var(--navy-line); border-radius: 14px 14px 4px 14px; }
.bubble--bot { align-self: flex-start; background: var(--white); color: var(--ink); border-radius: 14px 14px 14px 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 4px; }
.chips li { font-size: .75rem; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--on-dark-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--tint); border-bottom: 1px solid var(--line);
  padding-block: clamp(32px, 5vw, 64px);   /* equal top and bottom */
}
.page-hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 900px; }
.page-hero__inner .eyebrow { margin-bottom: 0; }
.page-hero .breadcrumbs ol { color: var(--muted); }
.page-hero .breadcrumbs li:not(:last-child)::after { color: var(--muted-2); }
.page-hero .btn-row { margin-top: 4px; }
.page-hero--center { text-align: center; padding-block: clamp(56px, 10vw, 120px); }
.page-hero--center .page-hero__inner { margin-inline: auto; align-items: center; }

/* ---------- AI tiles (dark) ---------- */
.tile { background: var(--navy-tile); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tile__icon { color: var(--accent); }
.tile__title { font-size: 1.06rem; font-weight: 600; color: var(--white); font-family: var(--font-body); }
.tile p { font-size: .95rem; color: var(--on-dark); }

/* ---------- Why / steps ---------- */
.why { margin-top: 24px; gap: 22px 28px; }
.why__title { font-size: 1.06rem; color: var(--navy); margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.why p { color: var(--muted); font-size: .95rem; }
.split__side .h3 { margin-bottom: 18px; }

.steps { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps strong { display: block; }
.steps li > span:last-child { color: var(--muted); font-size: .95rem; }
.steps strong { color: var(--ink); font-size: 1rem; }
.steps__num {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white);
  font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.steps__num--accent { background: var(--accent); color: var(--navy-deep); }
.steps--row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps--row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.steps--row li.card { flex-direction: column; gap: 12px; }
.section--white .steps--row li.card { background: var(--bg); }

/* ---------- Use cases ---------- */
.usecases { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.usecase { display: flex; flex-direction: column; gap: 16px; }
.usecase__head { display: flex; gap: 14px; align-items: center; }
.usecase__head .h3 { font-size: 1.15rem; }
.usecase__body { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.usecase__body dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.usecase__body dd { margin: 2px 0 0; color: var(--ink); }
.usecase__body div:last-child dd { font-weight: 600; color: var(--navy); }

/* ---------- Note ---------- */
.note {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start;
  background: var(--tint); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px);
}
.note > div { flex: 1 1 20rem; min-width: 0; }
.note .h3 { margin-bottom: 8px; }
.note p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .team-grid--2, .team-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .team-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team-grid--1 { max-width: 560px; }
.team-card { display: flex; flex-direction: column; gap: 12px; }
.team-card p { color: var(--muted); font-size: .95rem; }
.team-card__avatar, .team-card__photo { width: 80px; height: 80px; border-radius: 50%; }
.team-card__avatar {
  display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
}
.team-card__photo { object-fit: cover; }
.team-card__name { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy-deep); }
.team-card__role { color: var(--navy) !important; font-weight: 600; font-size: .95rem !important; }

/* ---------- Facts ---------- */
.facts { display: flex; flex-direction: column; }
.facts__item {
  display: flex; align-items: baseline; gap: 16px; color: var(--muted); font-size: .95rem;
  padding-block: 16px; border-bottom: 1px solid var(--line);
}
.facts__item:first-child { padding-top: 0; }
.facts__item:last-child { padding-bottom: 0; border-bottom: 0; }
.facts__item .facts__value { flex: 0 0 6.25rem; }
.facts__value { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.prose p { color: var(--muted); margin-top: 14px; }
.prose .h2 + p { margin-top: 16px; }
.prose .h3 { margin-top: 32px; }
.prose .h3:first-child { margin-top: 0; }
.prose a { color: var(--navy); }
.prose strong { color: var(--ink); }

/* ---------- Tech stack ticker ---------- */
.tech-stack { overflow: hidden; }
.tech-stack__head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(24px, 3vw, 36px); }
.tech-stack__head > div { flex: 1 1 32rem; min-width: 0; max-width: 46rem; }
.tech-stack__head .h2 { margin-bottom: 10px; }

.ticker { display: flex; flex-direction: column; gap: 14px; }
.ticker__row { overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker__list { display: flex; gap: 12px; list-style: none; padding-right: 12px; }
.ticker__list li {
  white-space: nowrap; font-weight: 600; font-size: .95rem; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
}
.ticker__row--reverse .ticker__list li { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Static fallback (no JS / reduced motion): wrap inside the container, hide the loop copy. */
.ticker__row { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ticker__track { width: auto; }
.ticker__list { flex-wrap: wrap; padding-right: 0; }
.ticker__list--clone { display: none; }

/* Animated version (JS on, motion allowed). */
@media (prefers-reduced-motion: no-preference) {
  .js .ticker__row {
    max-width: none; padding-inline: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .js .ticker__track { width: max-content; animation: ticker 70s linear infinite; }
  .js .ticker__row--reverse .ticker__track { animation-direction: reverse; animation-duration: 80s; }
  .js .ticker__list { flex-wrap: nowrap; padding-right: 12px; }
  .js .ticker__list--clone { display: flex; }
  .js .ticker:hover .ticker__track { animation-play-state: paused; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; min-height: 44px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background: var(--navy); color: var(--white); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 52px);
}
.cta-band > div { flex: 1 1 26rem; min-width: 0; }
.cta-band .h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--on-dark-2); }

/* ---------- Contact ---------- */
.contact-band {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 40px);
  background: var(--navy); color: var(--white); border-radius: var(--radius-xl); padding: clamp(20px, 5vw, 56px);
}
.contact-band__info { flex: 1 1 20rem; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-band__info .h2 { color: var(--white); }
.contact-band__info > p { color: var(--on-dark-2); font-size: 1.06rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-2); }
.contact-list .icon { color: var(--accent); margin-top: 2px; }
.contact-list a { color: var(--white); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: var(--white); }

.contact-form {
  flex: 1 1 26rem; min-width: 0; background: var(--white); color: var(--ink); border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; }
.field .req { color: var(--error); }
.field .optional { font-weight: 400; color: var(--muted-2); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--white); font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23153F60' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(244, 166, 42, .6); outline-offset: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .85rem; font-weight: 500; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.field--check label { flex: 1 1 0; font-weight: 400; font-size: .875rem; color: var(--muted); }
.field--check .field__error { flex-basis: 100%; }
.form-note { font-size: .8rem; color: var(--muted-2); text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-s); font-size: .95rem; }
.alert--success { background: #E7F5EE; color: var(--success); }
.alert--error { background: #FDECEA; color: var(--error); }
.alert__title { font-weight: 700; }
.alert p + p { margin-top: 2px; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark); font-size: .95rem; }
.site-footer__grid {
  display: grid; gap: 32px; grid-template-columns: 1fr; padding-block: 56px 32px;
}
@media (min-width: 600px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.site-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.site-footer__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--white); }
.tagline { font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .15em; color: var(--accent); }
.site-footer__title { font-family: var(--font-body); font-size: 1rem; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-block; padding-block: 4px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { line-height: 1.8; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--navy-line); padding-block: 18px 28px; font-size: .85rem;
}
.site-footer__langs { flex-direction: row !important; gap: 16px !important; }

/* ---------- Language hint ---------- */
.lang-hint {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 460px; margin-inline: auto;
  display: flex; gap: 12px; align-items: center; background: var(--navy-deep); color: var(--white);
  padding: 12px 12px 12px 18px; border-radius: var(--radius-m); box-shadow: var(--shadow-hero); font-size: .9rem;
}
.lang-hint[hidden] { display: none; }
.lang-hint p { flex: 1; }
.lang-hint a { color: var(--accent); font-weight: 600; }
.lang-hint__close {
  flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--radius-s); background: transparent; color: var(--white); cursor: pointer;
}
.lang-hint__close:hover { background: var(--navy-line); }

/* ---------- Cookie consent (Google Analytics) ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin-inline: auto;
  background: var(--navy-deep); color: var(--on-dark-2); padding: 18px 20px; border-radius: var(--radius-m);
  box-shadow: var(--shadow-hero); font-size: .9rem; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent__title { font-family: var(--font-body); font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.consent a { color: var(--accent); font-weight: 600; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; justify-content: flex-end; }
.consent__actions .btn { flex: 1 1 140px; }
.consent__reject { background: transparent; color: var(--white); border-color: var(--on-dark); }
.consent__reject:hover { background: var(--navy-line); }
.site-footer__link {
  font: inherit; color: var(--on-dark); background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left;
}
.site-footer__link:hover { color: var(--white); text-decoration: underline; }
[data-consent-open-item][hidden] { display: none; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .lang-hint, .consent, .contact-form, .btn { display: none !important; }
  body { background: #fff; }
}
