/* Poles International — Design System */
:root {
  --nav-h: 92px;
  --polar-blue: #331D8F;
  --polar-blue-2: #3f27a4;
  --polar-blue-deep: #241367;
  --aurora-teal: #14B8A6;
  --aurora-teal-dark: #0f9c8d;
  --mint: #d4f0ec;
  --mint-light: #e5f6f3;
  --sky: #ecebf7;
  --sky-2: #f3f2fa;
  --paper: #fafbfd;
  --ink: #1a1540;
  --ink-soft: #4a4575;
  --muted: #7a7d94;
  --line: #e2e6ef;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 19, 74, 0.04), 0 2px 8px rgba(20, 19, 74, 0.04);
  --shadow-md: 0 6px 20px rgba(20, 19, 74, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 19, 74, 0.12);
  --font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(226, 230, 239, 0.7);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(51, 29, 143, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px 8px 0;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.brand:hover { opacity: 0.9; transform: translateY(-1px); }
.brand-logo { height: 70px; width: auto; display: block; }
.brand-tm {
  position: absolute;
  right: 0;
  top: 58%;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  color: var(--polar-blue);
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--aurora-teal-dark); }
.nav-links a.active {
  color: var(--aurora-teal-dark);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--aurora-teal);
  border-radius: 2px;
}
.nav-cta {
  background: var(--aurora-teal);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(64, 196, 176, 0.25);
}
.nav-cta:hover {
  background: var(--aurora-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(64, 196, 176, 0.35);
}
.hamburger {
  display: none;
  font-size: 24px;
  color: var(--polar-blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--polar-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--polar-blue-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-teal {
  background: var(--aurora-teal);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(64, 196, 176, 0.3);
}
.btn-teal:hover {
  background: var(--aurora-teal-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1.5px solid var(--aurora-teal);
  color: var(--aurora-teal-dark);
  background: transparent;
}
.btn-ghost:hover { background: var(--mint-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--polar-blue);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--aurora-teal-dark);
}
.hero-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-globe {
  position: absolute;
  right: -80px;
  top: -60px;
  width: 380px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  height: 60px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 44px;
  box-shadow: var(--shadow-md);
  margin: -50px auto 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 5;
}
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 40px);
  white-space: nowrap;
  color: var(--polar-blue);
  line-height: 1;
}
.trust-num span { color: var(--aurora-teal); }
.trust-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ---------- Section ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-mint { background: var(--mint-light); }
.section-sky { background: var(--sky-2); }
.section-blue { background: var(--polar-blue); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--aurora-teal-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  color: var(--polar-blue);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--aurora-teal-dark); }
.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.65;
}
.section-head-center { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: all 0.25s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mint);
  display: grid;
  place-items: center;
  color: var(--aurora-teal-dark);
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--polar-blue);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-card .learn {
  color: var(--aurora-teal-dark);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- About / Origins ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .two-col-visual { order: 2; }
.two-col-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.two-col-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.two-col h2 { margin-bottom: 20px; }
.two-col p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--sky);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 8px 20px rgba(20, 19, 74, 0.08);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--polar-blue);
  margin-bottom: 4px;
}
.team-role { color: var(--muted); font-size: 13px; }

/* ---------- Destinations ---------- */
.dest-search {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 48px;
}
.dest-search .search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.dest-search input, .dest-search select {
  border: none;
  outline: none;
  font: inherit;
  background: transparent;
  width: 100%;
  color: var(--ink);
}
.dest-search label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}
.dest-search .filter-col { padding: 4px; }
.dest-search .filter-col select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.dest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dest-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sky);
}
.dest-img img { width: 100%; height: 100%; object-fit: cover; }
.dest-body { padding: 18px 18px 20px; }
.dest-title {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--polar-blue);
  font-size: 18px;
}
.dest-meta { list-style: none; font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.dest-meta li { margin-bottom: 4px; }
.dest-meta strong { color: var(--polar-blue); font-weight: 600; }
.dest-actions { display: flex; gap: 8px; }
.dest-actions .btn { padding: 9px 16px; font-size: 13px; }

/* ---------- Universities ---------- */
.uni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.uni-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.uni-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.uni-header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.uni-thumb {
  width: 68px; height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sky);
  flex: 0 0 auto;
}
.uni-thumb img { width: 100%; height: 100%; object-fit: cover; }
.uni-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--polar-blue);
  font-size: 16px;
  line-height: 1.2;
}
.uni-loc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.uni-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.uni-stats > div { text-align: left; }
.uni-stats span { display: block; font-size: 11px; color: var(--muted); }
.uni-stats strong { font-size: 14px; color: var(--polar-blue); }
.uni-actions { display: flex; gap: 8px; }
.uni-actions .btn { flex: 1; padding: 9px 12px; font-size: 13px; justify-content: center; }

/* ---------- Success stories ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.story-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 26px 24px 28px; }
.quote-mark {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--aurora-teal);
  line-height: 0.6;
  display: block;
  margin-bottom: 6px;
}
.story-quote { color: var(--ink); font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
.story-name { font-family: var(--font-serif); font-weight: 600; color: var(--polar-blue); font-size: 17px; }
.story-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-cats {
  list-style: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  height: fit-content;
}
.faq-cats li {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.faq-cats li:last-child { border-bottom: none; }
.faq-cats li.active {
  background: var(--mint-light);
  color: var(--aurora-teal-dark);
  border-left: 3px solid var(--aurora-teal);
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--polar-blue);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-question {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
}
.faq-toggle {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid; place-items: center;
  font-size: 14px;
  transition: transform 0.3s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--aurora-teal); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--white);
  color: var(--ink-soft);
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 18px 22px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form {
  background: linear-gradient(180deg, var(--white) 0%, var(--mint-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.contact-form h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--polar-blue);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.contact-form .lead { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--polar-blue);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--aurora-teal);
  box-shadow: 0 0 0 3px rgba(64, 196, 176, 0.14);
}
.submit-btn {
  width: 100%;
  background: var(--aurora-teal);
  color: var(--white);
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 14px;
  transition: all 0.2s;
  margin-top: 8px;
}
.submit-btn:hover { background: var(--aurora-teal-dark); }
.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--polar-blue);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-item .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--aurora-teal-dark);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.contact-info-item .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-info-item .value { color: var(--polar-blue); font-weight: 600; font-size: 15px; }
.contact-map {
  aspect-ratio: 5 / 3;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--sky) 0%, var(--mint-light) 100%);
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}
.contact-map svg { width: 100%; height: 100%; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--mint) 0%, #e6f0e9 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.cta-banner h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--polar-blue);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--polar-blue);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
  padding-right: 14px;
}
.footer-brand img { height: 92px; width: auto; display: block; }
.footer-brand .brand-tm { color: var(--white); top: 62%; }
.footer-blurb { font-size: 14px; color: rgba(255, 255, 255, 0.65); line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, 0.7); transition: color 0.2s; }
.footer-col a:hover { color: var(--aurora-teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  transition: background 0.2s;
}
.socials a:hover { background: var(--aurora-teal); color: var(--white); }

/* ---------- Page header (interior) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--paper) 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--polar-blue);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-hero p {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- World map style ---------- */
.world-map-wrap {
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--mint-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.world-map-wrap svg { width: 100%; height: auto; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); padding: 24px; gap: 20px; }
  .services-grid, .team-grid, .story-grid, .uni-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse .two-col-visual { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .dest-search { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  :root { --nav-h: 76px; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; background: var(--white); padding: 20px; gap: 8px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .brand-logo { height: 56px; }
  .brand-tm { font-size: 9px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .hamburger { display: block; }
  .nav-cta { padding: 9px 14px; font-size: 13px; box-shadow: none; }
  .section { padding: 70px 0; }
}
@media (max-width: 600px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .trust-num { font-size: clamp(20px, 5.4vw, 28px); }
  .dest-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
}

/* ---------- Header actions (Talk + WhatsApp) ---------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--polar-blue);
  transition: all 0.2s;
  border: 1px solid transparent;
}
.icon-btn:hover {
  background: var(--mint-light);
  color: var(--aurora-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(51, 29, 143, 0.15);
}
.icon-btn.wa { background: #e8f7f4; color: #0d9b5f; }
.icon-btn.wa:hover { background: #d7f0ea; color: #0d9b5f; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Flip country card ---------- */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.flip-card {
  perspective: 1200px;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.flip-card-face.back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--polar-blue) 0%, var(--polar-blue-deep) 100%);
  color: var(--white);
  padding: 24px;
  justify-content: space-between;
}
.flip-card-img {
  flex: 1;
  overflow: hidden;
  background: var(--sky);
  position: relative;
}
.flip-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.flip-card:hover .flip-card-img img { transform: scale(1.06); }
.flip-card-caption {
  padding: 16px 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--white);
}
.flip-card-caption h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--polar-blue);
  letter-spacing: -0.01em;
}
.flip-card-caption .acronym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint-light);
  color: var(--aurora-teal-dark);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.flip-card-face.back h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.flip-card-face.back .tagline {
  font-size: 14px;
  color: var(--aurora-teal);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.flip-card-face.back p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
}
.flip-card-face.back .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aurora-teal);
  font-weight: 600;
  font-size: 14px;
  margin-top: 14px;
}

/* ---------- Service stage card (6 stages) ---------- */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.stage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--aurora-teal), var(--polar-blue));
  transform: translateX(-4px);
  transition: transform 0.3s;
}
.stage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.stage-card:hover::before { transform: translateX(0); }
.stage-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--aurora-teal-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stage-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--polar-blue);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.stage-brief {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.stage-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.stage-list li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.stage-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aurora-teal);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wa-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  border: 3px solid #fff;
  transition: transform 0.25s;
}
.wa-btn svg { width: 32px; height: 32px; }
.wa-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.35;
  animation: waPulse 2.2s ease-out infinite;
  z-index: -1;
}
.wa-float:hover .wa-btn { transform: scale(1.07); }
.wa-label {
  background: #fff;
  color: var(--polar-blue);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(51, 29, 143, 0.18);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: translateX(0); }
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.4; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- British Council badge ---------- */
.certified-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 10px;
  background: linear-gradient(135deg, var(--white), var(--mint-light));
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 999px;
  color: var(--polar-blue);
  font-weight: 600;
  font-size: 14px;
  margin-top: 22px;
  box-shadow: 0 4px 12px rgba(51, 29, 143, 0.06);
}
.certified-badge .bc-logo {
  height: 40px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
}
.certified-badge span { line-height: 1.2; font-size: 13px; color: var(--ink-soft); }
.certified-badge span::before { content: '·'; margin-right: 8px; color: var(--muted); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.spacer { height: 40px; }
.hidden { display: none !important; }

/* ---------- Responsive additions ---------- */
@media (max-width: 960px) {
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-label { display: none; }
  .wa-btn { width: 56px; height: 56px; }
  /* mobile pinned header actions */
  .nav-actions { gap: 6px; }
  .icon-btn { width: 38px; height: 38px; }
}
@media (max-width: 600px) {
  .nav-cta-pre { display: none; }
  .nav-actions { gap: 5px; }
  .icon-btn { width: 36px; height: 36px; }
  .nav-cta { padding: 8px 11px; font-size: 12px; }
  .brand-logo { height: 50px; }
  .footer-grid { grid-template-columns: 1fr; }
  .flip-grid { gap: 14px; }
  .flip-card-caption h3 { font-size: 14px; }
}

/* ---------- Hero orb (echoes the logo: two people, one circle, one teal ball) ---------- */
.hero-orb {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.orb-ring {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: var(--polar-blue);
  transform: translate(-5%, 5%);
}
.orb-circle {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  overflow: hidden;
  border: 9px solid #fff;
  background: var(--polar-blue);
  box-shadow: 0 30px 60px rgba(51, 29, 143, 0.28);
}
.orb-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease-out;
}
.orb-slide.is-active { opacity: 1; transform: scale(1); }
.orb-ball {
  position: absolute;
  width: 17%;
  aspect-ratio: 1;
  top: 1%;
  right: 9%;
  border-radius: 50%;
  background: var(--aurora-teal);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.4);
  animation: orbFloat 6s ease-in-out infinite;
}
.orb-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.orb-orbit path {
  fill: none;
  stroke: var(--aurora-teal);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-dasharray: 0.1 2.6;
  opacity: 0.85;
}
.orb-dots {
  position: absolute;
  left: 50%;
  bottom: 1.2%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.orb-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(51, 29, 143, 0.25);
  transition: all 0.3s;
  padding: 0;
}
.orb-dots button.is-active { width: 26px; background: var(--aurora-teal); }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .orb-ball, .wa-btn::after { animation: none; }
  .orb-slide { transition: opacity 0.2s; }
}

/* ---------- 2x2 tiles ---------- */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

/* ---------- Lead text with a one-line closer ---------- */
.lead-line { display: block; white-space: nowrap; margin-top: 4px; font-weight: 600; color: var(--polar-blue); }

/* ---------- Country chips (Europe card) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint-light);
  border: 1px solid rgba(20, 184, 166, 0.25);
  color: var(--polar-blue);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Google reviews ---------- */
.g-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 14px;
  transition: all 0.2s;
}
.g-rating:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.g-rating svg { width: 20px; height: 20px; }
.g-rating strong { font-size: 16px; color: var(--polar-blue); }
.g-rating .stars { color: #fbbc04; letter-spacing: 2px; font-size: 15px; }
.g-rating .g-count { color: var(--muted); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-top > svg { width: 22px; height: 22px; margin-left: auto; flex-shrink: 0; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--polar-blue), var(--polar-blue-2));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.avatar.alt { background: linear-gradient(140deg, var(--aurora-teal), var(--aurora-teal-dark)); }
.rname { font-weight: 700; color: var(--polar-blue); font-size: 16px; line-height: 1.2; }
.rsrc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.review-card .stars { color: #fbbc04; letter-spacing: 2px; font-size: 16px; margin-bottom: 10px; }
.review-text {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
}
.review-text p + p { margin-top: 10px; }
.review-card.open .review-text { -webkit-line-clamp: unset; display: block; overflow: visible; }
.review-toggle {
  margin-top: 12px;
  color: var(--aurora-teal-dark);
  font-weight: 600;
  font-size: 14px;
}
.review-toggle:hover { text-decoration: underline; }

/* ---------- FAQ (category filter + search) ---------- */
.faq-item.is-hidden { display: none; }
.faq-cat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aurora-teal-dark);
  margin: 6px 0 -2px;
}
.faq-empty { display: none; text-align: center; color: var(--ink-soft); padding: 30px 0; }
.faq-empty.show { display: block; }
.faq-cats li .n { color: var(--aurora-teal-dark); margin-right: 8px; font-family: var(--font-serif); }
.faq-answer p + p { margin-top: 10px; }
.faq-item.open .faq-answer { max-height: 900px; }
.faq-search {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.faq-search input { border: none; outline: none; flex: 1; font: inherit; background: transparent; color: var(--ink); }
.faq-contact { text-align: center; margin: 56px auto 0; max-width: 560px; }
.faq-contact h3 { font-family: var(--font-serif); font-size: 28px; color: var(--polar-blue); margin-bottom: 8px; letter-spacing: -0.01em; }
.faq-contact p { color: var(--ink-soft); margin-bottom: 20px; }

@media (max-width: 960px) {
  .review-grid { grid-template-columns: 1fr; }
  .grid-2x2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-orb { width: min(100%, 400px); }
  .faq-cats { display: flex; overflow-x: auto; gap: 8px; padding: 6px; border-radius: 999px; -webkit-overflow-scrolling: touch; }
  .faq-cats li { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 12px; }
  .faq-cats li.active { border-left: 1px solid var(--aurora-teal); }
}
@media (max-width: 600px) {
  .grid-2x2 { grid-template-columns: 1fr; }
}

/* ---------- Touch / small screens: country cards are tap-through (no flip, no description) ---------- */
@media (hover: none), (max-width: 960px) {
  .flip-card:hover .flip-card-inner { transform: none; }
  .flip-card-face.back { display: none; }
  .flip-card { aspect-ratio: 4 / 4.3; }
}

/* ---------- Flag images ---------- */
.flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  vertical-align: -2px;
  margin-right: 4px;
  box-shadow: 0 0 0 1px rgba(51, 29, 143, 0.12);
}
.chip .flag { margin-right: 0; }

/* ---------- Mobile polish ---------- */
@media (max-width: 600px) {
  .brand { padding-right: 10px; }
  .flip-card-caption { min-height: 76px; padding: 12px 14px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .flip-card-caption .acronym { padding: 3px 9px; font-size: 10px; }
}

/* ---------- Footer polish ---------- */
.footer-col li { font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.footer-bottom { padding-right: 84px; }
@media (max-width: 960px) { .footer-bottom { padding-right: 0; padding-bottom: 56px; } }

/* ===== v10 ===== */

/* --- Trade mark: readable on desktop --- */
.brand { padding-right: 20px; }
.brand-tm { font-size: 15px; font-weight: 700; top: 58%; right: 1px; }
.footer-brand { padding-right: 20px; }
.footer-brand .brand-tm { top: 60%; }

/* --- Hero carousel: the client's artwork, blended into the hero background --- */
.hero-carousel { position: relative; width: min(100%, 560px); margin-inline: auto; mix-blend-mode: multiply; }
.hc-stage { position: relative; aspect-ratio: 1 / 1; }
.hc-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hc-slide.is-active { opacity: 1; }
.hc-fade {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%), linear-gradient(to top, transparent 0, #000 10%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%), linear-gradient(to top, transparent 0, #000 10%);
  mask-composite: intersect;
}
.hc-dots { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
.hc-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(51, 29, 143, 0.25);
  transition: all 0.3s;
}
.hc-dots button.is-active { width: 26px; background: var(--aurora-teal); }
.hero-art { width: min(100%, 520px); margin-inline: auto; mix-blend-mode: multiply; }
.hero-art img { width: 100%; height: auto; display: block; }

/* --- Country tiles: identical image-to-white ratio on every card --- */
.flip-card { display: block; color: inherit; text-decoration: none; aspect-ratio: 3 / 4.2; outline: none; }
.flip-card:focus-visible .flip-card-inner { transform: rotateY(180deg); }
.flip-card-caption { flex: 0 0 96px; height: 96px; padding: 0 18px; align-items: center; }
.flip-card-caption h3 {
  font-size: 17px;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flip-card-face.back { padding: 22px 20px 20px; justify-content: flex-start; gap: 10px; }
.flip-card-face.back > div:first-child { flex: 1; min-height: 0; overflow: hidden; }
.flip-card-face.back .tagline { font-size: 11px; margin-bottom: 6px; }
.flip-card-face.back h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.2; }
.flip-card-face.back p { font-size: 13px; line-height: 1.55; }
.flip-card-face.back .arrow { margin-top: 0; padding-top: 4px; white-space: nowrap; flex-shrink: 0; }

/* --- Destination cards: deep links land on the right card --- */
.dest-card { scroll-margin-top: 110px; }
.dest-card:target {
  border-color: var(--aurora-teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.35), var(--shadow-lg);
  animation: targetPulse 2.4s ease-out 1;
}
@keyframes targetPulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7), var(--shadow-lg); }
  40% { box-shadow: 0 0 0 10px rgba(20, 184, 166, 0.25), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.35), var(--shadow-lg); }
}
.dest-grid.dest-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.services-grid.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* --- Reviews badge is informational only --- */
.g-rating.static { cursor: default; }
.g-rating.static:hover { transform: none; box-shadow: var(--shadow-sm); }

/* --- British Council badge --- */
.bc-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 12px 22px 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.bc-badge .bc-logo { height: 50px; width: auto; display: block; }
.bc-badge .bc-text {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--polar-blue);
}

/* --- FAQ category labels --- */
.lbl-short { display: none; }

/* --- Tablet and below --- */
@media (max-width: 960px) {
  .hero-carousel { width: min(100%, 440px); }
  .brand-tm { font-size: 12px; }
  .flip-card { aspect-ratio: 4 / 4.6; }
  .flip-card-caption { flex-basis: 100px; height: 100px; padding: 0 14px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
  .flip-card-caption h3 { font-size: 14px; }
  .services-grid.grid-2 { grid-template-columns: 1fr; gap: 20px; }

  /* FAQ: no sideways scrolling, categories are a tidy 2-column grid */
  .faq-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }
  .faq-cats li {
    white-space: normal;
    text-align: center;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 12px 10px;
    font-size: 12px;
    letter-spacing: 0.03em;
  }
  .faq-cats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .faq-cats li.active { background: var(--polar-blue); color: #fff; border-color: var(--polar-blue); border-left-color: var(--polar-blue); }
  .faq-cats li .n { display: none; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .faq-list { scroll-margin-top: 90px; }
  .faq-question { font-size: 15px; line-height: 1.4; gap: 14px; }
}

/* --- Phones --- */
@media (max-width: 760px) {
  .dest-grid.dest-grid--2 { grid-template-columns: 1fr; gap: 22px; }
  .dest-card { scroll-margin-top: 92px; }
  .dest-card .dest-body { text-align: left; }
}
@media (max-width: 600px) {
  .flip-card-caption h3 { font-size: 13px; }
  .bc-badge { padding: 10px 16px 10px 12px; gap: 12px; }
  .bc-badge .bc-logo { height: 42px; }
}

/* ===== v10b ===== */

/* Light-only: stops Android's forced "auto dark" from inverting the brand colours */
:root { color-scheme: only light; }
html { background-color: #ffffff; }

/* The original British Council artwork has its own blue palette. */
.bc-logo { filter: none; mix-blend-mode: normal; }

/* Preserve artwork and brand colours when the device requests dark mode. */
.hero-carousel, .hero-art { mix-blend-mode: normal; }

/* Blend the artwork's white field into a soft brand-colour display frame. */
.hero-carousel {
  background: linear-gradient(145deg, #eeeafa 0%, #e7f8f4 100%);
  padding: 16px 16px 14px;
  border: 1px solid rgba(51, 29, 143, 0.13);
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(36, 19, 103, 0.13);
}
.hero-carousel .hc-stage {
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}
.hero-carousel .hc-slide { mix-blend-mode: multiply; }
.hero-carousel .hc-dots { margin-top: 12px; }

/* Restore the animated teal ball from the earlier circular hero artwork. */
.hc-ball {
  position: absolute;
  top: 6%;
  right: 5%;
  width: clamp(42px, 13%, 74px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--aurora-teal);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.3);
  pointer-events: none;
  animation: orbFloat 6s ease-in-out infinite;
}

/* Keep the cards balanced and their reverse-side copy visible on wide screens. */
@media (min-width: 1240px) {
  .flip-card { aspect-ratio: 3 / 4.8; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-ball { animation: none; }
}

.form-status { color: var(--polar-blue); font-size: 14px; margin-top: 12px; min-height: 1.5em; }
.faq-cats li:focus-visible, .faq-question:focus-visible, .hc-dots button:focus-visible, .hamburger:focus-visible {
  outline: 3px solid var(--aurora-teal);
  outline-offset: 3px;
}

/* Laptop widths: wider two-up tiles so the descriptions always fit */
@media (min-width: 961px) and (max-width: 1239px) {
  .flip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flip-card { aspect-ratio: 5 / 4; }
  .flip-card-caption { flex-basis: 88px; height: 88px; }
  .flip-card-face.back p { font-size: 14px; }
}

/* Home sections read as distinct chapters instead of one continuous block. */
.home-page .home-section {
  position: relative;
  border-top: 1px solid rgba(51, 29, 143, 0.14);
}
.home-page .home-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 112px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 999px 999px;
  background: var(--aurora-teal);
}
.home-page .home-section--services,
.home-page .home-section--story { background: #ffffff; }
.home-page .home-section--destinations,
.home-page .home-section--testimonials { background: #f0eef9; }
.home-page .home-section--why { background: #e2f4f0; }

/* Give successive home chapters distinct visual rhythms. */
.home-section--services .service-card:nth-child(even) { background: #f7f5fc; }
.home-section--why .service-card {
  border: 0;
  border-left: 4px solid var(--aurora-teal);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(25, 94, 88, 0.06);
}
.home-section--why .service-icon { background: rgba(20, 184, 166, 0.12); }
.home-section--testimonials .review-grid { align-items: stretch; }
.home-section--testimonials .review-card {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--aurora-teal);
}
.home-section--testimonials .review-card:nth-child(2) { border-top-color: var(--polar-blue-2); }
.home-section--testimonials .review-card:nth-child(3) { border-top-color: var(--polar-blue); }
.home-section--testimonials .review-text { -webkit-line-clamp: 5; }
.home-section--testimonials .review-toggle { align-self: flex-start; margin-top: auto; padding-top: 16px; }
.home-section--testimonials .review-highlight {
  color: var(--polar-blue);
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  font-weight: 600;
  margin: 4px 0 18px;
}
.home-section--testimonials .review-text { display: none; }
.home-section--testimonials .review-card.open .review-text { display: block; }
.home-section--testimonials .review-card.open .review-highlight { display: none; }
.faq-mobile-hint { display: none; }

/* A readable journey on the home page, distinct from benefit cards. */
.home-section--services .stage-grid { column-gap: 34px; row-gap: 38px; }
.home-section--services .stage-card {
  padding: 18px 12px 20px 30px;
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(51, 29, 143, 0.18);
  border-radius: 0;
  box-shadow: none;
}
.home-section--services .stage-card::before {
  width: 10px;
  height: 10px;
  top: 24px;
  left: -6px;
  border-radius: 50%;
  background: var(--aurora-teal);
  transform: none;
}
.home-section--services .stage-card:hover { transform: none; box-shadow: none; border-color: var(--aurora-teal); }
.home-section--services .stage-card .stage-brief { margin-bottom: 0; }

.flip-teaser { display: none; } /* desktop: the back of the card carries the description */
/* Desktop (mouse): destination cards flip on hover to reveal the description.
   Touch / small screens: tap-through cards that show their context immediately. */
@media (hover: none), (max-width: 960px) {
  .home-section--destinations .flip-card:hover .flip-card-inner,
  .home-section--destinations .flip-card:focus-visible .flip-card-inner { transform: none; }
  .home-section--destinations .flip-card-face.back { display: none; }
  .home-section--destinations .flip-card-caption {
    flex: 0 0 126px;
    height: 126px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 16px 18px;
  }
  .home-section--destinations .flip-card-caption .acronym { display: none; }
  .home-section--destinations .flip-teaser { display: none; }
  .home-section--destinations .flip-card-caption::after {
    content: 'Explore \2197';
    color: var(--aurora-teal-dark);
    font-size: 12px;
    font-weight: 700;
  }
}

/* More room for the six-stage service guide, with clear row rhythm. */
.services-page .stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-page .stage-card:nth-child(4n + 2),
.services-page .stage-card:nth-child(4n + 3) { background: #f6f4fc; }
.services-page .stage-card::before { transform: none; }
.services-page .stage-card { border-top: 3px solid rgba(20, 184, 166, 0.35); }
.services-page .stage-list { columns: 2; column-gap: 24px; }
.services-page .stage-list li { break-inside: avoid; }

/* About artwork shares the more seamless brand-colour treatment. */
.hero-art {
  background: linear-gradient(145deg, #eeeafa 0%, #e7f8f4 100%);
  padding: 14px;
  border: 1px solid rgba(51, 29, 143, 0.13);
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(36, 19, 103, 0.1);
}
.hero-art img { mix-blend-mode: multiply; border-radius: 18px; }

.cta-banner p { max-width: 540px; margin: -10px auto 24px; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 960px) {
  .services-page .stage-grid { grid-template-columns: 1fr; }
  .services-page .stage-list { columns: 1; }
  .home-section--destinations .flip-card { aspect-ratio: auto; height: 350px; }
  .flip-card-caption .acronym { display: none; }
  .flip-card-caption::after {
    content: 'Explore \2197';
    color: var(--aurora-teal-dark);
    font-size: 12px;
    font-weight: 700;
  }
}

@media (max-width: 600px) {
  .faq-mobile-hint {
    display: block;
    color: var(--aurora-teal-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 -24px;
  }
  .faq-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .faq-cats::-webkit-scrollbar { display: none; }
  .faq-cats li, .faq-cats li:last-child:nth-child(odd) {
    flex: 0 0 auto;
    min-width: 132px;
    grid-column: auto;
    scroll-snap-align: start;
  }
  .home-section--destinations .flip-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-section--destinations .flip-card { height: 156px; }
  .home-section--destinations .flip-card-face.front { flex-direction: row; }
  .home-section--destinations .flip-card-img { flex: 0 0 42%; height: 100%; }
  .home-section--destinations .flip-card-caption { flex: 1 1 auto; height: 100%; padding: 14px; }
  .home-section--destinations .flip-card-caption h3 { font-size: 15px; }
  .home-section--destinations .flip-teaser { font-size: 12px; }
  .destinations-page .page-hero { padding-bottom: 32px; }
  .destinations-page .page-hero + .section { padding-top: 24px !important; }
  .wa-float { right: 8px; bottom: 8px; transform: scale(.78); transform-origin: bottom right; }
}

/* ===== v10c ===== */
@media (max-width: 960px) {
  .brand { padding-right: 15px; }
  .footer-brand { padding-right: 15px; }
}

/* ===== v11: hero headline, section separation, auth + admin ===== */

/* Hero: "PVT LTD. KERALA" is the main text */
.hero h1.hero-main {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero-tagline em { font-style: italic; color: var(--aurora-teal-dark); }
.hero { border-bottom: 1px solid rgba(51, 29, 143, 0.12); }

/* Every section gets its own tone and a wavy edge that leads into it */
.section, .section-tight { --sec-bg: #ffffff; position: relative; }
.section.section-mint { --sec-bg: #e5f6f3; }
.section.section-sky { --sec-bg: #f3f2fa; }
.section-blue { --sec-bg: var(--polar-blue); }
.home-page .home-section--destinations,
.home-page .home-section--testimonials { --sec-bg: #f0eef9; }
.home-page .home-section--why { --sec-bg: #e2f4f0; }
.home-page .home-section--services,
.home-page .home-section--story { --sec-bg: #ffffff; }

.section:not(.home-section--services)::before,
.section-tight::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 0; right: 0;
  top: -39px;
  width: auto; height: 40px;
  transform: none;
  border: 0;
  border-radius: 0;
  background: var(--sec-bg);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C180 -4 360 -4 540 16S900 44 1080 20 1320 2 1440 18V40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C180 -4 360 -4 540 16S900 44 1080 20 1320 2 1440 18V40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* The first section after the hero keeps the original "island" lead-in untouched */
.home-page .home-section--services { border-top: 0; }
.home-page .home-section--services::before { display: none; }
.home-page .home-section { border-top: 0; }
.section > .container, .section-tight > .container { position: relative; z-index: 1; }

/* A teal chapter rule under each section heading */
.section-head-center .section-title::after {
  content: '';
  display: block;
  width: 64px; height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--polar-blue), var(--aurora-teal));
}
.section-head-center .section-lead { margin-top: 18px; }

/* Cards sit a touch higher so every section reads as its own stage */
.section:not(.section-blue) { box-shadow: 0 -14px 30px -24px rgba(36, 19, 103, 0.35); }

/* ---------- Login + submissions ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 34px;
  text-align: center;
}
.auth-card h2 { font-family: var(--font-serif); color: var(--polar-blue); font-size: 30px; margin-bottom: 10px; }
.auth-card p { color: var(--ink-soft); margin-bottom: 26px; }
.google-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 14px 18px;
  background: #fff; color: #3c4043;
  border: 1.5px solid #dadce0; border-radius: 999px;
  font: 600 15px var(--font-sans); cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
}
.google-btn:hover { box-shadow: var(--shadow-md); border-color: #b9bdc2; }
.google-btn:disabled { opacity: .6; cursor: not-allowed; }
.google-btn svg { width: 20px; height: 20px; }
.auth-note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.auth-error { color: #b3261e; font-size: 14px; margin-top: 14px; min-height: 1.4em; }
.user-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--sky-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 10px 8px 8px; margin-bottom: 22px;
}
.user-chip img { width: 34px; height: 34px; border-radius: 50%; }
.user-chip span { flex: 1; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn { background: none; border: 0; color: var(--polar-blue); font: 600 13px var(--font-sans); cursor: pointer; padding: 6px 10px; }
.link-btn:hover { text-decoration: underline; }
.form-success {
  background: var(--mint-light); border: 1px solid var(--aurora-teal);
  border-radius: var(--radius); padding: 22px; text-align: center; color: var(--ink);
}
.form-success h4 { font-family: var(--font-serif); color: var(--polar-blue); font-size: 22px; margin-bottom: 8px; }
.form-success .btn { margin-top: 14px; }
.field select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font: 15px var(--font-sans); background: #fff; color: var(--ink);
}

/* ---------- Admin ---------- */
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.admin-bar input[type=search], .admin-bar select {
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: 14px var(--font-sans); background: #fff;
}
.admin-bar input[type=search] { min-width: 260px; }
.admin-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-sm); }
.admin-stat b { display: block; font-family: var(--font-serif); font-size: 28px; color: var(--polar-blue); line-height: 1; }
.admin-stat small { color: var(--muted); }
.sub-list { display: grid; gap: 16px; }
.sub-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--aurora-teal); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.sub-card.is-new { border-left-color: var(--polar-blue); }
.sub-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.sub-head h3 { font-family: var(--font-serif); color: var(--polar-blue); font-size: 21px; }
.sub-head time { color: var(--muted); font-size: 13px; }
.sub-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 22px; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.sub-meta b { color: var(--ink); }
.sub-goals { background: var(--sky-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; white-space: pre-wrap; margin-bottom: 14px; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sub-actions a, .sub-actions button { font: 600 13px var(--font-sans); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--polar-blue); color: var(--polar-blue); background: #fff; cursor: pointer; text-decoration: none; }
.sub-actions .primary { background: var(--polar-blue); color: #fff; }
.sub-actions select { padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; font: 13px var(--font-sans); }
.sub-notes { width: 100%; margin-top: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: 14px var(--font-sans); resize: vertical; min-height: 54px; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--polar-blue); }
.badge.new { background: var(--polar-blue); color: #fff; }
.badge.contacted { background: #fff3cd; color: #7a5b00; }
.badge.done { background: var(--mint); color: #0b6b5f; }
.empty-state { text-align: center; color: var(--muted); padding: 50px 0; }
@media (max-width: 640px) { .auth-card { padding: 30px 22px; } .admin-bar input[type=search] { min-width: 0; width: 100%; } }


/* ===== v12: match Website Suggestions PDF ===== */

/* Chat button: Poles sub-mark as the icon, label always visible on desktop */
.wa-btn { background: #fff; border: 3px solid var(--polar-blue); box-shadow: 0 10px 28px rgba(51, 29, 143, 0.35); }
.wa-btn::after { background: var(--aurora-teal); }
.wa-btn img { width: 40px; height: 40px; display: block; }
.wa-label { opacity: 1; transform: none; }
@media (max-width: 760px) { .wa-label { display: none; } }

/* Header: WhatsApp + call icons stay pinned with the logo and CTA */
.site-header .icon-btn.wa { display: inline-grid; }

/* "Learn more" on service cards */
.stage-card .learn-more { display: inline-block; margin-top: 12px; color: var(--aurora-teal-dark); font-size: 13px; font-weight: 700; }
.stage-card:hover .learn-more { text-decoration: underline; }

/* Mobile: just the front of each country card, two per row, tap to open */
@media (max-width: 600px) {
  .home-section--destinations .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-section--destinations .flip-card { height: 210px; aspect-ratio: auto; }
  .home-section--destinations .flip-card-face.front { flex-direction: column; }
  .home-section--destinations .flip-card-img { flex: 1 1 auto; height: auto; min-height: 0; }
  .home-section--destinations .flip-card-caption { flex: 0 0 auto; height: auto; padding: 10px 12px; gap: 2px; }
  .home-section--destinations .flip-card-caption h3 { font-size: 13px; gap: 6px; }
  .home-section--destinations .flip-card-caption::after { content: 'Explore More \2197'; font-size: 11px; }
}


/* ===== v13: hero carousel ===== */
.hero-carousel { --hc-dur: 6000ms; }
.hero-carousel .hc-stage { overflow: hidden; border-radius: 18px; }
.hero-carousel figure.hc-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateX(3%);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1), visibility 0s .9s;
  mix-blend-mode: normal;
}
.hero-carousel figure.hc-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hero-carousel .hc-slide img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; transform: scale(1); }
.hero-carousel .hc-slide.is-active img { animation: hcZoom calc(var(--hc-dur) + 1500ms) ease-out forwards; }
@keyframes hcZoom { from { transform: scale(1); } to { transform: scale(1.06); } }

/* Caption card slides up on the active slide */
.hc-caption {
  position: absolute; left: 14px; bottom: 14px; right: 14px; max-width: 78%;
  display: grid; gap: 2px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, .92);
  border-left: 4px solid var(--aurora-teal);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(36, 19, 103, .18);
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease .35s, transform .6s cubic-bezier(.2,.8,.2,1) .35s;
}
.hc-slide.is-active .hc-caption { opacity: 1; transform: none; }
.hc-caption span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aurora-teal-dark); }
.hc-caption strong { font-family: var(--font-serif); font-size: clamp(16px, 2vw, 20px); color: var(--polar-blue); line-height: 1.2; }

/* The teal dot drifts around the frame as slides change */
.hero-carousel .hc-ball { transition: top .9s cubic-bezier(.2,.8,.2,1), right .9s cubic-bezier(.2,.8,.2,1); z-index: 3; }

/* Arrows (desktop hover / keyboard) */
.hc-arrow {
  position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--polar-blue);
  font-size: 26px; line-height: 1; display: grid; place-items: center; padding: 0 0 3px;
  box-shadow: var(--shadow-md); opacity: 0; transition: opacity .25s, background .25s;
}
.hc-prev { left: 10px; } .hc-next { right: 10px; }
.hero-carousel:hover .hc-arrow, .hc-arrow:focus-visible { opacity: 1; }
.hc-arrow:hover { background: #fff; }
@media (hover: none) { .hc-arrow { display: none; } }

/* Progress dots */
.hc-dots button { position: relative; overflow: hidden; width: 9px; background: rgba(51, 29, 143, .22); transition: width .3s; }
.hc-dots button.is-active { width: 40px; background: rgba(51, 29, 143, .22); }
.hc-dots button.is-active::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--aurora-teal); transform-origin: left; transform: scaleX(0);
  animation: hcFill var(--hc-dur) linear forwards;
}
.hero-carousel.is-paused .hc-dots button.is-active::after { animation-play-state: paused; }
@keyframes hcFill { to { transform: scaleX(1); } }

@media (max-width: 600px) { .hc-caption { max-width: none; padding: 9px 14px; } .hc-caption span { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-carousel figure.hc-slide, .hc-caption { transition: opacity .3s; transform: none; }
  .hero-carousel .hc-slide.is-active img, .hc-dots button.is-active::after { animation: none; }
  .hc-dots button.is-active::after { transform: scaleX(1); }
}
.hero-carousel[data-slide="1"] .hc-ball { top: 5%; right: 76%; }
.hero-carousel[data-slide="2"] .hc-ball { top: 4%; right: 42%; }


/* ===== v14: circular hero carousel that blends into the page ===== */
.hero-grid { align-items: center; }
.hero-carousel {
  --hc-dur: 6000ms;
  width: min(100%, 500px);
  margin-inline: auto;
  padding: 0 0 8px;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
.hero-carousel .hc-stage {
  position: relative; aspect-ratio: 1 / 1; overflow: visible; border-radius: 0; background: none;
  margin: 28px;                /* room for the orbit ring */
  width: calc(100% - 56px);
}
/* Disc: tinted like the page, rings fade outward so there is no hard edge */
.hc-disc {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, #f1effa 55%, #e3f5f1 100%);
  box-shadow: 0 0 0 14px rgba(51, 29, 143, .05), 0 0 0 30px rgba(20, 184, 166, .06), 0 30px 60px -24px rgba(36, 19, 103, .28);
}
.hc-disc .hc-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; mix-blend-mode: multiply;
  transform: scale(1.02); transition: opacity 1s ease;
  animation: none;
}
.hc-disc .hc-slide.is-active { opacity: 1; animation: hcZoom calc(var(--hc-dur) + 1500ms) ease-out forwards; }

/* Orbit ring with the teal dot travelling around it */
.hc-orbit {
  position: absolute; inset: -30px; border-radius: 50%;
  border: 1.5px dashed rgba(51, 29, 143, .2);
  animation: hcSpin 30s linear infinite; pointer-events: none; z-index: 2;
}
.hc-orbit .hc-ball {
  position: absolute; top: -13px; left: calc(50% - 13px);
  width: 26px; height: 26px; aspect-ratio: auto; border-radius: 50%;
  background: var(--aurora-teal); box-shadow: 0 8px 18px rgba(20, 184, 166, .4);
  animation: none; right: auto;
}
@keyframes hcSpin { to { transform: rotate(360deg); } }
.hero-carousel .hc-ball { transition: none; }
.hero-carousel[data-slide] .hc-ball { top: -13px; right: auto; }

/* Caption sits centred on the bottom edge of the disc */
.hc-caps { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); width: max-content; max-width: 94%; display: grid; z-index: 3; }
.hero-carousel .hc-caps .hc-caption {
  grid-area: 1 / 1; position: static; max-width: none;
  text-align: center; justify-items: center; gap: 1px;
  padding: 11px 24px; border-left: 0; border-radius: 999px;
  background: #fff; box-shadow: 0 12px 30px rgba(36, 19, 103, .16);
  opacity: 0; transform: translateY(10px); transition: opacity .5s ease .25s, transform .5s ease .25s;
}
.hero-carousel .hc-caps .hc-caption.is-active { opacity: 1; transform: none; }
.hc-caps .hc-caption span { font-size: 11px; }
.hc-caps .hc-caption strong { font-size: clamp(15px, 1.8vw, 19px); }

.hero-carousel .hc-dots { margin-top: 54px; }
.hc-arrow { top: 50%; }
.hc-prev { left: -22px; } .hc-next { right: -22px; }

@media (max-width: 960px) { .hero-carousel { width: min(100%, 420px); } }
@media (max-width: 480px) {
  .hero-carousel .hc-stage { margin: 22px; width: calc(100% - 44px); }
  .hc-orbit { inset: -22px; }
  .hero-carousel .hc-caps .hc-caption { padding: 9px 16px; }
  .hc-prev { left: -10px; } .hc-next { right: -10px; }
}
@media (prefers-reduced-motion: reduce) { .hc-orbit { animation: none; } }


/* ===== v15: centre each picture's artwork inside the disc ===== */
.hc-disc .hc-slide { transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--s, 1)); transform-origin: 50% 50%; }
.hc-disc .hc-slide.is-active { animation-name: hcPush; }
@keyframes hcPush {
  from { transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--s, 1)); }
  to   { transform: translate(var(--tx, 0), var(--ty, 0)) scale(calc(var(--s, 1) * 1.05)); }
}
.hc-disc .hc-slide:nth-child(1) { --tx: -4.6%; --ty: -3.7%; --s: .92; }
.hc-disc .hc-slide:nth-child(2) { --tx: 0%;    --ty: 2.7%;  --s: .90; }
.hc-disc .hc-slide:nth-child(3) { --tx: 0%;    --ty: 0%;    --s: 1.04; }

/* v15b: caption sits just below the disc; smaller disc on phones */
.hc-caps { bottom: -38px; }
.hero-carousel .hc-dots { margin-top: 64px; }
@media (max-width: 600px) {
  .hero-carousel { width: min(100%, 340px); }
  .hero-carousel .hc-stage { margin: 20px; width: calc(100% - 40px); }
  .hc-orbit { inset: -20px; }
  .hc-orbit .hc-ball { width: 20px; height: 20px; top: -10px; left: calc(50% - 10px); }
  .hc-caps { bottom: -32px; }
  .hero-carousel .hc-dots { margin-top: 56px; }
  .hero-carousel .hc-caps .hc-caption { padding: 8px 14px; }
  .hc-caps .hc-caption strong { font-size: 14px; }
}

/* ===== v16: hero edge becomes the same wave as every other section ===== */
.hero { border-bottom: 0; }
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; z-index: 1;
  background: #ffffff; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C180 -4 360 -4 540 16S900 44 1080 20 1320 2 1440 18V40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C180 -4 360 -4 540 16S900 44 1080 20 1320 2 1440 18V40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* the strip behind the stats bar is white, so hero -> wave -> services reads as one clean transition */
.hero + .container { max-width: none; background: #ffffff; }
.home-page .home-section--services { box-shadow: none; }


/* ===== v14: WhatsApp chat button + eyebrow separator ===== */
.wa-btn { background: #25d366; border: 3px solid #fff; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); }
.wa-btn::after { background: #25d366; }
.wa-btn svg { width: 32px; height: 32px; display: block; }
.eyebrow .sep { color: #4B0082; margin: 0 2px; }
