/* Gagan Khaira Group — shared styles
   Palette: passport navy (Study International), phulkari magenta + marigold (Migrators), cool paper, ink. */
:root {
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --ink: #18202B;
  --ink-soft: #4A5566;
  --line: #D8DDE4;
  --si: #1D3A8A;          /* passport navy */
  --si-tint: #E6EBF7;
  --mg: #A8204F;          /* phulkari magenta */
  --mg-tint: #F7E6EC;
  --marigold: #F2A900;
  --wa: #128C4A;
  --radius-s: 6px;
  --radius-l: 18px;
  --wrap: 1120px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: 76px; /* room for mobile action bar */
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6.4vw, 4.2rem); font-weight: 800; font-stretch: 112%; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 750; font-stretch: 108%; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.small { font-size: .9rem; color: var(--ink-soft); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 800; font-stretch: 115%; text-decoration: none; font-size: 1.05rem; }
.brand span { color: var(--ink-soft); font-weight: 600; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .nav { display: none; } }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 48px; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer;
  font-family: var(--body);
}
.btn svg { width: 20px; height: 20px; }
.btn-si { background: var(--si); color: var(--white); }
.btn-mg { background: var(--mg); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn:hover { filter: brightness(1.08); }

/* Home hero */
.hero { padding: 56px 0 40px; }
.hero h1 { max-width: 14ch; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
@media (max-width: 760px) { .choices { grid-template-columns: 1fr; } }
.choice {
  position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center;
  background: var(--white); border-radius: var(--radius-l); padding: 24px; text-decoration: none;
  border: 2px solid var(--line);
}
.choice:hover { border-color: currentColor; }
.choice.si { color: var(--si); }
.choice.mg { color: var(--mg); }
.choice .txt { color: var(--ink); }
.choice h2 { font-size: 1.5rem; margin-bottom: .25em; }
.choice.si h2 { color: var(--si); }
.choice.mg h2 { color: var(--mg); }
.choice p { margin: 0 0 .6em; }
.choice .go { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.choice.si .go { color: var(--si); }
.choice.mg .go { color: var(--mg); }
@media (max-width: 420px) { .choice { grid-template-columns: 96px 1fr; padding: 18px; gap: 14px; } }

/* The stamp — the one memorable element */
.stamp { width: 100%; aspect-ratio: 1; }
.stamp text { font-family: var(--display); font-weight: 800; font-stretch: 120%; fill: currentColor; }
.choice.si .stamp { transform: rotate(-8deg); }
.choice.mg .stamp { transform: rotate(6deg); }
@media (prefers-reduced-motion: no-preference) {
  .choice .stamp { animation: press .55s cubic-bezier(.2,.9,.3,1.2) both; }
  .choice.mg .stamp { animation-delay: .18s; }
  @keyframes press {
    from { opacity: 0; transform: scale(1.35) rotate(0deg); }
    to { opacity: 1; }
  }
}

/* Sections */
section.block { padding: 48px 0; }
section.block.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Company hero */
.co-hero { padding: 48px 0 36px; }
.co-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; color: var(--ink-soft); font-weight: 600; }
.si-page .co-hero { background: var(--si); color: var(--white); }
.mg-page .co-hero { background: var(--mg); color: var(--white); }
.co-hero .lead, .co-hero .meta { color: rgba(255,255,255,.88); }
.co-hero .btn-light { background: var(--white); color: var(--ink); }
.co-hero .btn-ghost { color: var(--white); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.rating .stars { color: var(--marigold); letter-spacing: 1px; }

/* Services list */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.service { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.service h3 { margin-bottom: .3em; }
.si-page .service h3 { color: var(--si); }
.mg-page .service h3 { color: var(--mg); }
.service p { margin: 0; color: var(--ink-soft); }

/* Countries chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--si-tint); color: var(--si); font-weight: 600; }
.mg-page .chips li { background: var(--mg-tint); color: var(--mg); }

/* Offer banner (Migrators) */
.offer { background: var(--marigold); color: var(--ink); border-radius: var(--radius-l); padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.offer h2 { margin: 0 0 .2em; font-size: clamp(1.4rem, 3vw, 2rem); }
.offer p { margin: 0; }
@media (max-width: 680px) { .offer { grid-template-columns: 1fr; } }

/* Process steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--white); background: var(--ink);
}
.si-page .steps li::before { background: var(--si); }
.mg-page .steps li::before { background: var(--mg); }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6em 0 0; color: var(--ink-soft); }

/* Contact: office + form */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.office { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.office .info { padding: 22px; }
.office address { font-style: normal; margin-bottom: 12px; }
.office iframe { width: 100%; height: 260px; border: 0; display: block; }
form.enquiry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; display: grid; gap: 14px; }
form.enquiry label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); width: 100%;
}
form.enquiry textarea { min-height: 90px; resize: vertical; }
form.enquiry .err { color: #B42318; font-weight: 600; min-height: 1.2em; margin: 0; }

/* Founder */
.founder { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }
.quote { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; font-stretch: 105%; line-height: 1.2; border-left: 6px solid var(--marigold); padding-left: 20px; margin: 0; }

/* Two companies (used on founder + footer) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }
.pair a { display: block; padding: 18px 20px; border-radius: var(--radius-l); text-decoration: none; color: var(--white); }
.pair a strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.pair .si { background: var(--si); }
.pair .mg { background: var(--mg); }

/* Cross-link note */
.sister { background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-l); padding: 18px 22px; }
.sister p { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D1DC; padding: 44px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--white); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.site-footer address { font-style: normal; }
.site-footer .legal { margin-top: 28px; border-top: 1px solid #2C3644; padding-top: 18px; font-size: .85rem; }

/* Mobile action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
.actionbar .btn { min-height: 48px; }
@media (min-width: 900px) { .actionbar { display: none; } body { padding-bottom: 0; } }

/* Prose pages */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 50; }

/* ---------- Home v2 ---------- */
.btn-light { background: var(--white); color: var(--ink); }
.btn-marigold { background: var(--marigold); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }

.home-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 90% at 85% 100%, #2B4FB3 0%, #1D3A8A 38%, #12245A 100%);
  padding: 72px 0 140px;
}
.home-hero .wrap { position: relative; z-index: 1; }
.home-hero h1 { max-width: 11ch; font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
.home-hero .wrap > * { max-width: 600px; }
.home-hero .lead { color: rgba(255,255,255,.86); max-width: 46ch; }
.routes { position: absolute; right: 0; top: 30px; width: 47%; height: auto; max-width: 640px; }
.routes .arcs { stroke: rgba(255,255,255,.55); }
.routes .pins circle { fill: var(--marigold); }
.routes .pins .ring { fill: none; stroke: var(--marigold); stroke-width: 2; opacity: .6; }
.routes .pins text { fill: rgba(255,255,255,.92); font-family: var(--body); font-weight: 700; }
.routes .pins .origin { fill: var(--marigold); font-size: 20px; }
@media (max-width: 980px) { .routes { width: 70%; opacity: .45; } }
@media (max-width: 760px) {
  .home-hero { padding: 48px 0 120px; }
  .routes { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .routes .arcs path { stroke-dashoffset: 400; animation: fly 2.4s ease-out forwards; }
  .routes .arcs path:nth-child(2) { animation-delay: .15s; }
  .routes .arcs path:nth-child(3) { animation-delay: .3s; }
  .routes .arcs path:nth-child(4) { animation-delay: .45s; }
  .routes .arcs path:nth-child(5) { animation-delay: .6s; }
  .routes .arcs path:nth-child(6) { animation-delay: .75s; }
  .routes .arcs path:nth-child(7) { animation-delay: .9s; }
  @keyframes fly { to { stroke-dashoffset: 0; } }
  .routes .pins .ring { animation: pulse 2.4s ease-out infinite; transform-origin: 540px 360px; transform-box: view-box; }
  @keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
}

.choices-band { margin-top: -96px; position: relative; z-index: 2; }
.choices-band .choices { margin-top: 0; }
.choices-band .choice { border: 0; color: var(--white); box-shadow: 0 18px 40px -18px rgba(18,36,90,.55); }
.choices-band .choice.si { background: var(--si); }
.choices-band .choice.mg { background: var(--mg); }
.choices-band .choice .txt, .choices-band .choice h2, .choices-band .choice .go { color: var(--white); }
.choices-band .choice .rating { color: var(--white); }
.choices-band .choice:hover { transform: translateY(-2px); }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
.trust div { border-top: 3px solid var(--ink); padding-top: 12px; }
.trust dt { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; }
.trust div:nth-child(1) dt { color: var(--si); }
.trust div:nth-child(2) dt { color: var(--mg); }
.trust dd { margin: 8px 0 0; color: var(--ink-soft); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } }

.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.reels .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
.reels blockquote { background: var(--paper); border-radius: var(--radius-l); padding: 24px; margin: 0; min-height: 120px; }
@media (max-width: 860px) { .reels { grid-template-columns: 1fr; max-width: 420px; } }

.founder-band { background: var(--marigold); padding: 56px 0; }
.founder-band .quote { border-left-color: var(--ink); }
.founder-band .btn-ghost { color: var(--ink); }

.reel-fallback { display: grid; gap: 6px; text-decoration: none; color: var(--ink-soft); }
.reel-fallback strong { color: var(--ink); font-family: var(--display); font-size: 1.15rem; line-height: 1.2; }
.reel-fallback .play { width: 48px; height: 48px; border-radius: 50%; background: var(--mg); color: var(--white); display: grid; place-items: center; font-size: 1.1rem; }
@media (max-width: 420px) { .choices-band .choice { grid-template-columns: 76px 1fr; } }
.crumbs { margin: 0 0 8px; font-weight: 600; }
.crumbs a { color: rgba(255,255,255,.85); }
.service h3 a { color: inherit; text-underline-offset: 4px; }
.chips a { color: inherit; }
.block ul:not(.chips):not(.steps) { padding-left: 1.2em; max-width: 64ch; }
.ticks { list-style: none; padding: 0 !important; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--si-tint); color: var(--si); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.country h2 span { margin-right: 6px; }
.country { scroll-margin-top: 72px; }
.btn-ghost-si { border-color: var(--si); color: var(--si); background: transparent; }
.jump li { padding: 0; }
.jump a { display: block; padding: 8px 14px; text-decoration: none; }
.mg-page .ticks li::before { background: var(--mg-tint); color: var(--mg); }
