/* =========================================================
   Russia Visa Centre — Upgraded Design System
   ========================================================= */

:root {
  /* Brand */
  --brand: #ec1b23;
  --brand-dark: #a10006;
  --brand-ink: #1c1c1f;

  /* Neutrals */
  --ink: #1c1c1f;
  --slate: #4a4a4f;
  --muted: #797979;
  --line: #e8e8ea;
  --mist: #f6f6f7;
  --paper: #ffffff;

  /* Russian flag accent */
  --flag-white: #ffffff;
  --flag-blue: #0039a6;
  --flag-red: #d52b1e;

  /* Type */
  --font-display: "Roboto", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-body: "Roboto", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Metrics */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 24, 0.06), 0 4px 14px rgba(20, 20, 24, 0.06);
  --shadow-md: 0 6px 20px rgba(20, 20, 24, 0.09);
  --shadow-lg: 0 18px 50px rgba(20, 20, 24, 0.16);
  --container: calc(100vw - 200px);
  --ease: cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--brand);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--brand-ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }

p {
  margin: 0 0 1.1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(236, 27, 35, 0.28);
}

.btn--primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(236, 27, 35, 0.34);
}

.btn--dark {
  background: var(--brand-ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: #cfcfd4;
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--brand-ink);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* ---------- Section helpers ---------- */
.section {
  padding: 5.5rem 0;
}

.section--tint {
  background: var(--mist);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.section-head p.lede {
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 20, 24, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(20, 20, 24, 0.1);
}

/* Top utility bar */
.header-top {
  background: var(--brand-ink);
  color: #d7d7db;
  font-size: 0.84rem;
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 1rem;
}

.header-top__contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-top a {
  color: #d7d7db;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.header-top a:hover {
  color: #fff;
}

.header-top svg {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

/* Language selector */
.header-lang {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.header-lang__btn {
  background: transparent;
  border: 1px solid transparent;
  color: #d7d7db;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.header-lang__btn:hover {
  color: #fff;
}

.header-lang__btn.is-active {
  background: var(--brand);
  color: #fff;
}

/* Main nav */
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--flag-blue), var(--flag-red));
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: var(--shadow-sm);
}

.brand__mark svg {
  width: 24px;
  height: 24px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--brand-ink);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* Primary navigation */
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: all 0.2s var(--ease);
}

.primary-nav__link:hover,
.primary-nav__link.is-active {
  color: var(--brand);
}

.primary-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.primary-nav__chevron {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  transition: transform 0.25s var(--ease);
}

.nav-item--parent:hover .primary-nav__chevron,
.nav-item--parent.open .primary-nav__chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.primary-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s var(--ease);
  border-top: 3px solid var(--brand);
}

.nav-item--parent {
  position: relative;
}

.nav-item--parent:hover .primary-nav__sub,
.nav-item--parent.open .primary-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav__sub a {
  display: block;
  padding: 0.62rem 0.9rem;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: all 0.18s var(--ease);
}

.primary-nav__sub a:hover {
  background: var(--mist);
  color: var(--brand);
  padding-left: 1.15rem;
}

/* CTA in nav */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: all 0.25s var(--ease);
}

.nav-toggle__line::before,
.nav-toggle__line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: all 0.25s var(--ease);
}

.nav-toggle__line::before { top: -6px; }
.nav-toggle__line::after { top: 6px; }

.nav-toggle.is-open .nav-toggle__line {
  background: transparent;
}

.nav-toggle.is-open .nav-toggle__line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__line::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, #101014 0%, #26262c 55%, #101014 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(236, 27, 35, 0.32), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(0, 57, 166, 0.35), transparent 60%);
  pointer-events: none;
}

.hero__flag-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  display: flex;
}

.hero__flag-stripe span {
  flex: 1;
}

.hero__flag-stripe span:nth-child(1) { background: var(--flag-white); }
.hero__flag-stripe span:nth-child(2) { background: var(--flag-blue); }
.hero__flag-stripe span:nth-child(3) { background: var(--flag-red); }

.hero .container {
  position: relative;
  z-index: 2;
  padding-block: 6.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8e8eb;
  margin-bottom: 1.5rem;
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flag-red);
  box-shadow: 0 0 0 4px rgba(213, 43, 30, 0.25);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.1rem;
}

.hero h1 .accent {
  color: #ff4d55;
}

.hero__lede {
  font-size: 1.13rem;
  color: #c9c9cf;
  max-width: 52ch;
  margin-bottom: 2.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.4rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.6rem;
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  line-height: 1;
}

.hero__stat span {
  font-size: 0.84rem;
  color: #a9a9b0;
}

/* Hero visual card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 2rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.hero-card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.3rem;
}

.hero-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flag-blue), var(--flag-red));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.hero-card__meta b {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero-card__meta span {
  font-size: 0.78rem;
  color: #a9a9b0;
}

.hero-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.hero-card__row:last-child {
  border-bottom: 0;
}

.hero-card__row span {
  color: #b9b9c0;
}

.hero-card__row b {
  color: #fff;
  font-weight: 600;
}

.hero-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(66, 185, 131, 0.16);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-card__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
}

.hero-badge {
  position: absolute;
  top: -1.1rem;
  right: -0.6rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(236, 27, 35, 0.4);
  transform: rotate(3deg);
}

.hero-marquee {
  position: relative;
  z-index: 3;
  background: var(--brand);
  color: #fff;
  overflow: hidden;
  padding: 0.7rem 0;
}

.hero-marquee__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.hero-marquee__track span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Visa type cards ---------- */
.visa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.visa-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.visa-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--flag-blue), var(--flag-red));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.visa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.visa-card:hover::before {
  opacity: 1;
}

.visa-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff3f3, #ffe1e2);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: var(--brand);
  transition: all 0.3s var(--ease);
}

.visa-card:hover .visa-card__icon {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05) rotate(-4deg);
}

.visa-card__icon svg {
  width: 26px;
  height: 26px;
}

.visa-card h3 {
  margin-bottom: 0.5rem;
}

.visa-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
  flex: 1;
}

.visa-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.visa-card__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.visa-card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.visa-card:hover .visa-card__link svg {
  transform: translateX(4px);
}

.visa-card__meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--mist);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand);
  margin-bottom: 0.9rem;
}

.step__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--mist);
  display: grid;
  place-items: center;
  color: var(--brand);
  margin-bottom: 1rem;
}

.step__icon svg {
  width: 24px;
  height: 24px;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Split / feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 57, 166, 0.08), rgba(213, 43, 30, 0.1));
  z-index: 0;
}

.split__media-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fbfbfc, #f2f2f4);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.feature-list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--slate);
}

.feature-list li svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--brand);
  margin-top: 0.1rem;
}

.feature-list li b {
  color: var(--ink);
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card__thumb {
  height: 170px;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.news-card__thumb svg {
  width: 44px;
  height: 44px;
  opacity: 0.9;
}

.news-card__thumb--blue { background: linear-gradient(135deg, #0b2f7a, #1450c8); }
.news-card__thumb--red { background: linear-gradient(135deg, #8f0a0e, #e03137); }
.news-card__thumb--dark { background: linear-gradient(135deg, #1c1c1f, #45454c); }

.news-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  flex: 1;
}

.news-card__more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.news-card__more svg {
  width: 14px;
  height: 14px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, #ff4d55);
  color: #fff;
  border-radius: 24px;
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 24px 60px rgba(161, 0, 6, 0.35);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: #ffe3e4;
  margin: 0;
  max-width: 46ch;
}

.cta-band__action {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}

.cta-band__action small {
  color: #ffd3d5;
  font-size: 0.8rem;
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, #14141a 0%, #2a2a31 60%, #3a1215 100%);
  color: #fff;
  padding: 4.2rem 0;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 90% -20%, rgba(236, 27, 35, 0.28), transparent 60%),
    radial-gradient(500px 280px at 0% 120%, rgba(0, 57, 166, 0.3), transparent 60%);
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #a9a9b0;
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: #c9c9cf;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  opacity: 0.5;
}

.breadcrumb .current {
  color: #fff;
  font-weight: 600;
}

.page-banner h1 {
  color: #fff;
  margin-bottom: 0.7rem;
}

.page-banner p {
  color: #c4c4cb;
  max-width: 60ch;
  margin: 0;
  font-size: 1.05rem;
}

.page-banner__flag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  display: flex;
}

.page-banner__flag span {
  flex: 1;
}

.page-banner__flag span:nth-child(1) { background: var(--flag-white); }
.page-banner__flag span:nth-child(2) { background: var(--flag-blue); }
.page-banner__flag span:nth-child(3) { background: var(--flag-red); }

/* ---------- Inner page layout ---------- */
.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  display: grid;
  gap: 0.2rem;
}

.side-nav__title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.7rem 0.7rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}

.side-nav a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: all 0.18s var(--ease);
}

.side-nav a:hover {
  background: var(--mist);
  color: var(--brand);
}

.side-nav a.is-active {
  background: var(--brand);
  color: #fff;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--slate);
  font-size: 1.02rem;
}

.prose ul {
  padding-left: 1.3rem;
  color: var(--slate);
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.prose li::marker {
  color: var(--brand);
}

/* ---------- Info panels ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}

.panel--tint {
  background: var(--mist);
}

.panel--brand {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  border-color: transparent;
}

.panel--brand h3,
.panel--brand b {
  color: #fff;
}

.panel--brand p {
  color: #ffe3e4;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.panel__head svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
  flex: none;
}

.panel--brand .panel__head svg {
  color: #fff;
}

.panel__head h3 {
  margin: 0;
  font-size: 1.15rem;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 560px;
}

.data-table th,
.data-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--mist);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr {
  transition: background 0.18s var(--ease);
}

.data-table tbody tr:hover {
  background: #fafafa;
}

/* ---------- Accordion (FAQ) ---------- */
.accordion {
  display: grid;
  gap: 0.9rem;
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.25s var(--ease);
}

.accordion-item.is-open {
  border-color: rgba(236, 27, 35, 0.4);
  box-shadow: var(--shadow-sm);
}

.accordion-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.accordion-item__head:hover {
  color: var(--brand);
}

.accordion-item__chevron {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--mist);
  display: grid;
  place-items: center;
  transition: all 0.25s var(--ease);
  color: var(--slate);
}

.accordion-item__chevron svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}

.accordion-item.is-open .accordion-item__chevron {
  background: var(--brand);
  color: #fff;
}

.accordion-item.is-open .accordion-item__chevron svg {
  transform: rotate(180deg);
}

.accordion-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.accordion-item__body-inner {
  padding: 0 1.3rem 1.3rem;
  font-size: 0.95rem;
  color: var(--slate);
}

/* ---------- Tracking form ---------- */
.track-section {
  padding: 4rem 0 5.5rem;
}

.track-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 860px;
  margin-inline: auto;
}

.track-card__head {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.track-card__head svg {
  width: 34px;
  height: 34px;
  color: #fff;
}

.track-card__head h2 {
  color: #fff;
  margin: 0;
  font-size: 1.4rem;
}

.track-card__head p {
  margin: 0;
  color: #ffe3e4;
  font-size: 0.88rem;
}

.track-card__body {
  padding: 2.2rem;
}

.track-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.1rem;
  align-items: end;
}

.form-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.45rem;
}

.form-field input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  transition: all 0.2s var(--ease);
}

.form-field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(236, 27, 35, 0.12);
}

.form-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.1rem;
}

/* Track result */
.track-result {
  margin-top: 1.6rem;
  border-top: 1px dashed var(--line);
  padding-top: 1.6rem;
}

.track-result__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.track-result__cell {
  background: var(--mist);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
}

.track-result__cell span {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.track-result__cell b {
  font-size: 1rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-status--approved {
  background: rgba(40, 167, 69, 0.12);
  color: #1c7a35;
}

.badge-status--pending {
  background: rgba(236, 27, 35, 0.1);
  color: var(--brand-dark);
}

.badge-status--rejected {
  background: rgba(161, 0, 6, 0.1);
  color: var(--brand-dark);
}

/* ---------- Contact cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff3f3, #ffe1e2);
  display: grid;
  place-items: center;
  color: var(--brand);
  margin-bottom: 1.1rem;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-card a.contact-card__link {
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
  display: grid;
  gap: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--brand), var(--flag-blue));
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand);
  box-shadow: 0 0 0 3px rgba(236, 27, 35, 0.15);
}

.timeline__item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}

.timeline__item p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #14141a;
  color: #b9b9c0;
  font-size: 0.92rem;
}

.site-footer__top {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.site-footer .brand__name {
  color: #fff;
}

.site-footer .brand__sub {
  color: #8c8c94;
}

.site-footer__about {
  color: #a2a2aa;
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: #a2a2aa;
  text-decoration: none;
  transition: color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
  opacity: 0.6;
}

.footer-contact {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex: none;
  margin-top: 0.2rem;
}

.footer-contact a {
  color: #c9c9cf;
}

.site-footer__bottom {
  padding: 1.5rem 0;
}

.site-footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.84rem;
  color: #8c8c94;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #a2a2aa;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

.flag-stripe {
  display: flex;
  height: 4px;
}

.flag-stripe span {
  flex: 1;
}

.flag-stripe span:nth-child(1) { background: var(--flag-white); }
.flag-stripe span:nth-child(2) { background: var(--flag-blue); }
.flag-stripe span:nth-child(3) { background: var(--flag-red); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root {
    --container: none;
  }

  .visa-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 4rem;
  }

  .hero-visual {
    max-width: 560px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .side-nav__title {
    width: 100%;
  }

  .side-nav a {
    padding: 0.5rem 0.8rem;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: flex;
  }

  .header-cta {
    margin-left: auto;
  }

  .header-cta .btn--dark {
    display: none;
  }

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 88vw);
    background: #fff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.2);
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    padding: 1.4rem;
    z-index: 100;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .primary-nav__link {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
  }

  .primary-nav__link.is-active::after {
    display: none;
  }

  .primary-nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--brand);
    border-radius: 0;
    padding: 0.2rem 0 0.2rem 0.4rem;
    display: none;
    margin: 0 0 0.4rem;
  }

  .nav-item--parent.open .primary-nav__sub {
    display: block;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
  }

  .nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 1.8rem;
  }

  .track-form {
    grid-template-columns: 1fr;
  }

  .track-result__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .visa-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .header-top__contact span {
    display: none;
  }

  .header-main .container {
    min-height: 64px;
  }

  .brand__sub {
    display: none;
  }

  .hero .container {
    padding-block: 3.2rem;
  }

  .hero__stats {
    gap: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .site-footer__bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    gap: 0.9rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-marquee__track {
    animation: none;
  }
}
