:root {
  --brand-purple: #6f42b4;
  --brand-green: #1ea67a;
  --brand-yellow: #f4c542;
  --ink: #2a2440;
  --muted: #6f6a82;
  --bg: #fffdf6;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(42, 36, 64, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #fff7d8 0, transparent 40%),
    radial-gradient(circle at bottom left, #e5fff5 0, transparent 42%), var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 246, 0.95);
  border-bottom: 1px solid rgba(111, 66, 180, 0.12);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-name {
  font-family: "Baloo 2", cursive;
  font-size: 1.35rem;
  color: var(--brand-purple);
  margin: 0;
}

.brand-sub {
  margin: -5px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--brand-purple);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1.5rem;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.main-nav a {
  color: #46396b;
  font-size: 0.95rem;
}

.main-nav a.cta-link {
  background: var(--brand-green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(130deg, var(--brand-green), #26c48f);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(130deg, var(--brand-purple), #8753d5);
  color: #fff;
}

.btn-accent {
  background: linear-gradient(130deg, var(--brand-yellow), #f8d76a);
  color: #463600;
}

.marquee-wrap {
  background: var(--brand-purple);
  color: #fff;
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 10px 0;
  animation: slide-rtl 24s linear infinite;
}

.marquee span {
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.92rem;
}

@keyframes slide-rtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(
      120deg,
      rgba(42, 36, 64, 0.73),
      rgba(30, 166, 122, 0.6)
    ),
    url("hero%20background.jpg") center / cover no-repeat;
}

.hero-inner {
  padding: 54px 0;
  width: min(760px, 100%);
}

@media (max-width: 760px) {
  .hero-inner {
    padding: 54px 16px;
  }
}

h1,
h2,
h3 {
  font-family: "Baloo 2", cursive;
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--brand-purple);
}

.lead {
  font-size: 1.1rem;
  max-width: 62ch;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section {
  padding: 72px 0;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 20px;
}

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

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

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 166, 122, 0.12);
}

.card h3 {
  font-size: 1.38rem;
  color: #3f3165;
}

.media-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 380px;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "✓ ";
  color: var(--brand-green);
  font-weight: 800;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  background: #fff;
  border: 1px solid #ece3ff;
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  font-family: "Baloo 2", cursive;
  color: var(--brand-purple);
}

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #2f2454;
  background: #efe8ff;
}

.cta-band {
  background: linear-gradient(140deg, #f2edff, #e8fff7);
  border-radius: 24px;
  padding: 30px;
  border: 1px solid rgba(111, 66, 180, 0.12);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #efebf8;
}

th {
  background: #f8f4ff;
  color: #4f3f7c;
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 14px;
}

.gallery-grid img {
  margin-bottom: 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  break-inside: avoid;
  cursor: zoom-in;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.preview-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.preview-grid img:hover {
  transform: scale(1.015);
}

.gallery-img {
  cursor: zoom-in;
}

@media (max-width: 760px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .preview-grid img {
    height: 240px;
  }
}

.flyer {
  border-radius: 16px;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 10px;
  font-weight: 700;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
  color: #45396b;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d6cdea;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}

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

.site-footer {
  background: #2f2454;
  color: #fff;
  margin-top: 40px;
}

.footer-inner {
  padding: 36px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer-title {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: 1.3rem;
}

.footer-note {
  font-size: 0.92rem;
  color: #cdc0f4;
  margin: 6px 0 0;
}

.footer-col h4 {
  margin: 0 0 8px;
  color: #ffe17a;
  font-family: "Baloo 2", cursive;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 5px 0;
  color: #f4f0ff;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 20px;
  padding-top: 14px;
  font-size: 0.9rem;
  color: #d8cbfb;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 60;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
  width: auto;
  height: auto;
}

.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  cursor: pointer;
}

.exit-modal {
  position: fixed;
  inset: 0;
  background: rgba(35, 24, 61, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 65;
}

.exit-modal.show {
  display: flex;
}

.exit-panel {
  width: min(560px, 100%);
  background: #fffdf6;
  border-radius: 20px;
  border: 2px solid #e6ddfa;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
}

.exit-close {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  background: transparent;
  color: #514377;
  font-size: 1.25rem;
  cursor: pointer;
}

.exit-panel form {
  margin-top: 10px;
}

.exit-panel input,
.exit-panel textarea,
.exit-panel select {
  width: 100%;
  border: 1px solid #d6cdea;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
}

@media (max-width: 480px) {
  .exit-panel {
    padding: 16px;
  }
  .exit-panel h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fffdf6;
    border-bottom: 1px solid #e6ddfa;
    padding: 14px 4vw 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav a {
    display: block;
    background: #fff;
    border: 1px solid #ebe5fa;
    border-radius: 10px;
    padding: 11px 12px;
  }

  .main-nav.show {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 64vh;
  }

  .section {
    padding: 58px 0;
  }

  .brand-sub {
    display: none;
  }

  .stats-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
