/* ============================================
   MIGRACIONES.CO — DESIGN SYSTEM (MODERN)
   v1.0 — 2026-04-08
   No frameworks. Pure CSS. Mobile-first.
   ============================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
  /* Colors — sophisticated migration palette */
  --primary: #0F2A5C;          /* Migration deep blue */
  --primary-light: #1E4A8B;
  --primary-dark: #061838;
  --gold: #F4B94A;             /* Welcome gold */
  --gold-dark: #D89B2A;
  --teal: #26B6A8;             /* Trust teal */
  --teal-dark: #1A8278;

  --text: #1A2238;             /* Near-black slate */
  --text-soft: #4A5468;
  --text-muted: #6B7280;

  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-muted: #F1F5F9;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;

  /* Type scale */
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --fs-xs: 0.75rem;     /* 12 */
  --fs-sm: 0.875rem;    /* 14 */
  --fs-base: 1rem;      /* 16 */
  --fs-lg: 1.125rem;    /* 18 */
  --fs-xl: 1.25rem;     /* 20 */
  --fs-2xl: 1.5rem;     /* 24 */
  --fs-3xl: 1.875rem;   /* 30 */
  --fs-4xl: 2.25rem;    /* 36 */
  --fs-5xl: 3rem;       /* 48 */
  --fs-6xl: 3.75rem;    /* 60 */

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 42, 92, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 42, 92, 0.1), 0 2px 4px -2px rgba(15, 42, 92, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 42, 92, 0.1), 0 4px 6px -4px rgba(15, 42, 92, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 42, 92, 0.1), 0 8px 10px -6px rgba(15, 42, 92, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 42, 92, 0.25);

  /* Transitions */
  --tr-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1200px;
  --container-narrow: 800px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
}
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.875rem, 3vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.375rem, 1.5vw + 0.875rem, 1.75rem); }
h4 { font-size: var(--fs-xl); }

p { color: var(--text-soft); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-xl); color: var(--text-soft); line-height: 1.7; }

strong { color: var(--text); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.section { padding: var(--space-20) 0; }
.section-tight { padding: var(--space-12) 0; }
@media (max-width: 768px) {
  .section { padding: var(--space-12) 0; }
}

.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  background: rgba(38, 182, 168, 0.08);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.eyebrow.gold {
  color: var(--gold-dark);
  background: rgba(244, 185, 74, 0.12);
}

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-sm);
  padding: var(--space-2) 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3); }
.top-bar a { color: inherit; transition: color var(--tr-fast); }
.top-bar a:hover { color: var(--gold); }
.top-bar-info { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.top-bar-info span { display: inline-flex; align-items: center; gap: var(--space-2); }
@media (max-width: 768px) {
  .top-bar { display: none; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: background var(--tr);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: var(--space-6);
}
.navbar-brand img { height: 44px; width: auto; }
.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.navbar-menu a, .navbar-menu .nav-item {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  transition: background var(--tr-fast), color var(--tr-fast);
}
.navbar-menu a:hover, .navbar-menu .nav-item:hover { background: var(--bg-muted); color: var(--primary); }
.navbar-menu .nav-item.active { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-toggle::after { content: " ▾"; font-size: 0.7em; opacity: 0.6; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  min-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr), transform var(--tr);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--tr-fast);
}
.dropdown-menu a:hover { background: var(--bg-muted); color: var(--primary); }

.navbar-cta {
  background: var(--primary);
  color: white !important;
  padding: var(--space-3) var(--space-5) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600;
  transition: background var(--tr), transform var(--tr);
}
.navbar-cta:hover { background: var(--primary-light) !important; transform: translateY(-1px); }

.navbar-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  padding: var(--space-2);
}
@media (max-width: 1024px) {
  .navbar-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: var(--space-4); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); align-items: stretch; gap: var(--space-1); }
  .navbar-menu.is-open { display: flex; }
  .navbar-menu a, .navbar-menu .nav-item { width: 100%; }
  .navbar-toggle { display: block; }
  .dropdown-menu { position: static; transform: none; opacity: 1; pointer-events: auto; box-shadow: none; border: none; padding: 0 0 0 var(--space-4); margin-top: var(--space-2); display: none; }
  .dropdown.is-open .dropdown-menu { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--tr);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold {
  background: var(--gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: var(--shadow);
}
.btn-whatsapp:hover { background: #1DAB52; transform: translateY(-2px); }
.btn-lg { padding: var(--space-5) var(--space-8); font-size: var(--fs-lg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-24);
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #F0F9FF 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 185, 74, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(38, 182, 168, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-12); }
}
.hero h1 {
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--teal-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { margin-bottom: var(--space-8); max-width: 540px; }
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-8); }
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.hero-trust strong { color: var(--primary); }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-lg);
}
.hero-badge-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.hero-badge-text { font-size: var(--fs-sm); }
.hero-badge-text strong { display: block; color: var(--primary); font-size: var(--fs-base); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: translateX(-100%);
  transition: transform var(--tr);
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.card:hover::before { transform: translateX(0); }
.card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
}
.card-icon.gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--primary-dark); }
.card-icon.teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.card h3 { margin-bottom: var(--space-3); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary);
  font-weight: 600;
  margin-top: var(--space-4);
  transition: gap var(--tr-fast);
}
.card-link::after { content: "→"; transition: transform var(--tr-fast); }
.card:hover .card-link::after { transform: translateX(4px); }

/* Service category badge */
.badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.badge-r { background: rgba(15, 42, 92, 0.1); color: var(--primary); }
.badge-m { background: rgba(38, 182, 168, 0.1); color: var(--teal-dark); }
.badge-v { background: rgba(244, 185, 74, 0.15); color: var(--gold-dark); }

/* ---------- Comparison table ---------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: white;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.comparison-table thead {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}
.comparison-table th, .comparison-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.comparison-table thead th {
  font-weight: 600;
  white-space: nowrap;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison-table tbody tr { transition: background var(--tr-fast); }
.comparison-table tbody tr:hover { background: var(--bg-soft); }
.comparison-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-soft);
}
.comparison-table tbody th[scope="row"] a { color: var(--primary); }
.comparison-table tbody th[scope="row"] a:hover { color: var(--teal-dark); }
.check { color: var(--success); font-weight: 700; }
.cross { color: var(--text-muted); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--container-narrow);
  margin: 0 auto;
}
details.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--tr);
}
details.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
details.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: background var(--tr-fast);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { background: var(--bg-soft); }
details.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform var(--tr);
  flex-shrink: 0;
}
details.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary); }
details.faq-item p {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}
.testimonial {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--tr);
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: -8px;
  left: var(--space-6);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.testimonial:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.testimonial-quote {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--text);
  margin-bottom: var(--space-5);
  flex: 1;
}
.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}
.testimonial-meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}
.testimonial-rating { color: var(--gold); margin-bottom: var(--space-3); }

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(244, 185, 74, 0.15), transparent 50%);
}
.stats .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #FFE4A1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  margin-top: var(--space-2);
}

/* ---------- CTA section ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::before { top: -200px; right: -100px; background: radial-gradient(circle, rgba(244, 185, 74, 0.25), transparent 60%); }
.cta-banner::after { bottom: -200px; left: -100px; background: radial-gradient(circle, rgba(38, 182, 168, 0.2), transparent 60%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: white; margin-bottom: var(--space-4); }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: var(--fs-lg); margin-bottom: var(--space-8); }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: var(--space-20) 0 var(--space-8);
}
.footer h4 {
  color: white;
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 568px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer ul li { margin-bottom: var(--space-3); }
.footer a {
  color: rgba(255,255,255,0.7);
  transition: color var(--tr-fast);
  font-size: var(--fs-sm);
}
.footer a:hover { color: var(--gold); }
.footer-info p { color: rgba(255,255,255,0.7); font-size: var(--fs-sm); margin-bottom: var(--space-3); display: flex; align-items: center; gap: var(--space-3); }
.footer-info i { color: var(--gold); width: 20px; }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  transition: all var(--tr);
}
.footer-social a:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-2px); }

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-sm);
}
.footer-bottom-info { color: rgba(255,255,255,0.6); max-width: 600px; }
.footer-bottom-info p { color: rgba(255,255,255,0.5); font-size: var(--fs-xs); margin-top: var(--space-2); }
.footer-bottom-links { display: flex; gap: var(--space-5); }
.footer-bottom-links a { color: rgba(255,255,255,0.6); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244, 185, 74, 0.18), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; max-width: 900px; }
.page-header h1 { color: white; margin-bottom: var(--space-5); }
.page-header .lead { color: rgba(255,255,255,0.9); }

.breadcrumbs {
  display: flex;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-6);
}
.breadcrumbs a { color: rgba(255,255,255,0.9); transition: color var(--tr-fast); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs li:not(:last-child)::after { content: " /"; opacity: 0.4; margin-left: var(--space-2); }

/* ---------- Content prose (article pages) ---------- */
.prose {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.prose h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}
.prose h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.prose p, .prose ul, .prose ol { margin-bottom: var(--space-5); color: var(--text-soft); line-height: 1.8; }
.prose ul, .prose ol { padding-left: var(--space-6); }
.prose ul li { list-style: disc; margin-bottom: var(--space-2); }
.prose ol li { list-style: decimal; margin-bottom: var(--space-2); }
.prose strong { color: var(--text); }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.prose a:hover { color: var(--teal-dark); }

/* Prose tables (Bootstrap-compat) */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--fs-sm);
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.prose table thead { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; }
.prose table th, .prose table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose table thead th { font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: none; }
.prose table tbody tr:hover { background: var(--bg-soft); }

/* Prose Bootstrap-compat utilities (so prod content renders OK) */
.prose .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-4); margin: var(--space-5) 0; }
.prose [class*="col-"] { width: 100%; }
.prose .bg-light, .prose .content-box { background: var(--bg-soft); padding: var(--space-5); border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: var(--space-5); }
.prose .content-box { background: white; box-shadow: var(--shadow-sm); }
.prose .rounded, .prose .shadow-sm { border-radius: var(--radius); }
.prose .lead { font-size: var(--fs-xl); color: var(--text); font-weight: 500; line-height: 1.7; }
.prose .fst-italic { font-style: italic; }
.prose .text-secondary, .prose .text-muted { color: var(--text-muted); }
.prose .text-primary { color: var(--primary); }
.prose .text-end { text-align: right; }
.prose .text-center { text-align: center; }
.prose .my-3, .prose .my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.prose .mb-3, .prose .mb-4 { margin-bottom: var(--space-4); }
.prose .mt-3, .prose .mt-4 { margin-top: var(--space-4); }
.prose .h-100 { height: 100%; }
.prose .p-3, .prose .p-4 { padding: var(--space-4); }
.prose .table-responsive { overflow-x: auto; }
.prose .custom-h1, .prose .custom-h2, .prose .custom-h3 {
  color: var(--primary) !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  font-size: inherit !important;
}
.prose .custom-h2 { border-left: 4px solid var(--gold); padding-left: var(--space-4) !important; margin-top: var(--space-10); }
.prose .custom-h3 { font-size: var(--fs-lg) !important; }

/* Visa requirements list */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.requirement {
  background: var(--bg-soft);
  border-left: 4px solid var(--gold);
  padding: var(--space-5);
  border-radius: var(--radius);
}
.requirement h4 { color: var(--primary); margin-bottom: var(--space-2); font-size: var(--fs-base); }
.requirement p { font-size: var(--fs-sm); color: var(--text-soft); margin: 0; }

/* Notice / callout box */
.callout {
  background: linear-gradient(135deg, rgba(244, 185, 74, 0.1), rgba(244, 185, 74, 0.05));
  border-left: 4px solid var(--gold);
  padding: var(--space-6);
  border-radius: var(--radius);
  margin: var(--space-8) 0;
}
.callout p { color: var(--text); margin: 0; }
.callout strong { color: var(--gold-dark); }

/* ---------- Sponsor banner ---------- */
.sponsor-banner {
  padding: var(--space-12) 0;
}
.sponsor-banner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--tr);
}
.sponsor-banner a:hover img { transform: scale(1.01); }
.sponsor-banner .label {
  display: block;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

/* ---------- Section header (centered) ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p { font-size: var(--fs-lg); color: var(--text-soft); }

/* ---------- Animations ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.8s ease-out both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Utilities ---------- */
.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;
}
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold-dark); }
.bg-soft { background: var(--bg-soft); }
