/* =========================================================================
   Vistara Global Visa — styles (mobile-first)
   Colours sampled from the logo: navy #12305E, gold #E3A62B
   ========================================================================= */
:root {
  --navy: #12305E;
  --navy-dark: #0B1F3F;
  --navy-soft: #E8EDF5;
  --gold: #E3A62B;
  --gold-dark: #B9851A;
  --ink: #1A2333;
  --body: #3D4757;
  --muted: #687385;
  --line: #E2E6EC;
  --tint: #F5F7FA;
  --white: #FFFFFF;
  --wa: #1FAF55;
  --wa-dark: #178D44;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 5.4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 300; background: var(--white); padding: 8px 14px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.2em; border-radius: var(--r); border: 1.5px solid transparent;
  font: 600 .98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 52px; padding-inline: 1.4em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--navy-soft); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #C9D3E3; font-size: .88rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; padding-top: env(safe-area-inset-top, 0px); }
.topbar-note { margin: 0; display: none; }
.topbar-links { display: flex; gap: 20px; margin-left: auto; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font-weight: 600; }
.topbar-links a:hover { color: var(--gold); }
@media (min-width: 700px) { .topbar-note { display: block; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer;
}
.nav-toggle span { height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); padding: 4px 20px 20px;
  box-shadow: 0 12px 24px rgba(11, 31, 63, .08);
}
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0 0 14px; padding: 0; }
.main-nav li a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.nav-cta { width: 100%; }

@media (min-width: 1000px) {
  .header-inner { height: 84px; }
  .brand img { height: 60px; }
  .nav-toggle { display: none; }
  .main-nav { display: flex; position: static; align-items: center; gap: 28px; padding: 0; border: 0; box-shadow: none; background: none; }
  .main-nav ul { display: flex; gap: 24px; margin: 0; }
  .main-nav li a { padding: 6px 0; border: 0; font-size: .98rem; }
  .main-nav li a:hover { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
  .nav-cta { width: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; background: var(--tint); }
@media (min-width: 1000px) { .hero { background: linear-gradient(var(--tint), var(--tint)) top / 100% 70% no-repeat; } }
.hero-grid { display: grid; gap: 36px; }
.kicker { font-weight: 600; color: var(--gold-dark); font-size: .95rem; margin-bottom: .8em; }
.lead { font-size: 1.1rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.hero-actions .btn { flex: 1 1 180px; }

.hero-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-facts dt { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .95rem; }
.hero-facts dd { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

@media (min-width: 640px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .hero-facts div { border-bottom: 0; padding: 16px 16px 16px 0; }
  .hero-facts div + div { border-left: 1px solid var(--line); padding-left: 16px; }
  .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1000px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
  .hero-copy { padding-top: 12px; }
}

/* ---------- Enquiry form ---------- */
.enquiry {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--r); padding: 22px 18px;
  box-shadow: 0 18px 40px rgba(11, 31, 63, .08);
}
.enquiry-head h2 { font-size: 1.35rem; margin-bottom: .25em; }
.enquiry-head p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  min-height: 46px; padding: 10px 12px; border: 1px solid #C9D0DA; border-radius: var(--r); background: var(--white);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 48, 94, .14); }
.field .invalid, .invalid { border-color: #C0392B !important; }
.more-fields { margin: 2px 0 14px; }
.more-fields summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.form-error { color: #B03A2E; font-weight: 600; font-size: .92rem; }
@media (min-width: 480px) { .enquiry { padding: 28px 28px; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p, .split-head p { color: var(--muted); }
.split { display: grid; gap: 28px; }
@media (min-width: 1000px) {
  .section { padding: 96px 0; }
  .split { grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
  .split-head { position: sticky; top: 120px; }
}
/* small gold underline echoing the logo rule */
.section-head h2::after, .split-head h2::after, .about-text h2::after {
  content: ""; display: block; width: 44px; height: 3px; background: var(--gold); margin-top: 14px;
}

/* Gold triangle bullets — from the "A" in the logo */
.tri-list { list-style: none; padding: 0; margin: 0; }
.tri-list li { position: relative; padding-left: 18px; }
.tri-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 8px; background: var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ---------- Services ---------- */
.service-list { border-top: 1px solid var(--line); }
.service { padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-title { display: flex; align-items: baseline; gap: 14px; }
.service-tag { font-family: var(--font-head); font-weight: 700; color: var(--gold-dark); font-size: .9rem; }
.service h3 { font-size: 1.2rem; }
.service > p { max-width: 40em; }
.service .tri-list { display: grid; gap: 6px 24px; margin: 4px 0 16px; color: var(--ink); font-size: .97rem; }
@media (min-width: 640px) { .service .tri-list { grid-template-columns: 1fr 1fr; } }
.text-link { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.text-link:hover { color: var(--gold-dark); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 28px 56px; }
.timeline li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.tl-no {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 2px solid var(--navy);
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
}
.timeline h3 { margin: 8px 0 4px; }
.timeline p { margin: 0; color: var(--muted); }
@media (min-width: 860px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .timeline li { padding: 60px 0 0; }
  .timeline li::before { left: 48px; right: -28px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .timeline h3 { margin-top: 0; }
}

/* ---------- Countries ---------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 28px; }
.country-grid:empty { display: none; }
.country-card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.country-card h3 { margin: 0; }
.country-card ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .92rem; }
.country-card a { margin-top: auto; font-weight: 700; text-decoration: none; }
.destination { max-width: 640px; padding: 22px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); background: var(--white); }
.destination label { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.destination-row { display: flex; flex-wrap: wrap; gap: 10px; }
.destination-row input { flex: 1 1 220px; min-height: 46px; padding: 10px 12px; font: inherit; border: 1px solid #C9D0DA; border-radius: var(--r); }
.destination-row input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 48, 94, .14); }
.destination-row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .destination-row .btn { flex: 0 0 auto; } }

/* ---------- About ---------- */
.about { display: grid; gap: 36px; }
.dodont { display: grid; gap: 16px; }
.dodont-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.dodont-col h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.dodont-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dodont-col li { position: relative; padding-left: 26px; color: var(--ink); }
.dodont-col li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }
.dodont-no { background: var(--navy); border-color: var(--navy); }
.dodont-no h3 { color: var(--gold); }
.dodont-no li { color: #DCE3EE; }
.dodont-no li::before { border: 0; width: 12px; height: 2.5px; background: var(--gold); transform: none; top: .7em; }
@media (min-width: 1000px) { .about { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; } .dodont { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; max-width: 44em; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #C9D3E3; padding: 64px 0; }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; gap: 36px; }
.contact-phone { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 6vw, 2.6rem); color: var(--white); text-decoration: none; margin: 4px 0 22px; letter-spacing: -.01em; }
.contact-phone:hover { color: var(--gold); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-details { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-details div { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-details dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.contact-details dd { margin: 4px 0 0; color: var(--white); }
.contact-details a { color: var(--white); word-break: break-word; }
@media (min-width: 900px) { .contact { padding: 88px 0; } .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); padding: 48px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 64px; width: auto; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer ul a { text-decoration: none; color: var(--ink); font-weight: 600; }
.site-footer ul a:hover { color: var(--gold-dark); }
.social { display: flex; gap: 14px; margin-top: 14px; }
.social a { font-weight: 600; font-size: .9rem; }
.footer-legal { padding-top: 22px; color: var(--muted); font-size: .85rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-dark); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 80px; }
.legal .container { max-width: 780px; }
.legal h2 { font-size: 1.2rem; margin-top: 1.8em; }
.legal li { margin-bottom: .3em; }
.muted { color: var(--muted); }
