/* ============================================================
   Travel To Visa — Main Theme CSS
   Matches traveltovisa.com design exactly
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --primary:        hsl(207, 90%, 54%);
  --primary-dark:   hsl(207, 90%, 45%);
  --primary-light:  hsl(207, 90%, 96%);
  --secondary:      hsl(33, 100%, 58%);
  --background:     hsl(0, 0%, 100%);
  --foreground:     hsl(20, 14.3%, 4.1%);
  --muted:          hsl(60, 4.8%, 95.9%);
  --muted-fg:       hsl(25, 5.3%, 44.7%);
  --border:         hsl(20, 5.9%, 90%);
  --card:           hsl(0, 0%, 100%);
  --radius:         0.5rem;
  --shadow-sm:      0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow:         0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg:      0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl:      0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button,
input,
select,
textarea {
  font: inherit;
}

a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }

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

/* ---------- Layout Helpers ---------- */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px)  { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container--narrow { padding: 0 1.5rem; } }

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-branding { display: flex; align-items: center; gap: .75rem; }
.site-branding a { display: flex; align-items: center; gap: .75rem; color: var(--foreground); font-weight: 700; font-size: 1.25rem; }
.site-branding a:hover { opacity: .8; color: var(--foreground); }

.site-logo { height: 2rem; width: auto; object-fit: contain; }
.site-logo-icon {
  width: 2rem; height: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1rem;
  flex-shrink: 0;
}

.site-name { color: var(--foreground); }

/* Desktop Nav */
.main-navigation { display: none; }
@media (min-width: 768px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
.main-navigation a {
  color: hsl(220,9%,46%);
  font-weight: 500;
  font-size: .9375rem;
  transition: color .15s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: var(--primary); }

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: background .15s;
}
.menu-toggle:hover { background: var(--muted); }
@media (min-width: 768px) { .menu-toggle { display: none; } }

.menu-toggle svg { width: 1.5rem; height: 1.5rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.active .icon-open  { display: none; }
.menu-toggle.active .icon-close { display: block; }

/* Mobile Nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: .625rem .75rem;
  color: hsl(220,9%,46%);
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.mobile-nav a:hover { background: var(--muted); color: var(--primary); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs-wrap {
  background: var(--muted);
  border-bottom: 1px solid var(--border);
  padding: .625rem 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: hsl(25,5.3%,44.7%);
  flex-wrap: wrap;
}
.breadcrumbs a { color: hsl(25,5.3%,44.7%); transition: color .15s; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: hsl(20,5.9%,75%); font-size: .75rem; }
.breadcrumbs .current { color: var(--foreground); font-weight: 500; }

/* ---------- Hero Section ---------- */
.hero-section {
  background: linear-gradient(135deg, hsl(207,90%,54%) 0%, hsl(207,90%,45%) 100%);
  color: #fff;
  padding: 1.5rem 0 2rem;
}
@media (min-width: 768px) { .hero-section { padding: 4rem 0; } }

.hero-section .container { text-align: center; }

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .75rem;
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; margin-bottom: 1.5rem; } }

.hero-subtitle {
  font-size: 1.125rem;
  opacity: .9;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  display: none;
}
@media (min-width: 768px) { .hero-subtitle { display: block; } }

.hero-badges {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
@media (min-width: 768px) { .hero-badges { display: flex; } }

.hero-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border-radius: .5rem;
  padding: .5rem 1rem;
  font-weight: 600;
  font-size: .9375rem;
}
.hero-badge svg { width: 1.5rem; height: 1.5rem; }

/* ---------- Main Form Card ---------- */
.visa-checker-section {
  padding: 1.5rem 0 2rem;
}
@media (min-width: 768px) { .visa-checker-section { padding: 4rem 0; } }

.visa-checker-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.25rem;
  border: 1px solid hsl(220,13%,91%);
}
@media (min-width: 768px) { .visa-checker-card { padding: 2rem; } }

.visa-checker-card-header {
  text-align: center;
  margin-bottom: 2rem;
}
.visa-checker-card-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: .5rem;
}
.visa-checker-card-header p {
  color: hsl(25,5.3%,44.7%);
  font-size: .9375rem;
}

/* ---------- Explore More Cards ---------- */
.explore-section { padding: 4rem 0; }
.explore-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: .75rem;
}
.explore-section .explore-subtitle {
  text-align: center;
  color: hsl(25,5.3%,44.7%);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }

.explore-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: block;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  color: var(--foreground);
}
.explore-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--foreground);
}
.explore-card-icon {
  width: 3rem; height: 3rem;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.explore-card-icon svg { width: 1.5rem; height: 1.5rem; color: #fff; }
.explore-card-icon--blue  { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.explore-card-icon--green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.explore-card-icon--purple{ background: linear-gradient(135deg, #a855f7, #9333ea); }
.explore-card-icon--teal  { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.explore-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .25rem; }
.explore-card p  { font-size: .875rem; color: hsl(25,5.3%,44.7%); margin-bottom: .75rem; }
.explore-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  color: hsl(25,5.3%,44.7%);
}
.explore-card-footer svg { width: 1rem; height: 1rem; color: var(--primary); }

/* ---------- Features Section ---------- */
.features-section {
  background: hsl(60,4.8%,95.9%);
  padding: 5rem 0;
}

.features-section .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}
.features-section .section-sub {
  text-align: center;
  color: hsl(25,5.3%,44.7%);
  font-size: 1.125rem;
  max-width: 32rem;
  margin: 0 auto 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-item { text-align: center; }
.feature-icon {
  width: 5rem; height: 5rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}
.feature-icon svg { width: 2.5rem; height: 2.5rem; color: #fff; }
.feature-icon--blue   { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.feature-icon--green  { background: linear-gradient(135deg, #22c55e, #16a34a); }
.feature-icon--purple { background: linear-gradient(135deg, #a855f7, #9333ea); }

.feature-item h4 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.feature-item p  { color: hsl(25,5.3%,44.7%); font-size: 1rem; line-height: 1.75; }

/* ---------- Inner Page Layout ---------- */
.page-hero {
  background: linear-gradient(135deg, hsl(207,90%,54%) 0%, hsl(207,90%,45%) 100%);
  color: #fff;
  padding: 2.5rem 0;
}
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 2.5rem; } }
.page-hero p { opacity: .9; font-size: 1.0625rem; max-width: 40rem; }

.page-content { padding: 2rem 0 4rem; }

.entry-content {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: hsl(25,5.3%,25%);
}
.entry-content h1, .entry-content h2, .entry-content h3 {
  color: var(--foreground);
  font-weight: 700;
  margin: 2rem 0 .75rem;
  line-height: 1.3;
}
.entry-content h2 { font-size: 1.5rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: .5rem; }
.entry-content a { color: var(--primary); }
.entry-content a:hover { text-decoration: underline; }

/* Shortcode pages (full-width) */
.page-shortcode .page-content { padding: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: hsl(60,4.8%,95.9%);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-main { padding: 3rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .footer-logo-wrap {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
}
.footer-brand .footer-site-name {
  font-size: 1.125rem; font-weight: 700; color: var(--foreground);
}
.footer-brand p { color: hsl(25,5.3%,44.7%); font-size: .9375rem; line-height: 1.7; max-width: 24rem; }

.footer-col h3 {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .75rem; }
.footer-col a {
  color: hsl(25,5.3%,44.7%);
  font-size: .9375rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p { font-size: .875rem; color: hsl(25,5.3%,44.7%); }
.footer-bottom-note { font-size: .75rem; color: hsl(25,5.3%,55%); }

/* ---------- Utility: Button ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9375rem; font-weight: 500;
  padding: .625rem 1.25rem;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .1s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn--outline:hover { background: var(--muted); color: var(--foreground); }

/* ---------- Plugin Integration ---------- */
/* Plugin renders inside .visa-checker-wrap — give it proper spacing */
.visa-checker-wrap { width: 100%; }

/* Passport rankings page — full width, no extra padding */
.page-template-passport-rankings .page-content,
.page-template-visa-checker .page-content { padding: 0; }

/* ---------- 404 Page ---------- */
.error404-wrap {
  min-height: 60vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1rem;
}
.error404-wrap .error-code { font-size: 8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.error404-wrap h1 { font-size: 2rem; font-weight: 700; margin: .5rem 0 1rem; }
.error404-wrap p { color: hsl(25,5.3%,44.7%); font-size: 1.0625rem; margin-bottom: 2rem; }

/* ---------- Responsive Utilities ---------- */
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: block; } }
.hidden-desktop { display: block; }
@media (min-width: 768px) { .hidden-desktop { display: none; } }

/* ---------- WordPress Core Alignment ---------- */
.alignleft  { float: left;  margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem;  }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .875rem; color: hsl(25,5.3%,44.7%); text-align: center; margin-top: .25rem; }

/* ---------- Screen reader ---------- */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px; overflow: hidden; position: absolute; width: 1px;
}

/* ---------- Premium Home ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, .045) 1px, transparent 1px),
    radial-gradient(900px 420px at 50% -16%, rgba(37, 99, 235, .24), transparent 68%),
    radial-gradient(740px 360px at 92% 16%, rgba(20, 184, 166, .16), transparent 64%),
    linear-gradient(180deg, #f8fbff 0%, #f5f8fc 58%, #ffffff 100%);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
}

.home-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(960px, 78vw);
  height: min(960px, 78vw);
  transform: translate(-50%, -56%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .2), rgba(14, 165, 233, .1) 42%, transparent 72%);
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(1120px, calc(100% - 2rem));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, .16), transparent);
  pointer-events: none;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero-grid {
  display: block;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.home-hero-content {
  display: grid;
  justify-items: center;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 .78rem;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 999px;
  background: rgba(239, 246, 255, .88);
  color: #1d4ed8;
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
}

.home-hero-title {
  max-width: 900px;
  margin: 1.05rem auto 0;
  color: #07111f;
  font-size: clamp(2.7rem, 6.4vw, 5.65rem);
  line-height: .94;
  font-weight: 900;
  letter-spacing: 0;
}

.home-hero-subtitle {
  max-width: 720px;
  margin: 1.25rem auto 0;
  color: #475569;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.8;
}

.home-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .78rem;
  margin-top: 1.75rem;
}

.home-hero-actions .btn {
  min-height: 48px;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  font-size: .95rem;
  font-weight: 780;
  line-height: 1;
}

.home-hero-actions .btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.home-hero .btn--primary,
.home-cta-card .btn--primary {
  border: 1px solid rgba(37, 99, 235, .12);
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.home-hero .btn--primary:hover,
.home-cta-card .btn--primary:hover {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 22px 46px rgba(37, 99, 235, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.home-hero .btn--outline,
.home-cta-card .btn--outline {
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .82);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 28px rgba(15, 23, 42, .06);
}

.home-hero .btn--outline:hover,
.home-cta-card .btn--outline:hover {
  border-color: rgba(29, 78, 216, .26);
  background: #ffffff;
  color: #1d4ed8;
}

.home-checker-section {
  padding: clamp(3.2rem, 7vw, 5.4rem) 0 4.4rem;
  background:
    radial-gradient(860px 300px at 50% 0%, rgba(37, 99, 235, .1), transparent 72%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%),
    #ffffff;
}

.home-checker-shell {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-checker-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 1.6rem;
  text-align: center;
}

.home-checker-intro h2,
.home-section-head h2,
.home-cta-card h2 {
  margin-top: .8rem;
  color: #07111f;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.08;
  font-weight: 860;
  letter-spacing: 0;
}

.home-checker-intro p,
.home-section-head p,
.home-cta-card p {
  margin-top: .72rem;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.75;
}

.home-checker-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}

.home-checker-benefits span {
  padding: .42rem .7rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .78rem;
  font-weight: 760;
}

.home-checker-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-checker-card .visa-checker-wrap {
  max-width: 100%;
  padding: 0;
}

.home-checker-card .visa-checker-wrap > .visa-checker-wrap {
  max-width: 100%;
  padding: 0;
}

.home-checker-card .vc-card:first-child {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-checker-card .vc-card:first-child > h2 {
  display: none;
}

.home-checker-card .vc-form {
  display: grid;
  gap: 14px;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .9)),
    #ffffff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.home-checker-card .vc-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-checker-card .vc-field {
  min-width: 0;
}

.home-checker-card .vc-field label {
  margin-bottom: 7px;
  color: #0f172a;
  font-size: .78rem;
  font-weight: 800;
}

.home-checker-card .vc-field select,
.home-checker-card .vc-field input[type="text"] {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #dbe6f5;
  border-radius: 14px;
  background-color: #ffffff;
  color: #0f172a;
  font-size: .94rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(15, 23, 42, .035);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.home-checker-card .vc-field select:hover,
.home-checker-card .vc-field input[type="text"]:hover {
  border-color: #b9c9df;
}

.home-checker-card .vc-field select:focus,
.home-checker-card .vc-field input[type="text"]:focus {
  outline: none;
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .11), 0 10px 24px rgba(15, 23, 42, .06);
}

.home-checker-card .vc-transit-toggle-label {
  width: fit-content;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: .86rem;
  font-weight: 700;
}

.home-checker-card .vc-transit-toggle-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
}

.home-checker-card .vc-btn-primary {
  width: fit-content;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-size: .94rem;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.home-checker-card .vc-btn-primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  background: #1d4ed8;
  box-shadow: 0 22px 44px rgba(37, 99, 235, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.home-feature-section,
.home-workflow-section,
.home-tools-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: #ffffff;
}

.home-feature-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    radial-gradient(800px 320px at 82% 0%, rgba(37, 99, 235, .22), transparent 64%),
    #0b1220;
  background-size: 42px 42px, 42px 42px, auto, auto;
  color: #e2e8f0;
}

.home-workflow-section {
  background:
    radial-gradient(780px 260px at 18% 4%, rgba(15, 23, 42, .06), transparent 64%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-tools-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.home-section-head {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.home-feature-section .home-section-head {
  max-width: 880px;
}

.home-feature-section .home-eyebrow {
  border-color: rgba(226, 232, 240, .16);
  background: rgba(255, 255, 255, .08);
  color: #bfdbfe;
  box-shadow: none;
}

.home-feature-section .home-section-head h2 {
  color: #ffffff;
}

.home-feature-section .home-section-head p {
  max-width: 68ch;
  color: #94a3b8;
}

.home-tools-section .home-section-head {
  max-width: 820px;
}

.home-workflow-section .home-section-head,
.home-tools-section .home-section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-workflow-section .home-section-head p,
.home-tools-section .home-section-head p {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.home-feature-grid,
.home-workflow-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-feature-card,
.home-step-card,
.home-tool-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.home-feature-card {
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid rgba(226, 232, 240, .14);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 30px 60px rgba(0, 0, 0, .16);
}

.home-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 48%);
  pointer-events: none;
}

.home-feature-icon,
.home-tool-icon,
.home-step-icon {
  position: relative;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  background: transparent;
}

.home-feature-icon svg,
.home-tool-icon svg,
.home-step-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.home-feature-card h3,
.home-step-card h3,
.home-tool-card h3 {
  position: relative;
  margin-top: 1rem;
  color: #0f172a;
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 820;
}

.home-feature-card h3 {
  color: #ffffff;
}

.home-feature-card p,
.home-step-card p,
.home-tool-card p {
  position: relative;
  margin-top: .6rem;
  color: #64748b;
  font-size: .94rem;
  line-height: 1.72;
}

.home-feature-card p {
  color: #94a3b8;
}

.home-feature-icon {
  color: #cbd5e1;
  background: rgba(255, 255, 255, .04);
}

.home-workflow-grid {
  position: relative;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .075);
}

.home-workflow-grid::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, .18), transparent);
  pointer-events: none;
}

.home-step-card {
  min-height: 278px;
  padding: 1.45rem;
  border-radius: 0;
  border-right: 1px solid rgba(148, 163, 184, .18);
  background: transparent;
}

.home-step-card:last-child {
  border-right: 0;
}

.home-step-number {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 .65rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: .74rem;
  font-weight: 840;
  letter-spacing: .08em;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
  z-index: 1;
}

.home-step-icon {
  margin-top: 1.25rem;
  color: #475569;
  border-color: rgba(15, 23, 42, .12);
  background: #f8fafc;
}

.home-tools-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-tool-card {
  min-height: 300px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  padding: clamp(1.35rem, 2.6vw, 1.8rem);
  border: 1px solid rgba(148, 163, 184, .24);
  background:
    radial-gradient(620px 180px at 100% 0%, rgba(15, 23, 42, .05), transparent 60%),
    #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .055);
}

.home-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, .26);
  color: inherit;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .1);
}

.home-tool-icon {
  color: #0f172a;
  border-color: rgba(15, 23, 42, .14);
  background: #f8fafc;
}

.home-tool-link {
  position: relative;
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  color: #0f172a;
  font-size: .9rem;
  font-weight: 780;
}

.home-tool-link svg {
  width: 1rem;
  height: 1rem;
}

.home-cta-section {
  padding: 1rem 0 5rem;
  background: #f8fafc;
}

.home-cta-card {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  background:
    radial-gradient(700px 240px at 92% 0%, rgba(45, 212, 191, .18), transparent 62%),
    radial-gradient(760px 260px at 12% 0%, rgba(37, 99, 235, .2), transparent 60%),
    #0f172a;
  padding: clamp(2rem, 5vw, 3.6rem);
  text-align: center;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .16);
}

.home-cta-card h2 {
  margin-top: 0;
  color: #ffffff;
}

.home-cta-card p {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  color: #cbd5e1;
}

.home-cta-card .home-hero-actions {
  margin-top: 1.35rem;
}

.home-cta-card .btn--outline {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #ffffff;
  box-shadow: none;
}

.home-cta-card .btn--outline:hover {
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
}

@media (max-width: 1024px) {
  .home-feature-grid,
  .home-workflow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-workflow-grid::before {
    display: none;
  }

  .home-tools-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .home-hero {
    min-height: auto;
    padding: 3.2rem 0 4rem;
  }

  .home-hero-title {
    font-size: clamp(2.35rem, 13vw, 3.35rem);
  }

  .home-hero-actions,
  .home-cta-card .home-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .home-feature-grid,
  .home-workflow-grid,
  .home-tools-grid {
    grid-template-columns: 1fr;
  }

  .home-workflow-grid {
    border-radius: 22px;
  }

  .home-step-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
  }

  .home-step-card:last-child {
    border-bottom: 0;
  }

  .home-checker-section,
  .home-feature-section,
  .home-workflow-section,
  .home-tools-section {
    padding: 3rem 0;
  }

  .home-checker-card {
    padding: 0;
  }

  .home-checker-card .vc-form,
  .home-checker-card .vc-form-row {
    grid-template-columns: 1fr;
  }

  .home-checker-card .vc-btn-primary,
  .home-checker-card .vc-transit-toggle-label {
    width: 100%;
    justify-content: center;
  }

  .home-feature-card,
  .home-step-card,
  .home-tool-card {
    min-height: auto;
  }
}

/* Premium Header and Footer */
:root {
  --ttv-shell-bg: rgba(255, 255, 255, .86);
  --ttv-shell-border: rgba(15, 23, 42, .08);
  --ttv-shell-ink: #0f172a;
  --ttv-shell-text: #334155;
  --ttv-shell-muted: #64748b;
  --ttv-shell-soft: #f8fafc;
  --ttv-shell-blue: #1d4ed8;
  --ttv-shell-blue-strong: #0f3ea8;
  --ttv-shell-ring: rgba(29, 78, 216, .12);
}

body.site-wrapper {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 78, 216, .055), rgba(255, 255, 255, 0) 260px);
  background-size: 36px 36px, auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ttv-shell-bg) !important;
  border-bottom: 1px solid var(--ttv-shell-border) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .75), 0 12px 30px rgba(15, 23, 42, .045) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header .container {
  max-width: 1280px;
}

.header-inner {
  height: 116px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 18px;
}

.site-branding,
.site-branding a,
.footer-logo-wrap {
  display: flex;
  align-items: center;
}

.site-branding a,
.footer-logo-wrap {
  gap: 10px;
}

.site-branding a {
  color: var(--ttv-shell-ink) !important;
  font-size: 1.03rem;
  font-weight: 780;
  letter-spacing: 0;
  text-decoration: none;
}

.site-branding a:hover {
  opacity: 1;
  color: var(--ttv-shell-blue) !important;
}

.site-logo-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #2563eb 0%, #0284c7 100%) !important;
  color: #ffffff;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.site-name,
.footer-site-name {
  color: var(--ttv-shell-ink) !important;
  font-weight: 780;
}

.main-navigation {
  display: none;
  justify-self: center;
}

.main-navigation ul,
.mobile-nav ul,
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 4px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: rgba(248, 250, 252, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ttv-shell-muted) !important;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  background: #ffffff;
  color: var(--ttv-shell-ink) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

body:not(.home):not(.page-front) .main-navigation .menu-item-home.current-menu-item > a,
body:not(.home):not(.page-front) .main-navigation .menu-item-home.current_page_item > a,
body:has(.visa-destination-landing-page) .main-navigation .menu-item-home.current-menu-item > a,
body:has(.visa-destination-detail-page) .main-navigation .menu-item-home.current-menu-item > a,
body:has(.passport-guide-page) .main-navigation .menu-item-home.current-menu-item > a {
  background: transparent;
  color: var(--ttv-shell-muted) !important;
  box-shadow: none;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(29, 78, 216, .2);
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff !important;
  font-size: .86rem;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--ttv-shell-blue);
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(29, 78, 216, .22);
}

.menu-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 11px;
  background: #ffffff;
  color: var(--ttv-shell-ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.menu-toggle:hover {
  background: var(--ttv-shell-soft);
}

.mobile-nav {
  display: none;
  margin: 0 0 12px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  color: var(--ttv-shell-text);
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
}

.mobile-nav a:hover {
  background: #eff6ff;
  color: var(--ttv-shell-blue);
}

@media (min-width: 860px) {
  .main-navigation {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 859px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-header .container {
    max-width: 1280px;
  }
}

@media (max-width: 420px) {
  .site-branding a {
    font-size: .96rem;
  }

  .site-logo-icon {
    width: 28px;
    height: 28px;
  }
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, .06) !important;
  background:
    radial-gradient(900px 300px at 88% 0%, rgba(45, 212, 191, .10), transparent 60%),
    radial-gradient(900px 320px at 12% 0%, rgba(37, 99, 235, .14), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #060912 100%) !important;
  color: #cbd5e1 !important;
}

.site-footer .container {
  max-width: 1280px;
}

.footer-main {
  padding: 56px 0 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, .8fr)) !important;
  gap: 44px;
  align-items: start;
}

.footer-brand .footer-logo-wrap {
  margin: 0 0 16px;
}

.footer-brand .footer-site-name {
  font-size: 1rem;
  color: #ffffff !important;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
  color: #94a3b8 !important;
  font-size: .92rem;
  line-height: 1.75;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: #ffffff !important;
  font-size: .72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.footer-col li {
  margin: 0;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  color: #cbd5e1 !important;
  font-size: .9rem;
  font-weight: 520;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.footer-col a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  min-height: 70px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .06) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}

.footer-bottom p,
.footer-bottom-note {
  margin: 0;
  color: #94a3b8 !important;
  font-size: .82rem !important;
  line-height: 1.5;
}

.footer-bottom-note {
  text-align: right;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-note {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .footer-main {
    padding-top: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
}

/* ---------- Brand SVG Logos (header + footer) ---------- */
.site-logo-svg {
  display: block;
  height: 92px;
  width: auto;
  max-width: 100%;
}

.footer-logo-svg {
  display: block;
  height: 115px;
  width: auto;
  max-width: 100%;
  margin: 0 0 4px;
}

@media (max-width: 859px) {
  .header-inner {
    height: 96px;
  }

  .site-logo-svg {
    height: 72px;
  }

  .footer-logo-svg {
    height: 92px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: 80px;
  }

  .site-logo-svg {
    height: 60px;
  }

  .footer-logo-svg {
    height: 78px;
  }
}
