:root {
  --bg: #f4f6fb;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --text: #0e172f;
  --muted: #5c6784;
  --line: rgba(100, 116, 169, 0.15);
  --blue: #2762ff;
  --blue-deep: #102b7b;
  --mint: #b8ffe6;
  --shadow: 0 18px 55px rgba(25, 41, 89, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(39, 98, 255, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(110, 255, 209, 0.22), transparent 20%),
    linear-gradient(180deg, #f7f9ff 0%, #eef2ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 70%);
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 120px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.brand img,
.footer img {
  display: block;
  width: 168px;
  max-width: 100%;
}

.desktop-nav {
  display: flex;
  gap: 28px;
}

.desktop-nav a,
.footer a,
.mobile-dock a {
  color: var(--text);
  text-decoration: none;
}

.desktop-nav a {
  font-size: 0.98rem;
  color: var(--muted);
}

.topbar-cta,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.topbar-cta,
.primary-btn {
  padding: 14px 22px;
  border: 0;
  background: linear-gradient(135deg, var(--blue), #4e8dff);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(39, 98, 255, 0.28);
}

.ghost-btn {
  padding: 14px 22px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
}

.topbar-cta:hover,
.primary-btn:hover,
.ghost-btn:hover,
.chip:hover,
.faq-item button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 20px;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  line-height: 0.95;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero-text,
.section-heading p,
.country-card p,
.service-card p,
.timeline p,
.testimonials p,
.footer p,
.application-form span,
.faq-answer p,
.quick-strip span,
.insight-box,
.hero-stats span {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero-stats article,
.quick-strip article,
.country-card,
.service-card,
.timeline article,
.checklist-card,
.testimonials article,
.application-form,
.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-stats article {
  padding: 18px;
  border-radius: 24px;
}

.hero-stats strong {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 8px;
}

.glass-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(15, 28, 75, 0.88), rgba(15, 28, 75, 0.76)),
    linear-gradient(135deg, rgba(52, 199, 255, 0.35), rgba(72, 103, 255, 0.28));
  color: #fff;
  box-shadow: 0 22px 60px rgba(16, 43, 123, 0.32);
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.panel-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7effcf;
  box-shadow: 0 0 12px #7effcf;
}

.selector-stack {
  display: grid;
  gap: 14px;
}

.selector-stack label,
.application-form label {
  display: grid;
  gap: 8px;
}

.selector-stack span,
.application-form span {
  font-size: 0.95rem;
  font-weight: 500;
}

.selector-stack select,
.selector-stack input,
.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  outline: none;
}

.application-form input,
.application-form select,
.application-form textarea {
  color: var(--text);
  background: rgba(245, 247, 255, 0.95);
  border: 1px solid var(--line);
}

.selector-stack option {
  color: #0f1230;
}

.full-width,
.full-span {
  width: 100%;
}

.insight-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 16px;
}

.quick-strip article,
.country-card,
.service-card,
.timeline article,
.checklist-card,
.testimonials article,
.faq-item {
  border-radius: 28px;
}

.quick-strip article {
  padding: 22px;
}

.quick-strip strong,
.country-card h3,
.service-card h3,
.timeline h3,
.testimonials strong,
.checklist-card h3,
.footer h3 {
  display: block;
  margin-bottom: 10px;
}

.section {
  padding: 76px 0 0;
}

.section-heading {
  margin-bottom: 28px;
  max-width: 700px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  margin-bottom: 12px;
}

.countries-grid,
.services-grid,
.timeline,
.testimonials {
  display: grid;
  gap: 18px;
}

.countries-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.country-card {
  padding: 22px;
}

.country-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(18, 36, 86, 0.96), rgba(33, 66, 150, 0.92)),
    rgba(255, 255, 255, 0.1);
  color: #fff;
}

.country-card.featured p,
.country-card.featured ul {
  color: rgba(255, 255, 255, 0.8);
}

.country-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(39, 98, 255, 0.12), rgba(39, 98, 255, 0.22));
  color: var(--blue-deep);
  font-weight: 800;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  padding: 22px;
  min-height: 230px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(39, 98, 255, 0.2);
  box-shadow: 0 24px 55px rgba(39, 98, 255, 0.14);
  outline: none;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.tint-blue .icon-wrap { background: #e3ebff; color: #2861ff; }
.tint-green .icon-wrap { background: #ddf9e8; color: #20a56c; }
.tint-pink .icon-wrap { background: #ffe4ed; color: #ff4d75; }
.tint-amber .icon-wrap { background: #fff0cf; color: #d68a00; }
.tint-violet .icon-wrap { background: #ece4ff; color: #7b4dff; }
.tint-indigo .icon-wrap { background: #e6e9ff; color: #4f63ff; }
.tint-rose .icon-wrap { background: #ffe1f0; color: #d13d88; }
.tint-sky .icon-wrap { background: #dff0ff; color: #2893d9; }
.tint-gold .icon-wrap { background: #fff2b8; color: #c18400; }
.tint-mint .icon-wrap { background: #d7fff5; color: #1f9f8a; }
.tint-orange .icon-wrap { background: #ffe8d7; color: #eb7a1a; }
.tint-teal .icon-wrap { background: #d4f6ef; color: #1f8e81; }

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  padding: 24px;
}

.timeline span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #57b3ff);
}

.checklist-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
}

.chip {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}

.chip.active {
  background: linear-gradient(135deg, var(--blue), #63a0ff);
  color: #fff;
  box-shadow: 0 14px 25px rgba(39, 98, 255, 0.2);
}

.checklist-card {
  padding: 26px;
}

.checklist-card ul {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.9;
}

.testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonials article {
  padding: 26px;
}

.testimonials span {
  color: var(--blue);
  font-size: 0.95rem;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border-radius: 32px;
}

.form-note {
  margin: 0;
  font-weight: 600;
  color: var(--blue);
}

.full-span {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 24px 26px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  font-size: 1.06rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-answer p {
  margin: 0;
  overflow: hidden;
  padding: 0 26px 0;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 24px;
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 24px;
  margin-top: 76px;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(13, 24, 63, 0.95), rgba(16, 31, 80, 0.96));
  color: rgba(255, 255, 255, 0.9);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 10px;
}

.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(94vw, 420px);
  padding: 12px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(18, 30, 75, 0.18);
  backdrop-filter: blur(18px);
}

.mobile-dock a {
  color: #9aa3bc;
  font-size: 0.9rem;
  text-align: center;
}

.mobile-dock a.active {
  color: var(--blue);
  font-weight: 700;
}

.mobile-dock a.center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-top: -34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #63a0ff);
  box-shadow: 0 18px 30px rgba(39, 98, 255, 0.28);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero,
  .checklist-shell,
  .footer {
    grid-template-columns: 1fr;
  }

  .countries-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline,
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    padding-top: 16px;
  }

  .topbar {
    top: 10px;
    padding: 14px 16px;
    border-radius: 24px;
  }

  .desktop-nav,
  .topbar-cta {
    display: none;
  }

  .countries-grid,
  .services-grid,
  .timeline,
  .testimonials,
  .application-form,
  .hero-stats,
  .quick-strip {
    grid-template-columns: 1fr;
  }

  .country-card.featured {
    grid-column: auto;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .mobile-dock {
    display: flex;
  }
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.service-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 48, 0.48);
  backdrop-filter: blur(8px);
}

.service-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 28px 80px rgba(15, 30, 76, 0.24);
}

.service-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--blue-deep);
  font-size: 1.6rem;
  cursor: pointer;
}

.service-modal__eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.service-modal__dialog h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.service-modal__dialog p,
.service-modal__dialog li {
  color: var(--muted);
  line-height: 1.8;
}

.service-modal__dialog ul {
  margin: 16px 0 24px;
  padding-left: 22px;
}
