/* ===== iSOKO — Design tokens ===== */
:root {
  --color-navy: #003B71;
  --color-green: #70BE5C;
  --color-teal: #00A699;
  --color-white: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-muted: #4D5A66;
  --color-hairline: rgba(0, 59, 113, 0.14);
  --color-bg-tint: #F4F8FB;

  --font-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --container-max: 1200px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --radius: 6px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

html { scroll-behavior: smooth; }
@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;
  }
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

/* ===== Editorial type utilities ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-teal);
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
  margin-top: var(--space-2);
  scroll-margin-top: 92px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  max-width: 56ch;
}

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-base);
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--small { padding: 8px 16px; font-size: 0.875rem; }
.btn--large { padding: 14px 28px; font-size: 1rem; }

.btn--primary {
  background: var(--color-green);
  color: var(--color-navy);
}
.btn--primary:hover { background: #5fa94d; }

.btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--secondary:hover { background: var(--color-navy); color: var(--color-white); }

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-navy);
  padding-bottom: 2px;
  border-bottom: 2px solid var(--color-navy);
}
.cta-link__arrow { transition: transform 0.15s ease; }
.cta-link:hover .cta-link__arrow { transform: translateX(4px); }

/* ===== Site header ===== */
.site-header {
  border-bottom: 1px solid var(--color-hairline);
  position: sticky;
  top: 0;
  background: var(--color-white);
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-2);
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo__mark {
  height: 30px;
  width: auto;
}

.main-nav { display: none; }
.main-nav__list { display: flex; gap: var(--space-4); }
.main-nav__list a {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}
.main-nav__list a:hover { color: var(--color-teal); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-2); }
.site-header__actions .btn--small { display: none; }

.nav-toggle {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.mobile-nav[hidden] { display: none; }

.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 51, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-nav.is-open .mobile-nav__overlay { opacity: 1; }

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__panel-header { display: flex; justify-content: flex-end; }

.mobile-nav__close {
  background: var(--color-bg-tint);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.mobile-nav__close:hover { background: var(--color-navy); color: var(--color-white); }

.mobile-nav__list {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
}
.mobile-nav__list li + li { border-top: 1px solid var(--color-hairline); }
.mobile-nav__list a {
  display: block;
  padding: 14px 4px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-navy);
}
.mobile-nav__list a:hover, .mobile-nav__list a:focus-visible { color: var(--color-teal); }

.mobile-nav__actions {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-hairline);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mobile-nav__actions .btn { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: var(--space-4) 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-2) 0;
    min-height: calc(100vh - 76px);
    min-height: calc(100svh - 76px);
    display: flex;
    align-items: center;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Mobile gets its own full-bleed crop, shown at full strength since the
   frosted .hero__content card (below) guarantees text contrast regardless
   of what's behind it; desktop/tablet swaps in the larger illustration at
   768px. */
@media (max-width: 767px) {
  .hero::before {
    background-image: image-set(
      url('../img/hero_mobile_bg.webp') type('image/webp'),
      url('../img/hero_mobile_bg.jpg') type('image/jpeg')
    );
    background-position: right bottom;
    background-size: 160% auto;
  }
}
@media (min-width: 768px) {
  .hero::before {
    background-image: image-set(
      url('../img/hero_bg_final.webp') type('image/webp'),
      url('../img/hero_bg_final.jpg') type('image/jpeg')
    );
  }
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(244, 248, 251, 1) 0%,
    rgba(244, 248, 251, 1) 60%,
    rgba(244, 248, 251, 0.5) 78%,
    rgba(244, 248, 251, 0.1) 92%,
    rgba(244, 248, 251, 0) 100%
  );
}

@keyframes backdrop-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-1.5%, 1.5%) scale(1.04); }
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

@media (max-width: 767px) {
  .hero__backdrop {
    background: rgba(244, 248, 251, 0.15);
  }

  .hero__content {
    background: rgba(244, 248, 251, 0.92);
    border-radius: 16px;
    padding: var(--space-3) 12px;
  }
}

.hero__headline {
  font-size: clamp(1.75rem, 4.6vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  margin-top: var(--space-1);
  max-width: 26ch;
}

.hero__subhead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin-top: var(--space-2);
}
.hero__actions .btn--large { padding: 12px 20px; font-size: 0.9rem; white-space: nowrap; }
.hero__actions .cta-link { font-size: 0.9rem; gap: 6px; white-space: nowrap; }

@media (min-width: 768px) {
  .hero__actions { gap: var(--space-3); }
  .hero__actions .btn--large { padding: 14px 28px; font-size: 1rem; }
  .hero__actions .cta-link { font-size: 1rem; gap: 10px; }
}

.hero__countries-strip {
  margin-top: var(--space-2);
  padding-top: var(--space-1);
  border-top: 1px solid var(--color-hairline);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ===== Entrance animation ===== */
.hero__reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes hero-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Country selector (compact pills) ===== */
.countries {
  padding: var(--space-4) 0;
}

.countries__header {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.countries__header .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.country-links {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}
@media (max-width: 480px) {
  .country-links { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .country-pill { padding: var(--space-2); }
}

.country-links li:nth-child(3n+1) .country-pill { --accent: var(--color-teal); }
.country-links li:nth-child(3n+2) .country-pill { --accent: var(--color-green); }
.country-links li:nth-child(3n+3) .country-pill { --accent: var(--color-navy); }

.country-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-top: 3px solid var(--accent, var(--color-teal));
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 59, 113, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.country-pill:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(0, 59, 113, 0.12);
}

.country-pill__flag {
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--color-hairline);
  flex-shrink: 0;
}

.country-pill__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.country-pill__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
}

.country-pill__host {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: underline dotted;
  text-decoration-color: var(--color-hairline);
  text-underline-offset: 2px;
}
.country-pill:hover .country-pill__host {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.country-pill__icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-left: auto;
}
.country-pill:hover .country-pill__icon { color: var(--accent); }

/* ===== Statistics ===== */
.stats {
  position: relative;
  padding: var(--space-6) 0;
  background: var(--color-bg-tint);
  overflow: hidden;
}

.stats__backdrop {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background:
    radial-gradient(560px circle at 10% 15%, rgba(112, 190, 92, 0.14), transparent 60%),
    radial-gradient(620px circle at 92% 85%, rgba(0, 166, 153, 0.16), transparent 60%);
  animation: backdrop-drift 18s ease-in-out infinite alternate;
}

.stats .container { position: relative; z-index: 1; }

.stats__header {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.stats__grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.stat-item {
  --accent: var(--color-teal);
  --accent-bg: rgba(0, 166, 153, 0.1);
  text-align: center;
  padding: var(--space-3) var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.stat-item.is-visible { opacity: 1; transform: translateY(0); }
.stat-item:nth-child(2).is-visible { transition-delay: 90ms; }
.stat-item:nth-child(3).is-visible { transition-delay: 180ms; }
.stat-item:nth-child(4).is-visible { transition-delay: 270ms; }
.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.stat-item:nth-child(2) { --accent: var(--color-green); --accent-bg: rgba(112, 190, 92, 0.12); }
.stat-item:nth-child(3) { --accent: var(--color-navy); --accent-bg: rgba(0, 59, 113, 0.08); }
.stat-item:nth-child(4) { --accent: var(--color-teal); --accent-bg: rgba(0, 166, 153, 0.1); }

.stat-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  transition: transform 0.2s ease;
}
.stat-item:hover .stat-item__icon { transform: scale(1.08); }
.stat-item__icon svg { width: 26px; height: 26px; }
.stat-item__icon svg path,
.stat-item__icon svg circle,
.stat-item__icon svg line,
.stat-item__icon svg polyline {
  transition: stroke-dashoffset 0.7s ease-out;
}

.stat-item__icon--photo {
  background: transparent;
  overflow: hidden;
}
.stat-item__icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.stat-item__value {
  display: block;
  margin-top: var(--space-2);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .stat-item__value { font-size: clamp(1.5rem, 6vw, 2.25rem); }
}

.stat-item__label {
  display: block;
  margin-top: var(--space-1);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.stat-item__bar {
  display: block;
  margin-top: var(--space-2);
  height: 4px;
  border-radius: 2px;
  background: var(--color-hairline);
  overflow: hidden;
}
.stat-item__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Feature journey (scroll timeline) ===== */
.journey {
  padding: var(--space-6) 0;
}

.journey__header {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.journey__timeline-wrap {
  position: relative;
  margin-top: var(--space-6);
}

.journey__timeline-wrap::before {
  content: '';
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 2px;
  background: var(--color-hairline);
}

.journey__timeline-fill {
  position: absolute;
  top: 28px;
  left: 27px;
  width: 2px;
  height: 0%;
  background: linear-gradient(var(--color-teal), var(--color-green));
  transform-origin: top;
}

.journey__timeline {
  position: relative;
}

.journey__step {
  --accent: var(--color-teal);
  position: relative;
  padding-left: 88px;
  padding-bottom: var(--space-5);
}
.journey__step:last-child { padding-bottom: 0; }
.journey__step:nth-child(2) { --accent: var(--color-green); }
.journey__step:nth-child(3) { --accent: var(--color-navy); }
.journey__step:nth-child(4) { --accent: var(--color-teal); }
.journey__step:nth-child(5) { --accent: var(--color-green); }

.journey__step-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 2px solid var(--accent);
  color: var(--accent);
  z-index: 1;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.journey__step.is-visible .journey__step-icon {
  opacity: 1;
  transform: scale(1);
}
.journey__step-icon svg { width: 24px; height: 24px; }
.journey__step-icon svg path,
.journey__step-icon svg circle,
.journey__step-icon svg line,
.journey__step-icon svg polyline,
.journey__step-icon svg polygon,
.journey__step-icon svg rect {
  transition: stroke-dashoffset 0.7s ease-out;
}

.journey__step-card {
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  padding: var(--space-3);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.journey__step.is-visible .journey__step-card {
  opacity: 1;
  transform: translateY(0);
}
.journey__step-card:hover { border-color: var(--accent); }

.journey__step-index {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.journey__step-title {
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
}

.journey__step-desc {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ===== About story (two-panel) ===== */
.about-story {
  padding: var(--space-6) 0;
  background: var(--color-bg-tint);
}

.about-story__header {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-story__grid {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-story__card {
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: var(--space-4);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-story__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.about-story__card--isoko { --accent: var(--color-green); }
.about-story__card--tma { --accent: var(--color-navy); }

.about-story__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.about-story__card-logo {
  flex-shrink: 0;
  height: 40px;
  width: auto;
}

.about-story__card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
}

.about-story__card p {
  margin-top: var(--space-2);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.about-story__card p:first-of-type { margin-top: var(--space-3); }

.about-story__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 64px;
}
.about-story__connector-line {
  flex: 1;
  width: 1px;
  background: var(--color-hairline);
}
.about-story__connector-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ===== App download CTA ===== */
.app-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-5) 0;
}

.app-cta__decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.app-cta__blob { position: absolute; border-radius: 50%; }
.app-cta__blob--a {
  width: 280px; height: 280px; top: -100px; left: -80px;
  background: var(--color-teal); opacity: 0.16;
  animation: app-cta-drift-a 15s ease-in-out infinite;
}
.app-cta__blob--b {
  width: 220px; height: 220px; bottom: -90px; right: 6%;
  background: var(--color-navy); opacity: 0.12;
  animation: app-cta-drift-b 18s ease-in-out infinite;
}
.app-cta__blob--c {
  width: 150px; height: 150px; top: 18%; right: -60px;
  background: var(--color-white); opacity: 0.25;
  animation: app-cta-drift-a 12s ease-in-out infinite reverse;
}
@keyframes app-cta-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, 26px) scale(1.08); }
}
@keyframes app-cta-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -18px) scale(0.94); }
}

.app-cta__panel {
  position: relative;
  z-index: 1;
  background: var(--color-green);
  border-radius: 24px;
  padding: var(--space-5) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-cta__panel.is-visible { opacity: 1; transform: translateY(0); }

.app-cta__copy { text-align: center; }

.app-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
}

.app-cta__heading {
  margin-top: var(--space-2);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.15;
}

.app-cta__lead {
  margin-top: var(--space-2);
  font-size: 1.05rem;
  color: var(--color-navy);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.app-cta__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  width: 100%;
}

.app-cta__step:nth-child(3n+1) { --accent: var(--color-teal); }
.app-cta__step:nth-child(3n+2) { --accent: var(--color-green); }
.app-cta__step:nth-child(3n+3) { --accent: var(--color-navy); }

.app-cta__step {
  --accent: var(--color-teal);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  text-align: left;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
}
.app-cta__step.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.app-cta__step:nth-child(2).is-visible { transition-delay: 90ms; }
.app-cta__step:nth-child(3).is-visible { transition-delay: 180ms; }
.app-cta__step:nth-child(4).is-visible { transition-delay: 270ms; }

.app-cta__step:hover {
  transform: translateY(0) translateX(4px) scale(1);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 20px rgba(0, 59, 113, 0.15);
}
.app-cta__step:hover .app-cta__step-icon {
  background: var(--accent);
  color: var(--color-white);
}

.app-cta__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-navy);
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.app-cta__step-icon svg { width: 15px; height: 15px; }

.app-cta__step-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.app-cta__step-number {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy);
  opacity: 0.65;
}

.app-cta__step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
}

.app-cta__badges {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: #000000;
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 10px 18px;
  width: 100%;
  max-width: 220px;
  justify-content: center;
  transition: transform 0.2s ease;
}
.store-badge:hover, .store-badge:focus-visible { transform: translateY(-3px) scale(1.03); }
.store-badge:focus-visible { outline: 3px solid var(--color-navy); outline-offset: 2px; }

.store-badge__icon { width: 26px; height: 26px; flex-shrink: 0; }

.store-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-badge__small { font-size: 0.65rem; }

.store-badge__big { font-size: 1rem; font-weight: 600; }

/* ===== Testimonials ===== */
.testimonials {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0;
  background: var(--color-bg-tint);
}

.testimonials__decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.testimonials__blob { position: absolute; border-radius: 50%; }
.testimonials__blob--a {
  width: 320px; height: 320px; top: -120px; right: -100px;
  background: var(--color-teal); opacity: 0.08;
  animation: app-cta-drift-a 20s ease-in-out infinite;
}
.testimonials__blob--b {
  width: 220px; height: 220px; bottom: -100px; left: -80px;
  background: var(--color-green); opacity: 0.12;
  animation: app-cta-drift-b 22s ease-in-out infinite;
}

.testimonials__header {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.testimonials__carousel {
  position: relative;
  z-index: 1;
  margin-top: var(--space-5);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.testimonials__nav {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.testimonials__nav:hover { background: var(--color-navy); color: var(--color-white); transform: scale(1.06); }
.testimonials__nav:focus-visible { outline: 3px solid var(--color-teal); outline-offset: 2px; }
.testimonials__nav svg { width: 20px; height: 20px; }

.testimonials__track {
  position: relative;
  flex: 1;
  min-height: 320px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-top: 3px solid var(--color-teal);
  border-radius: 18px;
  padding: var(--space-3);
  opacity: 0;
  transform: translateX(16px) scale(0.98);
  transition: opacity 0.32s ease, transform 0.32s ease;
  pointer-events: none;
}
.testimonial-card.is-active { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }

.testimonial-card__quote-mark {
  display: block;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-teal);
  opacity: 0.5;
}

.testimonial-card__text {
  margin-top: var(--space-1);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--color-text);
}

.testimonial-card__meta {
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-card:nth-of-type(2) .testimonial-card__avatar { background: var(--color-green); color: var(--color-navy); }
.testimonial-card:nth-of-type(3) .testimonial-card__avatar { background: var(--color-teal); }
.testimonial-card:nth-of-type(4) .testimonial-card__avatar { background: var(--color-green); color: var(--color-navy); }
.testimonial-card:nth-of-type(5) .testimonial-card__avatar { background: var(--color-teal); }

.testimonial-card__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.testimonial-card__name { font-weight: 700; color: var(--color-navy); font-size: 0.95rem; }
.testimonial-card__role { margin-top: 2px; font-size: 0.8rem; color: var(--color-text-muted); }
.testimonial-card__stars { margin-top: 2px; color: var(--color-teal); font-size: 0.8rem; letter-spacing: 2px; }

.testimonial-card__flag {
  flex-shrink: 0;
  width: 28px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  align-self: flex-start;
}

.testimonials__dots {
  position: relative;
  z-index: 1;
  margin-top: var(--space-4);
  display: flex;
  justify-content: center;
  gap: var(--space-1);
}
.testimonials__dot {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.testimonials__dot::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-hairline);
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonials__dot.is-active::before { background: var(--color-teal); transform: scale(1.35); }
.testimonials__dot:focus-visible { outline: 3px solid var(--color-teal); outline-offset: 2px; }

/* ===== Latest news ===== */
.news { padding: var(--space-6) 0 var(--space-4); }

.news__header { max-width: 62ch; }

.news__grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.news__list { display: flex; flex-direction: column; gap: var(--space-3); }

.news__status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-4) 0;
}

.news-card {
  display: flex;
  gap: var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  padding: var(--space-3);
  text-decoration: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card.is-visible { opacity: 1; transform: translateY(0); }
.news-card:hover, .news-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--color-teal);
}
.news-card:focus-visible { outline: 3px solid var(--color-teal); outline-offset: 2px; }

.news-card__visual {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 166, 153, 0.12);
  color: var(--color-teal);
}
.news-card__visual svg { width: 26px; height: 26px; }

.news-card__image {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.news-card__body { flex: 1; min-width: 0; }

.news-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.news-card__tag--news { background: rgba(0, 166, 153, 0.14); color: var(--color-teal); }
.news-card__tag--press { background: rgba(0, 59, 113, 0.1); color: var(--color-navy); }
.news-card__tag--green { background: rgba(112, 190, 92, 0.16); color: var(--color-navy); }

.news-card__title {
  margin-top: var(--space-1);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
}

.news-card__excerpt {
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.news-card__link {
  margin-top: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-teal);
}
.news-card__arrow { transition: transform 0.2s ease; }
.news-card:hover .news-card__arrow, .news-card:focus-visible .news-card__arrow { transform: translateX(3px); }

.news-card--featured {
  flex-direction: column;
  padding: var(--space-4);
}
.news-card--featured .news-card__visual {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  margin-bottom: var(--space-2);
}
.news-card--featured .news-card__visual svg { width: 44px; height: 44px; }
.news-card--featured .news-card__image {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  margin-bottom: var(--space-2);
}
.news-card--featured .news-card__title { font-size: 1.3rem; margin-top: var(--space-2); }

.news__footer { margin-top: var(--space-5); text-align: center; }

/* ===== News listing page ===== */
.news-page-header {
  padding: var(--space-3) 0 var(--space-4);
  background: var(--color-bg-tint);
  border-bottom: 1px solid var(--color-hairline);
}
.news-page-header .section-heading { margin-top: var(--space-2); font-size: clamp(1.5rem, 3vw, 2rem); }
.news-page-header .section-lead { margin-top: var(--space-2); max-width: none; }

.news-listing { padding: var(--space-5) 0 var(--space-6); }

.news-listing__grid .news-card--featured .news-card__visual,
.news-listing__grid .news-card--featured .news-card__image {
  height: 320px;
}

.news-listing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.news-listing__grid .news-card--featured { grid-column: 1 / -1; }

/* ===== Article page ===== */
.article-page { padding: var(--space-3) 0 var(--space-6); }

.article-page__back { font-size: 0.9rem; }

.article-page__layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.article-page__main { min-width: 0; }

.article-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.article-page__category-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
  background: var(--color-white);
}
.article-page__category-btn--green { border-color: var(--color-green); color: var(--color-navy); }
.article-page__category-btn--press { border-color: var(--color-navy); color: var(--color-navy); }

.article-page__related {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.article-page__related-card {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-hairline);
}
.article-page__related-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--color-bg-tint);
}
.article-page__related-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.35;
}
.article-page__related-card:hover .article-page__related-title,
.article-page__related-card:focus-visible .article-page__related-title { color: var(--color-teal); }

.article-page__container { max-width: 760px; }

.article-page__title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
}

.article-page__date {
  margin-top: var(--space-1);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.article-page__image {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: var(--space-4);
}

.article-page__body {
  margin-top: var(--space-4);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-text);
}
.article-page__body h2 { margin-top: var(--space-4); font-size: 1.3rem; font-weight: 700; color: var(--color-navy); }
.article-page__body h3 { margin-top: var(--space-3); font-size: 1.1rem; font-weight: 700; color: var(--color-navy); }
.article-page__body p { margin-top: var(--space-3); }
.article-page__body p:first-child { margin-top: 0; }
.article-page__body ul, .article-page__body ol { margin-top: var(--space-3); padding-left: 1.4em; }
.article-page__body li { margin-top: 6px; }
.article-page__body a { color: var(--color-teal); text-decoration: underline; text-underline-offset: 3px; }
.article-page__body blockquote {
  margin-top: var(--space-3);
  padding-left: var(--space-3);
  border-left: 3px solid var(--color-teal);
  color: var(--color-text-muted);
  font-style: italic;
}
.article-page__body strong { color: var(--color-navy); }

.article-page__status { color: var(--color-text-muted); padding: var(--space-5) 0; }

/* ===== Partners ===== */
.partners { padding: var(--space-4) 0 var(--space-6); }

.partners__header {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.partners__grid {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.partner-chip {
  flex: 1 1 200px;
  max-width: 260px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--space-3);
  background: var(--color-bg-tint);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background 0.2s ease;
}
.partner-chip.is-visible { opacity: 1; transform: translateY(0); }
.partner-chip:nth-child(2).is-visible { transition-delay: 60ms; }
.partner-chip:nth-child(3).is-visible { transition-delay: 120ms; }
.partner-chip:nth-child(4).is-visible { transition-delay: 180ms; }
.partner-chip:nth-child(5).is-visible { transition-delay: 240ms; }
.partner-chip:nth-child(6).is-visible { transition-delay: 300ms; }
.partner-chip:nth-child(7).is-visible { transition-delay: 360ms; }
.partner-chip:hover { border-color: var(--color-teal); background: var(--color-white); }

.partner-chip__logo {
  width: 120px;
  height: 56px;
  object-fit: contain;
}

.partner-chip__country {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.partner-chip__name { font-weight: 600; color: var(--color-navy); font-size: 0.88rem; line-height: 1.3; }

/* ----- Strategic Partners: sliding line ----- */
.partners__track-wrap {
  margin-top: var(--space-5);
  overflow: hidden;
}

.partners__track {
  display: flex;
  gap: var(--space-3);
  width: max-content;
  animation: partners-slide 32s linear infinite;
}
.partners__track-wrap:hover .partners__track,
.partners__track-wrap:focus-within .partners__track {
  animation-play-state: paused;
}
@keyframes partners-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partner-chip--slide {
  flex: 0 0 148px;
  width: 148px;
  min-height: 116px;
  opacity: 1;
  transform: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.partner-chip__abbr {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1rem;
  text-decoration: underline dotted;
  text-decoration-color: var(--color-hairline);
  text-underline-offset: 3px;
  cursor: help;
}

.funded-by { padding: var(--space-5) 0 var(--space-6); background: var(--color-bg-tint); }
.funded-by__heading {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-navy);
  scroll-margin-top: 92px;
}
.partners__grid--compact { margin-top: var(--space-4); }
.partners__grid--compact .partner-chip { background: var(--color-white); min-height: 120px; }

/* ===== Site footer ===== */
.site-footer {
  position: relative;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-6) 0 var(--space-4);
}

.site-footer__accent {
  display: flex;
  height: 4px;
  width: 100%;
}
.site-footer__accent span { flex: 1 1 0; }
.site-footer__accent span:nth-child(1) { background: var(--color-teal); }
.site-footer__accent span:nth-child(2) { background: var(--color-green); }
.site-footer__accent span:nth-child(3) { background: var(--color-white); }

.site-footer__heading {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  scroll-margin-top: 92px;
}

.site-footer__col {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-footer__col.is-visible { opacity: 1; transform: translateY(0); }
.site-footer__col:nth-child(2).is-visible { transition-delay: 80ms; }
.site-footer__col:nth-child(3).is-visible { transition-delay: 160ms; }
.site-footer__col:nth-child(4).is-visible { transition-delay: 240ms; }

.site-footer__col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}
.site-footer__col-icon svg { width: 20px; height: 20px; }

.site-footer__col-title {
  display: block;
  margin-top: var(--space-2);
  font-weight: 700;
  font-size: 1rem;
}

.site-footer__col-text {
  margin-top: 6px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}
.site-footer__col-text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__col-text a:hover { color: var(--color-white); }

.site-footer__links-grid {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
}

.site-footer__col-links {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer__col-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.site-footer__col-links a:hover,
.site-footer__col-links a:focus-visible { color: var(--color-white); }

.site-footer__contact-list {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.site-footer__contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
}
.site-footer__contact-item .site-footer__col-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.site-footer__contact-item .site-footer__col-icon svg { width: 16px; height: 16px; }
.site-footer__contact-item .site-footer__col-text { margin-top: 0; }

.site-footer__social {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: background 0.2s ease, transform 0.2s ease;
}
.site-footer__social-link svg { width: 18px; height: 18px; }
.site-footer__social-link:hover, .site-footer__social-link:focus-visible {
  background: var(--color-teal);
  transform: translateY(-2px);
}
.site-footer__social-link:focus-visible { outline: 3px solid var(--color-white); outline-offset: 2px; }

.site-footer__bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Country selection popup ===== */
.country-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.country-modal[hidden] { display: none; }

.country-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 51, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.country-modal.is-open .country-modal__overlay { opacity: 1; }

.country-modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: 18px;
  padding: var(--space-4);
  box-shadow: 0 24px 60px -20px rgba(0, 27, 51, 0.35);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.country-modal.is-open .country-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.country-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}

.country-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
}

.country-modal__close {
  background: var(--color-bg-tint);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.country-modal__close:hover { background: var(--color-navy); color: var(--color-white); }

.country-modal__lead {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.country-modal__list {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.country-modal__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-hairline);
  border-radius: 12px;
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-white);
  opacity: 0;
  transform: translateY(8px);
  animation: hero-reveal 0.35s ease-out forwards;
  animation-delay: var(--item-delay, 0ms);
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.country-modal__link:hover,
.country-modal__link:focus-visible {
  background: var(--color-bg-tint);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.country-modal__link-flag {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--color-hairline);
  flex-shrink: 0;
}

.country-modal__link-name { flex: 1; }

.country-modal__link-arrow {
  color: var(--color-text-muted);
  transition: transform 0.15s ease;
}
.country-modal__link:hover .country-modal__link-arrow { transform: translateX(3px); }

/* ===== Breakpoint: narrow phones (below tablet) ===== */
@media (max-width: 480px) {
  .country-modal__panel { padding: var(--space-3); }
  .country-modal__list { grid-template-columns: 1fr; }
}

/* ===== Breakpoint: tablet 768px ===== */
@media (min-width: 768px) {
  .container { padding: 0 var(--space-4); }

  .main-nav { display: block; }
  .site-header__actions .btn--small { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }

  .stats__grid { grid-template-columns: repeat(4, 1fr); }

  .app-cta__panel { padding: var(--space-6) var(--space-5); }
  .app-cta__badges { flex-direction: row; justify-content: center; }
  .store-badge { width: auto; }

  .testimonials__nav { display: flex; }
  .testimonials__carousel { gap: var(--space-3); }
  .testimonials__track { min-height: 240px; }
  .testimonial-card { padding: var(--space-4); }

  .news__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .news-listing__grid { grid-template-columns: 1fr 1fr; }

  .article-page__layout { flex-direction: row; align-items: flex-start; }
  .article-page__main { flex: 1 1 auto; }
  .article-page__sidebar { flex: 0 0 260px; }

  .site-footer__links-grid { flex-direction: row; justify-content: space-between; text-align: left; }
  .site-footer__col { flex: 1 1 0; }
  .site-footer__contact-item { justify-content: flex-start; }
}

/* ===== Breakpoint: desktop 1200px ===== */
@media (min-width: 1200px) {
  .hero__content {
    max-width: 640px;
  }

  .hero__backdrop {
    background: linear-gradient(
      to right,
      rgba(244, 248, 251, 1) 0%,
      rgba(244, 248, 251, 1) 36%,
      rgba(244, 248, 251, 0.3) 42%,
      rgba(244, 248, 251, 0) 46%
    );
  }

  .journey__timeline-wrap::before,
  .journey__timeline-fill {
    left: 50%;
    transform: translateX(-50%);
  }

  .journey__step {
    padding-left: 0;
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
  }
  .journey__step:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
  }
  .journey__step-card { max-width: 420px; }
  .journey__step-icon {
    left: 50%;
    transform: translate(-50%, 0) scale(0.6);
  }
  .journey__step.is-visible .journey__step-icon {
    transform: translate(-50%, 0) scale(1);
  }

  .about-story__grid { flex-direction: row; align-items: stretch; }
  .about-story__card { flex: 1 1 0; }
  .about-story__connector { flex-direction: row; height: auto; width: 64px; }
  .about-story__connector-line { width: auto; height: 1px; }
  .about-story__connector-badge { writing-mode: vertical-rl; }

  .app-cta__panel { flex-direction: row; align-items: flex-start; justify-content: space-between; text-align: left; padding: var(--space-6); }
  .app-cta__copy { text-align: left; flex: 1 1 50%; }
  .app-cta__lead { margin-left: 0; margin-right: 0; }
  .app-cta__steps { flex: 0 0 320px; margin-left: var(--space-4); }
  .app-cta__badges { flex-direction: row; justify-content: flex-start; }

  .news-listing__grid { grid-template-columns: repeat(3, 1fr); }
}
