/* Visa Agents in Jaipur - shared stylesheet */

:root {
  --navy:        #16324f;
  --navy-deep:   #0e2137;
  --azure:       #2e9bd6;
  --azure-dark:  #1f7cae;
  --azure-wash:  #eaf5fc;
  --coral:       #f0553f;
  --coral-dark:  #d8412c;

  --ink:         #16324f;
  --ink-soft:    #4a5f74;
  --ink-faint:   #7d8ea0;
  --line:        #dde5ec;
  --line-soft:   #edf2f6;
  --bg:          #ffffff;
  --bg-tint:     #f6f9fb;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 1px 2px rgba(22, 50, 79, .06), 0 8px 24px rgba(22, 50, 79, .07);
  --shadow-lift: 0 2px 4px rgba(22, 50, 79, .08), 0 16px 40px rgba(22, 50, 79, .13);

  --wrap:        1180px;
  --gut:         16px;
  --head-h:      72px;

  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* clip, not hidden: `hidden` silently kills position:sticky in descendants */
html { overflow-x: hidden; overflow-x: clip; }
body { overflow-x: hidden; overflow-x: clip; }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  letter-spacing: .005em;
}

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

h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 1.12rem + 1.15vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1.03rem + .5vw, 1.35rem); }
h4 { font-size: 1.06rem; }
p  { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin: 0 0 .45em; }

a { color: var(--azure-dark); text-underline-offset: 2px; }
a:hover { color: var(--coral); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .97rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--azure-wash); color: var(--navy); border-color: var(--azure); }
.btn--block { width: 100%; }

/* ---------- header (light: the logo wordmark is dark) ---------- */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--head-h);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; height: 46px; }

.burger {
  margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 11px 2px; color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .94rem; border-bottom: 1px solid var(--line-soft);
}
.nav a:hover { color: var(--coral); }
.nav a[aria-current="page"] { color: var(--azure-dark); }
.nav__cta { display: flex; gap: 10px; padding: 14px 0 4px; }
.nav__cta .btn { flex: 1; }

/* services dropdown */
.nav__drop summary {
  display: flex; align-items: center; gap: .45em; cursor: pointer;
  padding: 11px 2px; font-weight: 600; font-size: .94rem; color: var(--ink);
  border-bottom: 1px solid var(--line-soft); list-style: none;
}
.nav__drop summary::-webkit-details-marker { display: none; }
.nav__drop summary::after {
  content: ""; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .18s ease;
}
.nav__drop[open] summary::after { transform: translateY(1px) rotate(225deg); }
.nav__drop summary:hover { color: var(--coral); }
.nav__drop summary.is-here { color: var(--azure-dark); }
.nav__sub { list-style: none; margin: 0; padding: 0 0 6px 14px; }
.nav__sub a { font-weight: 500; }

.nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px var(--gut) 18px; box-shadow: var(--shadow);
  max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 33, 55, .82) 0%, rgba(14, 33, 55, .93) 100%);
}
.hero__in { padding: 48px 16px 52px; display: grid; gap: 30px; }
.hero__copy h1 { color: #fff; margin-bottom: .35em; }
.hero__kicker {
  margin: 0 0 .7em; text-transform: uppercase; letter-spacing: .14em;
  font-size: .74rem; font-weight: 700; color: var(--azure);
}

/* ---------- lead form ---------- */
.lead {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-lift); border: 1px solid var(--line);
}
.lead__head { font-size: 1.2rem; margin-bottom: .25em; }
.lead__sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.1em; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--ink-soft); }
.field input {
  width: 100%; padding: 12px 14px; font: 400 1rem var(--sans); color: var(--ink);
  background: var(--bg-tint); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.field input:focus { border-color: var(--azure); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--coral); background: #fff5f3; }

.lead__status { margin: 12px 0 0; font-size: .92rem; font-weight: 600; min-height: 0; }
.lead__status:empty { display: none; }
.lead__status.is-ok   { color: #15803d; }
.lead__status.is-err  { color: var(--coral-dark); }
.lead__status.is-busy { color: var(--ink-soft); font-weight: 500; }
.lead__status a { color: inherit; }

/* ---------- price cards ---------- */
.prices { padding: 54px 0 10px; background: var(--bg-tint); }
.prices h2 { text-align: center; margin-bottom: 1em; }

.chips {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 0 auto 34px; max-width: 920px;
}
.chip {
  padding: .5em 1.05em; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-soft); font: 600 .88rem var(--sans); cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: var(--azure); color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

.region { margin-bottom: 42px; }
.region[hidden] { display: none; }
.region__head {
  font-size: 1.02rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-faint); margin-bottom: 1em;
  padding-bottom: .6em; border-bottom: 1px solid var(--line);
}

.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
}
.card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: var(--azure); }
.card__media { position: relative; aspect-ratio: 1024 / 592; background: var(--line-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__type {
  position: absolute; top: 10px; left: 10px;
  background: rgba(14, 33, 55, .88); color: #fff; backdrop-filter: blur(3px);
  padding: .3em .7em; border-radius: 999px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
}
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card__country { margin: 0 0 .3em; font-size: 1.05rem; }
.card__price { margin: 0; font-size: 1.32rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.card__fees { margin: .1em 0 0; font-size: .82rem; color: var(--ink-faint); }
.card__days {
  margin: .7em 0 1em; font-size: .86rem; color: var(--ink-soft);
  padding-top: .7em; border-top: 1px dashed var(--line);
}
.card__days strong { color: var(--navy); }
.card .btn { margin-top: auto; }

/* ---------- prose ---------- */
.prose { padding: 56px 0; }
.prose__grid { display: block; }
.prose__in { max-width: 74ch; }
.prose__in > h2 { margin-top: 1.9em; }
.prose__in > h2:first-child { margin-top: 0; }
.prose__in ul { padding-left: 1.1em; }
.prose__in li::marker { color: var(--azure); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .13em; font-size: .75rem;
  font-weight: 700; color: var(--azure-dark); margin-bottom: .6em;
}
.inline-fig { margin: 2em 0; }
.inline-fig img { border-radius: var(--radius); width: 100%; }

.table-scroll { overflow-x: auto; margin: 1.5em 0; -webkit-overflow-scrolling: touch; }
.table-scroll table { border-collapse: collapse; min-width: 480px; width: 100%; }
.table-scroll th, .table-scroll td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.table-scroll th { background: var(--bg-tint); }

/* ---------- FAQ ---------- */
.faq {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 10px; background: #fff;
}
.faq summary {
  cursor: pointer; padding: 15px 44px 15px 16px; font-weight: 600; position: relative;
  list-style: none; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--azure); border-bottom: 2px solid var(--azure);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq[open] summary { color: var(--azure-dark); }
.faq__body { padding: 0 16px 4px; color: var(--ink-soft); }

/* ---------- table of contents ---------- */
.toc { display: none; }
.toc__head {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-faint); margin-bottom: .9em;
}
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 7px 0 7px 14px; margin-left: -2px;
  border-left: 2px solid transparent; color: var(--ink-soft);
  text-decoration: none; font-size: .9rem; line-height: 1.4;
}
.toc a:hover { color: var(--navy); }
.toc a.is-active { color: var(--azure-dark); border-left-color: var(--azure); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 52px 0; }
.cta-band__in { display: grid; gap: 28px; }
.cta-band__copy h2 { color: #fff; }
.cta-band__copy p  { color: #c3d3e1; }
.cta-band__copy .faq { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.cta-band__copy .faq summary { color: #fff; }
.cta-band__copy .faq__body { color: #c3d3e1; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy-deep); color: #b9cadb; padding: 46px 0 0; }
.site-foot h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1em; }
.site-foot__in { display: grid; gap: 32px; padding-bottom: 36px; }
.site-foot__brand img { height: 56px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }
.site-foot__brand p { margin-top: 14px; font-size: .92rem; max-width: 38ch; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .6em; }
.site-foot a { color: #b9cadb; text-decoration: none; font-size: .94rem; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot__legal {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px;
  display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between;
}
.site-foot__legal p { margin: 0; font-size: .84rem; color: #8ba3bb; }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-content: center;
  background: #25d366; color: #fff; box-shadow: var(--shadow-lift);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14, 33, 55, .62); }
.modal__box {
  position: relative; width: 100%; max-width: 420px; background: #fff;
  border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow-lift);
  max-height: calc(100dvh - 32px); overflow-y: auto;
}
.modal__box .lead { box-shadow: none; border: 0; padding: 0; }
.modal__x {
  position: absolute; top: 8px; right: 10px; width: 36px; height: 36px;
  border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--ink-faint);
  cursor: pointer; border-radius: 8px;
}
.modal__x:hover { color: var(--coral); background: var(--bg-tint); }
.modal__eyebrow {
  margin: 0 0 .2em; font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--azure-dark);
}
.modal__eyebrow:empty { display: none; }

/* ---------- breakpoints ---------- */
@media (min-width: 620px) {
  .hero__in { padding: 64px 16px 68px; }
  .site-foot__in { grid-template-columns: 1.4fr 1fr 1fr; }
  .lead { padding: 26px; }
}

@media (min-width: 900px) {
  .hero__in {
    grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
    padding: 82px 16px 88px;
  }
  .cta-band__in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 46px; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(246px, 1fr)); gap: 22px; }
}

@media (min-width: 1000px) {
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
  .nav__list { display: flex; gap: 20px; }
  .nav a { border-bottom: 0; padding: 6px 0; font-size: .9rem; white-space: nowrap; }
  .nav > .nav__list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--coral); }

  .nav__has-sub { position: relative; }
  .nav__drop summary { border-bottom: 0; padding: 6px 0; font-size: .9rem; white-space: nowrap; }
  .nav__drop summary.is-here { box-shadow: inset 0 -2px 0 var(--coral); }
  .nav__sub {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
    min-width: 290px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
    padding: 8px; z-index: 5;
  }
  .nav__sub a { padding: 9px 12px; border-radius: 7px; white-space: normal; }
  .nav__sub a:hover { background: var(--azure-wash); }
  .nav__sub a[aria-current="page"] { background: var(--azure-wash); color: var(--azure-dark); }
  .nav__cta { padding: 0; }
  .nav__cta .btn { padding: .55em 1em; font-size: .85rem; }

  /* No `align-items: start` here: it shrinks .toc to its content height,
     which leaves position:sticky nothing to travel inside. */
  .prose.has-toc .prose__grid {
    display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 56px;
  }
  .toc { display: block; align-self: stretch; }
  .toc__in { position: sticky; top: calc(var(--head-h) + 22px); max-height: calc(100dvh - var(--head-h) - 44px); overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  .site-head, .site-foot, .wa-float, .modal, .lead, .cta-band, .chips, .toc { display: none !important; }
  body { color: #000; }
}
