@import url("../assets/fonts.css");

/* =========================================================================
   Creation Spiritualities in Dialogue — Design System
   Palette sampled from the official brochure (Propuesta Brochure V2)
   ========================================================================= */
:root {
  --forest:      #0A5B3F;
  --forest-700:  #0C4A34;
  --forest-900:  #063527;
  --sage:        #49A072;
  --sage-300:    #8FD0A6;
  --sage-100:    #DCEEE1;
  --sage-050:    #EFF6F1;
  --blue:        #2877FF;
  --blue-600:    #1C63E6;
  --blue-700:    #164FB8;
  --blue-050:    #EAF1FF;
  --sage-ink:    #357B51;   /* AA-contrast green for small text labels (5.1:1 on white) */
  --amber-ink:   #8F6410;   /* AA-contrast amber for small text labels (5.0:1 on cream) */
  --cream:       #F9F4D6;
  --cream-soft:  #FCF9EA;
  --amber:       #E9A23B;
  --ink:         #16241D;
  --muted:       #59695F;
  --line:        #E3EAE4;
  --paper:       #FCFDFB;
  --white:       #FFFFFF;

  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(6,53,39,.06), 0 1px 3px rgba(6,53,39,.05);
  --shadow: 0 6px 18px rgba(6,53,39,.08), 0 2px 6px rgba(6,53,39,.05);
  --shadow-lg: 0 18px 48px rgba(6,53,39,.14);
  --maxw: 1120px;
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16.5px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
/* Safe default size for inline icon SVGs; specific rules below override it. */
svg { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--forest-900); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.display { font-family: var(--display); font-weight: 400; letter-spacing: .5px; text-transform: uppercase; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.accent-blue { color: var(--blue); }
.accent-amber { color: var(--amber); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ============================ HEADER / NAV =============================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,253,251,.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; flex: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__title { font-family: var(--display); font-size: 17px; letter-spacing: .3px; color: var(--forest); text-transform: uppercase; white-space: nowrap; }
.brand__sub { font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--sage-ink); font-weight: 600; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--body); font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 9px 12px; border-radius: 9px; letter-spacing: .1px; white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav__link:hover { background: var(--sage-050); text-decoration: none; }
.nav__link.is-active { color: var(--forest); background: var(--sage-100); font-weight: 600; }

.header-tools { display: flex; align-items: center; gap: 8px; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white);
}
.lang button {
  appearance: none; border: 0; background: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 12.5px; color: var(--muted);
  padding: 6px 11px; transition: background .18s, color .18s;
}
.lang button.is-active { background: var(--forest); color: #fff; }

.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-600); color: #fff; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: background .18s, transform .18s;
}
.btn-nav-cta:hover { background: var(--blue-700); text-decoration: none; transform: translateY(-1px); }

.hamburger { display: none; appearance: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 42px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.hamburger svg { width: 22px; height: 22px; stroke: var(--forest); }

/* ============================ VIEWS ===================================== */
main { min-height: calc(100vh - var(--header-h) - 320px); }
.view { display: none; animation: fade .35s ease both; }
.view.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .view, .cta, .btn-nav-cta, .cookie, .reg-success, .form-alert, .theme-chip, .spk, .card { animation: none !important; transition: none !important; }
}

.section { padding: clamp(34px, 5vw, 60px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--sage-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sage); border-radius: 2px; }
.section-title { font-family: var(--display); font-size: clamp(28px, 4.4vw, 46px); color: var(--forest-900); line-height: 1.04; text-transform: uppercase; letter-spacing: .5px; }
.lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 62ch; }

/* ============================ HERO ===================================== */
.hero { position: relative; padding-top: clamp(26px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(26px, 4vw, 54px); align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--cream); color: var(--forest-700);
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(233,162,59,.18); }
.hero__title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(40px, 7vw, 74px); line-height: .96; letter-spacing: .5px; margin: 0 0 16px;
}
.hero__title .l1 { color: var(--forest); display: block; }
.hero__title .l2 { color: var(--blue); display: block; }
.hero__title .l3 { color: var(--forest); display: block; }
.hero__subtitle { font-size: clamp(18px, 2.3vw, 24px); font-weight: 600; color: var(--sage-ink); margin: 0 0 18px; font-family: var(--body); }
.hero__text { font-size: 16.5px; color: var(--muted); max-width: 50ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.cta {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 16px; border-radius: 999px;
  padding: 13px 26px; border: 2px solid transparent; transition: transform .18s, background .18s, box-shadow .18s;
}
.cta svg { width: 18px; height: 18px; }
.cta--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px rgba(40,119,255,.28); }
.cta--primary:hover { background: var(--blue-700); text-decoration: none; transform: translateY(-2px); }
.cta--ghost { background: #fff; color: var(--forest); border-color: var(--sage-100); }
.cta--ghost:hover { background: var(--sage-050); text-decoration: none; border-color: var(--sage-300); }
.cta--forest { background: var(--forest); color:#fff; }
.cta--forest:hover { background: var(--forest-700); text-decoration:none; transform: translateY(-2px); }

.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 8px; }
.hero__meta .m { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--forest-700); font-weight: 500; }
.hero__meta svg { width: 18px; height: 18px; stroke: var(--sage); flex: none; }

/* hero art */
.hero-art { position: relative; }
.hero-art__frame {
  overflow: visible;
  background: transparent;
}
.hero-art__frame img { width: 100%; height: auto; }

/* timezone pills */
.tz-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tz {
  background: var(--cream-soft); border: 1px solid #EEE6C6; border-radius: 12px;
  padding: 11px 16px; min-width: 150px;
}
.tz .z { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--amber-ink); font-weight: 700; display: flex; align-items: center; gap: 7px; }
.tz .t { font-family: var(--display); font-size: 20px; color: var(--forest); letter-spacing: .5px; }
.tz .c { font-size: 12px; color: var(--muted); }

/* country flags (self-hosted SVG · no external requests) */
.flag { display: inline-block; width: 21px; height: 14px; border-radius: 2px; object-fit: cover; vertical-align: middle; box-shadow: 0 0 0 1px rgba(0,0,0,.10); flex: none; }
.tz .z .flag { width: 24px; height: 16px; }
.flag--xs { width: 15px; height: 10px; border-radius: 1.5px; margin-right: 3px; position: relative; top: -1px; }

/* countdown to the conference */
.countdown { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 26px; padding: 14px 20px; background: var(--forest-900); border-radius: 14px; }
.countdown__label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #B7D8C4; }
.countdown__label svg { width: 16px; height: 16px; stroke: #8FC6A8; }
.countdown__boxes { display: flex; gap: 10px; }
.cd-box { min-width: 64px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; padding: 8px 10px; }
.cd-num { display: block; font-family: var(--display); font-size: 26px; line-height: 1; color: #fff; letter-spacing: .5px; }
.cd-unit { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .6px; color: #9ec8ac; margin-top: 5px; }

/* how-to-participate steps */
.steps .step-card { position: relative; padding-top: 24px; }
.step-card__n { position: absolute; top: -15px; left: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--display); font-size: 18px; display: grid; place-items: center; box-shadow: 0 5px 14px rgba(10,91,63,.32); }
.step-card h3 { font-size: 16.5px; margin: 6px 0 7px; color: var(--forest-900); }
.step-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* thematic chips row */
.themes-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.theme-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.theme-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.theme-chip .ti { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 12px; background: var(--sage-050); display: grid; place-items: center; }
.theme-chip .ti svg { width: 26px; height: 26px; stroke: var(--forest); fill: none; }
.theme-chip .tt { font-size: 13.5px; font-weight: 600; color: var(--forest-900); }

/* logos strip */
.orglogos { margin-top: 44px; }
.orglogos__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); font-weight: 600; text-align: center; margin-bottom: 16px; }
.orglogos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.orglogos__row .chip {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 30px;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); min-height: 140px;
}
.orglogos__row .chip img { height: 100px; width: auto; max-width: 100%; }
.orglogos__row .chip img.logo--trier { height: 70px; }

/* ============================ CARDS / GRIDS ============================ */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card--tint { background: var(--sage-050); border-color: var(--sage-100); }

.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; }
.why-list .bullet { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--sage-100); color: var(--forest); display: grid; place-items: center; margin-top: 2px; }
.why-list .bullet svg { width: 15px; height: 15px; stroke: var(--forest); }

.theme-card { position: relative; overflow: hidden; }
.theme-card .tag { font-family: var(--display); font-size: 13px; color: var(--sage-ink); letter-spacing: 1px; }
.theme-card h3 { font-size: 18px; margin: 4px 0 8px; }
.theme-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.theme-card .num { position: absolute; right: 14px; top: 6px; font-family: var(--display); font-size: 54px; color: var(--sage-050); z-index: 0; }
.theme-card > * { position: relative; z-index: 1; }

/* institutions */
.inst-card { display: flex; flex-direction: column; gap: 12px; }
.inst-card .logo-box { height: 120px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 14px; }
.inst-card .logo-box img { max-height: 88px; max-width: 100%; width: auto; }
.inst-card .logo-box img.logo--trier { max-height: 70px; }
.inst-card h3 { font-size: 16px; margin: 0; }
.inst-card .loc { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.inst-card .loc svg { width: 14px; height: 14px; stroke: var(--sage); }
.inst-card .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.inst-card .links a { width: 38px; height: 38px; display: grid; place-items: center; background: var(--sage-050); color: var(--forest); border-radius: 10px; transition: background .18s, color .18s, transform .18s; }
.inst-card .links a svg { width: 19px; height: 19px; }
.inst-card .links a:hover { background: var(--forest); color: #fff; text-decoration: none; transform: translateY(-2px); }

/* ============================ PROGRAMME =============================== */
.day-toggle { display: inline-flex; background: var(--sage-050); border: 1px solid var(--sage-100); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 8px; }
.day-toggle button {
  appearance: none; border: 0; cursor: pointer; background: none; font-family: var(--body); font-weight: 600;
  font-size: 14px; color: var(--muted); padding: 9px 20px; border-radius: 999px; transition: background .18s, color .18s;
}
.day-toggle button .d { font-size: 11px; display: block; font-weight: 500; opacity: .8; }
.day-toggle button.is-active { background: var(--forest); color: #fff; }
.tz-legend { font-size: 12.5px; color: var(--muted); margin: 12px 0 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tz-legend b { color: var(--forest); font-weight: 600; }

.prog-day { display: none; }
.prog-day.is-active { display: block; }
.prog {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
}
.prog__row { display: grid; grid-template-columns: 200px 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.prog__row:last-child { border-bottom: 0; }
.prog__row:nth-child(even) { background: #FBFDFB; }
.prog__time { padding: 14px 16px; border-right: 2px solid var(--blue-050); }
.tzstack { display: grid; gap: 4px; }
.tzrow { display: grid; grid-template-columns: 21px 26px auto; align-items: center; gap: 8px; }
.tzrow .flag { width: 20px; height: 13px; }
.tzrow__c { font-size: 10px; font-weight: 700; letter-spacing: .5px; color: var(--muted); }
.tzrow__t { font-family: var(--display); font-size: 13px; color: var(--forest-700); letter-spacing: .3px; }
.tzrow.is-primary .tzrow__c { color: var(--forest); }
.tzrow.is-primary .tzrow__t { font-size: 16.5px; color: var(--forest); }
/* legacy fallback if JS is unavailable */
.prog__time .clock { font-family: var(--display); font-size: 16px; color: var(--forest); }
.prog__time .zones { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.prog__body { padding: 16px 18px; }
.prog__body .part { font-weight: 700; color: var(--forest-900); font-size: 14.5px; margin-bottom: 6px; }
.prog__body ul { margin: 4px 0 0; padding-left: 0; list-style: none; display: grid; gap: 7px; }
.prog__body li { font-size: 14px; color: var(--ink); padding-left: 16px; position: relative; }
.prog__body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.prog__body .who { color: var(--muted); }
.prog__body .talk { font-style: italic; color: var(--forest-700); }
.badge-break { display: inline-block; background: var(--cream); color: #9a7b25; font-weight: 600; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }

/* ============================ SPEAKERS =============================== */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-row button {
  appearance: none; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted);
  padding: 8px 15px; border-radius: 999px; transition: all .16s;
  display: inline-flex; align-items: center; gap: 8px;
}
.filter-row button.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }
.filter-row button:hover:not(.is-active) { border-color: var(--sage-300); background: var(--sage-050); }
.fdot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--sage)); flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.filter-row button.is-active .fdot { box-shadow: 0 0 0 1.5px rgba(255,255,255,.6); }

.spk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spk {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; transition: box-shadow .18s, transform .18s;
}
.spk:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.spk__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; background: var(--sage-050); border: 1.5px solid var(--uni, var(--line)); color: var(--uni, var(--forest)); font-family: var(--display); font-size: 16px; letter-spacing: .5px; }
.spk__avatar .spk__ic { width: 25px; height: 25px; stroke: currentColor; }
.spk__name { font-weight: 600; font-size: 15.5px; color: var(--forest-900); line-height: 1.25; }
.spk__inst { font-size: 12px; color: var(--sage-ink); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.uni-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--uni, var(--sage)); flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.spk__role { font-size: 13px; color: var(--muted); }
.spk__bio { font-size: 13px; color: var(--muted); margin-top: 6px; display: none; }
.spk.is-open .spk__bio { display: block; }
.spk__more { align-self: flex-start; margin-top: auto; padding-top: 8px; background: none; border: 0; cursor: pointer; color: var(--blue-600); font-family: var(--body); font-weight: 600; font-size: 12.5px; }

/* ============================ REGISTER =============================== */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.reg-aside .card { position: sticky; top: calc(var(--header-h) + 20px); }
.reg-aside h3 { font-size: 17px; }
.reg-aside .facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.reg-aside .facts li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; }
.reg-aside .facts svg { width: 20px; height: 20px; stroke: var(--sage); flex: none; margin-top: 1px; }

form.reg { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--forest-900); }
.field .req { color: var(--blue); }
.field .opt { color: var(--muted); font-weight: 400; font-size: 12px; }
.field input, .field select {
  font-family: var(--body); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; width: 100%;
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-050); }
.field.invalid input, .field.invalid select { border-color: #d84a4a; }
.field .err { font-size: 12px; color: #c53a3a; display: none; }
.field.invalid .err { display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.consent { display: flex; gap: 11px; align-items: flex-start; background: var(--sage-050); border: 1px solid var(--sage-100); border-radius: 12px; padding: 14px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--forest); }
.consent label { font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent.invalid { border-color: #d84a4a; background: #fdf2f2; }

.submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--blue-600); color: #fff; border: 0; cursor: pointer; width: 100%;
  font-family: var(--body); font-weight: 600; font-size: 16.5px; padding: 15px; border-radius: 12px;
  box-shadow: 0 8px 22px rgba(40,119,255,.26); transition: background .18s, transform .12s;
}
.submit-btn:hover { background: var(--blue-700); transform: translateY(-1px); }
.submit-btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }

.form-alert { border-radius: 12px; padding: 14px 16px; font-size: 14px; display: none; }
.form-alert.show { display: block; }
.form-alert.ok { background: var(--sage-050); border: 1px solid var(--sage-300); color: var(--forest-700); }
.form-alert.bad { background: #fdf2f2; border: 1px solid #eaa; color: #a33; }

.reg-success { display: none; text-align: center; padding: 20px 6px; }
.reg-success.show { display: block; animation: fade .4s ease both; }
.reg-success .check { width: 74px; height: 74px; border-radius: 50%; background: var(--sage-050); border: 2px solid var(--sage-300); display: grid; place-items: center; margin: 0 auto 18px; }
.reg-success .check svg { width: 38px; height: 38px; stroke: var(--forest); }
.reg-success h3 { font-size: 22px; }
.reg-success .dates-box { background: var(--cream-soft); border: 1px solid #EEE6C6; border-radius: 12px; padding: 16px; margin: 18px auto 0; max-width: 420px; }
.reg-success .dates-box .big { font-family: var(--display); font-size: 22px; color: var(--forest); }

/* ============================ CONTACT =============================== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-card h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.contact-card .loc { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.contact-card .rows { display: grid; gap: 7px; }
.contact-card .rows a, .contact-card .rows span { font-size: 13.5px; display: flex; align-items: center; gap: 9px; color: var(--ink); }
.contact-card .rows svg { width: 16px; height: 16px; stroke: var(--sage); flex: none; }

/* ============================ LEGAL ================================== */
.legal { max-width: 820px; }
.legal h1, .legal h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px,4vw,38px); }
.legal h3 { font-size: 18px; margin-top: 28px; color: var(--forest); }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal ul { padding-left: 20px; }
.legal .updated { font-size: 13px; color: var(--sage-ink); font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer; color: var(--blue-600); font-family: var(--body); font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 18px; }
.back-link svg { width: 16px; height: 16px; }

/* ============================ FOOTER ================================= */
.site-footer { background: var(--forest-900); color: #cfe3d6; margin-top: 60px; padding: 46px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--body); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.site-footer a { color: #cfe3d6; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand__title { font-family: var(--display); font-size: 20px; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.footer-brand p { font-size: 13.5px; color: #a9c9b5; max-width: 34ch; margin-top: 8px; }
.footer-links { display: grid; gap: 9px; }
.footer-links button { background: none; border: 0; color: #cfe3d6; font-family: var(--body); font-size: 14px; cursor: pointer; text-align: left; padding: 0; }
.footer-links button:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12.5px; color: #9bbaa6; }
.footer-bottom .legal-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================ COOKIE BANNER ========================== */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 18px 20px; display: none; gap: 16px; align-items: center;
}
.cookie.show { display: flex; animation: fade .4s ease both; }
.cookie__txt { font-size: 13.5px; color: var(--muted); }
.cookie__txt b { color: var(--forest-900); }
.cookie__actions { display: flex; gap: 9px; flex: none; }
.cookie__actions button { font-family: var(--body); font-weight: 600; font-size: 13.5px; border-radius: 10px; padding: 10px 16px; cursor: pointer; border: 1px solid var(--line); }
.cookie__actions .accept { background: var(--forest); color: #fff; border-color: var(--forest); }
.cookie__actions .accept:hover { background: var(--forest-700); }
.cookie__actions .more { background: #fff; color: var(--forest); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 560px; }
  .reg-grid { grid-template-columns: 1fr; }
  .reg-aside .card { position: static; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .spk-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .themes-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .nav, .btn-nav-cta.desktop-only { display: none; }
  .hamburger { display: inline-flex; }
  .nav.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px; gap: 4px; box-shadow: var(--shadow);
  }
  .nav.mobile-open .nav__link { width: 100%; text-align: left; padding: 12px 14px; }
  .two { grid-template-columns: 1fr; }
  .prog__row { grid-template-columns: 1fr; }
  .prog__time { border-right: 0; border-bottom: 2px solid var(--blue-050); }
  .contact-grid, .grid.cols-2, .grid.cols-3, .grid.cols-4, .themes-row, .spk-grid, .footer-grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions button { flex: 1; }
}
