/* ==========================================================================
   Summer Side Quest — Deventer
   Everything on this page is drawn with CSS/SVG: the tropical decorations,
   the sunset hero, the badge logo and the category cards.
   ========================================================================== */

:root {
  /* Palette taken from the poster design */
  --cream: #fdf3e2;
  --cream-deep: #f8e6c8;
  --paper: #fffaf0;
  --orange: #e4611c;
  --orange-dark: #c94f12;
  --orange-light: #f4832f;
  --blue: #1b4f8f;
  --blue-dark: #123a6b;
  --blue-light: #2f7ec4;
  --green: #4c9a2a;
  --purple: #6b3fa0;
  --pink: #e0347a;
  --gold: #f0a500;
  --ink: #2c2318;
  --ink-soft: #5c5145;
  --white: #ffffff;

  --shadow-sm: 0 2px 6px rgba(60, 40, 12, .10);
  --shadow-md: 0 8px 20px rgba(60, 40, 12, .13);
  --shadow-lg: 0 18px 44px rgba(40, 26, 8, .18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  --shell: 1360px;
  --gutter: clamp(16px, 3vw, 28px);

  --font-display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;
}

/* -------------------------------------------------------------- basics --- */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  /* subtle paper texture, drawn with gradients */
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .55), transparent 45%),
    radial-gradient(circle at 82% 8%, rgba(255, 226, 178, .5), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(248, 230, 200, .8), transparent 55%);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 820px; }
.center { text-align: center; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

.visually-hidden, .honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: 0 0 12px 12px; font-weight: 700;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn .icon { font-size: 1.15em; }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }

.btn--whatsapp { background: var(--orange); color: #fff; }
.btn--whatsapp:hover { background: var(--orange-dark); }

.btn--ghost {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 2px rgba(27, 79, 143, .35);
}
.btn--ghost:hover { background: rgba(27, 79, 143, .08); box-shadow: inset 0 0 0 2px var(--blue); }

.btn--block { display: flex; width: 100%; }
.btn--small { padding: 9px 18px; font-size: .82rem; }

/* -------------------------------------------------------------- header --- */

.site-header {
  position: relative;
  z-index: 30;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding-block: 10px;
  min-height: 92px;
}

.logo { flex: none; display: block; line-height: 0; }
.logo__mark {
  width: clamp(96px, 10vw, 150px);
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(60, 40, 12, .22));
  transition: transform .2s ease;
}
.logo:hover .logo__mark { transform: rotate(-3deg) scale(1.03); }

.nav { margin-inline: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
  margin: 0; padding: 0; list-style: none;
}
.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(.78rem, .92vw, .95rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 5px;
  text-decoration: none;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.nav__link:hover { color: var(--orange); text-decoration: none; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--orange); }

.site-header__cta { flex: none; padding: 13px 24px; }

.nav-toggle {
  display: none;
  flex: none;
  width: 46px; height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  cursor: pointer;
  padding: 11px 10px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  margin-top: -92px;
  padding-top: 92px;
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  background-color: #2a6fa8;
  inset: 0 0 auto 0;
  height: clamp(420px, 42vw, 520px);
  z-index: -2;
  overflow: hidden;
  background-size: cover;
  background-position: center 60%;
  /* torn/organic bottom edge */
  -webkit-mask-image: radial-gradient(120% 92% at 50% 0%, #000 72%, transparent 100%);
  mask-image: radial-gradient(120% 92% at 50% 0%, #000 72%, transparent 100%);
}

/* Painted sunset over the Deventer skyline — replaced by a photo as soon as
   one is uploaded in the CMS (the layers sit behind background-image). */
.hero__sky {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      #6fc3e8 0%,
      #a9dcef 18%,
      #ffd9a3 46%,
      #ffb26b 62%,
      #f38b4a 74%,
      #2f7ec4 74.2%,
      #1f5e97 100%);
  z-index: -3;
}
.hero__sun {
  position: absolute;
  left: 58%; top: 42%;
  width: clamp(110px, 12vw, 168px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff3c4 0%, #ffcf6b 45%, #ff9d3c 70%, rgba(255,157,60,0) 72%);
  filter: blur(1px);
  z-index: -3;
}
.hero__skyline {
  position: absolute;
  left: 0; right: 0; bottom: 26%;
  width: 100%;
  height: auto;
  opacity: .92;
  z-index: -3;
}
.hero__river {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26%;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.16) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #4a9ed0 0%, #2a6fa8 55%, #1b4f8f 100%);
  z-index: -3;
}

.hero__veil {
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(420px, 42vw, 520px);
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(253, 243, 226, .96) 0%, rgba(253, 243, 226, .5) 22%, rgba(253, 243, 226, 0) 45%),
    linear-gradient(90deg, rgba(253, 243, 226, .85) 0%, rgba(253, 243, 226, .25) 38%, rgba(253, 243, 226, 0) 62%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: clamp(24px, 4vw, 60px);
  padding-top: clamp(18px, 3vw, 38px);
  padding-bottom: clamp(30px, 5vw, 70px);
}

.hero__copy { padding-top: clamp(4px, 1.5vw, 22px); }

.hero__kicker {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.85rem);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 0 2px 0 rgba(255, 255, 255, .55);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.hero__title-a,
.hero__title-b {
  display: block;
  font-size: clamp(3.2rem, 8.4vw, 7.6rem);
  /* screen-printed look: layered shadow + subtle grain via background-clip */
  text-shadow:
    0 3px 0 rgba(255, 255, 255, .55),
    0 6px 14px rgba(70, 40, 10, .18);
}
.hero__title-a { color: var(--orange); }
.hero__title-b { color: var(--blue); font-size: clamp(2.5rem, 6.2vw, 5.6rem); }

.hero__squiggle {
  display: block;
  width: clamp(140px, 18vw, 230px);
  height: auto;
  margin: 10px 0 14px;
}

.hero__subtitle {
  margin: 0;
  max-width: 22ch;
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
  line-height: 1.28;
  color: var(--blue);
}

/* ----------------------------------------------------------- info card --- */

.info-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(228, 97, 28, .1);
}
.info-card--static { box-shadow: var(--shadow-md); }

.info-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--blue);
}

.info-card__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.info-card__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--blue-dark);
}
.info-card__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  font-size: 21px;
}
.info-card__icon.c-orange { color: var(--orange); }
.info-card__icon.c-blue { color: var(--blue-light); }

/* --------------------------------------------------------------- intro --- */

.intro {
  padding-top: clamp(6px, 1.5vw, 14px);
  padding-bottom: clamp(18px, 2.6vw, 30px);
  text-align: center;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: .01em;
}
.section-title--left { justify-content: flex-start; }
.flourish { width: clamp(46px, 5vw, 70px); height: auto; flex: none; }
.flourish--flip { transform: scaleX(-1); }

.intro__text {
  max-width: 74ch;
  margin: 0 auto;
  font-size: clamp(.95rem, 1.15vw, 1.05rem);
  color: var(--ink-soft);
}

/* ---------------------------------------------------------- event grid --- */

.programme { padding-block: clamp(18px, 2.4vw, 30px); }

.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  align-items: stretch;
}
.cards--1 { grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-inline: auto; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  --cat: var(--blue-light);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__link:hover { text-decoration: none; }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* Drawn stand-in when no photo is uploaded yet */
.card__media--drawn {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .5), transparent 60%),
    linear-gradient(140deg, color-mix(in srgb, var(--cat) 78%, white), color-mix(in srgb, var(--cat) 100%, black 12%));
}
.card__glyph {
  width: 42%; height: 42%;
  color: rgba(255, 255, 255, .82);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18));
}

.card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px 9px 12px;
  background: var(--cat);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(.66rem, .74vw, .82rem);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.15;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.card__label span { min-width: 0; }
.card__label .icon { font-size: 1.25em; }

.card__flag {
  position: absolute;
  top: 9px; right: 9px;
  background: rgba(18, 58, 107, .88);
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 11px;
  border-radius: 999px;
}
.card.is-past .card__media img { filter: grayscale(.35); }

.card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.card__date {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--cat);
  font-weight: 800;
  font-size: clamp(.74rem, .82vw, .84rem);
  letter-spacing: .02em;
}
.card__date .icon { font-size: 1.15em; }

.card__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 3px;
  color: var(--ink-soft);
  font-size: clamp(.8rem, .88vw, .9rem);
}
.card__list li::marker { color: var(--cat); }
.card__summary { margin: 0; color: var(--ink-soft); font-size: .88rem; }

/* Category colours — add a new one here and in helpers.js CATEGORIES */
.cat-water   { --cat: #2e9bd6; }
.cat-creatief{ --cat: #e4611c; }
.cat-sport   { --cat: #4c9a2a; }
.cat-film    { --cat: #6b3fa0; }
.cat-vossenjacht { --cat: #e0347a; }
.cat-afsluiting  { --cat: #f0a500; }
.cat-overig  { --cat: #1b4f8f; }

/* --------------------------------------------------------------- facts --- */

.facts { padding-block: clamp(18px, 2.6vw, 34px) clamp(28px, 4vw, 52px); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}
.facts__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fact {
  --fact: var(--blue);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.fact__icon { color: var(--fact); font-size: 28px; line-height: 1; flex: none; margin-top: 2px; }
.fact h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(.78rem, .9vw, .92rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--fact);
}
.fact p { margin: 0; font-size: clamp(.78rem, .88vw, .88rem); color: var(--ink-soft); line-height: 1.45; }

.fact--blue { --fact: #1b4f8f; }
.fact--green { --fact: #4c9a2a; }
.fact--orange { --fact: #e4611c; }
.fact--water { --fact: #2e9bd6; }
.fact--pink { --fact: #e0347a; }

/* ------------------------------------------------------ generic pieces --- */

.section { padding-block: clamp(28px, 4vw, 56px); }
.section--tint { background: rgba(255, 255, 255, .55); }
.section--center { text-align: center; }

.page-head {
  position: relative;
  padding-block: clamp(18px, 3vw, 42px) clamp(10px, 1.6vw, 20px);
}
.page-head__kicker {
  margin: 0 0 2px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--blue-light);
  letter-spacing: .02em;
}
.page-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .95;
  text-transform: uppercase;
  color: var(--orange);
  text-shadow: 0 3px 0 rgba(255, 255, 255, .5);
}
.page-head__lead { margin: 12px 0 0; max-width: 62ch; color: var(--ink-soft); font-size: 1.02rem; }

.prose { color: var(--ink-soft); }
.prose p { margin: 0 0 1em; }
.prose--lead { font-size: 1.08rem; }

.empty {
  margin: 0;
  padding: 28px;
  text-align: center;
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.notice {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(47, 126, 196, .1);
  color: var(--blue-dark);
  font-size: .9rem;
}

.handwritten { font-family: var(--font-hand); font-weight: 700; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-soft); }
.checklist .icon { color: var(--green); font-size: 1.15em; margin-top: .28em; }
.checklist--large li { font-size: 1.05rem; }

.tick-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.tick-list li { display: flex; align-items: center; gap: 10px; }
.tick-list .icon { color: var(--green); }

/* -------------------------------------------------------- event detail --- */

.event__head { padding-block: clamp(16px, 2.6vw, 34px) clamp(8px, 1.4vw, 18px); }
.event__head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}
.event__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cat, var(--blue));
  color: #fff;
  font-family: var(--font-display);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.event__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: .94;
  text-transform: uppercase;
  color: var(--orange);
  text-shadow: 0 3px 0 rgba(255, 255, 255, .5);
}
.event__summary { margin: 14px 0 0; font-size: 1.08rem; color: var(--blue-dark); font-weight: 600; max-width: 46ch; }

.event__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
  background: var(--cream-deep);
}
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__media--drawn {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .5), transparent 60%),
    linear-gradient(140deg, color-mix(in srgb, var(--cat) 78%, white), color-mix(in srgb, var(--cat) 100%, black 12%));
}
.event__glyph { width: 34%; height: 34%; color: rgba(255, 255, 255, .85); }

.event__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(30px, 5vw, 64px);
  align-items: start;
}
.event__subtitle {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--blue);
}
.event__aside { position: sticky; top: 20px; display: grid; gap: 12px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.gallery--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery__item { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__item figcaption { padding: 8px 12px 10px; font-size: .82rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- form --- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field--narrow { max-width: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.field label { font-weight: 700; color: var(--blue-dark); font-size: .92rem; }
.field__note { font-weight: 500; color: var(--ink-soft); font-size: .84rem; }
.field__hint { margin: -8px 0 0; font-size: .84rem; color: var(--ink-soft); }
.req { color: var(--orange); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="date"], input[type="time"], input[type="url"],
select, textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(27, 79, 143, .18);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(47, 126, 196, .16);
  outline: none;
}
textarea { resize: vertical; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: .92rem; color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; }
.alert p { margin: 0 0 6px; }
.alert ul { margin: 0; padding-left: 20px; }
.alert--error { background: rgba(224, 52, 122, .1); color: #9c1f4e; border: 1px solid rgba(224, 52, 122, .25); }
.alert--success { background: rgba(76, 154, 42, .12); color: #2f6b19; border: 1px solid rgba(76, 154, 42, .3); }

.thanks-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.thanks-card__badge {
  display: grid; place-items: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 36px;
}
.thanks-card__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: uppercase; color: var(--blue); }
.thanks-card__lead { margin: 0; font-weight: 700; color: var(--orange); }
.thanks-card__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* ------------------------------------------------------------- contact --- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-card {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 22px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.contact-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(27, 79, 143, .1); color: var(--blue); font-size: 24px; }
.contact-card--whatsapp .contact-card__icon { background: rgba(37, 211, 102, .16); color: #1da851; }
.contact-card h2 { margin: 6px 0 0; font-family: var(--font-display); font-size: 1.05rem; color: var(--blue); text-transform: uppercase; }
.contact-card p { margin: 0; font-weight: 700; }
.contact-card__cta { font-size: .85rem; color: var(--orange); font-weight: 700; }

.qr-block {
  display: inline-block;
  margin: 18px auto;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.error-kicker { font-size: 2rem; color: var(--orange); margin: 0; }
.error-text { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 22px; }

/* ----------------------------------------------------------------- CTA --- */

.cta { padding-block: clamp(24px, 3.4vw, 44px); }
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #fff6e6, #ffe9cc);
  box-shadow: var(--shadow-md);
}
.cta__kicker { margin: 0; font-size: 1.5rem; color: var(--orange); }
.cta__title { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); text-transform: uppercase; color: var(--blue); }
.cta__text { margin: 0; color: var(--ink-soft); max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------- footer --- */

.site-footer {
  margin-top: clamp(20px, 3vw, 40px);
  background: linear-gradient(180deg, #1e5296 0%, #17457f 100%);
  color: #fff;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -22px;
  height: 24px;
  background: inherit;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 100%, #000 70%, transparent 72%);
  mask-image: radial-gradient(120% 100% at 50% 100%, #000 70%, transparent 72%);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  padding-block: clamp(24px, 3vw, 34px);
}

.footer-block { display: flex; align-items: center; gap: 16px; }
.footer-block--social { flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-block--partners { gap: 16px; flex-wrap: wrap; }

.footer-badge {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 30px;
  flex: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}
.footer-badge--insta { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); width: 44px; height: 44px; font-size: 24px; }
.footer-badge--fb { background: #1877f2; width: 44px; height: 44px; font-size: 24px; }

.footer-block__kicker { margin: 0; font-size: 1.55rem; line-height: 1.1; color: #fff; white-space: nowrap; }
.footer-block__text { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.footer-phone {
  display: inline-block;
  margin-top: 2px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  color: #fff;
  letter-spacing: .01em;
}
.footer-phone:hover { color: #ffd7a8; text-decoration: none; }

.footer-block--qr { position: relative; gap: 16px; }
.footer-qr { background: #fff; padding: 8px; border-radius: 8px; line-height: 0; box-shadow: var(--shadow-sm); }
.footer-qr img { width: 104px; height: 104px; }
.footer-qr__text { min-width: 250px; }
.footer-qr__hint { margin: 0; font-size: 1.2rem; line-height: 1.15; color: rgba(255, 255, 255, .95); }
.footer-arrow { width: 84px; height: auto; align-self: center; transform: scaleX(-1) rotate(4deg); }
.footer-arrow path { stroke: rgba(255, 255, 255, .8); }

.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-handle { font-family: var(--font-display); font-size: .92rem; letter-spacing: .02em; }

.footer-partner {
  height: 54px;
  width: auto;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}

.site-footer__bar { background: rgba(0, 0, 0, .18); font-size: .84rem; }
.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}
.site-footer__bar p { margin: 0; color: rgba(255, 255, 255, .8); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* ----------------------------------------------------- language switch --- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  box-shadow: inset 0 0 0 2px rgba(27, 79, 143, .18);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .04em;
  text-decoration: none;
  line-height: 1;
}
.lang-switch__on,
.lang-switch__off { padding: 5px 9px; border-radius: 999px; }
.lang-switch__on { background: var(--blue); color: #fff; }
.lang-switch__off { color: var(--blue); opacity: .75; }
.lang-switch:hover .lang-switch__off { opacity: 1; background: rgba(27, 79, 143, .12); }

/* the menu already carries the switch on small screens */
.nav__lang { display: none; }

.footer-links a { color: rgba(255, 255, 255, .85); }
.footer-links a:hover { color: #fff; }
.footer-wifi { color: rgba(255, 255, 255, .92); text-decoration: underline; text-underline-offset: 2px; }
.footer-wifi:hover { color: #fff; }

/* ---------------------------------------------------------- decoration --- */

.decor {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.decor__item { position: absolute; filter: drop-shadow(0 6px 10px rgba(40, 26, 8, .12)); }

.decor__palm--tl { top: -34px; left: -60px; width: 320px; transform: rotate(14deg); }
.decor__palm--tr { top: -46px; right: -70px; width: 340px; transform: rotate(166deg) scaleY(-1); }
.decor__palm--ml { top: 300px; left: -170px; width: 300px; transform: rotate(-28deg); }
.decor__palm--mr { top: 250px; right: -180px; width: 320px; transform: rotate(208deg) scaleY(-1); }

.decor__leaf--l { top: 470px; left: -90px; width: 190px; transform: rotate(-24deg); opacity: .9; }
.decor__leaf--r { top: 520px; right: -80px; width: 175px; transform: rotate(28deg); opacity: .9; }

/* The flowers and the two middle palms are positioned against the homepage
   hero; on the other pages the corner palms and leaves carry the tropical look
   on their own, so they never end up on top of a heading. */
.decor__flower, .decor__palm--ml, .decor__palm--mr { display: none; }
.page--home .decor__flower,
.page--home .decor__palm--ml,
.page--home .decor__palm--mr { display: block; }

.decor__flower--pink { top: 236px; left: 6px; width: 140px; transform: rotate(-8deg); }
.decor__flower--yellow { top: 296px; right: 4px; width: 130px; transform: rotate(10deg); }
.decor__flower--small { top: 548px; left: 34px; width: 74px; transform: rotate(16deg); }
.decor__flower--small2 { top: 596px; right: 112px; width: 66px; transform: rotate(-14deg); }

.page--home .decor { height: 1400px; }

/* ---------------------------------------------------------- responsive --- */

/* The big flowers only fit fully beside the hero column on very wide screens.
   Below ~1600px the shell moves left far enough that they would cover the "S"
   of SUMMER, so they get tucked into the edge and are cropped by the viewport —
   the same look as the poster. */
@media (max-width: 1600px) {
  .page--home .decor__flower--pink { left: -118px; width: 132px; }
  .page--home .decor__flower--yellow { right: -108px; width: 124px; }
}

/* Same story for the middle palms and side leaves: below ~1700px the hero
   column and the info card reach into them, so on the homepage they step aside
   and the corner palms carry the tropical look on their own. */
@media (max-width: 1699px) {
  .page--home .decor__palm--ml,
  .page--home .decor__palm--mr,
  .page--home .decor__leaf--l,
  .page--home .decor__leaf--r { display: none; }
}

@media (max-width: 1440px) {
  .page--home .decor__flower--small, .page--home .decor__flower--small2 { display: none; }
}

@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__list { gap: 14px; }
}

@media (max-width: 1024px) {
  .site-header__inner { flex-wrap: wrap; min-height: 0; }
  .nav-toggle { display: block; order: 3; margin-left: auto; }
  .site-header__cta { order: 2; margin-left: auto; }
  .nav {
    order: 4;
    flex-basis: 100%;
    margin: 0;
    display: none;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 12px 16px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__link { display: block; padding: 10px 0; font-size: 1rem; }

  .hero { margin-top: 0; padding-top: 0; }
  .hero__photo, .hero__veil { height: 100%; }
  .hero__photo {
    -webkit-mask-image: radial-gradient(140% 96% at 50% 0%, #000 78%, transparent 100%);
    mask-image: radial-gradient(140% 96% at 50% 0%, #000 78%, transparent 100%);
  }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .info-card { max-width: 460px; }

  .event__head-inner, .event__grid, .form-layout { grid-template-columns: minmax(0, 1fr); }
  .event__aside { position: static; }

  .site-footer__inner { justify-content: flex-start; }
  .decor__palm--ml, .decor__palm--mr, .decor__leaf--l, .decor__leaf--r,
  .page--home .decor__palm--ml, .page--home .decor__palm--mr { display: none; }
  /* On narrow screens the flowers bleed in over the hero column, so they have to
     sit behind the text instead of on top of it. .decor precedes .hero in the
     DOM, so an equal z-index lets the hero paint above it. */
  .decor { z-index: 0; }
  .page--home .decor__flower--pink { top: 128px; left: -58px; width: 112px; }
  .page--home .decor__flower--yellow { top: 186px; right: -48px; width: 104px; }
}

@media (max-width: 720px) {
  .cards, .cards--3, .cards--4, .cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid, .facts__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .field--narrow { max-width: none; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-arrow { display: none; }
  .hero__title-a, .hero__title-b { text-shadow: 0 2px 0 rgba(255, 255, 255, .5); }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .cards, .cards--2, .cards--3, .cards--4, .cards--5 { grid-template-columns: minmax(0, 1fr); }
  .facts__grid, .facts__grid--3 { grid-template-columns: minmax(0, 1fr); }
  .site-header__cta span { display: none; }
  .site-header__cta { padding: 12px 14px; }
  .decor__palm--tl, .decor__palm--tr { width: 210px; }
}

@media print {
  .site-header, .site-footer, .decor, .btn { display: none !important; }
  body { background: #fff; }
}
