/* ==========================================================================
   iQOverseas design system
   1. Tokens      2. Reset & base     3. Layout       4. Buttons & links
   5. Header      6. Hero & card      7. Sections     8. Components
   9. Forms      10. Footer          11. Utilities   12. Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Palette: sampled from the logo, letterhead and flyer. Contrast rules are in docs/website-plan.md */
  --teal-900: #00232A;
  --teal-700: #0B4A55;
  --link: #0E7C86;
  --aqua: #4FF3F3;
  --aqua-100: #E6FCFC;
  --orange: #FC7824;
  --orange-400: #FD9355;
  --white: #FFFFFF;
  --ink: var(--teal-900);
  --ink-soft: #3D575D;
  --line: #C3DBDD;
  --line-strong: #6F8C91;
  --error: #B42318;
  --error-100: #FBEAE7;
  --whatsapp: #1F8F4E;
  --whatsapp-dark: #187A41;

  --bg: var(--white);
  --text: var(--ink);
  --muted: var(--ink-soft);
  --accent: var(--link);
  --focus: var(--link);

  /* Type: Poppins throughout, a modular scale of 1.25 */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.4375rem;
  --step-3: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);
  --step-4: clamp(1.875rem, 1.45rem + 1.9vw, 2.75rem);
  --step-5: clamp(2.125rem, 1.5rem + 3vw, 3.5rem);

  /* Space: 4px base */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 24px 50px -24px rgba(0, 35, 42, .45);
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;
}

/* 2. Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: break-word; }
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) h4 { hyphens: auto; }
p { text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
address { font-style: normal; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
::selection { background: var(--aqua-100); color: var(--ink); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s-4); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tint { background: var(--aqua-100); }
.section--dark { --focus: var(--aqua); background: var(--teal-900); color: var(--white); }
.section--dark .section-title { color: var(--white); }

.section-head { max-width: 46rem; margin-bottom: var(--s-7); }
.section-head--row {
  max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--s-4);
}
.section-head--row > div { max-width: 46rem; }
.section-title { font-size: var(--step-4); color: var(--teal-900); }
.section-title + * { margin-top: var(--s-4); }
.section-lead { font-size: var(--step-1); color: var(--muted); max-width: 40rem; line-height: 1.5; }

.split { display: grid; gap: var(--s-7); }
.split__intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); }
.split__intro .section-lead { margin-top: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--s-8); }
  .split__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

.detail-layout { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-8); } }
.detail-aside { display: flex; flex-direction: column; gap: var(--s-5); }
@media (min-width: 960px) { .detail-aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }

.prose-split { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .prose-split { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-8); align-items: start; } }

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 46px; padding: 0.7rem 1.25rem;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--lg { min-height: 54px; padding: 0.85rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal-900); color: var(--white); }
.btn--primary:hover { background: var(--teal-700); }
.btn--action { background: var(--orange); color: var(--teal-900); }
.btn--action:hover { background: var(--orange-400); }
.btn--outline { border-color: var(--teal-900); color: var(--teal-900); background: transparent; }
.btn--outline:hover { background: var(--teal-900); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }

.text-link { display: inline-flex; align-items: center; gap: var(--s-1); font-weight: 600; color: var(--link); }
.text-link--light { color: var(--aqua); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); color: var(--teal-900);
}
.icon-btn:hover { border-color: var(--teal-900); }

/* 5. Header ---------------------------------------------------------------- */
.topbar { background: var(--aqua-100); color: var(--ink); font-size: var(--step--1); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__contact { display: flex; gap: var(--s-5); }
.topbar__contact a { display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar__end { display: flex; align-items: center; gap: var(--s-5); }
.topbar__link { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; }
.social { display: flex; gap: var(--s-1); }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.topbar .social a:hover { background: var(--line); }
.lang-switch { display: flex; gap: var(--s-1); }
.lang-switch a { display: grid; place-items: center; min-width: 32px; min-height: 32px; border-radius: var(--radius-sm); font-weight: 600; }
.topbar .lang-switch a:hover { background: var(--line); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--teal-900); color: var(--white); }
.topbar .lang-switch a[aria-current]:hover { background: var(--teal-900); }
@media (max-width: 900px) {
  .topbar__contact li:first-child, .topbar__link--wide { display: none; }
}
@media (max-width: 400px) {
  .topbar__link--about { display: none; }
}
@media (max-width: 480px) {
  .topbar .social { display: none; }
}

.site-header {
  --focus: var(--aqua);
  position: sticky; top: 0; z-index: 50;
  background: var(--teal-900); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(0,35,42,.7); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-3); min-height: var(--header-h); }
.brand { flex-shrink: 0; margin-right: auto; }
.brand img { height: 36px; width: auto; }
.site-header__book { flex-shrink: 0; white-space: nowrap; }

.nav-toggle {
  order: 3; display: inline-grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: var(--radius-sm); background: transparent; color: var(--white);
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav__link {
  display: flex; align-items: center; gap: var(--s-1);
  padding: .65rem .75rem; border-radius: var(--radius-sm);
  color: var(--white); font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.site-nav__link:hover { background: rgba(255,255,255,.1); }
.site-nav__link[aria-current="page"], .site-nav__toggle.is-current { color: var(--aqua); font-weight: 600; }
.site-nav__toggle { list-style: none; }
.site-nav__toggle::-webkit-details-marker { display: none; }
.site-nav__chevron { transition: transform .2s ease; }
.site-nav__menu[open] .site-nav__chevron { transform: rotate(180deg); }
.site-nav__submenu { list-style: none; padding: 0; }

/* Mobile navigation */
@media (max-width: 1279px) {
  .site-header__book { order: 2; }
  .site-nav {
    /* The header sits below the top bar until the page scrolls, so leave room for that at the bottom */
    position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--teal-900); padding: var(--s-4) var(--gutter) calc(var(--s-8) + 40px);
    display: none;
  }
  body.nav-open .site-nav { display: block; }
  body.nav-open { overflow: hidden; }
  .site-nav__list > li { border-bottom: 1px solid rgba(255,255,255,.14); }
  .site-nav__list > li > .site-nav__link, .site-nav__toggle { padding: 1rem 0; font-size: var(--step-1); justify-content: space-between; }
  .site-nav__link:hover { background: none; text-decoration: underline; }
  .site-nav__submenu { padding: 0 0 var(--s-3) var(--s-4); }
  .site-nav__submenu .site-nav__link { padding: .6rem 0; white-space: normal; }
}
@media (max-width: 400px) {
  .site-header__inner { gap: var(--s-2); }
  .brand img { height: 26px; }
  .site-header__book { min-height: 44px; padding: .55rem .8rem; font-size: .9375rem; }
  .nav-toggle { width: 44px; height: 44px; }
}

/* Without JavaScript the toggle can't work, so the menu sits open under the logo */
@media (max-width: 1279px) {
  .no-js .site-header { position: static; }
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: var(--s-3); }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: block; order: 4; position: static; width: 100%; height: auto; padding: 0; }
}

/* Desktop navigation */
@media (min-width: 1280px) {
  .nav-toggle { display: none; }
  .brand { margin-right: var(--s-3); }
  .site-nav { margin-right: auto; }
  .site-nav__list { display: flex; align-items: center; }
  .site-nav__link { padding-inline: .6rem; font-size: .9375rem; }
  .site-nav__menu { position: relative; }
  .site-nav__submenu {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 250px;
    background: var(--teal-900); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
    padding: var(--s-2); box-shadow: var(--shadow-card);
  }
}

/* 6. Hero & booking card --------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--aqua-100), var(--white));
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}
/* The sweeping curve from the flyer */
.hero::before {
  content: ""; position: absolute; left: -15%; right: -15%; bottom: -60%; height: 100%;
  border-radius: 50%; background: var(--aqua); opacity: .3; pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); } }

.hero__title { font-size: var(--step-5); letter-spacing: -0.02em; line-height: 1.1; max-width: 16ch; }
.hero__title::after { content: ""; display: block; width: 96px; height: 5px; margin-top: var(--s-5); border-radius: 3px; background: var(--orange); }
.hero__lead { font-size: var(--step-1); margin-top: var(--s-5); max-width: 36rem; color: var(--muted); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.booking-card {
  padding: clamp(1.25rem, 3vw, 2rem); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.booking-card__tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: var(--s-5); border-radius: 999px; background: var(--aqua-100); }
.booking-card__tab {
  flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: none;
  color: var(--ink); font-weight: 600;
}
.booking-card__tab:hover { background: var(--line); }
.booking-card__tab[aria-selected="true"] { background: var(--teal-900); color: var(--white); }
.booking-card__title { display: flex; align-items: center; gap: var(--s-3); font-size: var(--step-2); }
.booking-card__title svg { color: var(--link); }
.booking-card__panel p { color: var(--muted); margin-block: var(--s-3) var(--s-5); }
.booking-card__form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.booking-card__wide { grid-column: 1 / -1; }
.booking-card__form .field { min-width: 0; }
@media (max-width: 400px) { .booking-card__form { grid-template-columns: 1fr; } }
.booking-card__note { margin-top: var(--s-4); font-size: var(--step--1); text-align: center; color: var(--muted); }
/* Without JavaScript there are no tabs: all three choices show, one under another */
.no-js .booking-card__tabs { display: none; }
.no-js .booking-card__panel[hidden] { display: block; margin-top: var(--s-6); }

/* Inner page hero */
.page-hero { --focus: var(--aqua); background: var(--teal-900); color: var(--white); padding-block: var(--s-7) var(--s-8); }
.page-hero__title { font-size: var(--step-4); letter-spacing: -0.025em; max-width: 22ch; }
.page-hero__lead { font-size: var(--step-1); color: rgba(255,255,255,.86); margin-top: var(--s-4); max-width: 42rem; line-height: 1.5; }
.page-hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1fr auto; } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin-bottom: var(--s-5); font-size: var(--step--1); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: var(--s-2); opacity: .5; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb [aria-current] { color: var(--aqua); }

/* Visa-stamp mark on destination pages */
.stamp {
  display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%;
  border: 3px double var(--aqua); color: var(--aqua); transform: rotate(-12deg); justify-self: start;
}
.stamp__code { font-size: 3.4rem; line-height: 1; margin-top: 1.4rem; }
.stamp__text { font-weight: 700; font-size: .95rem; margin-top: -1.6rem; }
@media (max-width: 899px) { .stamp { display: none; } }

/* 7. Sections -------------------------------------------------------------- */
.package-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.package-card {
  display: flex; flex-direction: column; height: 100%; padding: var(--s-5);
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--aqua-100); color: var(--ink); text-decoration: none;
  transition: border-color .15s ease;
}
.package-card:hover { border-color: var(--teal-900); }
.package-card:hover .package-card__title { text-decoration: underline; text-underline-offset: .15em; }
.package-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--s-4);
  border-radius: 50%; background: var(--teal-900); color: var(--aqua);
}
.package-card__title { font-size: var(--step-1); }
.package-card__title svg { display: inline; vertical-align: baseline; }
.package-card__summary { margin-top: var(--s-2); color: var(--muted); font-size: .9375rem; }

/* How it works: travel and study side by side */
.routes { display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .routes { grid-template-columns: 1fr 1fr; } }
.route-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.route-card__title { display: flex; align-items: center; gap: var(--s-3); font-size: var(--step-2); margin-bottom: var(--s-5); }
.route-card__title svg { color: var(--link); }
.route-card .steps { margin-bottom: var(--s-5); }

/* Ordered steps: numbering is real here, the process is a sequence */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step; position: relative;
  padding: 0 0 var(--s-6) 4.25rem;
}
.step::before {
  content: counter(step); position: absolute; left: 0; top: -0.15rem;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--teal-900); color: var(--white); font-weight: 700; font-size: 1.1rem;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.375rem - 1px); top: 2.9rem; bottom: .3rem;
  border-left: 2px dashed var(--line);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { background: var(--orange); color: var(--teal-900); }
.step__title { font-size: var(--step-1); margin-bottom: var(--s-2); color: var(--teal-900); padding-top: .35rem; }
.step p { color: var(--muted); max-width: 36rem; }

/* Destinations */
.dest-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.dest__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden;
  transition: border-color .15s ease;
}
.dest__link:hover { border-color: var(--teal-900); }
.dest__link:hover .dest__name { text-decoration: underline; text-underline-offset: .15em; }
.dest__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); }
.dest__stamp {
  flex-shrink: 0;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--link); color: var(--link);
  font-size: 1.1rem;
}
.dest__name { font-size: var(--step-2); color: var(--teal-900); padding-top: .35rem; }
.dest__summary { color: var(--muted); margin-top: var(--s-3); flex-grow: 1; }
.dest__facts { display: flex; gap: var(--s-6); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--step--1); }
.dest__facts dt { color: var(--muted); }
.dest__facts dd { font-weight: 600; color: var(--ink); }

/* Stats band */
.stats-band { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .stats-band { grid-template-columns: 1fr 1.2fr; gap: var(--s-8); } }
.stats-band__lead { margin-block: var(--s-4) var(--s-5); color: rgba(255,255,255,.86); max-width: 34rem; }
.stats { display: grid; gap: var(--s-5); }
@media (min-width: 600px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { display: flex; flex-direction: column-reverse; gap: var(--s-2); }
.stat__label { color: rgba(255,255,255,.86); }
.stat__value { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--aqua); font-variant-numeric: tabular-nums; }

/* Visa and funds pages */
.visa-type { padding: var(--s-5); border-radius: var(--radius); background: var(--aqua-100); }
.info-split { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .info-split { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.info-split__lead { margin-block: var(--s-4) var(--s-5); color: var(--muted); }
.info-split .steps { margin-top: var(--s-5); }
.link-list { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); list-style: none; padding: 0; }
.link-list a { display: inline-flex; align-items: center; gap: var(--s-1); font-weight: 600; }
.faq { margin-top: var(--s-5); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question { padding-block: var(--s-4); font-weight: 600; cursor: pointer; }
.faq__item p { padding-bottom: var(--s-4); color: var(--muted); }

/* Support services */
.support-list { display: grid; gap: var(--s-6) var(--s-7); }
@media (min-width: 720px) { .support-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .support-list { grid-template-columns: repeat(3, 1fr); } }
.support-item { display: flex; gap: var(--s-4); }
.support-item__icon {
  flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--aqua-100); color: var(--teal-900);
}
.support-item__title { font-size: var(--step-1); margin-bottom: var(--s-2); color: var(--teal-900); }
.support-item p { color: var(--muted); }
.support-item__icon--on-tint { background: var(--teal-900); color: var(--aqua); }

/* Testimonials */
.quotes { margin-top: var(--s-6); }
.quotes__track { display: grid; }
.quote { grid-area: 1 / 1; max-width: 52rem; }
.quotes.is-ready .quote { visibility: hidden; opacity: 0; transition: opacity .35s ease; }
.quotes.is-ready .quote.is-active { visibility: visible; opacity: 1; }
.quote blockquote p {
  font-size: var(--step-3); line-height: 1.35; letter-spacing: -0.01em; color: var(--teal-900); font-weight: 500;
}
.quote blockquote p::before { content: "\201C"; color: var(--orange); margin-left: -.45em; }
.quote blockquote p::after { content: "\201D"; color: var(--orange); }
.quote figcaption { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.quote figcaption > span { display: flex; flex-direction: column; line-height: 1.4; }
.quote figcaption span span { color: var(--muted); font-size: var(--step--1); }
.quote__avatar {
  display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: var(--teal-900); color: var(--aqua); font-weight: 700; object-fit: cover;
}
.quotes__controls { display: flex; gap: var(--s-2); margin-top: var(--s-6); }
.quotes:not(.is-ready) .quotes__track { gap: var(--s-7); }
.quotes:not(.is-ready) .quote { grid-area: auto; }
.quotes:not(.is-ready) .quotes__controls { display: none; }

/* 8. Components ------------------------------------------------------------ */
.tour-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tour-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tour-card__photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tour-card__photo--empty { display: grid; place-items: center; background: var(--aqua-100); color: var(--link); }
.tour-card__body { display: flex; flex-direction: column; flex-grow: 1; gap: var(--s-3); padding: var(--s-5); }
.tour-card__title { font-size: var(--step-2); }
.tour-card__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); font-size: var(--step--1); }
.tour-card__facts dt { color: var(--muted); }
.tour-card__facts dd { font-weight: 600; }
.tour-card__summary { flex-grow: 1; color: var(--muted); }
.tour-card__title a { color: inherit; }
.tour-card__basis { font-size: var(--step--1); color: var(--muted); }
.tour-card__actions { display: grid; gap: var(--s-2); }

.tour-detail { display: grid; gap: var(--s-6); align-items: start; }
.tour-detail__main { min-width: 0; }
.tour-detail__photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.tour-detail__gallery { list-style: none; padding: 0; margin-top: var(--s-3); display: grid; gap: var(--s-3); grid-template-columns: repeat(3, 1fr); }
.tour-detail__gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.tour-detail__heading { margin-top: var(--s-6); font-size: var(--step-2); }
.tour-detail__main > .tour-detail__heading:first-child { margin-top: 0; }
.tour-detail__stays { list-style: none; padding: 0; margin-top: var(--s-3); }
.tour-detail__stays li { display: grid; gap: var(--s-1); padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.tour-detail__stays span { color: var(--muted); }
ul.tour-detail__list { margin-top: var(--s-3); padding-left: var(--s-5); display: grid; gap: var(--s-2); list-style: disc; }
.tour-detail__list--muted { color: var(--muted); font-size: var(--step--1); }

.tour-price { display: grid; gap: var(--s-2); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--aqua-100); }
.tour-price__label, .tour-price__basis, .tour-price__note { font-size: var(--step--1); color: var(--muted); }
.tour-price__amount { font-size: var(--step-3); font-weight: 700; line-height: 1.2; }
.tour-price__rows, .tour-price__facts { display: grid; gap: var(--s-2); margin-block: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--step--1); }
.tour-price__rows div { display: flex; justify-content: space-between; gap: var(--s-3); }
.tour-price__rows dd, .tour-price__facts dd { font-weight: 600; }
.tour-price__facts dt { color: var(--muted); }

@media (min-width: 60rem) {
  .tour-detail { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
  .tour-detail__aside { position: sticky; top: var(--s-5); }
}

.route-list { list-style: none; padding: 0; display: grid; gap: var(--s-2); margin-top: var(--s-3); }

.post-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; border-top: 3px solid var(--teal-900); padding-top: var(--s-4); }
.post-card__image { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: var(--s-4); }
.post-card__meta { display: flex; align-items: center; gap: var(--s-3); font-size: var(--step--1); color: var(--muted); }
.post-card__title { font-size: var(--step-1); margin-top: var(--s-3); line-height: 1.3; }
.post-card__title a { color: var(--teal-900); text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; }
.post-card__excerpt { color: var(--muted); margin-top: var(--s-2); }
.post-card__deadline { margin-top: var(--s-3); font-size: var(--step--1); font-weight: 600; color: var(--teal-700); }
.post-card__deadline.is-closed { color: var(--error); }
.tag { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-weight: 600; font-size: .8rem; background: var(--aqua-100); color: var(--teal-900); }
.tag--scholarship { background: var(--orange); color: var(--teal-900); }

.filter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.filter a {
  padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500;
}
.filter a:hover { border-color: var(--teal-900); }
.filter a[aria-current="page"] { background: var(--teal-900); border-color: var(--teal-900); color: var(--white); }

.pagination { display: flex; justify-content: center; align-items: center; gap: var(--s-5); margin-top: var(--s-7); }

.empty { padding: var(--s-7); border: 1.5px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty p { color: var(--muted); margin: var(--s-3) auto var(--s-5); max-width: 32rem; }

.fact-card { padding: var(--s-5); border-radius: var(--radius); background: var(--aqua-100); border: 1px solid var(--line); }
.fact-card__title { font-size: var(--step-1); margin-bottom: var(--s-4); color: var(--teal-900); }
.fact-card p { color: var(--muted); margin-bottom: var(--s-4); }
.fact-card dl { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.fact-card dl > div { display: flex; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.fact-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-card dt { color: var(--muted); }
.fact-card dd { font-weight: 600; text-align: right; }
.prose-split .fact-card dl { margin-bottom: 0; }

.aside-list__title { font-size: var(--step-0); margin-bottom: var(--s-3); }
.aside-list ul { padding-left: 1.1rem; display: grid; gap: var(--s-2); }

.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-3); color: var(--teal-900); margin-top: var(--s-7); margin-bottom: var(--s-4); }
.prose > h2:first-child, .prose > .post-card__meta + h2 { margin-top: 0; }
.prose p + p { margin-top: var(--s-4); }
.prose ul { margin-top: var(--s-3); padding-left: 1.25rem; display: grid; gap: var(--s-1); }
.prose address { margin-top: var(--s-3); }
.prose__image { border-radius: var(--radius); margin-bottom: var(--s-6); }
.prose .post-card__meta { margin-bottom: var(--s-5); }

.ticks { display: grid; gap: var(--s-3); }
.ticks li { display: flex; gap: var(--s-3); align-items: flex-start; }
.ticks svg { flex-shrink: 0; margin-top: .2rem; color: var(--teal-700); }

.values { display: grid; gap: var(--s-6); }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); } }
.values__title { font-size: var(--step-2); color: var(--teal-900); margin-bottom: var(--s-3); }
.values p { color: var(--muted); }

.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-bottom: var(--s-6); }
.segmented button { border: 0; background: none; padding: .55rem 1.2rem; border-radius: 999px; font-weight: 600; color: var(--muted); }
@media (max-width: 400px) { .segmented button { padding: .5rem .7rem; font-size: .9rem; } }
.segmented { max-width: 100%; }
.segmented button[aria-selected="true"] { background: var(--teal-900); color: var(--white); }
.checklist { display: grid; gap: var(--s-3); max-width: 52rem; counter-reset: doc; }
.checklist li {
  position: relative; padding: var(--s-4) var(--s-4) var(--s-4) 3.25rem;
  background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.checklist li::before {
  content: ""; position: absolute; left: var(--s-4); top: 1.2rem; width: 18px; height: 18px;
  border: 2px solid var(--teal-700); border-radius: 3px;
}
.note { margin-top: var(--s-5); color: var(--muted); font-size: var(--step--1); max-width: 48rem; }
.notice { padding: var(--s-3) var(--s-4); border-left: 4px solid var(--error); background: var(--error-100); margin-bottom: var(--s-5); font-weight: 600; }
.notice--open { border-color: var(--teal-700); background: var(--aqua-100); }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-top: var(--s-5); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare--fit { min-width: 0; }
@media (max-width: 480px) { .compare--fit th, .compare--fit td { padding: var(--s-3) var(--s-2); overflow-wrap: anywhere; } }
.compare th, .compare td { text-align: left; padding: var(--s-4); border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: var(--step--1); color: var(--muted); font-weight: 600; background: var(--aqua-100); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th a { font-weight: 700; }

.chip-list { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-3); padding: .5rem 1rem .5rem .5rem;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600;
}
.chip:hover { border-color: var(--teal-900); }
.chip__code { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-900); color: var(--aqua); font-size: .8rem; }

.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.cta-inline__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cta-inline .section-title { margin: 0; }

.messages { padding-top: var(--s-5); }
.message { padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); background: var(--aqua-100); color: var(--teal-900); font-weight: 600; }
.message--error { background: var(--error-100); color: var(--error); }

.thanks { max-width: 40rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); padding-block: var(--s-7); }
.thanks .page-hero__title { color: var(--teal-900); max-width: none; }
.thanks p { color: var(--muted); font-size: var(--step-1); }
.thanks .hero__actions { justify-content: center; }
.thanks__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--teal-900); color: var(--aqua); }

.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.whatsapp-fab:hover { background: var(--whatsapp-dark); }

/* 9. Forms ----------------------------------------------------------------- */
.form-layout { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-8); align-items: start; } }
.form-card { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.form-card__title { font-size: var(--step-2); color: var(--teal-900); margin-bottom: var(--s-5); }
.form__grid { display: grid; gap: var(--s-5); margin-bottom: var(--s-6); }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field[hidden] { display: none; }
.field label { font-weight: 600; }
.field__optional { color: var(--muted); font-weight: 400; }
.field__help { color: var(--muted); font-size: var(--step--1); margin-top: -.25rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300232A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-900); box-shadow: 0 0 0 3px rgba(0,35,42,.18); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: var(--step--1); font-weight: 600; }
.field--check label { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 400; }
.field--check input { width: 20px; height: 20px; margin-top: .2rem; flex-shrink: 0; accent-color: var(--teal-900); }
.form__errors { padding: var(--s-4); margin-bottom: var(--s-5); border-radius: var(--radius-sm); background: var(--error-100); color: var(--error); font-weight: 600; }
.form__note { margin-bottom: var(--s-4); color: var(--muted); font-size: var(--step--1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside { display: flex; flex-direction: column; gap: var(--s-5); }
.contact-block { padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.contact-block__title { display: flex; align-items: center; gap: var(--s-2); font-size: var(--step-0); margin-bottom: var(--s-2); color: var(--teal-900); }
.contact-block__title svg { color: var(--link); }
.contact-block p + p { margin-top: var(--s-1); }
.plain-list { padding-left: 1.2rem; display: grid; gap: var(--s-1); color: var(--muted); }
.plain-list--numbered { list-style: decimal; }
.muted { color: var(--muted); }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { --focus: var(--aqua); background: var(--teal-900); color: rgba(255,255,255,.78); padding-top: var(--s-8); font-size: var(--step--1); }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: var(--aqua); text-decoration: underline; }
.site-footer .social a:hover { background: rgba(255,255,255,.1); }
.footer-cta {
  display: grid; gap: var(--s-5); align-items: center;
  padding-bottom: var(--s-7); margin-bottom: var(--s-7); border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1fr auto; } }
.footer-cta__title { font-size: var(--step-3); color: var(--white); }
.footer-cta p { font-size: var(--step-0); margin-top: var(--s-2); }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.footer-cta__actions .btn { color: var(--white); }
.footer-cta__actions .btn--action, .footer-cta__actions .btn--action:hover { color: var(--teal-900); text-decoration: none; }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-col--brand img { height: 40px; width: auto; margin-bottom: var(--s-4); }
.footer-col--brand p { max-width: 22rem; }
.footer-col__title { font-size: var(--step-0); color: var(--white); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.footer-col address { margin-bottom: var(--s-4); }
.footer-col address strong { display: block; color: var(--white); }
.footer-col .social--footer { display: flex; margin-top: var(--s-4); }
.social--footer a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); }
.footer-base__links { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-6); padding-right: 72px; /* Clears the WhatsApp button */ margin-top: var(--s-7); border-top: 1px solid rgba(255,255,255,.14); }

/* 11. Utilities ------------------------------------------------------------ */
.icon { flex-shrink: 0; }

/* 12. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .site-footer, .whatsapp-fab, .hero__actions { display: none !important; }
  .hero, .page-hero, .section--dark { background: none; color: var(--ink); }
}
