/* Bee English homepage. Proposal 2026-11-03.
   World: a departures board for the seasons, on the brand's black and silver.
   Black #0C0C0C and silver #E2E3E7 carry ground, text, buttons and logo.
   Secondary brand colours appear only inside graphics (the 5-month strip). */

@font-face { font-family: 'The Year of Handicrafts'; src: url('assets/fonts/TheYearofHandicrafts-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'The Year of Handicrafts'; src: url('assets/fonts/TheYearofHandicrafts-Medium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'The Year of Handicrafts'; src: url('assets/fonts/TheYearofHandicrafts-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'The Year of Handicrafts'; src: url('assets/fonts/TheYearofHandicrafts-Black.otf') format('opentype'); font-weight: 900; font-display: swap; }

:root {
    --ink: #0C0C0C;
    --silver: #E2E3E7;
    --bg: var(--ink);
    --fg: var(--silver);
    --dim: rgba(226, 227, 231, 0.70);
    --faint: rgba(226, 227, 231, 0.58);
    --rule: rgba(226, 227, 231, 0.14);
    --rule-strong: rgba(226, 227, 231, 0.32);
    --tile: #18181B;
    --tile-edge: #232327;
    --hinge: rgba(0, 0, 0, 0.55);
    --surface: #121214;
    /* graphics only */
    --g-navy: #516177;
    --g-redorange: #C45A40;
    --g-teal: #94ABA3;
    --font-ar: 'The Year of Handicrafts', 'Plus Jakarta Sans', sans-serif;
    --font-en: 'Plus Jakarta Sans', 'The Year of Handicrafts', sans-serif;
    --pad: 20px;
    --section: 88px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    color-scheme: dark;
}

[data-theme="light"] {
    --bg: var(--silver);
    --fg: var(--ink);
    --dim: rgba(12, 12, 12, 0.72);
    --faint: rgba(12, 12, 12, 0.62);
    --rule: rgba(12, 12, 12, 0.14);
    --rule-strong: rgba(12, 12, 12, 0.34);
    --tile: #0C0C0C;
    --tile-edge: #1E1E21;
    --hinge: rgba(0, 0, 0, 0.7);
    --surface: #D6D7DC;
    color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px));
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-ar);
    font-size: 17px;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
[dir="ltr"] body { font-family: var(--font-en); font-size: 16px; line-height: 1.65; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--rule-strong) var(--bg); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }

/* logos: swap files by theme, never recolour */
.logo-on-light { display: none; }
[data-theme="light"] .logo-on-dark { display: none; }
[data-theme="light"] .logo-on-light { display: block; }

/* content is visible by default; the board is the only authored motion */
.fade-up, .fade-scale { opacity: 1; transform: none; }

/* ===== Type scale ===== */
.section { padding: var(--section) 0; border-top: 1px solid var(--rule); }

.section-title, .cta-title {
    font-weight: 900;
    font-size: clamp(2rem, 7vw, 3.4rem);
    line-height: 1.25;
    letter-spacing: 0;
    text-wrap: balance;
    margin-bottom: 20px;
    max-width: 18ch;
}
[dir="ltr"] .section-title, [dir="ltr"] .cta-title { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

.section-subtitle, .section-desc {
    color: var(--dim);
    font-size: 1.06rem;
    max-width: 62ch;
    margin-bottom: 40px;
}

/* ===== Nav (desktop: top bar after scroll; mobile: floating capsule by WhatsApp) ===== */
.ios-status-bar {
    position: fixed; top: 0; left: 0; right: 0;
    height: env(safe-area-inset-top, 0px);
    background: var(--bg); z-index: 1001;
}

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.3s ease;
}
.nav.nav-visible { transform: none; opacity: 1; }

.nav-container {
    max-width: 1120px; margin: 0 auto; padding: 0 var(--pad);
    height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-icon { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.95rem; color: var(--dim); white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.nav-active { color: var(--fg); }
.nav-links a.nav-active { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .lang-toggle, .mobile-menu-btn {
    width: 38px; height: 38px; border-radius: 999px;
    border: 1px solid var(--rule-strong); background: transparent;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.theme-toggle:hover, .lang-toggle:hover, .mobile-menu-btn:hover { background: var(--fg); color: var(--bg); }
.lang-toggle { font-family: var(--font-en); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 4px; }
.mobile-menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn-register-main, .btn-whatsapp {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 56px; padding: 0 28px; border-radius: 999px;
    font-weight: 700; font-size: 1.05rem; line-height: 1.2;
    transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn-register-main { background: var(--fg); color: var(--bg); border: 1px solid var(--fg); }
.btn-register-main:hover { transform: translateY(-1px); }
.btn-register-main:active, .btn-whatsapp:active { transform: scale(0.98); }
.btn-whatsapp { background: transparent; color: var(--fg); border: 1px solid var(--rule-strong); }
.btn-whatsapp:hover { border-color: var(--fg); }
.btn-whatsapp svg { flex: none; }

/* ===== Hero ===== */
.hero { padding: 40px 0 56px; }
.hero-content { display: grid; gap: 0; }
.hero-brand { margin-bottom: 28px; }
.hero-logo { width: 148px; height: auto; }

.hero-slogan {
    font-weight: 900;
    font-size: clamp(3.4rem, 16vw, 6rem);
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--fg);
    margin-bottom: 14px;
}
[dir="ltr"] .hero-slogan { font-family: var(--font-en); font-weight: 800; letter-spacing: -0.04em; font-size: clamp(2.8rem, 12vw, 5.6rem); line-height: 1; }

.hero-desc { color: var(--dim); font-size: 1.02rem; max-width: 46ch; margin-bottom: 28px; }

/* departures board */
.board {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 12px 12px 6px;
    margin-bottom: 14px;
}
[data-theme="light"] .board { background: var(--ink); color: var(--silver); border-color: var(--ink); }
.board-head, .board-row {
    display: grid;
    grid-template-columns: 7.6rem minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}
.board-head {
    font-size: 0.8rem; color: rgba(226, 227, 231, 0.62);
    padding: 0 2px 8px; border-bottom: 1px solid rgba(226, 227, 231, 0.12);
}
.board-row { padding: 8px 0; border-bottom: 1px solid rgba(226, 227, 231, 0.08); }
.board-row:last-child { border-bottom: 0; }
.board-cell { display: flex; min-width: 0; }
.tiles { display: inline-flex; gap: 3px; }

.tile {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 34px; padding: 0 10px;
    background: var(--tile);
    border: 1px solid var(--tile-edge);
    border-radius: 5px;
    color: #E2E3E7;
    font-weight: 700; font-size: 1rem; line-height: 1;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 1px 2px rgba(0, 0, 0, 0.5);
}
.tile { /* the split-flap hinge sits behind the letters, so glyphs stay whole */
    background-image: linear-gradient(to bottom, transparent calc(50% - 0.5px), var(--hinge) calc(50% - 0.5px), var(--hinge) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.tile-d {
    width: 1.75rem; padding: 0;
    font-family: var(--font-en); font-weight: 700; font-size: 1.02rem;
    font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.row-done .tile { color: rgba(226, 227, 231, 0.62); }
.row-next { padding: 12px 0; }
.row-next .tile { min-height: 44px; font-size: 1.12rem; }
.row-next .tile-d { font-size: 1.2rem; }
.row-next .tile-status { background: #E2E3E7; color: #0C0C0C; border-color: #E2E3E7; }
.row-next .tile-status { --hinge: rgba(12, 12, 12, 0.16); }

.hero-status {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.hero-buttons { display: grid; gap: 10px; margin-top: 18px; }
.hero-social { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hero-social-label { color: var(--faint); font-size: 0.9rem; }
.hero-social-links, .social-links { display: flex; gap: 6px; flex-wrap: wrap; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 44px; height: 44px; border-radius: 999px;
    border: 1px solid var(--rule); color: var(--fg);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-link:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* the one authored motion: the 2027 row flips in once */
@media (prefers-reduced-motion: no-preference) {
    .row-next .tile { animation: flap 0.7s var(--ease) both; transform-origin: 50% 50%; }
    .row-next .cell-year .tile:nth-child(1) { animation-delay: 0.15s; }
    .row-next .cell-year .tile:nth-child(2) { animation-delay: 0.22s; }
    .row-next .cell-year .tile:nth-child(3) { animation-delay: 0.29s; }
    .row-next .cell-year .tile:nth-child(4) { animation-delay: 0.36s; }
    .row-next .cell-city .tile { animation-delay: 0.45s; }
    .row-next .cell-status .tile { animation-delay: 0.58s; }
}
@keyframes flap {
    0% { transform: perspective(300px) rotateX(-88deg); filter: brightness(0.6); }
    60% { transform: perspective(300px) rotateX(10deg); }
    100% { transform: perspective(300px) rotateX(0); filter: none; }
}

/* ===== Gallery ===== */
.gallery { border-top: 0; padding-top: 24px; }
.gallery-grid { /* explicit mosaic: 10 photos, no holes */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    grid-template-areas: "a a" "a a" "b c" "b e" "f e" "d d" "h j" "h j" "g g" "i i";
    gap: 6px;
    margin-inline: calc(var(--pad) * -1);
}
.gallery-item:nth-child(1) { grid-area: a; } .gallery-item:nth-child(2) { grid-area: b; }
.gallery-item:nth-child(3) { grid-area: c; } .gallery-item:nth-child(4) { grid-area: d; }
.gallery-item:nth-child(5) { grid-area: e; } .gallery-item:nth-child(6) { grid-area: f; }
.gallery-item:nth-child(7) { grid-area: g; } .gallery-item:nth-child(8) { grid-area: h; }
.gallery-item:nth-child(9) { grid-area: i; } .gallery-item:nth-child(10) { grid-area: j; }
.gallery-item { position: relative; overflow: hidden; background: var(--surface); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
    position: absolute; inset-inline: 0; bottom: 0;
    padding: 28px 12px 10px;
    font-size: 0.82rem; line-height: 1.5; color: #E2E3E7;
    background: linear-gradient(to top, rgba(12, 12, 12, 0.82), rgba(12, 12, 12, 0));
}

/* ===== About: spec sheet + 5-month strip ===== */
.months { margin: 8px 0 40px; }
.months figcaption { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; color: var(--dim); margin-bottom: 14px; }
.months figcaption strong { color: var(--fg); font-size: 1.6rem; font-weight: 900; }
.months-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; height: 14px; margin-bottom: 14px; }
.m { border-radius: 3px; }
.m-prep { background: var(--g-navy); }
.m-uk { background: var(--g-redorange); }
.m-online { background: var(--g-teal); }
.months-legend { display: grid; gap: 0; }
.months-legend li { position: relative; display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; line-height: 1.5; padding: 10px 0; padding-inline-start: 22px; border-bottom: 1px solid var(--rule); }
.months-legend li::before { content: ''; position: absolute; inset-inline-start: 0; top: 17px; width: 10px; height: 10px; border-radius: 2px; background: var(--mk); }
.months-legend .lg-prep { --mk: var(--g-navy); } .months-legend .lg-uk { --mk: var(--g-redorange); } .months-legend .lg-online { --mk: var(--g-teal); }
.months-legend b { font-weight: 700; color: var(--fg); }
.months-legend span { color: var(--dim); }

.about-info-grid { display: grid; border-top: 1px solid var(--rule); }
.about-info-card {
    display: grid; grid-template-columns: 8.5em 1fr; gap: 2px 16px;
    padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.about-info-icon { display: none; }
.about-info-label { color: var(--dim); grid-row: span 2; }
.about-info-value { font-weight: 700; }
.about-badges { display: grid; gap: 10px; margin-top: 24px; }
.about-badge { display: flex; gap: 12px; align-items: flex-start; color: var(--dim); }
.about-badge svg { flex: none; margin-top: 4px; color: var(--fg); }

/* ===== Harvest 26 ===== */
.review-stats {
    display: grid; grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--rule-strong);
    margin-bottom: 56px;
}
.review-stat {
    display: grid; align-content: start; gap: 6px;
    padding: 18px 0 20px; border-bottom: 1px solid var(--rule);
}
.review-stat:nth-child(odd) { padding-inline-end: 16px; border-inline-end: 1px solid var(--rule); }
.review-stat:nth-child(even) { padding-inline-start: 16px; }
.review-stat-num {
    font-family: var(--font-en); font-weight: 700;
    font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1;
    font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
    direction: ltr; text-align: end;
}
[dir="ltr"] .review-stat-num { text-align: start; }
.review-stat-num small { font-size: 1rem; font-weight: 600; color: var(--dim); margin-inline-start: 2px; letter-spacing: 0; }
.review-stat-label { color: var(--dim); font-size: 0.92rem; line-height: 1.5; }

.review-group-title { font-size: 1.35rem; font-weight: 900; margin: 8px 0 8px; }
.review-grid { columns: 1; column-gap: 40px; margin-bottom: 48px; }
.review-card {
    break-inside: avoid;
    padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.review-card blockquote { font-size: 1.14rem; line-height: 1.85; font-weight: 500; text-wrap: pretty; }
.review-card blockquote::before { content: '«'; color: var(--faint); margin-inline-end: 2px; }
.review-card blockquote::after { content: '»'; color: var(--faint); margin-inline-start: 2px; }
.review-card figcaption { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.9rem; }
.review-who { font-weight: 700; }
.review-kind { color: var(--faint); }
.review-note { color: var(--faint); font-size: 0.88rem; max-width: 62ch; }

/* ===== Why ===== */
.why-grid { display: grid; border-top: 1px solid var(--rule-strong); }
.why-card {
    display: grid; grid-template-columns: 32px 1fr; gap: 4px 16px;
    padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.why-icon { grid-row: span 2; color: var(--fg); padding-top: 4px; }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.2rem; font-weight: 900; line-height: 1.4; }
.why-card p { color: var(--dim); }

/* ===== Journey (accordion rows) ===== */
.journey-accordion { border-top: 1px solid var(--rule-strong); }
.journey-stage { border-bottom: 1px solid var(--rule); }
.journey-header {
    width: 100%; display: grid; grid-template-columns: 40px 1fr 24px; gap: 14px; align-items: center;
    padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: start;
}
.journey-number {
    width: 40px; height: 40px; border-radius: 6px;
    display: grid; place-items: center;
    background: var(--tile); color: #E2E3E7; border: 1px solid var(--tile-edge);
    font-family: var(--font-en); font-weight: 700; position: relative;
}
.journey-number::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--hinge); }
.journey-header-text h3 { font-size: 1.18rem; font-weight: 900; line-height: 1.4; }
.journey-meta { color: var(--dim); font-size: 0.9rem; }
.journey-chevron { transition: transform 0.3s var(--ease); color: var(--dim); }
.journey-stage.active .journey-chevron { transform: rotate(180deg); }
.journey-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.journey-stage.active .journey-body { grid-template-rows: 1fr; }
.journey-body-inner { overflow: hidden; padding-inline-start: 54px; }
.journey-stage.active .journey-body-inner { padding-bottom: 24px; }
.journey-desc { color: var(--dim); margin-bottom: 14px; max-width: 62ch; }
.journey-sub { font-size: 1rem; font-weight: 700; margin: 18px 0 8px; }
.journey-details li { position: relative; padding: 4px 0; padding-inline-start: 18px; }
.journey-details li::before { content: ''; position: absolute; inset-inline-start: 0; top: 1.05em; width: 7px; height: 1px; background: var(--fg); }
.journey-details-grid { display: grid; grid-template-columns: 1fr; }

/* ===== Includes: a ruled manifest ===== */
.includes-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-strong); column-gap: 40px; }
.include-card {
    display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px;
    padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.include-icon { grid-row: span 2; padding-top: 3px; }
.include-icon svg { width: 22px; height: 22px; }
.include-card h3 { font-size: 1.05rem; font-weight: 700; }
.include-card p { color: var(--dim); font-size: 0.95rem; line-height: 1.65; }

/* ===== Team ===== */
.supervisors-grid { display: grid; border-top: 1px solid var(--rule-strong); column-gap: 40px; }
.supervisor-card {
    display: grid; grid-template-columns: 72px 1fr; gap: 2px 16px;
    padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.supervisor-avatar { grid-row: span 3; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--surface); }
.supervisor-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); }
.supervisor-avatar-placeholder { display: grid; place-items: center; font-weight: 900; font-size: 1.6rem; color: var(--dim); border: 1px solid var(--rule); }
.supervisor-card h3 { font-size: 1.05rem; font-weight: 900; line-height: 1.45; }
.supervisor-role { color: var(--fg); font-size: 0.9rem; opacity: 0.8; }
.supervisor-desc { color: var(--dim); font-size: 0.92rem; line-height: 1.7; margin-top: 6px; }

/* ===== App ===== */
.app-store-center { margin-bottom: 28px; }
.app-store-btn {
    display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px;
    border-radius: 12px; background: var(--fg); color: var(--bg);
}
.app-store-text { display: grid; line-height: 1.2; font-family: var(--font-en); direction: ltr; text-align: left; }
.app-store-text span { font-size: 0.7rem; }
.app-store-text strong { font-size: 1.1rem; }
.app-features-grid { display: grid; border-top: 1px solid var(--rule-strong); column-gap: 40px; }
.app-feature { display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.app-feature-icon { grid-row: span 2; padding-top: 3px; }
.app-feature-icon svg { width: 22px; height: 22px; }
.app-feature h3 { font-weight: 700; }
.app-feature p { color: var(--dim); font-size: 0.95rem; }

/* ===== Price (reference only) ===== */
.pricing-main { display: grid; gap: 8px; max-width: 640px; }
.pricing-label { color: var(--dim); }
.price-number {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-en); font-weight: 700; font-size: clamp(3rem, 14vw, 5rem); line-height: 1.1;
    font-variant-numeric: tabular-nums; letter-spacing: -0.03em; direction: ltr;
}
.sar-icon { width: 0.6em; height: auto; }
[data-theme="light"] .sar-icon { filter: invert(1); }
.pricing-ref-note { color: var(--dim); max-width: 56ch; }

/* ===== Accreditations ===== */
.accreditations-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.accreditation-logo-item { background: #E2E3E7; display: grid; place-items: center; padding: 22px; min-height: 110px; }
.accreditation-logo-item img { max-height: 58px; width: auto; object-fit: contain; }
.accreditation-wide { grid-column: span 2; }

/* ===== FAQ ===== */
.faq-list { border-top: 1px solid var(--rule-strong); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 18px 0;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
    font-weight: 700; font-size: 1.08rem; line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ''; flex: none; width: 12px; height: 12px;
    background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
                linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
    transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--dim); padding-bottom: 20px; max-width: 64ch; }

/* ===== Closing CTA ===== */
.cta { background: var(--fg); color: var(--bg); border-top: 0; }
.cta .cta-title { color: var(--bg); }
.cta-subtitle { color: var(--bg); opacity: 0.75; max-width: 52ch; margin-bottom: 28px; }
.cta-buttons { display: grid; gap: 10px; max-width: 440px; }
.cta .btn-register-main { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.cta .btn-whatsapp { color: var(--bg); border-color: currentColor; }
.cta .btn-whatsapp:hover { background: var(--bg); color: var(--fg); }
.phone-link { display: inline-block; margin-top: 22px; font-family: var(--font-en); font-weight: 600; direction: ltr; border-bottom: 1px solid currentColor; }

/* ===== Sponsors: still logos, no marquee ===== */
.sponsors-section { padding: 64px 0; }
.sponsors-title { font-size: 1.1rem; font-weight: 700; color: var(--dim); margin-bottom: 20px; }
.sponsors-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.sponsor-item { display: grid; place-items: center; min-height: 72px; padding: 8px; flex: 0 0 104px; }
.sponsor-item img { width: 100%; height: 44px; object-fit: contain; }
.sponsor-item:nth-child(n+8) { display: none; }
.sponsor-logo { opacity: 0.8; filter: brightness(0) invert(1); } /* partner marks set in one tone, as on the live site */
[data-theme="light"] .sponsor-logo { filter: brightness(0); }

/* ===== Social bar ===== */
.social-bar { padding: 56px 0; border-top: 1px solid var(--rule); }
.social-bar-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 16px; }
.social-links .social-link { padding: 0 18px 0 14px; font-family: var(--font-en); font-size: 0.92rem; font-weight: 600; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--rule); padding: 40px 0 32px; font-size: 0.92rem; }
.footer-company { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.footer-company-right { display: flex; align-items: center; gap: 12px; }
[data-theme="light"] .footer-logo-img { filter: invert(1); }
.footer-company-name { display: block; font-weight: 700; }
.footer-company-en { display: block; font-family: var(--font-en); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--faint); }
.footer-flags { display: flex; gap: 8px; }
.footer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.footer-detail { display: flex; align-items: center; gap: 8px; color: var(--dim); min-width: 0; }
.footer-detail svg { flex: none; }
.footer-detail strong, .footer-detail a { color: var(--fg); font-family: var(--font-en); font-weight: 600; }
.footer-detail-link span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rule-strong); }
.footer-detail-link:hover span { text-decoration-color: currentColor; }
.footer-copy { margin-top: 18px; color: var(--faint); font-size: 0.84rem; }

/* ===== Floating WhatsApp (brand silver, no pulse) ===== */
.whatsapp-float {
    position: fixed; bottom: max(20px, env(safe-area-inset-bottom, 0px)); left: 20px;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--fg); color: var(--bg);
    display: grid; place-items: center; z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-2px); }
[dir="ltr"] .whatsapp-float { left: auto; right: 20px; }

/* ===== Tablet and up ===== */
@media (min-width: 769px) {
    :root { --pad: 32px; --section: 128px; }
    .hero { padding: 104px 0 80px; }
    .hero-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
    .hero-brand { grid-column: 1 / -1; margin-bottom: 20px; }
    .hero-logo { width: 150px; }
    .hero-slogan { grid-column: 1; margin-bottom: 0; font-size: clamp(4.5rem, 8vw, 6rem); }
    .hero-desc { grid-column: 2; margin-bottom: 14px; max-width: 44ch; }
    .board { grid-column: 1 / -1; padding: 20px 24px 8px; margin: 36px 0 28px; }
    .board-head, .board-row { grid-template-columns: 14rem minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
    .board-head { font-size: 0.9rem; }
    .tile { min-height: 44px; font-size: 1.15rem; padding: 0 16px; }
    .tile-d { width: 2.4rem; font-size: 1.2rem; }
    .row-next .tile { min-height: 64px; font-size: 1.6rem; padding: 0 22px; }
    .row-next .tile-d { width: 3rem; font-size: 1.7rem; padding: 0; }
    .tiles { gap: 5px; }
    .hero-buttons { grid-column: 1; display: flex; gap: 12px; margin-top: 0; }
    .hero-social { grid-column: 2; margin-top: 0; align-self: center; justify-content: flex-end; }
    .months-legend { grid-template-columns: 1fr 1fr 3fr; gap: 0 8px; }
    .months-legend li { display: grid; gap: 2px; padding: 12px 0 0; border-bottom: 0; font-size: 0.9rem; }
    .months-legend li::before { top: 0; width: 100%; height: 3px; }
    .gallery { padding-top: 0; }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 8px; margin-inline: 0;
        grid-template-areas: "a a b c" "a a b e" "d d f e" "g g h j" "i i h j"; }
    .gallery-item { border-radius: 4px; }
    .about .container { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
    .about .section-title, .about .section-desc { grid-column: 1; }
    .about .months, .about .about-info-grid, .about .about-badges { grid-column: 2; }
    .about .months { grid-row: 1 / span 2; align-self: end; }
    .about .about-info-grid { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
    .about .about-badges { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .review-stats { grid-template-columns: repeat(4, 1fr); }
    .review-stat { padding-inline: 20px !important; border-inline-end: 1px solid var(--rule); }
    .review-stat:first-child { padding-inline-start: 0 !important; }
    .review-stat:last-child { border-inline-end: 0; }
    .review-grid { columns: 2; }
    .why-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
    .includes-grid, .app-features-grid { grid-template-columns: 1fr 1fr 1fr; }
    .supervisors-grid { grid-template-columns: 1fr 1fr; }
    .journey-details-grid { grid-template-columns: 1fr 1fr; }
    .accreditations-logos { grid-template-columns: repeat(5, 1fr); }
    .accreditation-wide { grid-column: span 1; }
    .sponsors-track { justify-content: space-between; }
    .sponsors-track { flex-wrap: nowrap; }
    .sponsor-item { flex: 0 1 120px; }
    .cta-buttons { display: flex; max-width: none; }
    .footer-details { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .gallery-grid { grid-auto-rows: 260px; }
}

/* ===== Mobile: floating capsule instead of a fixed top bar
   (iOS 26 Safari draws content under its glass bar, so a fixed top bar looks detached) ===== */
@media (max-width: 768px) {
    .ios-status-bar { display: none; }
    .nav, .nav.nav-visible {
        top: auto; bottom: max(20px, env(safe-area-inset-bottom, 0px));
        left: 88px; right: 16px; height: 56px; padding: 0;
        border-radius: 999px; border: 1px solid var(--rule-strong);
        transform: none; opacity: 1;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    }
    [dir="ltr"] .nav, [dir="ltr"] .nav.nav-visible { left: 16px; right: 88px; }
    .nav-container { height: 100%; padding: 0 9px 0 14px; }
    [dir="ltr"] .nav-container { padding: 0 14px 0 9px; }
    .nav-icon { width: 26px; height: 26px; }
    .mobile-menu-btn { display: inline-flex; }
    .nav-links {
        display: none; position: fixed;
        bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) + 68px);
        left: 16px; right: 16px;
        flex-direction: column; gap: 2px; padding: 10px 18px;
        background: var(--bg); border: 1px solid var(--rule-strong); border-radius: 18px;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 10px 0; font-size: 1.05rem; color: var(--fg); border-bottom: 1px solid var(--rule); }
    .nav-links a:last-child { border-bottom: 0; }
    .nav-links a.nav-active { text-decoration: none; }
    html { scroll-padding-top: 16px; }
    body { padding-bottom: 96px; }
}

@media (max-width: 768px) {
[dir="ltr"] .tile { font-size: 0.82rem; padding: 4px 7px; white-space: normal; text-align: center; line-height: 1.15; }
[dir="ltr"] .row-next .tile { font-size: 0.92rem; }
[dir="ltr"] .tile-d { font-size: 1.02rem; padding: 0; }
[dir="ltr"] .row-next .tile-d { font-size: 1.2rem; }
}

@media (max-width: 360px) {
    .board-head, .board-row { grid-template-columns: 6.8rem minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .tile { padding: 0 7px; font-size: 0.92rem; }
    .tile-d { width: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
