/* ==========================================================================
   Smart Study Abroad — site.css
   Single stylesheet for every public page. See context/DESIGN.md.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand (from the existing project palette) */
  --brand: #9f0808;
  --brand-600: #870606;
  --brand-700: #6c0505;
  --brand-100: #f5dad7;
  --brand-50: #fbeeec;
  --logo-red: #d5001c;

  /* Warm neutrals — one gray family, tinted toward the brand */
  --ink: #1b1212;
  --ink-2: #3b2f2f;
  --muted: #6d6161;
  --line: #eadfdc;
  --line-strong: #d9c8c4;
  --canvas: #fbf8f6;
  --canvas-2: #f4ede9;
  --surface: #ffffff;

  /* Functional */
  --ok: #17794f;
  --err: #b3261e;
  --gold: #c9871a;

  /* Type */
  /* Previous fonts (kept for reuse in other projects / the business brand):
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", serif;   (italic accent, weight 400)
  */
  --font-sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Young Serif", "Iowan Old Style", "Palatino Linotype", serif;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  /* Elevation — shadows tinted with the brand hue */
  --shadow-sm: 0 1px 2px rgba(60, 12, 12, .06), 0 2px 8px rgba(60, 12, 12, .04);
  --shadow-md: 0 8px 24px -6px rgba(60, 12, 12, .14), 0 2px 6px rgba(60, 12, 12, .05);
  --shadow-lg: 0 24px 48px -12px rgba(60, 12, 12, .22);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);

  /* Layout */
  --container: 1440px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 100px;
  --topbar-h: 36px;

  /* z-index scale */
  --z-header: 50;
  --z-nav: 60;
  --z-float: 40;
  --z-toast: 90;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.025em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { text-wrap: pretty; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: normal; letter-spacing: -.02em; color: var(--brand); }
h1 .serif, h2 .serif { font-size: .96em; line-height: 1; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tint { background: var(--canvas-2); }
.section--flush-top { padding-top: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section-head { display: grid; gap: .25rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 720px; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.section-head p { color: var(--muted); max-width: 58ch; margin: 0; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font-weight: 700; font-size: .98rem; letter-spacing: -.005em; line-height: 1;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  transition: transform .35s var(--spring), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn:hover { --btn-bg: var(--brand-600); --btn-bd: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(159, 8, 8, .55); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn i { font-size: .85em; transition: transform .35s var(--spring); }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-arrow-up-right { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); color: #fff; box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--brand-50); --btn-bd: var(--brand-50); color: var(--brand-600); box-shadow: none; }
.btn--sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .9rem; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--brand); }
.link-arrow i { transition: transform .3s var(--spring); font-size: .8em; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- 4. Header ---------- */
.topbar {
  background: var(--ink); color: #e9dcd8; font-size: .82rem;
  height: var(--topbar-h); overflow: hidden;
  transition: height .35s var(--ease);
}
.topbar .container { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.topbar a { color: #e9dcd8; display: inline-flex; align-items: center; gap: .5rem; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar i { color: #ff9a92; font-size: .8rem; }
.topbar__contact { display: flex; gap: 1.6rem; flex-wrap: nowrap; }
.topbar__social { display: flex; gap: .3rem; }
.topbar__social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; }
.topbar__social a:hover { background: rgba(255, 255, 255, .1); }
.topbar__social i { color: inherit; font-size: .9rem; }

.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(251, 248, 246, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(60, 12, 12, .3); background: rgba(255, 255, 255, .92); }
.header__bar { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }

/* The logo file has ~10% empty margin; negative margin keeps the bar slim while the mark stays large. */
.brand { display: flex; align-items: center; flex: none; height: var(--header-h); }
.brand img { height: 92px; width: auto; margin-block: -12px; transition: transform .4s var(--spring); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }

.nav { margin-inline: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .95rem;
  font-size: .94rem; font-weight: 600; color: var(--ink-2); border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); transform: translateX(-50%) scale(0); transition: transform .35s var(--spring);
}
.nav__link:hover { color: var(--brand); background: var(--brand-50); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.nav-toggle {
  display: none; width: 48px; height: 48px; margin-left: auto; border: 1.5px solid var(--line-strong);
  background: var(--surface); border-radius: 50%; align-items: center; justify-content: center; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), background-color .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.nav__mobile-foot { display: none; }

@media (max-width: 960px) {
  /* backdrop-filter would make the header the containing block of the fixed menu and clip it, so no blur here. */
  .header, .header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--canvas); }
  .header.is-scrolled { background: #fff; }
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; height: calc(100dvh - var(--header-h)); z-index: var(--z-nav); margin: 0;
    background: var(--canvas); padding: 1.25rem var(--gutter) 2rem; overflow-y: auto;
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; padding: 1rem .25rem; border-radius: 0; min-height: 60px; }
  .nav__link:hover { background: none; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"]::before { content: ""; position: absolute; left: -10px; top: 50%; width: 4px; height: 24px; margin-top: -12px; background: var(--brand); border-radius: 2px; }
  .nav__mobile-foot { display: grid; gap: 1rem; margin-top: 2rem; }
  .nav__mobile-foot a:not(.btn) { display: flex; align-items: center; gap: .75rem; color: var(--ink); font-weight: 600; }
  .nav__mobile-foot a:not(.btn) i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-size: .85rem; }
}

/* ---------- 5. Scroll reveal ---------- */
@keyframes reveal-in { from { opacity: .4; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal-in linear both; animation-timeline: view(); animation-range: entry 0px entry 120px; }
}

/* ---------- 6. Home: hero ---------- */
.hero { position: relative; padding-block: clamp(1.5rem, 4vh, 4rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--brand-100), transparent 70%); opacity: .8; pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, min(4.9vw, 9.2vh), 4.75rem); margin-bottom: clamp(.8rem, 2.4vh, 1.4rem); }
.hero h1 .inline-img {
  display: inline-block; width: 1.5em; height: .82em; vertical-align: -.06em; margin-inline: .08em;
  border-radius: 999px; object-fit: cover; box-shadow: var(--shadow-md);
}
.hero .lead { margin-bottom: clamp(1.1rem, 3.2vh, 2rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.hero__visual { position: relative; }
.hero__frame {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 240px 240px var(--r-xl) var(--r-xl); overflow: hidden;
  background: var(--brand-100); box-shadow: var(--shadow-lg);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__badge {
  position: absolute; left: -1.5rem; bottom: 2.2rem; display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.2rem .85rem .85rem; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.hero__badge i { width: 44px; height: 44px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 50%; }
.hero__badge strong { display: block; color: var(--ink); line-height: 1.2; font-size: .95rem; }
.hero__badge small { color: var(--muted); font-size: .8rem; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Desktop: the whole hero (headline, CTA, photo) must fit in the first viewport, even on 1366x600 laptops. */
@media (min-width: 901px) {
  .hero { min-height: max(470px, min(calc(100svh - var(--header-h) - var(--topbar-h)), 820px)); display: flex; align-items: center; }
  .hero__grid { width: 100%; }
  .hero__frame { aspect-ratio: 4 / 4.5; width: auto; max-width: 100%; height: clamp(330px, calc(100svh - var(--header-h) - var(--topbar-h) - 56px), 680px); margin-left: auto; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .hero__badge { left: 1rem; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); background: var(--surface); }
.stat { padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .5em; color: var(--brand); top: -.55em; margin-left: 2px; }
.stat__label { margin: .5rem 0 0; font-size: .92rem; color: var(--muted); font-weight: 500; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- 7. Home: destinations (bento) ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; }
.dest {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--r-lg);
  background: var(--brand-100); color: #fff; isolation: isolate;
}
.dest:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.dest:nth-child(6) { grid-column: span 2; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(27, 12, 12, .78), rgba(27, 12, 12, 0) 60%); transition: opacity .4s; }
.dest__name { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.2rem 1.3rem; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.dest:nth-child(1) .dest__name { font-size: 1.6rem; padding: 1.8rem; }
.dest__name i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .8rem; transition: transform .4s var(--spring), background-color .3s; }
.dest:hover { color: #fff; }
.dest:hover img { transform: scale(1.07); }
.dest:hover .dest__name i { background: var(--brand); transform: rotate(-45deg); }
@media (max-width: 960px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .dest:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .dest:nth-child(6) { grid-column: span 1; }
  .dest:last-child { grid-column: span 2; }
}

/* ---------- 8. Course list (home) ---------- */
.course-list { list-style: none; border-top: 1px solid var(--line-strong); }
.course-row {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1.1fr) minmax(0, 1.5fr) auto; align-items: center; gap: 1.5rem;
  padding: 1.6rem .5rem; border-bottom: 1px solid var(--line-strong); color: inherit;
  transition: background-color .3s, padding .4s var(--ease);
}
.course-row:hover { background: var(--surface); padding-inline: 1.25rem; color: inherit; }
.course-row__n { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; font-size: .95rem; }
.course-row h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.course-row small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; letter-spacing: .02em; margin-top: .2rem; }
.course-row p { margin: 0; color: var(--muted); font-size: .96rem; max-width: 52ch; }
.course-row__go { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--ink); transition: all .4s var(--spring); }
.course-row:hover .course-row__go { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }
@media (max-width: 760px) {
  .course-row { grid-template-columns: 2.2rem 1fr auto; gap: .75rem 1rem; }
  .course-row p { grid-column: 2 / 3; grid-row: 2; }
  .course-row__go { grid-row: 1 / span 2; grid-column: 3; }
}

/* ---------- 9. Split feature (coaching, subscribe) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.split__media::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 2px solid var(--brand-100); border-radius: var(--r-xl); z-index: -1; }
.split__body p { color: var(--muted); }
.split__body .btn { margin-top: 1rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- 10. Loading & empty states ---------- */
.skeleton { background: linear-gradient(100deg, var(--canvas-2) 30%, #fff 50%, var(--canvas-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--r-md); }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton--card { height: 340px; }
.empty {
  grid-column: 1 / -1; display: grid; justify-items: center; gap: .6rem; text-align: center; padding: 3rem 1.5rem;
  border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted);
}
.empty i { font-size: 1.6rem; color: var(--brand); }
.empty strong { color: var(--ink); font-size: 1.05rem; }
.empty p { margin: 0; max-width: 40ch; }

/* ---------- 11. Testimonials ---------- */
.reviews { columns: 3 320px; column-gap: 1.1rem; }
.review {
  break-inside: avoid; margin: 0 0 1.1rem; padding: 1.7rem; background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); display: grid; gap: 1.2rem; transition: transform .5s var(--ease), box-shadow .4s;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review--feature { background: var(--ink); color: #eadfdc; }
.review.review--feature blockquote { color: #fff; font-size: 1.3rem; }
.review--feature .review__who strong { color: #fff; }
.review--feature .review__who small { color: #c9b5b0; }
.review__stars { color: var(--gold); letter-spacing: .12em; font-size: .9rem; }
.review blockquote { margin: 0; font-size: 1.04rem; color: var(--ink); line-height: 1.55; letter-spacing: -.01em; }
.review__who { display: flex; align-items: center; gap: .85rem; }
.review__who img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; }
.review__who strong { display: block; color: var(--ink); line-height: 1.2; }
.review__who small { color: var(--muted); font-size: .84rem; }

/* ---------- 12. FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; cursor: pointer;
  padding: 1.35rem .25rem; font-weight: 700; font-size: 1.08rem; color: var(--ink); letter-spacing: -.015em; min-height: 64px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--line-strong); font-size: 1.3rem; font-weight: 400; line-height: 1; transition: transform .4s var(--spring), background-color .3s, color .3s, border-color .3s;
}
.faq summary:hover { color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(180deg); }
.faq__body { padding: 0 3rem 1.6rem .25rem; color: var(--muted); animation: faq-in .45s var(--ease); }
.faq__body ul { margin: 0 0 1em 1.2rem; }
.faq__body li { margin-bottom: .3rem; }
.faq__body p:last-child { margin: 0; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__intro { position: static; } .faq__body { padding-right: .25rem; } }

/* ---------- 13. CTA panel & subscribe ---------- */
.panel {
  position: relative; overflow: hidden; isolation: isolate; color: #f4e6e3;
  background: radial-gradient(120% 140% at 0% 0%, #b30a0a 0%, var(--brand) 38%, var(--brand-700) 100%);
  border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 4.5rem);
}
.panel::before, .panel::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.panel::before { width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent); }
.panel::after { inset: 0; border-radius: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.panel h2, .panel h3 { color: #fff; }
.panel .eyebrow { color: #ffd0cb; }
.panel .serif { color: #ffd0cb; }
.subscribe { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.subscribe p { color: #f0d6d2; max-width: 46ch; }
.subscribe__form { display: flex; gap: .5rem; padding: .45rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.subscribe__form input { flex: 1; min-width: 0; padding: 0 1.1rem; border: 0; background: transparent; color: #fff; outline: none; }
.subscribe__form input::placeholder { color: #e6bcb7; }
.subscribe__form:focus-within { border-color: #fff; }
@media (max-width: 860px) { .subscribe { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .subscribe__form { flex-direction: column; border-radius: var(--r-lg); } .subscribe__form input { min-height: 48px; } }

/* ---------- 14. Footer ---------- */
.footer { background: var(--ink); color: #cdbcb8; margin-top: 0; position: relative; }
.footer a { color: #cdbcb8; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__main { display: grid; grid-template-columns: 1.5fr .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.footer__logo { display: inline-block; background: #fff; padding: .35rem .8rem; border-radius: var(--r-md); margin-bottom: 1.3rem; }
.footer__logo img { height: 96px; width: auto; }
.footer__about p { max-width: 38ch; color: #b9a6a2; }
.footer h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; font-weight: 700; }
.footer__list { list-style: none; display: grid; gap: .35rem; }
.footer__list a { display: inline-flex; min-height: 34px; align-items: center; }
.footer__contact { list-style: none; display: grid; gap: 1rem; }
.footer__contact li { display: flex; gap: .85rem; align-items: flex-start; line-height: 1.5; }
.footer__contact i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #ff9a92; font-size: .8rem; margin-top: -3px; }
.social { display: flex; gap: .5rem; margin-top: 1.4rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: all .35s var(--spring); }
.social a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 2rem; padding-block: 1.3rem; font-size: .88rem; color: #a89490; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.footer__legal a { color: #cdbcb8; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 4px; }
@media (max-width: 860px) { .footer__main { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__main { grid-template-columns: 1fr; } }

.whatsapp {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: var(--z-float); width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: #1fa855; color: #fff; font-size: 1.7rem; box-shadow: 0 10px 24px -6px rgba(20, 120, 60, .55);
  transition: transform .4s var(--spring);
}
.whatsapp:hover { color: #fff; transform: scale(1.1) rotate(-6deg); }
.whatsapp:active { transform: scale(.95); }

/* ---------- 15. Inner page hero ---------- */
.page-hero { padding-top: clamp(1.25rem, 3vw, 2rem); }
.page-hero__panel {
  position: relative; overflow: hidden; isolation: isolate; color: #f4e6e3; border-radius: var(--r-xl);
  padding: clamp(1.4rem, 4.5vh, 3.5rem) clamp(1.5rem, 5vw, 4rem);
  background: radial-gradient(110% 160% at 100% 0%, #b30a0a 0%, var(--brand) 40%, var(--brand-700) 100%);
}
.page-hero__panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-hero__panel::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; bottom: -280px; border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, .06);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; margin-bottom: clamp(.6rem, 2vh, 1.4rem); list-style: none; }
.crumbs a { color: #ffd0cb; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, min(4.4vw, 7vh), 3.6rem); margin-bottom: .5rem; }
.page-hero p { max-width: 58ch; color: #f0d6d2; font-size: 1.1rem; margin: 0; }
.page-hero .serif { color: #ffd0cb; }

/* ---------- 16. Study visa ---------- */
.chips-bar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(251, 248, 246, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding-block: .8rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1.1rem; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); background: var(--surface); transition: all .25s; }
.chip:hover, .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.visa { padding-block: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.visa:last-of-type { border-bottom: 0; }
.visa__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.visa--flip .visa__media { order: 2; }
.visa__media img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); background: var(--brand-100); }
.visa__n { font-family: var(--font-serif); font-style: normal; font-size: 1.1rem; color: var(--brand); }
.visa__body > p { color: var(--muted); max-width: 56ch; }
.checklist { list-style: none; display: grid; gap: .1rem; margin: 1.6rem 0 2rem; border-top: 1px solid var(--line-strong); }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.checklist i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-size: .7rem; margin-top: 1px; }
.visa__cta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
@media (max-width: 860px) { .visa__grid { grid-template-columns: 1fr; } .visa--flip .visa__media { order: 0; } }

.agent { display: flex; align-items: center; gap: .8rem; }
.agent i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.agent small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.2; }
.agent a { font-weight: 700; color: var(--ink); }

/* ---------- 17. Courses ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.badge { position: absolute; left: 1rem; top: 1rem; padding: .35rem .75rem; border-radius: 8px; background: rgba(255, 255, 255, .95); color: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.card__body h3 { margin-bottom: .6rem; }
.card__body p { color: var(--muted); font-size: .96rem; flex: 1; }
.card__body .btn { align-self: flex-start; margin-top: .4rem; }

/* ---------- 18. Team ---------- */
.team { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.4rem; align-items: end; }
.member { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--brand-100); aspect-ratio: 3 / 4; isolation: isolate; box-shadow: var(--shadow-md); }
.member:first-child { aspect-ratio: 3 / 4.5; }
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: -2; transition: transform 1s var(--ease); }
.member::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(27, 12, 12, .88), rgba(27, 12, 12, 0) 55%); }
.member:hover img { transform: scale(1.05); }
.member__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; color: #fff; }
.member__info h2 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin: 0 0 .25rem; }
.member__info p { margin: 0; color: #ffd0cb; font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) {
  .team { grid-template-columns: 1fr 1fr; }
  .member:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3.6; }
}
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } .member, .member:first-child { aspect-ratio: 4 / 4.4; } }

/* ---------- 19. Branches ---------- */
.branch { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.branch__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.branch__info { padding: clamp(1.8rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.branch__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 8px; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: .78rem; letter-spacing: .04em; margin-bottom: 1rem; }
.contact-lines { list-style: none; display: grid; gap: 1.1rem; margin: 1.5rem 0 1.8rem; }
.contact-lines li { display: flex; gap: .9rem; align-items: flex-start; line-height: 1.5; color: var(--ink); font-weight: 500; }
.contact-lines i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-size: .85rem; margin-top: -4px; }
.contact-lines a { color: var(--ink); overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--brand); }
.contact-lines small { display: block; color: var(--muted); font-weight: 500; }
.social--light a { border-color: var(--line-strong); color: var(--ink); }
.social--light { margin-top: 0; }
@media (max-width: 900px) { .branch { grid-template-columns: 1fr; } .branch__map iframe { min-height: 320px; } }

/* ---------- 20. Blog ---------- */
.search { display: flex; gap: .5rem; max-width: 620px; padding: .45rem; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.search i { align-self: center; margin-left: 1rem; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 0 .5rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.6rem; margin-top: 2.2rem; }
.post { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .4s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: inherit; }
.post__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-100); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.post__body h3 { margin-bottom: .6rem; font-size: 1.2rem; line-height: 1.25; }
.post__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post__meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .85rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.post__meta .link-arrow { font-size: .88rem; }

.article-wrap { max-width: 820px; margin-inline: auto; }
.article__head { padding-block: clamp(1.5rem, 4vw, 3rem) 1.5rem; }
.article__cat { display: inline-block; padding: .35rem .8rem; border-radius: 8px; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: .78rem; letter-spacing: .04em; margin-bottom: 1.1rem; }
.article__head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.article__meta { color: var(--muted); font-size: .92rem; }
.article__cover { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-md); margin-block: 1rem 2.5rem; }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r-md); margin-block: 1.5rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin-inline: 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--brand); color: var(--ink); font-size: 1.15rem; }
.article__foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }

/* ---------- 21. Forms (apply + enroll) ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; }
.aside-card { background: var(--surface); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 1.1rem; }
.aside-card--dark { background: var(--ink); color: #cdbcb8; }
.aside-card--dark h3 { color: #fff; }
.aside-card--dark .contact-lines li, .aside-card--dark .contact-lines a { color: #fff; }
.aside-card--dark .contact-lines i { background: rgba(255, 255, 255, .08); color: #ff9a92; }
.aside-card .contact-lines { margin: 0; gap: .9rem; }
.perks { list-style: none; display: grid; gap: .9rem; }
.perks li { display: flex; gap: .8rem; align-items: center; font-weight: 600; color: var(--ink); }
.perks i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-50); color: var(--brand); font-size: .85rem; }

.form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(1.4rem, 4vw, 3rem); box-shadow: var(--shadow-md); }
.form-card > header { margin-bottom: 1.8rem; }
.form-card > header h2 { margin-bottom: .3rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.form-card > header p { color: var(--muted); margin: 0; }
.tabs { display: inline-flex; padding: .35rem; gap: .25rem; background: var(--canvas-2); border-radius: 999px; margin-bottom: 2rem; }
.tab { border: 0; background: transparent; padding: .65rem 1.4rem; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: all .3s var(--ease); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
.fieldset { border: 0; margin: 0 0 2.4rem; padding: 0; min-width: 0; }
.fieldset__title { display: flex; align-items: center; gap: .8rem; width: 100%; padding: 0 0 1rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.fieldset__title i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-50); color: var(--brand); font-size: .9rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.25rem; }
.field { display: grid; gap: .45rem; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--brand); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; background: var(--canvas); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236d6161' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.input::placeholder, .textarea::placeholder { color: #7a6d69; }
.input:hover, .select:hover, .textarea:hover { border-color: #c2aea9; }
.input:focus, .select:focus, .textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.input:user-invalid, .select:user-invalid { border-color: var(--err); }
.input:user-invalid:focus { box-shadow: 0 0 0 4px #fbe4e2; }
.phone { display: grid; grid-template-columns: 96px 1fr; gap: .5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .55rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1.1rem; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--canvas); font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: all .25s; }
.choice:hover span { border-color: var(--brand); }
.choice input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; }
.repeat { position: relative; padding: 1.4rem; margin-bottom: 1rem; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-md); }
.repeat__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: 700; color: var(--ink); }
.repeat__remove { border: 0; background: none; color: var(--err); font-weight: 600; font-size: .88rem; padding: .4rem .7rem; border-radius: 8px; min-height: 36px; }
.repeat__remove:hover { background: #fbe4e2; }
.add-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .55rem 1.1rem; border: 1.5px dashed var(--line-strong); border-radius: 999px; background: none; font-weight: 700; font-size: .9rem; color: var(--brand); transition: all .25s; }
.add-btn:hover { border-color: var(--brand); background: var(--brand-50); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-submit small { color: var(--muted); max-width: 40ch; }

.dropzone { position: relative; display: grid; justify-items: center; gap: .3rem; text-align: center; padding: 2rem 1.2rem; border: 2px dashed var(--line-strong); border-radius: var(--r-md); background: var(--canvas); cursor: pointer; transition: all .25s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--brand); background: var(--brand-50); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone i { font-size: 1.8rem; color: var(--brand); }
.dropzone strong { color: var(--ink); }
.dropzone small { color: var(--muted); }
.dropzone .file-name { margin-top: .4rem; font-weight: 700; color: var(--brand); word-break: break-all; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } .form-aside { position: static; order: 2; } }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

/* ---------- 22. Legal pages ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: .1rem; padding-left: 1.2rem; border-left: 2px solid var(--line); }
.toc__title { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.toc a { display: block; padding: .4rem 0; color: var(--muted); font-weight: 600; font-size: .94rem; }
.toc a:hover { color: var(--brand); }
.legal__body { max-width: 72ch; }
.legal__body section { padding-bottom: 2.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.legal__body section:last-child { border-bottom: 0; }
.legal__body h2 { font-size: 1.6rem; display: flex; align-items: baseline; gap: .8rem; }
.legal__body h2 span { font-family: var(--font-serif); font-style: normal; font-weight: 400; color: var(--brand); font-size: 1.1em; }
.legal__body ul { margin: 0 0 1em 1.3rem; }
.legal__body li { margin-bottom: .55rem; }
.legal__body li strong { color: var(--ink); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .toc { position: static; border-left: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; } .toc__title { width: 100%; } .toc a { padding: .45rem .9rem; border: 1.5px solid var(--line-strong); border-radius: 999px; } }

/* ---------- 23. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: var(--z-toast); max-width: min(92vw, 460px); display: flex; gap: .75rem; align-items: center;
  padding: .95rem 1.3rem; border-radius: var(--r-md); background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%); transition: transform .5s var(--spring);
}
.toast.is-show { transform: translate(-50%, 0); }
.toast i { font-size: 1.1rem; }
.toast--ok i { color: #6be3a4; }
.toast--err i { color: #ff9a92; }

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


/* ---------- 25. Wide screens (container is 1440px) ---------- */
@media (min-width: 1440px) {
  h1 { font-size: clamp(3.6rem, 4.4vw, 5rem); }
  h2 { font-size: clamp(2.4rem, 3vw, 3.1rem); }
  .lead { font-size: 1.25rem; max-width: 62ch; }
  .hero__grid { gap: 6rem; }
  .hero__frame { max-width: 620px; margin-left: auto; }
  .dest-grid { grid-auto-rows: 250px; gap: 1.25rem; }
  .dest:nth-child(1) .dest__name { font-size: 2rem; }
  .stat__num { font-size: 4rem; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(4, 1fr); }
  .team { gap: 2rem; }
  .visa__grid { gap: 7rem; }
  .footer__main { gap: 6rem; }
  .form-shell { grid-template-columns: minmax(0, 1fr) 360px; }
  .legal { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (min-width: 1920px) {
  :root { --container: 1600px; --header-h: 80px; }
  html { font-size: 18px; }
  .dest-grid { grid-auto-rows: 280px; }
}

/* Content that follows an inner-page hero sits closer on short screens */
.page-hero + .section { padding-top: clamp(2rem, 6vh, 4rem); }
