:root {
  --blue: #3a6ea5;
  --blue-soft: #5e8ebd;
  --snow: #f7f9fa;
  --graphite: #24303a;
  --graphite-soft: #55697a;
  --accent: #f28c28;
  --accent-soft: #ffbf72;
  --warm-bg: #fff4e5;
  --line: rgba(31, 47, 61, 0.14);
  --card: rgba(255, 255, 255, 0.96);
  --shadow: 0 18px 38px rgba(241, 135, 58, 0.14);
  --shadow-blue: 0 16px 34px rgba(11, 58, 92, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #f4f9ff 0%, #f7f9fa 45%, #ffffff 100%);
  color: var(--graphite);
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  line-height: 1.16;
}

p {
  margin: 0;
  color: var(--graphite-soft);
  line-height: 1.6;
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 0.6rem;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.6rem;
}

.container {
  width: min(100% - 1.4rem, var(--max));
  margin-inline: auto;
}

body.no-scroll {
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(31, 47, 61, 0.08);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.logo-box {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 0.82rem/1 "Nunito", sans-serif;
  background: linear-gradient(130deg, var(--blue-soft), var(--blue));
}

.logo-img {
  max-height: 44px;
  width: auto;
}

.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 800;
  font-size: 0.98rem;
  font-family: "Nunito", sans-serif;
}

.brand-text small {
  display: block;
  color: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-top: 0.1rem;
  font-family: "Nunito", sans-serif;
}

.menu-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--graphite);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.menu-button-bar {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--graphite);
  display: inline-block;
}

.menu-button-bar::before,
.menu-button-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--graphite);
}

.menu-button-bar::before {
  top: -6px;
}

.menu-button-bar::after {
  top: 6px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(15, 30, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-close {
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--graphite);
  font-size: 1.4rem;
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: min(86vw, 340px);
  display: grid;
  align-content: start;
  gap: 0.2rem;
  background: #ffffff;
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 40px rgba(11, 58, 92, 0.18);
  padding: 4.2rem 1rem 1.4rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.menu.open {
  transform: translateX(0);
}

.nav-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.2rem;
}

.menu-link {
  padding: 0.85rem 0.7rem;
  border-radius: 10px;
  font-weight: 700;
  color: var(--graphite-soft);
  font-size: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.menu-link:hover,
.menu-link:focus-visible,
.menu-link.active {
  background: #e9f6ff;
  color: var(--blue);
}

.submenu-toggle {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
}

.submenu {
  grid-column: 1 / -1;
  display: none;
  gap: 0.1rem;
  padding: 0 0 0.35rem;
}

.nav-item.open .submenu {
  display: grid;
}

.nav-item.open .submenu-toggle {
  border-color: rgba(11, 58, 92, 0.2);
  background: #f1f8ff;
}

.submenu-link {
  margin-left: 0.8rem;
  min-height: 40px;
  padding: 0.58rem 0.7rem;
  border-radius: 10px;
  color: var(--graphite-soft);
  font-weight: 700;
}

.submenu-link:hover,
.submenu-link:focus-visible {
  background: #fff6ea;
  color: #8f4f14;
}

.section {
  padding: 3rem 0;
}

.mountain-divider {
  position: relative;
  height: 42px;
  margin: -0.4rem 0 0;
  background:
    linear-gradient(145deg, rgba(58, 110, 165, 0.08), rgba(242, 140, 40, 0.08)),
    linear-gradient(to top right, transparent 49%, rgba(58, 110, 165, 0.16) 50%, transparent 51%),
    linear-gradient(to top left, transparent 49%, rgba(242, 140, 40, 0.2) 50%, transparent 51%);
  background-size: auto, 46px 42px, 62px 42px;
  background-position: 0 0, 0 0, 28px 0;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 2.4rem 0 2.9rem;
}

.hero-cinematic {
  background: linear-gradient(170deg, rgba(214, 233, 249, 0.76), rgba(255, 242, 224, 0.94));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  filter: blur(2px);
}

.hero::before {
  width: 300px;
  height: 300px;
  right: -120px;
  top: -30px;
  background: radial-gradient(circle, rgba(241, 135, 58, 0.33), rgba(241, 135, 58, 0.02));
}

.hero::after {
  width: 280px;
  height: 280px;
  left: -130px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(42, 98, 135, 0.25), rgba(42, 98, 135, 0.02));
}

.grid {
  display: grid;
  gap: 0.85rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 0.8rem;
}

.panel {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: 0 12px 26px rgba(241, 135, 58, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(241, 135, 58, 0.14);
}

.panel-warm {
  background: linear-gradient(160deg, #fff, var(--warm-bg));
  border-color: rgba(241, 135, 58, 0.25);
}

.headline {
  font-size: clamp(1.95rem, 6.5vw, 3.4rem);
  max-width: 16ch;
  margin-bottom: 0.65rem;
}

.lead {
  max-width: 62ch;
  margin-bottom: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.chip {
  border-radius: 999px;
  background: #e3f3ff;
  color: var(--blue);
  border: 1px solid rgba(42, 98, 135, 0.22);
  padding: 0.29rem 0.64rem;
  font: 700 0.75rem/1 "Nunito", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-row {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 0.82rem 1.3rem;
  min-height: 46px;
  font: 800 0.95rem/1 "Nunito", sans-serif;
  border: 0;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #2a1806;
  background: linear-gradient(130deg, var(--accent-soft), var(--accent));
  box-shadow: 0 12px 22px rgba(241, 135, 58, 0.32);
}

.btn-ghost {
  border: 2px solid rgba(11, 58, 92, 0.18);
  color: var(--blue);
  background: #fff;
}

.hero-card {
  min-height: 270px;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  color: #fff;
  background: linear-gradient(140deg, #194f77, #0d2f4d);
  display: grid;
  align-content: end;
}

.hero-card p {
  color: #d7eaf7;
}

.hero-card-list li {
  color: #d7eaf7;
}

.hero-photo {
  min-height: 270px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #2b6da0, #8ec8e8);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-photo-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.02) 45%),
    linear-gradient(135deg, rgba(40, 88, 139, 0.9), rgba(110, 170, 218, 0.8));
  background-size: 130% 130%;
  animation: framePan 20s ease-in-out infinite alternate;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  content: "Bambini e famiglie sulla neve";
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  color: #ffffff;
  font-weight: 800;
  font-family: "Nunito", sans-serif;
}

.welcome-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid rgba(241, 135, 58, 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  font: 800 0.85rem/1 "Nunito", sans-serif;
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(241, 135, 58, 0.16);
  margin-bottom: 1rem;
}

.welcome-strip span.avatar-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.story-grid {
  display: grid;
  gap: 0.9rem;
}

.value-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(241, 135, 58, 0.2);
  background: linear-gradient(160deg, #fff, #fff8ee);
  padding: 1.15rem;
  display: grid;
  gap: 0.5rem;
  box-shadow: 0 12px 24px rgba(241, 135, 58, 0.1);
}

.value-card .icon-dot {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.trust-row {
  display: grid;
  gap: 0.7rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.trust-item .icon-dot {
  width: 44px;
  height: 44px;
  flex: none;
  font-size: 1rem;
  border-radius: 12px;
}

.trust-item p {
  margin: 0;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 0.9rem/1 "Nunito", sans-serif;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  flex: none;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.4rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0d3f63, #1c6a97 55%, #f1873a 140%);
  box-shadow: 0 24px 48px rgba(11, 58, 92, 0.28);
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner p {
  color: #eaf6ff;
  max-width: 56ch;
  margin: 0.6rem auto 1.1rem;
}

.cta-banner .cta-row {
  justify-content: center;
  grid-template-columns: 1fr;
}

.cta-banner .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(42, 98, 135, 0.2);
  padding: 0.3rem 0.62rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  background: #eff8ff;
}

.icon-grid {
  display: grid;
  gap: 0.8rem;
}

.icon-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.65rem;
  align-items: start;
}

.icon-dot {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font: 800 1.15rem/1 "Nunito", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
}

.testimonial {
  border-left: 4px solid var(--accent);
  padding-left: 0.75rem;
}

.testimonial small {
  display: block;
  margin-top: 0.45rem;
  color: var(--blue);
  font-weight: 700;
}

.activity-card {
  display: grid;
  gap: 0.55rem;
}

.activity-photo {
  height: 150px;
  border-radius: 12px;
  background: linear-gradient(140deg, #0f4368, #7db6da);
  position: relative;
  overflow: hidden;
}

.activity-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-photo.kids {
  background: linear-gradient(140deg, #f08c3f, #ffd5ad);
}

.activity-photo.camp {
  background: linear-gradient(140deg, #0d2f4b, #6ea4cb);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.meta-badge {
  border-radius: 999px;
  padding: 0.25rem 0.52rem;
  background: #edf7ff;
  border: 1px solid rgba(42, 98, 135, 0.22);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.filter-row select {
  max-width: 220px;
}

.wizard {
  display: grid;
  gap: 0.7rem;
}

.wizard-steps {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.wizard-step {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--graphite-soft);
  background: #fff;
}

.wizard-step.active {
  color: var(--blue);
  border-color: rgba(42, 98, 135, 0.45);
  background: #e8f5ff;
}

.wizard-panel {
  display: grid;
  gap: 0.58rem;
}

.smart-form.wizard-ready .wizard-panel {
  display: none;
}

.smart-form.wizard-ready .wizard-panel.active {
  display: grid;
  gap: 0.58rem;
}

.wizard-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.wizard-actions .btn {
  min-width: 140px;
}

.wizard-step-note {
  font-size: 0.8rem;
  color: var(--graphite-soft);
  font-weight: 600;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.faq-item h4 {
  margin-bottom: 0.25rem;
}

.map-box {
  border-radius: 12px;
  border: 1px solid var(--line);
  min-height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f1f8ff, #d9ecfa);
  color: var(--blue);
  font-weight: 700;
}

.muted {
  color: #6a7e8f;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.85rem;
  background: rgba(11, 33, 54, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner__content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
  color: #f2f8ff;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mt-8 {
  margin-top: 0.8rem;
}

.narrow-720 {
  max-width: 720px;
}

.narrow-760 {
  max-width: 760px;
}

.slider {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.5s ease;
}

.slide {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f4368, #7db6da);
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-fallback {
  position: absolute;
  inset: 0;
  background-size: 130% 130%;
  animation: framePan 19s ease-in-out infinite alternate;
}

.slide-fallback-1 {
  background-image: linear-gradient(145deg, #0f4368, #7db6da);
}

.slide-fallback-2 {
  background-image: linear-gradient(145deg, #f08c3f, #ffd5ad);
}

.slide-fallback-3 {
  background-image: linear-gradient(145deg, #0d2f4b, #6ea4cb);
}

.slide:nth-child(2) {
  background: linear-gradient(135deg, #f0883d, #ffcc9e);
}

.slide:nth-child(3) {
  background: linear-gradient(135deg, #0d2f4b, #5d93ba);
}

.slide p {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  color: #fff;
  font-weight: 700;
}

.inline-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.inline-controls button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.stat {
  border-radius: 12px;
  border: 1px solid rgba(42, 98, 135, 0.2);
  text-align: center;
  background: linear-gradient(150deg, #fff, #eef8ff);
  padding: 0.72rem;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 1.25rem;
}

.section-title {
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  margin-bottom: 0.55rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 2.2rem;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.page-hero::before {
  width: 380px;
  height: 380px;
  right: -140px;
  top: -120px;
  background: radial-gradient(circle, rgba(11, 58, 92, 0.18), rgba(11, 58, 92, 0.01));
  animation: driftBlob 11s ease-in-out infinite alternate;
}

.page-hero::after {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(241, 135, 58, 0.2), rgba(241, 135, 58, 0.01));
  animation: driftBlob 14s ease-in-out infinite alternate-reverse;
}

.page-hero-activities {
  background: linear-gradient(160deg, rgba(210, 235, 251, 0.35), rgba(255, 247, 233, 0.85));
}

.page-hero-membership {
  background: linear-gradient(160deg, rgba(255, 244, 224, 0.6), rgba(231, 246, 255, 0.7));
}

.page-hero-camp {
  background: linear-gradient(165deg, rgba(224, 241, 253, 0.68), rgba(255, 249, 236, 0.92));
}

.page-hero-about {
  background: linear-gradient(170deg, rgba(232, 245, 255, 0.75), rgba(255, 244, 226, 0.84));
}

.subnav-card {
  margin-top: 0.9rem;
  border: 1px solid rgba(42, 98, 135, 0.2);
  border-radius: 16px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.6rem 0 1rem;
}

.subnav-strong {
  margin-bottom: 0;
}

.subnav a {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid rgba(42, 98, 135, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: #f2f9ff;
}

.subnav-strong a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-width: 2px;
  background: linear-gradient(160deg, #f8fcff, #ebf6ff);
}

.subnav-strong a:hover,
.subnav-strong a:focus-visible {
  color: #8f4f14;
  border-color: rgba(241, 135, 58, 0.45);
  background: linear-gradient(160deg, #fff8ee, #fff0de);
}

.subnav-sticky {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 0.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(42, 98, 135, 0.18);
  backdrop-filter: blur(8px);
}

.subnav-sticky a.active {
  color: #8f4f14;
  border-color: rgba(241, 135, 58, 0.5);
  background: linear-gradient(165deg, #fff8ee, #ffe7cf);
}

.visual-row {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.photo-frame {
  min-height: 140px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 28px rgba(11, 58, 92, 0.14);
  background-size: 130% 130%;
  animation: framePan 18s ease-in-out infinite alternate;
}

.photo-frame-1 {
  background-image: linear-gradient(140deg, rgba(17, 76, 114, 0.88), rgba(129, 186, 220, 0.78)), radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}

.photo-frame-2 {
  background-image: linear-gradient(140deg, rgba(240, 140, 63, 0.86), rgba(255, 214, 166, 0.75)), radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
}

.photo-frame-3 {
  background-image: linear-gradient(140deg, rgba(14, 53, 84, 0.86), rgba(94, 152, 193, 0.82)), radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
}

.photo-frame-4 {
  background-image: linear-gradient(140deg, rgba(11, 82, 79, 0.82), rgba(149, 203, 176, 0.72)), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

@keyframes framePan {
  0% {
    background-position: 0% 0%;
    transform: scale(1);
  }
  100% {
    background-position: 100% 100%;
    transform: scale(1.02);
  }
}

@keyframes driftBlob {
  0% {
    transform: translateY(0) translateX(0);
  }
  100% {
    transform: translateY(18px) translateX(-14px);
  }
}

.list-clean {
  margin: 0;
  padding-left: 1rem;
  color: var(--graphite-soft);
  line-height: 1.6;
}

.list-clean li + li {
  margin-top: 0.35rem;
}

.kicker {
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--blue);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(31, 47, 61, 0.24);
  border-radius: 10px;
  padding: 0.72rem 0.72rem;
  min-height: 46px;
  color: var(--graphite);
  font: inherit;
  font-size: 16px;
  background: #fff;
}

label {
  display: grid;
  gap: 0.2rem;
  color: var(--graphite-soft);
  font-weight: 700;
  font-size: 0.86rem;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.field-error {
  min-height: 1em;
  color: #a63820;
  font-size: 0.78rem;
}

.membership-panel {
  background: linear-gradient(160deg, #fff, #fff8ef);
  border-color: rgba(241, 135, 58, 0.26);
}

.form-block {
  margin: 0 0 0.85rem;
  border: 1px dashed rgba(42, 98, 135, 0.35);
  border-radius: 14px;
  padding: 0.8rem;
}

.form-block legend {
  font-weight: 800;
  color: var(--blue);
  font-size: 0.9rem;
  padding: 0 0.35rem;
}

.form-grid {
  display: grid;
  gap: 0.6rem;
}

.form-grid-2 {
  grid-template-columns: 1fr;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.status-banner {
  margin-top: 0.8rem;
  border: 1px solid rgba(42, 98, 135, 0.2);
  background: #e9f6ff;
  color: var(--blue);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer {
  padding: 2.4rem 0 1.4rem;
  color: #4b6478;
  font-size: 0.92rem;
  background: linear-gradient(180deg, #fff, #fff6ea);
  border-top: 1px solid var(--line);
}

.footer-columns {
  display: grid;
  gap: 1.6rem;
}

.footer-col {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.footer-col h3 {
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 0.15rem;
}

.footer-col a {
  color: #55697a;
  font-weight: 700;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--accent);
}

.footer-brand {
  font-weight: 800;
  color: var(--blue);
  font-size: 1.05rem;
  margin: 0;
}

.footer-col-reserved {
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(31, 47, 61, 0.18);
}

.footer-logo {
  max-width: 140px;
}

.footer-sponsors {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(58, 110, 165, 0.28);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.sponsor-pill {
  border: 1px solid rgba(58, 110, 165, 0.2);
  border-radius: 999px;
  min-height: 44px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  font-weight: 700;
  color: var(--blue);
}

.sponsor-pill.is-placeholder {
  border-style: dashed;
  opacity: 0.8;
}

.sponsor-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 0.72rem/1 "Nunito", sans-serif;
  background: linear-gradient(130deg, var(--blue-soft), var(--blue));
}

.footer-admin-link {
  opacity: 0.75;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.66s ease, transform 0.66s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 780px) {
  .container {
    width: min(100% - 2.2rem, var(--max));
  }

  .menu-button {
    display: none;
  }

  .menu-overlay {
    display: none;
  }

  .menu {
    position: static;
    border: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    width: auto;
    padding: 0;
    overflow: visible;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .nav-item {
    position: relative;
    display: block;
  }

  .menu-link {
    min-height: auto;
    padding: 0.5rem 0.6rem;
  }

  .submenu-toggle {
    display: none;
  }

  .submenu {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    min-width: 240px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-blue);
    padding: 0.5rem;
    z-index: 65;
  }

  .submenu-link {
    margin-left: 0;
  }

  .has-children:hover .submenu,
  .has-children:focus-within .submenu {
    display: grid;
  }

  .menu-close {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .visual-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-hero-about .visual-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-banner {
    padding: 3rem 2rem;
  }

  .cta-row {
    grid-template-columns: repeat(3, max-content);
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: 1.3fr repeat(3, 1fr) 1fr;
  }

  .sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .photo-frame,
  .page-hero::before,
  .page-hero::after {
    animation: none;
    transform: none;
  }

  .hero-photo-fallback,
  .slide-fallback {
    animation: none;
  }
}
