/* ===========================================================
   UkraïnaFest Castellón 2026 — global stylesheet
   =========================================================== */

:root {
  --bg:            #F7EFE0;
  --bg-alt:        #F2E6D6;
  --bg-deep:       #EAD9BD;
  --surface:       #FFFFFF;
  --text:          #1A1A1A;
  --text-muted:    #5A5247;
  --primary:       #0057B7;   /* Ukrainian blue   */
  --primary-dark:  #003F85;
  --accent:        #FFD500;   /* Ukrainian yellow */
  --accent-warm:   #F5B800;
  --spanish:       #C8102E;   /* Spanish red flair */
  --line:          rgba(26,26,26,0.12);
  --shadow-sm:     0 4px 14px rgba(0,0,0,0.08);
  --shadow-md:     0 14px 40px rgba(0,0,0,0.12);
  --radius-sm:     12px;
  --radius:        20px;
  --radius-lg:     32px;
  --max-w:         1240px;
  --header-h:      82px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', 'Inter', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html, body { max-width: 100%; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 10px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.top-strip {
  background: linear-gradient(90deg, #0057B7 0%, #003F85 50%, #0057B7 100%);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-top: 2px solid var(--accent);
}
.top-strip b { color: var(--accent); font-weight: 700; }
@media (max-width: 540px) {
  .top-strip { font-size: .7rem; letter-spacing: .08em; padding: 6px 12px; }
}

img { max-width: 100%; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,87,183,0.08);
  padding: .45rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.section__head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: var(--text); }
.btn--accent:hover { background: var(--accent-warm); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.btn--ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 239, 224, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: .01em;
  flex-shrink: 0;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span b { color: var(--primary); }

.nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: nowrap;
}
.nav a {
  position: relative;
  padding: .5rem .75rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav a:hover { background: rgba(0,87,183,0.08); color: var(--primary); }
.nav a.is-active {
  background: var(--primary);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: .45rem .85rem;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--text-muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-switch button.is-active {
  background: var(--primary);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--text);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 11vw, 140px) 0 clamp(80px, 12vw, 150px);
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(255,213,0,0.35), transparent 60%),
    radial-gradient(900px 520px at -10% 110%, rgba(0,87,183,0.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.hero__date {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: .6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.hero__date b { color: var(--primary); }
.hero h1 {
  margin: 1.4rem 0 1rem;
  background: linear-gradient(120deg, #003F85 0%, #0057B7 45%, #1A1A1A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .yellow { color: var(--accent-warm); -webkit-text-fill-color: var(--accent-warm); }
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.2rem;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown {
  margin: 0 auto 1.5rem;
  max-width: 420px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.countdown__label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}
.countdown__value {
  margin-top: 4px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
}
.hero__deco {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .35;
  pointer-events: none;
}
.hero__deco--y { width: 220px; height: 220px; background: var(--accent);  top: 6%;    left: 4%;  }
.hero__deco--b { width: 200px; height: 200px; background: var(--primary); bottom: 8%; right: 6%; opacity: .25; }
.hero__deco--r { width: 140px; height: 140px; background: var(--spanish); top: 18%;   right: 12%; opacity: .18; }

@media (max-width: 820px) {
  .hero__deco { display: none; }
}

/* ---------- About / Collage ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.about-grid > * { min-width: 0; }
.about-grid p { word-break: break-word; overflow-wrap: anywhere; }
.collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 14px;
  aspect-ratio: 1 / 1;
}
.collage__tile {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #ddd, #bbb);
  min-height: 160px;
}
.collage__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.collage__tile:hover img { transform: scale(1.06); }
.collage__tile:nth-child(odd)  { transform: translateY(0); }
.collage__tile:nth-child(even) { transform: translateY(24px); }

.bullets {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 14px;
}
.bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}
.bullets .ico {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 1.4rem;
  background: rgba(0,87,183,0.08);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat__num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  color: var(--primary);
  line-height: 1;
}
.stat__label {
  margin-top: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  color: var(--text);
}
.stat__sub {
  margin-top: .4rem;
  font-size: .92rem;
  color: var(--text-muted);
}

/* ---------- Program cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  border-radius: var(--radius);
  padding: 32px 26px;
  color: #fff;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); }
.card__icon {
  font-size: 2.4rem;
  margin-bottom: auto;
}
.card h3 { margin: 0 0 .5rem; color: #fff; }
.card p { margin: 0; opacity: .92; font-size: .96rem; }
.card--music    { background: linear-gradient(135deg, #0057B7, #003F85); }
.card--art      { background: linear-gradient(135deg, #C8102E, #8E0A20); }
.card--food     { background: linear-gradient(135deg, #F5B800, #C99100); color: #1A1A1A; }
.card--food h3, .card--food p { color: #1A1A1A; }
.card--kids     { background: linear-gradient(135deg, #16A085, #0E6E5C); }

/* ---------- Zones map ---------- */
.zones {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #0057B7, #FFD500);
  aspect-ratio: 16 / 7;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  text-align: center;
  padding: 40px;
}
.zones::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.22), transparent 50%);
}
.zones span {
  position: relative;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.location-photo {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--surface);
  background:
    linear-gradient(180deg, rgba(0,63,133,0) 45%, rgba(0,63,133,0.85) 100%),
    linear-gradient(135deg, #6CA0E0, #0057B7);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  text-align: center;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  min-width: 0;
  box-sizing: border-box;
}
.location-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.location-info > * { min-width: 0; max-width: 100%; }
.info-list {
  list-style: none; padding: 0; margin: 1.4rem 0 1.8rem;
  display: grid; gap: 12px;
}
.info-list li {
  display: flex; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}
.info-list .k { color: var(--primary); font-size: 1.2rem; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--surface);
  margin-top: 1.4rem;
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-consent {
  padding: 28px 24px;
  text-align: center;
  background: var(--surface);
}
.map-consent h3 { margin-bottom: 10px; }
.map-consent p {
  margin: 0 auto 18px;
  max-width: 520px;
  color: var(--text-muted);
}

/* ---------- Partners ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}
.partner {
  aspect-ratio: 5/3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .04em;
  transition: transform .25s ease, box-shadow .25s ease;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  max-width: 760px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,87,183,0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .field-error {
  min-height: 1rem;
  color: #A2132B;
  font-size: .82rem;
  margin-top: 2px;
}
.field .is-invalid {
  border-color: #C8102E;
  box-shadow: 0 0 0 4px rgba(200,16,46,0.12);
}

/* ---------- Contact tiles ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.contact-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.contact-tile .ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(0,87,183,0.1);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
}
.contact-tile h3 { margin: 0 0 .35rem; }
.contact-tile p { margin: 0; color: var(--text-muted); }
.contact-tile a { color: var(--text); }

.socials {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #161616;
  color: #d8d8d8;
  padding: 64px 0 24px;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid p { color: #aaa; font-size: .95rem; max-width: 380px; }
.footer-menu {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0; margin: 0;
}
.footer-menu a { color: #d8d8d8; font-size: .95rem; }
.footer-menu a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
  color: #888;
}
.footer-bottom .flag {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: .82rem; color: #aaa;
}
.footer-bottom .flag i { width: 22px; height: 14px; border-radius: 3px; display: inline-block; }
.footer-bottom .flag .ua { background: linear-gradient(180deg, #0057B7 50%, #FFD500 50%); }
.footer-bottom .flag .es { background: linear-gradient(180deg, #C8102E 33%, #FFC400 33% 66%, #C8102E 66%); }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: clamp(70px, 9vw, 110px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(0,87,183,0.15), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Timeline (program page) ---------- */
.timeline {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.timeline__row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
.timeline__time {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  color: var(--primary);
}
.timeline__title { font-weight: 700; }
.timeline__desc { color: var(--text-muted); font-size: .92rem; margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #0057B7 0%, #003F85 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 80px);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::before { width: 280px; height: 280px; background: rgba(255,213,0,0.18); top: -100px; right: -60px; }
.cta-banner::after  { width: 200px; height: 200px; background: rgba(255,255,255,0.08); bottom: -80px; left: -50px; }
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { position: relative; opacity: .9; max-width: 640px; margin: 0 auto 1.6rem; }
.cta-banner .btn { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: .45rem .6rem; font-size: .85rem; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { gap: 12px; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 18px;
    gap: 4px;
    margin: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: var(--shadow-md);
    z-index: 60;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .header-actions { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .collage { aspect-ratio: 16 / 10; max-width: 720px; margin: 0 auto; }
}

@media (max-width: 820px) {
  .header-actions .btn--primary { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 90px 1fr; }
  .collage__tile:nth-child(even) { transform: none; }
}

@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brand span { display: none; }
  .hero__date { font-size: .72rem; padding: .5rem .9rem; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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