:root {
  --brand: #4a3d9e;
  --brand-dark: #2a2266;
  --brand-light: #ece9f8;
  --accent: #5c4fd6;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --surface: #ffffff;
  --bg: #f8fafc;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  min-height: 4.5rem;
}

.logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  max-width: min(11.5rem, 40vw);
}

.logo img,
.logo__img {
  display: block;
  width: auto;
  height: auto;
  max-height: 4.25rem;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.top-bar {
  background: var(--brand-dark);
  color: #e2e8f0;
  font-size: 0.82rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-bar-contact {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.top-bar-cta {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.top-bar-cta:hover {
  background: rgba(255, 255, 255, 0.25);
  text-decoration: none !important;
}

.top-bar-whatsapp {
  background: #25d366;
  color: #fff !important;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
}

.top-bar-whatsapp:hover {
  background: #1ebe5d;
  text-decoration: none !important;
}

.site-footer .footer-whatsapp {
  color: #4ade80 !important;
  font-weight: 600;
}

.site-footer .footer-whatsapp:hover {
  color: #86efac !important;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.offer-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.offer-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.offer-card span {
  font-size: 0.8rem;
  color: var(--muted);
}

.dest-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.consult-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.consult-section h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.consult-section .contact-lines {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.consult-section .contact-lines a {
  font-weight: 600;
}

.consult-section--booking {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.booking-hours {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.booking-hours a {
  font-weight: 600;
}

.booking-fieldset {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

.booking-legend {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.booking-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.booking-date,
.booking-time {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #faf9fd;
  cursor: pointer;
  color: var(--ink);
}

.booking-date.is-selected,
.booking-time.is-selected {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.booking-date.is-disabled,
.booking-time.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.booking-time.is-booked {
  text-decoration: line-through;
}

.booking-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.4rem;
}

.booking-hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.form-error {
  display: none;
  background: #fef2f2;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.form-error.is-visible {
  display: block;
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.footer-brand {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: inline-block;
}

.footer-brand img {
  width: min(280px, 100%);
  height: auto;
  margin: 0;
}

.hero-brand-panel {
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-brand-panel img {
  width: 100%;
  border-radius: 12px;
}

.hero-brand-panel .tagline {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1180px) {
  .nav {
    gap: 0.65rem;
    font-size: 0.82rem;
  }

  .nav-cta {
    padding: 0.5rem 0.85rem !important;
    font-size: 0.82rem;
  }

  .logo {
    max-width: min(10rem, 36vw);
  }

  .logo img,
  .logo__img {
    max-height: 3.75rem;
  }
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand);
}

.nav a.is-current {
  color: var(--brand);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 4vw 1rem;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mobile-nav a {
  color: var(--ink);
  font-weight: 500;
}

.mobile-nav.is-open {
  display: flex;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f3f0fc 0%, #fff 45%, #f8fafc 100%);
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

.hero-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.hero-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.hero-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-form input,
.hero-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.hero-form .full {
  grid-column: 1 / -1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  width: 100%;
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-ghost:hover {
  background: var(--brand-light);
  text-decoration: none;
}

.hero-visual img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* Stats */
.stats-bar {
  background: var(--brand);
  color: #fff;
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.stat span {
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.section-header p {
  color: var(--muted);
  margin: 0;
}

/* Journey steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* App promo */
.app-promo {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.app-promo h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.app-promo p {
  color: #cbd5e1;
  margin: 0 0 1.25rem;
}

.app-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-badges a {
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.phone-mock {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 28px;
  padding: 12px;
  max-width: 220px;
  margin-inline: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.phone-screen {
  background: var(--brand-light);
  border-radius: 18px;
  aspect-ratio: 9/16;
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--brand-dark);
}

/* Destinations */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.dest-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.dest-card p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.95;
  line-height: 1.4;
}

.dest-card .more {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.dest-australia { background: linear-gradient(160deg, #4a3d9e 0%, #1e3a5f 100%); }
.dest-canada { background: linear-gradient(160deg, #dc2626 0%, #1e3a5f 100%); }
.dest-uk { background: linear-gradient(160deg, #1d4ed8 0%, #0f172a 100%); }
.dest-usa { background: linear-gradient(160deg, #b91c1c 0%, #1e40af 100%); }
.dest-nz { background: linear-gradient(160deg, #0d9488 0%, #134e4a 100%); }
.dest-ireland { background: linear-gradient(160deg, #16a34a 0%, #14532d 100%); }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testimonial .quote {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

.testimonial .author {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial .role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Trust + services */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.service-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
}

/* Country detail accordion */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-trigger::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--brand);
}

.accordion-item.is-open .accordion-trigger::after {
  content: "−";
}

.accordion-panel {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

/* FAQ */
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 20px;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 52ch;
  opacity: 0.95;
}

.cta-band .btn-primary {
  width: auto;
  display: inline-flex;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.resources-page .section-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
  color: var(--brand-dark);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.resource-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--brand-dark);
}

.resource-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.resource-flag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin: 0 0 0.5rem;
}

.resources-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

.visitor-visa-page .hero-form input[type="date"],
.visitor-visa-page .hero-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  margin-bottom: 0.85rem;
  background: #faf9fd;
}

.visitor-visa-page .hero-form textarea {
  resize: vertical;
  min-height: 5rem;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #fff;
}

.legal-page {
  padding: 2.5rem 0 3rem;
}

.legal-page .legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 0 0 0.35rem;
  color: var(--brand);
}

.legal-page .legal-updated {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.legal-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-page a {
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.form-success {
  display: none;
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1rem;
}

.form-success.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid,
  .steps-grid,
  .dest-grid,
  .testimonial-grid,
  .two-col,
  .app-promo,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-form .row {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .consult-section {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 3.75rem;
  }

  .logo {
    max-width: min(8.5rem, 34vw);
  }

  .logo img,
  .logo__img {
    max-height: 3.25rem;
  }
}
