:root {
  --blue-dark: #0c234a;
  --blue: #164fa3;
  --sky: #54c8ff;
  --teal: #14b8c4;
  --gold: #ffb703;
  --gold-soft: #ffd166;
  --white: #ffffff;
  --text: #132238;
  --muted: #5d6a7d;
  --bg: #f6fbff;
  --card: rgba(255,255,255,0.9);
  --border: rgba(22, 79, 163, 0.10);
  --shadow: 0 20px 60px rgba(12, 35, 74, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(84,200,255,0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(255,183,3,0.15), transparent 20%),
    linear-gradient(180deg, #f5fbff 0%, #ffffff 55%, #f9fcff 100%);
}

a { color: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hidden { display: none !important; }

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(255,255,255,0.38), transparent 16%),
    radial-gradient(circle at 90% 14%, rgba(255,255,255,0.25), transparent 18%),
    linear-gradient(135deg, #0c234a 0%, #164fa3 38%, #1e88e5 72%, #64d2ff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -90px -120px auto;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.22);
}
.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}
.hero-glow-left {
  width: 260px;
  height: 260px;
  left: 8%;
  top: 18%;
  background: rgba(255, 194, 82, 0.18);
}
.hero-glow-right {
  width: 220px;
  height: 220px;
  right: 10%;
  top: 24%;
  background: rgba(255,255,255,0.14);
}
.hero-content { position: relative; z-index: 2; padding: 72px 0 54px; }
.hero-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: center;
}
.hero-brand-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}
.logo {
  width: 100%;
  border-radius: 24px;
  display: block;
  background: rgba(255,255,255,0.08);
}
.brand-pill,
.hero-badges span,
.filter-btn,
.cta-button,
.card-action {
  border-radius: 999px;
}
.brand-pill {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(255, 209, 102, 0.18);
  color: #fff5d4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 12px;
}
.eyebrow { color: #ffd166; }
.section-label { color: var(--blue); }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  color: #fff;
}
.hero-text {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,0.94);
  font-size: 1.14rem;
  line-height: 1.7;
}
.hero-text strong { color: #ffe7a8; }
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-badges span {
  padding: 12px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-weight: 700;
}
.hero-highlights {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-highlights article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
}
.hero-highlights strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.hero-highlights span {
  display: block;
  color: rgba(255,255,255,0.86);
  font-size: 0.9rem;
  line-height: 1.55;
}

.intro,
.journey,
.filters,
.stats-grid,
.cards-section,
.quote-panel { padding-top: 42px; }

.intro {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  align-items: start;
}
.intro h2,
.quote-panel h3,
.modal-header h3 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}
.intro p,
.notice-card p,
.quote-panel p,
.journey-card p,
.modal-header p,
.form-message { color: var(--muted); line-height: 1.75; }
.notice-card,
.stat-card,
.visa-card,
.journey-card,
.quote-panel,
.modal-dialog {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.notice-card {
  padding: 24px;
  border-radius: 24px;
}
.notice-card strong { color: var(--blue-dark); }

.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.journey-card {
  border-radius: 24px;
  padding: 24px;
}
.journey-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #e9f6ff, #fff7db);
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.journey-card h3 { margin: 0 0 10px; color: var(--blue-dark); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  background: rgba(22,79,163,0.08);
  color: var(--blue-dark);
  transition: 0.2s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--blue) 0%, #2878e8 100%);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  border-radius: 24px;
  padding: 22px;
}
.stat-card span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
}
.stat-card small { color: var(--muted); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.visa-card {
  border-radius: 28px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.visa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(12, 35, 74, 0.18);
}
.visa-visual {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(180deg, #dcefff 0%, #f5fbff 100%);
}
.visa-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.visa-chip,
.visa-country-badge {
  position: absolute;
  left: 16px;
  font-weight: 800;
}
.visa-chip {
  top: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(12, 35, 74, 0.84);
  color: #fff;
  font-size: 0.8rem;
}
.visa-country-badge {
  bottom: 16px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--blue-dark);
  box-shadow: 0 12px 24px rgba(12, 35, 74, 0.14);
}
.visa-content { padding: 22px; }
.visa-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
}
.visa-content h3 { margin: 0 0 12px; font-size: 1.28rem; line-height: 1.35; }
.visa-summary {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-weight: 700;
  line-height: 1.6;
}
.visa-details { margin: 0; color: var(--muted); line-height: 1.75; }
.visa-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(22,79,163,0.08);
}
.card-action {
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold) 0%, #ffcf5c 100%);
  color: var(--blue-dark);
  box-shadow: 0 12px 25px rgba(255,183,3,0.22);
}
.card-note {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.loader,
.end-message { text-align: center; padding: 30px 0 8px; color: var(--muted); font-weight: 700; }

.quote-panel {
  margin-top: 26px;
  margin-bottom: 48px;
  border-radius: 26px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.cta-button {
  text-decoration: none;
  padding: 14px 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue) 0%, #2878e8 100%);
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 35, 0.62);
}
.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 24px));
  border-radius: 28px;
  padding: 28px;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: none;
  background: rgba(22,79,163,0.08);
  color: var(--blue-dark);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
}
.modal-header { margin-bottom: 18px; }
.quote-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
label { display: block; }
label span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(22,79,163,0.14);
  background: #fff;
  font: inherit;
  color: var(--text);
}
input:focus {
  outline: none;
  border-color: rgba(22,79,163,0.4);
  box-shadow: 0 0 0 4px rgba(84,200,255,0.16);
}
.full-width { grid-column: 1 / -1; }
.submit-btn {
  margin-top: 18px;
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-dark);
  background: linear-gradient(135deg, var(--gold) 0%, #ffd166 100%);
}
.form-message {
  min-height: 26px;
  margin: 14px 0 0;
  font-size: 0.94rem;
  font-weight: 600;
}
.form-message.success { color: #0f8a4b; }
.form-message.error { color: #c62828; }

.footer {
  background: #081933;
  color: #dbe8ff;
  padding: 28px 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer p { margin: 6px 0; }
.footer a {
  color: #fff3c7;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-layout,
  .intro,
  .journey,
  .stats-grid,
  .cards-grid,
  .quote-panel,
  .hero-highlights,
  .quote-form .form-grid {
    grid-template-columns: 1fr;
  }

  .quote-panel,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero-content { padding: 48px 0 40px; }
  .hero-brand-card { max-width: 220px; }
  .cards-grid { grid-template-columns: 1fr; }
  .visa-visual { height: 220px; }
}
