:root {
  --primary: #b61d5c;
  --accent: #ff7a2f;
  --ink: #172033;
  --muted: #f6f2f3;
  --soft: #ffffff;
  --line: #e5dde1;
  --text: #4b5563;
  --shadow: 0 18px 45px rgba(23, 32, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(229,221,225,.8);
  backdrop-filter: blur(14px);
}
.brand img {
  height: 68px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
}
.site-nav { display: flex; align-items: center; gap: 24px; font-weight: 700; font-size: 15px; }
.site-nav a:hover { color: var(--primary); }
.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.language-switcher button {
  min-width: 34px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}
.language-switcher button.active {
  color: #fff;
  background: var(--primary);
}
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 7px 5px; background: var(--ink); }

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  padding: 130px 20px 72px;
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg {
  object-fit: cover;
  object-position: center 58%;
}
.hero-overlay { background: rgba(12, 16, 28, .58); }
.hero-content { position: relative; z-index: 2; width: min(1120px, 100%); text-align: center; }
.hero h1 {
  margin: 0 0 18px;
  font-family: "Dancing Script", cursive;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: .98;
}
.hero p { max-width: 820px; margin: 0 auto 30px; font-size: clamp(18px, 2vw, 26px); }
.hero-actions, .stats { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
}
.button.primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.button.ghost { color: #fff; border-color: #fff; background: transparent; }
.button.wide { width: 100%; }

.stats { margin-top: 54px; }
.stats div { width: min(290px, 100%); padding: 0 18px; border-right: 1px solid rgba(255,255,255,.26); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 36px; line-height: 1; }
.stats span { display: block; margin-top: 8px; font-weight: 700; }
.stats small { display: block; margin-top: 8px; color: rgba(255,255,255,.74); }

.section { padding: 90px clamp(18px, 5vw, 72px); }
.section.compact { padding-top: 64px; padding-bottom: 64px; }
.muted { background: var(--muted); }
.section-head { max-width: 840px; margin: 0 auto 48px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--primary); text-transform: uppercase; font-weight: 900; letter-spacing: .08em; font-size: 13px; }
h2 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; }
h3 { line-height: 1.2; }
.section-head p:not(.eyebrow) { color: var(--text); font-size: 18px; }

.story {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: center;
}
.story > div, .membership, .form, .callout, .featured-event, .services article, .event-grid article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.story > div { padding: clamp(26px, 4vw, 46px); }
.story figure { margin: 0; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.story figure img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
.story figcaption { padding: 18px; text-align: center; }
.story figcaption strong, .story figcaption span { display: block; }
.story figcaption span { color: var(--primary); font-weight: 800; text-transform: uppercase; font-size: 13px; }
.quote { font-size: 22px; font-weight: 800; color: var(--primary); }
.signature { font-weight: 700; }
.callout { max-width: 980px; margin: 46px auto 0; padding: 34px; text-align: center; }

.featured-event { max-width: 1120px; margin: 0 auto 30px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.featured-event img { height: 100%; min-height: 360px; object-fit: cover; }
.featured-event div { padding: clamp(28px, 4vw, 46px); }
.badge { display: inline-block; padding: 7px 12px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); font-weight: 800; }
.event-meta { font-weight: 800; color: var(--primary); }
.event-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.services {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.event-grid article {
  min-height: 210px;
  padding: 28px;
  box-shadow: none;
  border-left: 7px solid var(--primary);
}
.services article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  box-shadow: none;
}
.event-grid span { color: var(--primary); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.event-grid h3 { font-size: 24px; line-height: 1.2; margin: 12px 0; }
.services h3 { font-size: 18px; margin: 10px 0; }
.services p { margin: 0 0 auto; }
.service-cta {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  font-size: 14px;
  text-align: center;
}

.instagram-cta {
  margin-top: 14px;
}
.community-carousel {
  max-width: 1120px;
  margin: 0 auto 26px;
}
.community-carousel:last-child { margin-bottom: 0; }
.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.carousel-head h3 {
  margin: 0;
  font-size: 22px;
}
.carousel-controls {
  display: flex;
  gap: 8px;
}
.carousel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23,32,51,.08);
}
.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  border-color: rgba(182,29,92,.45);
  color: #fff;
  background: var(--primary);
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 28%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  scrollbar-color: var(--primary) #eadfe4;
  scrollbar-width: thin;
}
.carousel-track::-webkit-scrollbar { height: 10px; }
.carousel-track::-webkit-scrollbar-track { background: #eadfe4; border-radius: 999px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }
.carousel-track img {
  width: 100%;
  height: clamp(310px, 38vw, 430px);
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
  box-shadow: 0 12px 28px rgba(23,32,51,.12);
}
.sponsor-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.sponsor-grid a,
.sponsor-grid img {
  height: 140px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.sponsor-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sponsor-grid a:hover,
.sponsor-grid a:focus-visible {
  border-color: rgba(182,29,92,.45);
  box-shadow: 0 12px 28px rgba(23,32,51,.1);
  transform: translateY(-2px);
}
.sponsor-grid a img {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.sponsor-grid img {
  object-fit: contain;
  padding: 18px;
}

.membership { max-width: 760px; margin: 0 auto 34px; padding: clamp(26px, 4vw, 46px); text-align: center; }
.membership h3 { margin-top: 0; text-transform: uppercase; letter-spacing: .12em; }
.membership strong { color: var(--primary); font-size: 32px; }
.membership ul { columns: 2; text-align: left; margin: 28px 0; padding-left: 22px; }
.membership li { margin-bottom: 10px; }
.services strong { color: var(--primary); }

.form { max-width: 980px; margin: 0 auto; padding: clamp(24px, 4vw, 42px); }
.form h3 { margin-top: 28px; color: var(--primary); }
.form h3:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
input, select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.check { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 10px; margin: 12px 0; }
.check input { width: 18px; min-height: 18px; }
.form-status { min-height: 24px; font-weight: 800; }
.form-status.ok { color: #107a45; }
.form-status.error { color: #b42318; }

.site-footer {
  background: #111827;
  color: #fff;
}
.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 46px 22px 34px;
}
.footer-brand {
  display: grid;
  justify-items: start;
  gap: 8px;
}
.footer-brand img {
  height: 104px;
  width: auto;
}
.footer-brand strong {
  font-size: 28px;
  letter-spacing: .18em;
}
.footer-brand p,
.footer-contact p,
.footer-contact h3 {
  margin: 0;
}
.footer-contact {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 10px;
  text-align: right;
}
.footer-contact h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(22px, 4vw, 64px);
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
}
.site-footer a { color: #fff; text-decoration: underline; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .language-switcher { margin-left: auto; margin-right: 10px; }
  .hero-bg { object-position: 50% center; }
  .story, .featured-event { grid-template-columns: 1fr; }
  .event-grid, .services, .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track { grid-auto-columns: minmax(220px, 42%); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-contact {
    justify-items: start;
    text-align: left;
  }
  .stats div { border-right: 0; }
}

@media (max-width: 620px) {
  .brand img { height: 54px; max-width: 78px; }
  .site-header { flex-wrap: wrap; }
  .language-switcher { order: 3; width: 100%; justify-content: center; margin: 8px 0 0; }
  .section { padding: 70px 18px; }
  .form-grid, .event-grid, .services, .sponsor-grid { grid-template-columns: 1fr; }
  .event-grid article { min-height: auto; padding: 22px; }
  .event-grid h3 { font-size: 20px; }
  .carousel-head h3 { font-size: 19px; }
  .carousel-track { grid-auto-columns: 78%; }
  .carousel-track img { height: 390px; }
  .hero-bg { object-position: 50% center; }
  .footer-main { padding: 38px 22px 28px; }
  .footer-brand img { height: 86px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .membership ul { columns: 1; }
  .hero-actions .button { width: 100%; }
}
