/*
Theme Name: The 2027 Innovative Teacher Competition
Theme URI: https://innovative-teacher.classera.com
Author: ITC Organizing Committee
Author URI: https://innovative-teacher.classera.com
Description: Official WordPress theme for The 2027 Innovative Teacher Competition — a collaborative initiative by ALECSO, Classera, Intel, and Millennium@EDU, sponsored by jp.ik and Sixunited. Bilingual (English / Arabic with RTL), responsive, and fully editable.
Version: 1.0.0
Requires at least: 6.8
Tested up to: 7.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itc2027
Tags: education, bilingual, rtl-language-support, custom-menu, custom-logo, responsive, accessibility-ready
*/

/* Interactive prototype styles — responsive (mobile + desktop) */

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Kufam";
  src: url("assets/fonts/Kufam.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #004D72;
  --teal: #00748D;
  --gray: #5E5E5E;
  --blue: #1073C2;
  --cyan: #00C7FD;
  --white: #FFFFFF;
  --ink-1: #0A2D45;
  --ink-2: #2B4A60;
  --ink-3: #6F7E89;
  --line: #E3EAEF;
  --bg-soft: #F4F7FA;
  --bg-sky: #E7F4FB;
  --shadow-card: 0 4px 16px rgba(0, 77, 114, 0.06);
  --shadow-hover: 0 14px 36px rgba(0, 77, 114, 0.16);
  --serif: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --arabic: "Kufam", "Tahoma", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink-1);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern";
}
body.rtl, body.rtl * { font-family: var(--arabic); }
body.rtl { direction: rtl; }

a { color: var(--blue); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* Accessibility: visible keyboard focus everywhere (WCAG 2.4.7). */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
main:focus { outline: none; }

/* Skip-to-content link — off-screen until keyboard-focused. */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-weight: 700; transition: top 0.15s;
}
.skip-link:focus { top: 0; color: #fff; }
body.rtl .skip-link { left: auto; right: 8px; }

/* ---------------- Header ---------------- */
.topstripe { height: 5px; background: linear-gradient(90deg, var(--navy), var(--teal), var(--blue), var(--cyan)); }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; gap: 24px;
}
.brand img { height: 64px; display: block; }
.nav {
  display: flex; align-items: center; gap: 26px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.nav a {
  color: var(--ink-2);
  padding: 8px 0;
  position: relative;
  cursor: pointer;
}
.nav a.active { color: var(--navy); font-weight: 700; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 3px; background: var(--cyan);
}
.nav a:hover { color: var(--navy); }
.lang-toggle {
  display: inline-flex; align-items: center;
  gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 12px; font-weight: 700; color: var(--navy);
  letter-spacing: 0.04em;
}
.lang-toggle:hover { border-color: var(--navy); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 8px;
  border: 0;
  transition: background 0.18s, transform 0.18s;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.btn:hover { background: var(--teal); }
.btn:active { transform: translateY(1px); }
.btn.lg { padding: 14px 28px; font-size: 15px; }
.btn.xl { padding: 16px 32px; font-size: 16px; }
.btn.cyan { background: var(--cyan); color: var(--navy); }
.btn.cyan:hover { background: #00b0e0; }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn.ghost.light:hover { background: #fff; color: var(--navy); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
body.rtl .btn:hover .arrow { transform: translateX(-3px); }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute; left: 10px; right: 10px;
  height: 2px; background: var(--navy);
  transition: transform 0.25s, top 0.25s, opacity 0.2s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: linear-gradient(180deg, var(--navy), #002b40);
  color: #fff;
  display: flex; flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a {
  color: #fff; font-size: 22px; font-weight: 700;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}
.mobile-menu nav a.active { color: var(--cyan); }
.mobile-menu .lang-mobile {
  margin-top: 24px; align-self: flex-start;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ---------------- Generic layout ---------------- */
main { min-height: 70vh; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
/* Long unbreakable tokens (URLs, emails, long compounds) must wrap rather
   than force horizontal page scroll — matters most at mobile widths. */
.itc-page { overflow-wrap: break-word; word-break: break-word; }
.section { padding: 88px 0; }
.section.tight { padding: 60px 0; }
.section.alt { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark h2 { color: #fff; }
.section.dark p { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--teal); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--cyan); display: inline-block;
}

h1 { font-size: 60px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin: 0; }
h2 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.015em; color: var(--navy); margin: 0; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--navy); margin: 0; }
p { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,199,253,0.15);
  color: var(--navy); font-weight: 700; font-size: 12px;
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.badge.light { background: rgba(255,255,255,0.16); color: #fff; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card.accent {
  background: linear-gradient(135deg, #00485F 0%, #004D72 100%); color: #fff;
  border: 0;
}
.card.accent h3, .card.accent h2 { color: #fff; }
.card.accent p { color: rgba(255,255,255,0.85); }
.card.interactive:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: rgba(0,77,114,0.18); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #003a58 0%, #004D72 45%, #00748D 100%);
  color: #fff;
  overflow: hidden;
}
.hero h1 { color: #fff; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center;
  padding: 80px 0 90px;
}
.hero-bg {
  position: absolute; right: -120px; top: -100px;
  width: 420px; opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.hero-bg.b { left: -80px; top: auto; bottom: -100px; opacity: 0.06; right: auto; }
.hero p { color: rgba(255,255,255,0.86); }
.stat-num { font-size: 56px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat-lab { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-top: 6px; }

.photo {
  background-color: var(--bg-sky);
  background-size: cover; background-position: center;
  border-radius: 14px; position: relative; overflow: hidden;
}
.photo.tint::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,77,114,0.4), rgba(0,77,114,0.05));
  pointer-events: none;
}

/* Orgs strip */
.orgs {
  background: var(--bg-soft);
  padding: 36px 0;
}
.orgs-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
}
.orgs-tier { display: flex; flex-direction: column; gap: 18px; }
.orgs-tier-label {
  font-size: 11px; letter-spacing: 0.2em; color: var(--navy);
  text-transform: uppercase; font-weight: 800;
}
.orgs-tier-label.small { color: var(--gray); font-weight: 700; }
.orgs-tier-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.orgs-tier-row .logo-cell {
  height: 54px; width: 130px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.orgs-tier-row .logo-cell img { max-height: 100%; max-width: 100%; object-fit: contain; }
.orgs-tier-row.sponsors .logo-cell { height: 34px; width: 110px; opacity: 0.7; filter: grayscale(20%); }
.orgs-tier-row.sponsors .word {
  font-weight: 700; color: var(--gray); font-size: 14px;
  letter-spacing: 0.08em; opacity: 0.75;
  height: 34px; display: grid; place-items: center;
}
.orgs-divider { width: 1px; align-self: stretch; background: rgba(0,0,0,0.1); }

/* Steps grid */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-num { font-size: 44px; font-weight: 800; color: var(--cyan); letter-spacing: -0.02em; line-height: 1; }
.step-bar { height: 3px; width: 40px; background: var(--cyan); margin: 14px 0 18px; border-radius: 2px; }

/* Timeline */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative; padding-top: 12px;
}
.timeline::before {
  content: ""; position: absolute; top: 30px; left: 18px; right: 18px;
  height: 3px; background: linear-gradient(90deg, var(--cyan), rgba(255,255,255,0.2));
}
.tl-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 2px solid var(--cyan);
  color: var(--cyan); font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.tl-dot.now { background: var(--cyan); color: var(--navy); }
.tl-date { font-size: 12px; letter-spacing: 0.12em; color: var(--cyan); text-transform: uppercase; font-weight: 700; }
.tl-title { color: #fff; font-size: 18px; font-weight: 700; margin-top: 6px; }

/* Cards grid generic */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* Icon square */
.icon-sq {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(0,199,253,0.15); color: var(--navy);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 22px; font-weight: 800;
}
.icon-sq.navy { background: var(--navy); color: var(--cyan); }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-button {
  width: 100%; text-align: inherit;
  background: transparent; border: 0; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
  color: var(--navy); font-weight: 700; font-size: 18px;
  font-family: inherit;
  cursor: pointer;
}
.faq-button:hover { color: var(--blue); }
.faq-icon { color: var(--blue); font-size: 22px; flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-cat {
  font-size: 11px; letter-spacing: 0.14em; color: var(--teal);
  text-transform: uppercase; font-weight: 700; margin-bottom: 6px;
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding-bottom: 24px; color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 70ch; }

/* FAQ search */
.search-bar {
  max-width: 640px; margin: 32px auto 0;
  background: #fff; border-radius: 14px;
  padding: 6px 8px 6px 22px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 40px rgba(0,77,114,0.08);
}
.search-bar input {
  flex: 1; border: 0; outline: 0; padding: 14px 12px; font-size: 16px;
  font-family: inherit; color: var(--ink-1); background: transparent;
}
.cat-chips { display: flex; justify-content: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.cat-chips button {
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line);
}
.cat-chips button.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* Form */
/* Contact-form grid: two columns on desktop, one on mobile. min-width:0 lets
   the inputs shrink below their intrinsic width so the form never overflows. */
.itc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.itc-form-grid .itc-form-wide { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  letter-spacing: 0.02em;
}
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font-size: 15px; font-family: inherit;
  color: var(--ink-1); background: #fff;
  outline: none; transition: border 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(16,115,194,0.1);
}
.field.error input, .field.error select, .field.error textarea {
  border-color: #d65454;
  box-shadow: 0 0 0 4px rgba(214,84,84,0.08);
}
.field .err-msg { color: #d65454; font-size: 12px; font-weight: 600; }
.field .hint { font-size: 12px; color: var(--gray); }

.checkbox-row {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  cursor: pointer;
  transition: border 0.15s, background 0.15s;
}
.checkbox-row.checked {
  border-color: var(--navy); background: rgba(0,77,114,0.05); color: var(--navy);
}
.checkbox-row .box {
  width: 18px; height: 18px; border: 1.5px solid var(--navy);
  border-radius: 4px; display: grid; place-items: center;
  background: #fff; color: #fff; font-size: 12px; font-weight: 800;
}
.checkbox-row.checked .box { background: var(--navy); }

/* Progress stepper */
.stepper { display: flex; align-items: center; gap: 0; }
.stepper-item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 92px; }
.stepper-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center;
  font-weight: 700; color: var(--gray); font-size: 14px;
}
.stepper-dot.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.stepper-dot.done { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.stepper-label { font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: 0.06em; text-align: center; }
.stepper-label.active { color: var(--navy); }
.stepper-bar { flex: 1; height: 2px; background: var(--line); min-width: 18px; }
.stepper-bar.done { background: var(--cyan); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--navy); color: #fff;
  padding: 16px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 20px 60px rgba(0,77,114,0.3);
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; align-items: center; gap: 12px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #1c7e4a; }
.toast .check {
  width: 22px; height: 22px; background: rgba(255,255,255,0.2);
  border-radius: 50%; display: grid; place-items: center;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .hero-bg { opacity: 0.08; right: -60px; top: -60px; width: 260px; }
.cta-band .hero-bg.b { left: -60px; bottom: -80px; top: auto; right: auto; }
.cta-band h2 { color: #fff; font-size: 44px; margin-top: 18px; }

/* Footer */
footer {
  background: #002A40;
  color: rgba(255,255,255,0.78);
  padding: 60px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
footer h4 {
  color: #fff; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 18px 0; font-weight: 700;
}
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer a { color: rgba(255,255,255,0.78); cursor: pointer; }
footer a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 12px; color: rgba(255,255,255,0.5);
}

/* Tabs (apply page sidebar) */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }

/* Rubric tiles */
.rubric-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; transition: transform 0.2s, box-shadow 0.2s;
}
.rubric-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.rubric-num { font-size: 56px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.rubric-tile.bonus { background: linear-gradient(135deg, var(--cyan), #36d8ff); color: var(--navy); border: 0; }
.rubric-tile.bonus h3 { color: var(--navy); }
.rubric-tile.bonus p { color: rgba(0,77,114,0.82); }

/* Phase cards */
.phase {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 32px;
  position: relative; overflow: hidden;
}
.phase.win { background: linear-gradient(135deg, #00485F, #004D72); color: #fff; border: 0; }
.phase.win h3 { color: #fff; }
.phase.win p { color: rgba(255,255,255,0.85); }
.phase-num { font-size: 11px; letter-spacing: 0.18em; color: var(--teal); text-transform: uppercase; font-weight: 700; }
.phase.win .phase-num { color: var(--cyan); }
.phase-when { font-family: ui-monospace, "Menlo", monospace; font-size: 13px; color: var(--gray); letter-spacing: 0.06em; margin-top: 24px; }
.phase.win .phase-when { color: var(--cyan); }

/* Tags row */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag-row span {
  font-size: 12px; padding: 5px 12px; background: var(--bg-sky); color: var(--navy);
  border-radius: 999px; font-weight: 600;
}

/* Page header band (non-hero pages) */
.page-head {
  padding: 80px 0 56px;
  background: var(--bg-soft);
  position: relative; overflow: hidden;
}
.page-head .hero-bg { filter: none; opacity: 0.06; }
.page-head h1 { max-width: 920px; }

/* Apply form deadline card */
.deadline-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 18px 24px;
  text-align: center;
  flex-shrink: 0;
}
.deadline-card .num { font-size: 30px; font-weight: 800; color: #fff; margin-top: 6px; }

/* Two-col layout for apply form */
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 36px; }

/* ============================================================ */
/*                       RESPONSIVE BREAKS                       */
/* ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 64px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .stat-num { font-size: 42px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .timeline::before { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .two-col { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 32px; }
}

@media (max-width: 720px) {
  .header-inner { padding: 12px 20px; }
  .nav, .header .btn { display: none; }
  .header .lang-toggle { padding: 6px 10px; font-size: 11px; }
  .hamburger { display: block; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  h3 { font-size: 18px; }
  p { font-size: 15px; }
  .steps, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .itc-form-grid { grid-template-columns: 1fr; }
  .itc-form-grid .itc-form-wide { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-grid { padding: 40px 0 48px; }
  .photo { border-radius: 12px; }
  /* The step indicator can't shrink below its dots+labels; let it scroll
     inside its own card on narrow screens instead of overflowing the page. */
  .stepper { gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .stepper-item { flex: 0 0 auto; min-width: 64px; }
  .stepper-label { font-size: 10px; }
  .stepper-bar { min-width: 8px; }
  .page-head { padding: 48px 0 32px; }
  .cta-band h2 { font-size: 26px; }
  .stat-num { font-size: 36px; }
  .step-num { font-size: 36px; }
  .rubric-num { font-size: 44px; }
  .orgs-inner { grid-template-columns: 1fr; gap: 24px; }
  .orgs-divider { width: 100%; height: 1px; }
  .orgs-tier-row.organizers img { height: 36px; }
}
