/* ============================================================
   VISA REQUIREMENTS PAGE  (/visas/)
   Hero + world map · stats · region filter · visa cards ·
   lead-capture modal (dialog on desktop, bottom sheet on phones) ·
   why-us cards · enquiry strip.
   Breakpoints: 1100 (tablet landscape) · 900/820 (tablet portrait) ·
                640 (card grid → 1 col) · 560 (phones) · 400 (small phones)
   Colours/type/spacing come from the tokens in style.css.
   ============================================================ */

/* Deeper orange for small orange text on light surfaces (AA); brand orange stays on fills/large accents */
.visa-card, .visa-modal, .why-visa { --v-ink: var(--orange-ink, #a8631f); }

/* Hidden-until-revealed only when JS is running; never leave content invisible */
html:not(.js) .reveal { opacity: 1; transform: none; }
/* style.css (<=560px) re-applies the hidden-state offset to revealed elements (same specificity, later in the file), leaving every
   revealed .reveal 16px low on phones: force the settled state. */
.js .reveal.visible, .js .reveal-left.visible, .js .reveal-right.visible { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
@media (max-width: 560px) { .reveal { transform: translateY(16px); } }

/* ───────────────────────── HERO ───────────────────────── */
#hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--ivory);
  min-height: 560px; min-height: clamp(540px, 72vh, 760px); min-height: clamp(540px, 72svh, 760px);
  padding: calc(var(--nav-h) + clamp(28px, 6vw, 88px)) var(--gutter) clamp(48px, 7vw, 96px);
}
.visa-hero-map {
  position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: none;
  opacity: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 52%, transparent 100%);
  transition: opacity 1.2s var(--ease-out);
}
.visa-hero-map.is-ready { opacity: .45; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1100px; }
.hero-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--orange-ink, #a8631f); font-weight: 600; margin-bottom: 20px; display: block; }
.hero-title {
  font-family: var(--f-display); font-size: clamp(38px, 8vw, 110px); font-weight: 900;
  line-height: 1.08; letter-spacing: -.028em; color: var(--black); margin-bottom: 20px;
}
.hero-title em { color: var(--orange); font-style: italic; }
/* "40+" upright + a touch of stroke: Playfair's italic figures are hairline-thin beside the heavy words (lining numerals come from style.css) */
.hero-title em .hero-num { font-style: normal; -webkit-text-stroke: .022em currentColor; paint-order: stroke fill; }
/* the "+" in 40+ : Playfair's plus is a hairline next to its heavy digits, so it is set in Inter 800 (hero figure and stats band) */
.num-plus { font-family: var(--f-body); font-style: normal; font-weight: 800; font-size: .84em; line-height: 1; -webkit-text-stroke: 0; margin-left: .02em; vertical-align: .03em; }
.hero-sub { font-size: clamp(15px, 1.4vw, 17px); color: #62625a; max-width: 560px; margin: 0 auto clamp(28px, 4vw, 40px); line-height: 1.65; font-weight: 400; }

/* ───────────────────────── STATS ───────────────────────── */
.visa-stats { background: var(--dark-green); padding: clamp(32px, 4.5vw, 56px) var(--gutter); }
.visa-stats-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 1200px; margin: 0 auto; }
.visa-stat { text-align: center; padding: 4px clamp(10px, 2vw, 28px); border-left: 1px solid rgba(255,255,255,.16); min-width: 0; }
.visa-stat:first-child { border-left: none; }
/* lining numerals (no "o"-shaped zeros) and a lighter orange: brand orange is only 2.3:1 on this green, this one is >3:1 for large type */
.visa-stat-num { font-family: var(--f-display); font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; font-size: clamp(30px, 3.3vw, 48px); font-weight: 900; color: #f0b57a; line-height: 1.05; margin-bottom: 8px; display: block; white-space: nowrap; }
.visa-stat-lbl { font-size: 11px; letter-spacing: 1.5px; line-height: 1.45; text-transform: uppercase; color: rgba(255,255,255,.74); display: block; }

/* ───────────────────── REGION FILTER ───────────────────── */
.visa-filter-label { text-align: center; margin: clamp(28px, 4vw, 44px) 0 8px; padding-inline: var(--gutter); }
.continent-tabs {
  --visa-bar-top: 68px;
  position: sticky; top: var(--visa-bar-top); z-index: 100;
  background: rgba(253,253,243,.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  transition: top .4s var(--ease-out);
}
/* the site nav hides while scrolling down: let the filter bar slide up to the top edge with it */
body:has(.nav.nav-hidden) .continent-tabs { top: 0; }
.continent-tabs-track {
  display: flex; justify-content: flex-start; gap: 4px;
  padding-inline: var(--gutter);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%);
}
/* centre when everything fits, scroll from the start when it does not */
.continent-tab:first-child { margin-left: auto; }
.continent-tab:last-child  { margin-right: auto; }
.continent-tab {
  flex: 0 0 auto; scroll-snap-align: center;
  min-height: 56px; padding: 0 clamp(14px, 2vw, 28px);
  font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .3px; white-space: nowrap;
  color: var(--gray); background: none; cursor: pointer;
  border: none; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
@media (hover: hover) { .continent-tab:hover { color: var(--orange); } }
.continent-tab.active { color: #a95f1b; border-bottom-color: var(--orange); }
.continent-tab:focus-visible { outline-offset: -4px; border-radius: 12px; }

/* ───────────────────────── CARD GRID ───────────────────────── */
#visa-grid { scroll-margin-top: 60px; }
.visa-section { background: var(--ivory); padding: clamp(28px, 4vw, 56px) var(--gutter) calc(var(--section-y) * .6); }
.visa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1280px; margin: 0 auto; }
@media (min-width: 1700px) { .visa-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1500px; } }

.visa-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: 20px; overflow: hidden; background: #fff; cursor: pointer;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
/* once the entrance has played, drop the stagger delay so hover/press feel instant */
.visa-card.is-settled { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); transition-delay: 0s !important; }
@media (hover: hover) {
  .visa-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,.12); }
  .visa-card:hover .visa-card-arrow { background: var(--orange); color: #fff; transform: translateX(3px); }
}
.visa-card:active { transform: scale(.992); }
.visa-card-top { padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.2vw, 28px) 14px; flex: 1; min-width: 0; }
.visa-card-head { display: block; }
.visa-card-region { font-size: 11px; color: var(--v-ink); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 8px; display: block; line-height: 1.4; }
.visa-card-country { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 28px); font-weight: 900; line-height: 1.15; color: var(--black); margin-bottom: 12px; }
.visa-card-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 13px; border-radius: 40px; font-size: 11px; font-weight: 700; letter-spacing: .3px; line-height: 1.3; margin-bottom: 16px; }
.visa-badge-e-visa { background: var(--green); color: #fff; }
.visa-badge-regular { background: var(--orange); color: #fff; }
.visa-badge-eta { background: var(--dark-green); color: #fff; }
.visa-badge-special { background: var(--black); color: #fff; }

/* Fee: label · amount · unit stacked, so long multi-option strings wrap cleanly */
.visa-card-fee { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-bottom: 12px; min-width: 0; }
.visa-card-fee-label { font-size: 11px; color: var(--gray); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.visa-card-fee-amount { font-size: 20px; font-weight: 700; color: #bd7129; line-height: 1.3; letter-spacing: -.1px; overflow-wrap: anywhere; text-wrap: balance; }
.visa-card-fee-amount.is-long  { font-size: 17px; }
.visa-card-fee-amount.is-xlong { font-size: 16px; line-height: 1.4; }
.fee-opt { display: inline-block; max-width: 100%; }
.visa-card-fee-unit { font-size: 13px; color: #6e6e66; line-height: 1.5; overflow-wrap: anywhere; }
.visa-card-processing { font-size: 14px; color: #6e6e66; margin-bottom: 18px; line-height: 1.5; }
.visa-card-processing strong { color: var(--black); font-weight: 700; }
.visa-card-docs-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray); font-weight: 600; margin-bottom: 8px; display: block; }
.visa-card-docs-list { list-style: none; padding: 0; margin: 0 0 6px; }
.visa-card-docs-list li { font-size: 13px; color: var(--black-soft); line-height: 1.55; padding: 4px 0 4px 16px; position: relative; }
.visa-card-docs-list li::before { content: ''; position: absolute; left: 0; top: .95em; width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
/* the card is a teaser: three documents, the full checklist is one tap away */
.visa-card-docs-list li:nth-child(n+4) { display: none; }
.visa-card-docs-list li.visa-card-docs-more { display: none; }
.vc-short { display: none; }

.visa-card-footer { padding: 12px clamp(20px, 2.2vw, 28px) 10px; border-top: 1px solid var(--gray-light); display: flex; flex-direction: column; gap: 6px; }
.visa-card-note { font-size: 12px; color: #6e6e66; font-style: italic; line-height: 1.5; padding-top: 4px; }
.visa-card-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  min-height: 48px; padding: 0; background: none; border: none; cursor: pointer;
  font-family: var(--f-body); font-size: 14px; font-weight: 700; color: var(--v-ink); text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.visa-card-arrow {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange-pale); color: var(--orange);
  transition: background .25s, color .25s, transform .3s var(--ease-out);
}
.visa-card-btn:focus-visible { outline-offset: 2px; border-radius: 12px; }

/* ───────────────────────── MODAL ───────────────────────── */
.visa-modal-overlay {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(26,26,26,.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.visa-modal-overlay.open { opacity: 1; visibility: visible; transition: opacity .3s; }
html.visa-modal-open, html.visa-modal-open body { overflow: hidden; }

.visa-modal {
  position: relative; display: flex; flex-direction: column;
  width: 100%; max-width: 720px;
  max-height: 90vh; max-height: min(90dvh, 800px);
  background: var(--ivory); border-radius: 24px; overflow: hidden; outline: none;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(20px) scale(.97); transition: transform .35s var(--ease-out);
}
.visa-modal-overlay.open .visa-modal { transform: translateY(0) scale(1); }
.visa-modal-grip { display: none; }
.visa-modal-header {
  flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 26px 24px 18px 36px; background: var(--ivory); border-bottom: 1px solid var(--gray-light);
}
.visa-modal-titles { min-width: 0; padding-top: 6px; }
.visa-modal-region { font-size: 11px; color: var(--orange); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 6px; display: block; }
.visa-modal-country { font-family: var(--f-display); font-size: clamp(28px, 4vw, 40px); font-weight: 900; line-height: 1.1; color: var(--black); }
.visa-modal-close {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ivory-2); color: var(--black-soft); transition: background .2s, color .2s;
}
.visa-modal-close:hover { background: var(--orange-pale); color: var(--black); }
.visa-modal-scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 22px 36px max(32px, env(safe-area-inset-bottom));
}
.visa-modal-scroll::-webkit-scrollbar { width: 6px; }
.visa-modal-scroll::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 3px; }

.visa-modal-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px;
  padding: 18px 20px; margin-bottom: 24px;
  background: #fff; border: 1px solid var(--gray-light); border-radius: 16px;
}
.visa-modal-meta-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.visa-modal-meta-fee { grid-column: 1 / -1; order: -1; }
.visa-modal-meta-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray); font-weight: 600; }
.visa-modal-meta-value { font-size: 15px; font-weight: 700; color: var(--black); line-height: 1.45; overflow-wrap: anywhere; }
.visa-modal-meta-value.highlight { color: var(--v-ink); font-size: 17px; }

/* Lead form (built by visas.js) */
.vm-intro { font-size: 15px; color: var(--black-soft); line-height: 1.65; margin: 0 0 22px; }
.vm-form { display: flex; flex-direction: column; gap: 22px; }
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.vm-field { min-width: 0; }
.vm-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #5f5f58; margin-bottom: 8px; }
.vm-input {
  display: block; width: 100%; min-height: 52px; padding: 14px 16px;
  border: 1.5px solid var(--gray-light); border-radius: 12px;
  font-family: var(--f-body); font-size: 16px; line-height: 1.3; color: var(--black); background: var(--ivory-2);
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.vm-input::placeholder { color: #9a9a92; }
.vm-input:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(213,142,74,.22); }
.vm-input:user-invalid { border-color: #c0483a; }
/* inline message under a field, only once the visitor has touched it / tried to submit (replaces a bare red border) */
.vm-err { display: none; margin: 6px 0 0; font-size: 13px; line-height: 1.45; font-weight: 500; color: #b3261e; }
.vm-input:user-invalid ~ .vm-err { display: block; }
.vm-grid .vm-field:nth-child(3) { grid-column: 1 / -1; }
.vm-submit { width: 100%; justify-content: center; min-height: 54px; }
.visa-modal-footer-note { margin-top: 18px; font-size: 12px; line-height: 1.6; color: #6e6e66; font-style: italic; text-align: center; }

/* landscape phones: the dialog is only ~350px tall, so the fee/type/processing card sits beside the form instead of above it */
@media (max-height: 520px) {
  .visa-modal-header { padding: 10px 14px 8px 28px; }
  .visa-modal-titles { padding-top: 0; }
  .visa-modal-region { display: none; }
  .visa-modal-country { font-size: 24px; }
  .visa-modal-close { width: 40px; height: 40px; }
  .visa-modal-scroll { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 24px; align-items: start; padding: 12px 28px max(16px, env(safe-area-inset-bottom)); }
  .visa-modal-meta { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; margin-bottom: 0; gap: 10px; }
  .visa-modal-meta-fee { grid-column: auto; }
  .visa-modal-meta-value, .visa-modal-meta-value.highlight { font-size: 14px; }
  .vm-intro { margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
  .vm-form { gap: 12px; }
  .vm-grid { gap: 10px 12px; }
  .vm-label { margin-bottom: 4px; }
  .vm-input { min-height: 44px; padding-block: 8px; }
  .vm-submit { min-height: 48px; }
  .visa-modal-footer-note { display: none; }
}

/* ───────────────────────── WHY US ───────────────────────── */
.why-visa { background: var(--ivory-2); padding: var(--section-y) var(--gutter) calc(var(--section-y) * .8); }
.why-visa-inner { max-width: 1080px; margin: 0 auto; }
.why-visa-header { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.why-visa-heading { font-family: var(--f-display); font-size: clamp(28px, 4vw, 48px); font-weight: 900; line-height: 1.15; letter-spacing: -.5px; color: var(--black); margin-bottom: 12px; }
.why-visa-heading em { color: var(--orange); font-style: italic; }
.why-visa-sub { font-size: clamp(15px, 1.4vw, 16px); line-height: 1.65; color: #62625a; max-width: 560px; margin: 0 auto; }
.why-visa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.why-visa-item { background: #fff; border-radius: 20px; padding: clamp(24px, 3vw, 36px); text-align: center; transition: transform .3s, box-shadow .3s; }
@media (hover: hover) { .why-visa-item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); } }
.why-visa-icon { width: 60px; height: 60px; background: var(--orange-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.why-visa-title { font-family: var(--f-display); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--black); margin-bottom: 10px; }
.why-visa-desc { font-size: 14px; color: #62625a; line-height: 1.7; }

/* ───────────────────────── ENQUIRY STRIP ───────────────────────── */
.visa-enquiry .visa-cta-label { font-size: 11px; line-height: 1.5; text-align: center; margin: 0 auto 16px; max-width: none; }
.visa-enquiry h2 { line-height: 1.15; }
.visa-enquiry p:not(.section-label) { max-width: 620px; margin: 0 auto clamp(26px, 4vw, 36px); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.65; }
.visa-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.visa-cta-wa { border-color: rgba(255,255,255,.4); color: #fff; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1100px) {
  .visa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visa-stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .visa-stat:nth-child(odd) { border-left: none; }
  .visa-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; }
  .continent-tabs { --visa-bar-top: 64px; }
}

@media (max-width: 900px) {
  .why-visa-grid { grid-template-columns: 1fr; }
  .why-visa-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-items: start; text-align: left; padding: 22px; }
  .why-visa-icon { width: 56px; height: 56px; margin: 0; }
  .why-visa-title { font-size: 19px; margin-bottom: 6px; }
}

@media (max-width: 640px) {
  .visa-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
  /* Region filter → pill chips in a snap-scrolling row */
  .continent-tabs-track { gap: 8px; padding-block: 10px; }
  .continent-tab {
    min-height: 44px; padding: 0 18px; font-size: 14px;
    background: #fff; color: var(--black-soft);
    border: 1.5px solid var(--gray-light); border-radius: 60px;
  }
  .continent-tab.active { background: var(--orange); border-color: var(--orange); color: #fff; }
}

@media (max-width: 560px) {
  #hero { min-height: 0; padding-top: calc(var(--nav-h) + 28px); padding-bottom: 52px; }
  .hero-eyebrow { margin-bottom: 14px; letter-spacing: 2.5px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 28px; }

  .visa-stat-num { font-size: clamp(26px, 7.4vw, 32px); }
  .visa-stat-lbl { letter-spacing: 1px; }
  .visa-stat { padding-inline: 8px; }

  /* Cards: compact teaser on phones (country + type badge on one row, two clamped documents), the full checklist is one tap away */
  .visa-card-top { padding: 18px 20px 8px; }
  .visa-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; margin-bottom: 12px; }
  .visa-card-region { grid-column: 1 / -1; margin-bottom: 6px; }
  .visa-card-country { margin: 0; }
  .visa-card-badge { margin: 0; white-space: nowrap; }
  .visa-card-fee { margin-bottom: 8px; }
  .visa-card-processing { margin-bottom: 12px; }
  .visa-card-docs-label { margin-bottom: 4px; }
  .visa-card-docs-list { margin: 0; }
  .visa-card-docs-list li { font-size: 14px; padding-block: 3px; }
  .visa-card-docs-list li:nth-child(n+3) { display: none; }
  .vc-full { display: none; }
  .vc-short { display: inline; }
  .visa-card-docs-list li.visa-card-docs-more { display: block; margin-top: 2px; padding-top: 2px; font-size: 13px; font-weight: 600; color: var(--v-ink); }
  .visa-card-docs-list li.visa-card-docs-more::before { display: none; }
  .visa-card-docs-list li::before { top: .95em; }
  .visa-card-footer { padding: 8px 20px 4px; gap: 2px; }
  .visa-card-note { font-size: 13px; padding-top: 2px; }
  .visa-card-btn { min-height: 48px; font-size: 15px; }
  .visa-card-arrow { width: 36px; height: 36px; }

  /* Modal → bottom sheet, compact so the Submit button is on screen without scrolling on small phones */
  .visa-modal-overlay { align-items: flex-end; padding: 0; }
  .visa-modal {
    max-width: none; border-radius: 24px 24px 0 0;
    max-height: 92vh; max-height: 92dvh;
    transform: translateY(100%); transition: transform .42s var(--ease-out);
    box-shadow: 0 -12px 48px rgba(0,0,0,.28);
  }
  .visa-modal-overlay.open .visa-modal { transform: none; }
  .visa-modal-grip { display: block; flex: none; width: 44px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: var(--gray-light); }
  .visa-modal-header { padding: 4px 10px 10px 20px; align-items: center; }
  .visa-modal-titles { padding-top: 0; }
  .visa-modal-region { margin-bottom: 2px; }
  .visa-modal-country { font-size: 26px; }
  .visa-modal-scroll { padding: 14px 20px calc(20px + env(safe-area-inset-bottom)); }
  .visa-modal-meta { padding: 12px 14px; gap: 10px 16px; margin-bottom: 14px; border-radius: 14px; }
  .visa-modal-meta-value { font-size: 14px; }
  .visa-modal-meta-value.highlight { font-size: 15px; }
  .vm-intro { font-size: 14px; line-height: 1.55; margin-bottom: 14px; }
  .vm-grid { grid-template-columns: 1fr; gap: 12px; }
  .vm-form { gap: 14px; }
  .vm-label { margin-bottom: 6px; }
  .vm-input { min-height: 48px; padding-block: 12px; }
  .vm-submit { min-height: 52px; }
  .visa-modal-footer-note { margin-top: 12px; }

  .why-visa-item { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .why-visa-icon { width: 48px; height: 48px; }
  .why-visa-icon svg { width: 24px; height: 24px; }

  .visa-cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .visa-cta-actions a { justify-content: center; min-height: 52px; }
}

@media (max-width: 400px) {
  .visa-stat-num { font-size: clamp(22px, 6.8vw, 28px); }
  .visa-stat-lbl { font-size: 11px; letter-spacing: .6px; }
  .visa-card-country { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .visa-hero-map, .visa-modal, .visa-card, .continent-tabs { transition: none; }
  .visa-modal-overlay.open .visa-modal { transform: none; }
}
