/* ========================================
   Bricks Studio — One-Page Redesign
   Design System & Component Styles
   ======================================== */

/* ----------------------------------------
   1. CSS Variables
   ---------------------------------------- */
:root {
  --color-yellow: #FFD93D;
  --color-blue: #6BCBFF;
  --color-coral: #FF6B6B;
  --color-cream: #FFFDF7;
  --color-navy: #1A2B4A;
  --color-slate: #5A6B8A;
  --color-white: #FFFFFF;
  --color-light-yellow: #FFF8E1;
  --color-light-blue: #E8F7FF;
  --color-light-coral: #FFE8E8;
  --color-light-mint: #f2fcf3;

  --font-display: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(26, 43, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 43, 74, 0.12);
  --shadow-lg: 0 16px 48px rgba(26, 43, 74, 0.16);

  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ----------------------------------------
   2. Reset & Base
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--color-navy);
  background-color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; }

/* ----------------------------------------
   3. Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-navy);
  text-wrap: pretty;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p { margin-bottom: 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.highlight {
  display: inline;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 107, 107, 0.25) 60%, rgba(255, 107, 107, 0.25) 92%, transparent 92%);
  padding: 0 0.375rem;
  margin: 0 -0.375rem;
  border-radius: 12px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

h1 .highlight {
  background: linear-gradient(180deg, transparent 55%, rgba(255, 217, 61, 0.35) 55%, rgba(255, 217, 61, 0.35) 92%, transparent 92%);
}

/* ----------------------------------------
   4. Utilities
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section { padding: 7rem 0; }
}

.section__header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-coral);
  margin-bottom: 0.75rem;
}

.section__title {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.section__desc {
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-slate);
}

.section--blue { background-color: var(--color-light-blue); }
.section--yellow { background-color: var(--color-light-yellow); }
.section--cream { background-color: var(--color-cream); }

/* Creative clip-path section breaks */
.programs {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 50% 100%, 0 calc(100% - 50px));
  padding-bottom: calc(5rem + 50px);
  z-index: 10;
}

.parties {
  margin-top: -50px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 50px));
  padding-bottom: calc(5rem + 50px);
  z-index: 9;
}

.events {
  margin-top: -50px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 75% calc(100% - 60px), 50% calc(100% - 20px), 25% calc(100% - 50px), 0 calc(100% - 30px));
  padding-bottom: calc(5rem + 60px);
  z-index: 8;
}

.testimonial {
  margin-top: -60px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 50px), 0 100%);
  padding-bottom: calc(5rem + 50px);
  z-index: 7;
}

.gallery {
  margin-top: -50px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
  padding-bottom: calc(5rem + 50px);
  z-index: 6;
}

.visit-contact {
  margin-top: -50px;
  z-index: 5;
}

@media (min-width: 768px) {
  .programs { padding-bottom: calc(7rem + 50px); }
  .parties { padding-bottom: calc(7rem + 50px); }
  .events { padding-bottom: calc(7rem + 60px); }
  .testimonial { padding-bottom: calc(7rem + 50px); }
  .gallery { padding-bottom: calc(7rem + 50px); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.section--mint {
  background-color: var(--color-light-mint);
}

/* ----------------------------------------
   6. Section Gradient Blobs
   ---------------------------------------- */
.section::before,
.section::after {
  content: '';
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(60px);
  opacity: 0.30;
  pointer-events: none;
  z-index: 0;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(60px);
  opacity: 0.30;
  pointer-events: none;
  z-index: 0;
}

/* Hero blobs */
.hero::before {
  width: 350px;
  height: 350px;
  background: var(--color-yellow);
  top: 15%;
  left: -8%;
  animation: blob-morph 12s ease-in-out infinite;
}

.hero::after {
  width: 280px;
  height: 280px;
  background: var(--color-coral);
  bottom: 20%;
  right: -5%;
  animation: blob-morph 12s ease-in-out infinite -4s;
}

/* Programs blobs */
.programs::before {
  width: 300px;
  height: 300px;
  background: var(--color-blue);
  top: 20%;
  right: -8%;
  animation: blob-morph 14s ease-in-out infinite -2s;
}

.programs::after {
  width: 220px;
  height: 220px;
  background: var(--color-coral);
  bottom: 25%;
  left: -6%;
  animation: blob-morph 14s ease-in-out infinite -6s;
}

/* Parties blobs */
.parties::before {
  width: 320px;
  height: 320px;
  background: var(--color-yellow);
  top: 15%;
  left: -8%;
  animation: blob-morph 10s ease-in-out infinite -3s;
}

.parties::after {
  width: 250px;
  height: 250px;
  background: var(--color-coral);
  bottom: 25%;
  right: -6%;
  animation: blob-morph 10s ease-in-out infinite -7s;
}

/* Events blobs */
.events::before {
  width: 280px;
  height: 280px;
  background: var(--color-blue);
  top: 20%;
  left: -6%;
  animation: blob-morph 13s ease-in-out infinite -1s;
}

.events::after {
  width: 200px;
  height: 200px;
  background: var(--color-yellow);
  bottom: 25%;
  right: -5%;
  animation: blob-morph 13s ease-in-out infinite -5s;
}

/* Testimonial blobs */
.testimonial::before {
  width: 260px;
  height: 260px;
  background: var(--color-coral);
  top: 20%;
  right: -6%;
  animation: blob-morph 11s ease-in-out infinite -2s;
}

.testimonial::after {
  width: 300px;
  height: 300px;
  background: var(--color-blue);
  bottom: 25%;
  left: -8%;
  animation: blob-morph 11s ease-in-out infinite -6s;
}

/* Gallery blobs */
.gallery::before {
  width: 340px;
  height: 340px;
  background: var(--color-yellow);
  top: 15%;
  left: -8%;
  animation: blob-morph 15s ease-in-out infinite -3s;
}

.gallery::after {
  width: 260px;
  height: 260px;
  background: var(--color-coral);
  bottom: 25%;
  right: -6%;
  animation: blob-morph 15s ease-in-out infinite -7s;
}

/* Visit & Contact blobs */
.visit-contact::before {
  width: 300px;
  height: 300px;
  background: var(--color-blue);
  top: 20%;
  right: -8%;
  animation: blob-morph 12s ease-in-out infinite -1s;
}

.visit-contact::after {
  width: 240px;
  height: 240px;
  background: var(--color-yellow);
  bottom: 20%;
  left: -6%;
  animation: blob-morph 12s ease-in-out infinite -5s;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* Ensure all section content sits above gradient blobs */
.section > *:not(.section__props),
.hero > * {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   7. Decorative Props
   ---------------------------------------- */
.section__props {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section__prop {
  position: absolute;
  opacity: 0.40;
  animation: prop-float 10s ease-in-out infinite;
}

.section__prop--star {
  color: var(--color-yellow);
  font-size: 1.5rem;
}

.section__prop--dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-coral);
}

.section__prop--circle {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-blue);
  border-radius: 50%;
}

.section__prop--sparkle {
  width: 12px;
  height: 12px;
  background: var(--color-yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes prop-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(5deg); }
  50% { transform: translateY(5px) rotate(-3deg); }
  75% { transform: translateY(-5px) rotate(2deg); }
}

/* ----------------------------------------
   7. Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--color-coral);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: #ff5252;
}

.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--secondary:hover {
  background-color: var(--color-light-blue);
  border-color: var(--color-navy);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

.btn--full {
  width: 100%;
}

/* ----------------------------------------
   8. Cards
   ---------------------------------------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card__media {
  position: relative;
  overflow: hidden;
}

.card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image {
  transform: scale(1.05);
}

.card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  color: var(--color-navy);
}

.card__badge--yellow { background: var(--color-yellow); }
.card__badge--blue { background: var(--color-blue); color: var(--color-navy); }
.card__badge--coral { background: var(--color-coral); color: var(--color-white); }

.card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--color-slate);
  line-height: 1.5;
}

/* ----------------------------------------
   9. Grid
   ---------------------------------------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

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

/* ----------------------------------------
   10. Split Layout
   ---------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split--reverse .split__content { order: 2; }
.split--reverse .split__media { order: 1; }

.split__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split--reverse .split__content,
  .split--reverse .split__media {
    order: initial;
  }
}

/* ----------------------------------------
   11. Lists
   ---------------------------------------- */
.list {
  margin: 1.5rem 0;
}

.list__item {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-slate);
}

.list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--color-coral);
  border-radius: 50%;
}

/* ----------------------------------------
   12. Form
   ---------------------------------------- */
.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-navy);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(107, 203, 255, 0.25);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ----------------------------------------
   13. Social
   ---------------------------------------- */
.social {
  display: flex;
  gap: 0.75rem;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-navy);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.social__link:hover {
  transform: translateY(-3px);
  background: var(--color-coral);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

/* ----------------------------------------
   14. Navigation
   ---------------------------------------- */
.nav {
  background: transparent;
  position: fixed;
  top: 0.75rem;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
}

.nav__container {
  width: fit-content;
  margin: 0 auto;
  padding: 0.625rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(26, 43, 74, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav__left,
.nav__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__left {
  justify-self: end;
}

.nav__right {
  justify-self: start;
}

.nav__logo {
  justify-self: center;
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 42px;
  width: auto;
}

.nav__menu {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.nav__list {
  display: flex;
  gap: 1.75rem;
}

.nav__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-navy);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-coral);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-coral);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__cta {
  white-space: nowrap;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1002;
}

.nav__hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  position: relative;
  transition: background-color var(--transition-fast);
}

.nav__hamburger::before,
.nav__hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  transition: transform var(--transition-fast), top var(--transition-fast);
}

.nav__hamburger::before { top: -7px; }
.nav__hamburger::after { top: 7px; }

.nav__toggle.is-open .nav__hamburger {
  background: transparent;
}

.nav__toggle.is-open .nav__hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle.is-open .nav__hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav {
    padding: 0 1rem;
    top: 0.5rem;
  }

  .nav__container {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
    width: 100%;
  }

  .nav__left,
  .nav__right {
    display: none;
  }

  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
  }

  .nav__logo {
    grid-column: 2;
    justify-self: center;
  }

  .nav__logo img {
    height: 36px;
  }

  .nav__menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(26, 43, 74, 0.15);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), visibility 300ms ease;
  }

  .nav__menu.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    left: 0;
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .nav__link {
    font-size: 1.125rem;
    padding: 0.5rem 0;
  }

  .nav__cta {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* ----------------------------------------
   15. Hero
   ---------------------------------------- */
.hero {
  position: relative;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 43, 74, 0.92) 0%,
    rgba(26, 43, 74, 0.82) 35%,
    rgba(26, 43, 74, 0.45) 55%,
    rgba(26, 43, 74, 0.15) 70%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 2rem 1.5rem;
  margin-left: calc((100vw - min(1200px, 100vw)) / 2);
  color: var(--color-white);
}

@media (min-width: 1200px) {
  .hero__content {
    margin-left: calc((100vw - 1200px) / 2);
    padding-left: 1.5rem;
  }
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 540px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__proof {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  list-style: none;
}

.hero__proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  opacity: 0.9;
}

.hero__proof-icon {
  color: var(--color-yellow);
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll-icon {
  width: 32px;
  height: 32px;
  display: block;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 768px) {
  .hero__scroll {
    bottom: 80px;
  }
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 6rem;
  }

  .hero__overlay {
    background: linear-gradient(
      0deg,
      rgba(26, 43, 74, 0.92) 0%,
      rgba(26, 43, 74, 0.75) 40%,
      rgba(26, 43, 74, 0.35) 70%,
      rgba(26, 43, 74, 0.15) 100%
    );
  }

  .hero__content {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
    padding-bottom: 4rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__proof {
    justify-content: center;
  }

  .hero__wave {
    height: 48px;
  }
}

@media (max-width: 430px) {
  .hero__actions .btn {
    width: 100%;
  }
}

/* ----------------------------------------
   16. Programs
   ---------------------------------------- */

.programs {
  padding-top: 2rem;
}

.programs__tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.programs__tab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.programs__tab:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.programs__tab.is-active {
  background: var(--color-coral);
  color: var(--color-white);
  border-color: var(--color-coral);
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card.is-hidden {
  display: none;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.card.is-entering {
  animation: card-in 300ms ease forwards;
}

@media (max-width: 1024px) {
  .programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .programs__grid {
    grid-template-columns: 1fr;
  }

  .programs__tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* ----------------------------------------
   17. Events
   ---------------------------------------- */
.card--event .card__image {
  height: 280px;
}

/* ----------------------------------------
   18. Testimonial Slider
   ---------------------------------------- */
.testimonial__slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3.5rem 2rem;
}

.testimonial__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: grab;
}

.testimonial__viewport:active {
  cursor: grabbing;
}

.testimonial__viewport::before,
.testimonial__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 3;
  pointer-events: none;
}

.testimonial__viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--color-light-yellow), transparent);
}

.testimonial__viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--color-light-yellow), transparent);
}

.testimonial__track {
  display: flex;
  transition: transform var(--transition-slow);
  will-change: transform;
}

.testimonial__track.is-dragging {
  transition: none;
}

.testimonial__slide {
  flex: 0 0 100%;
  text-align: center;
  border: none;
  padding: 0 2rem;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.testimonial__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial__stars {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-yellow);
}

.testimonial__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.testimonial__footer {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-slate);
  font-style: normal;
}

.testimonial__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  z-index: 4;
}

.testimonial__arrow:hover {
  background: var(--color-coral);
  color: var(--color-white);
}

.testimonial__arrow--prev {
  left: 0.5rem;
}

.testimonial__arrow--next {
  right: 0.5rem;
}

.testimonial__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
}

.testimonial__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-slate);
  opacity: 0.3;
  transition: opacity var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.testimonial__dot.is-active {
  opacity: 1;
  background: var(--color-coral);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .testimonial__slider {
    padding: 0 3rem 2rem;
  }

  .testimonial__arrow--prev {
    left: 0.25rem;
  }
  .testimonial__arrow--next {
    right: 0.25rem;
  }

  .testimonial__slide {
    padding: 0 1rem;
  }

  .testimonial__viewport::before,
  .testimonial__viewport::after {
    width: 40px;
  }
}

@media (max-width: 700px) {
  .testimonial__slider {
    padding: 0 0 2rem;
  }

  .testimonial__arrow {
    display: none;
  }
}

/* ----------------------------------------
   19. Gallery
   ---------------------------------------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery__item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.gallery__item:nth-child(3n+1) {
  grid-row: span 2;
}

.gallery__thumb {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover .gallery__thumb {
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .gallery__thumb {
    min-height: 200px;
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----------------------------------------
   20. Lightbox
   ---------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 43, 74, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__stage {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 1rem;
  color: var(--color-white);
  font-size: 1rem;
  text-align: center;
  opacity: 0.9;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2001;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .lightbox {
    padding: 1rem;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
  }

  .lightbox__prev {
    left: 0.5rem;
  }

  .lightbox__next {
    right: 0.5rem;
  }
}

/* ----------------------------------------
   21. Confetti
   ---------------------------------------- */
.split__media {
  position: relative;
}

.confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  border-radius: var(--radius-lg);
}

/* ----------------------------------------
   22. Visit & Contact
   ---------------------------------------- */
.visit-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.visit-contact__left .about__map {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.visit-contact__left .about__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.visit-contact__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.visit-contact__left .about__address {
  font-style: normal;
  margin-bottom: 1.5rem;
}

.visit-contact__left .about__address--icons p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  color: var(--color-slate);
  line-height: 1.5;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-coral);
}

.visit-contact__left .about__address a {
  color: var(--color-coral);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.visit-contact__left .about__address a:hover {
  color: var(--color-navy);
}

.visit-contact__right .contact__form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .visit-contact__right .contact__form {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .visit-contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .visit-contact__left .about__map {
    height: 300px;
  }
}

/* ----------------------------------------
   23. Footer
   ---------------------------------------- */
.footer {
  position: relative;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0 0 2rem;
  overflow: hidden;
}

.footer__wave {
  display: block;
  width: 100%;
  height: 60px;
  margin-top: -1px;
}

.footer__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.footer__shape {
  position: absolute;
  opacity: 0.12;
  animation: footer-float 8s ease-in-out infinite;
}

.footer__shape--yellow {
  width: 80px;
  height: 80px;
  background: var(--color-yellow);
  border-radius: 50%;
  top: 15%;
  left: 5%;
  animation-delay: -2s;
}

.footer__shape--blue {
  width: 60px;
  height: 60px;
  background: var(--color-blue);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 40%;
  right: 8%;
  animation-delay: -4s;
}

.footer__shape--coral {
  width: 50px;
  height: 50px;
  background: var(--color-coral);
  border-radius: 50%;
  bottom: 25%;
  left: 15%;
  animation-delay: -6s;
}

.footer__shape--star {
  font-size: 2.5rem;
  color: var(--color-yellow);
  top: 20%;
  right: 20%;
  animation-delay: -1s;
}

.footer__shape--circle {
  width: 120px;
  height: 120px;
  border: 3px solid var(--color-coral);
  border-radius: 50%;
  bottom: 10%;
  right: 5%;
  animation-delay: -3s;
  opacity: 0.08;
}

@keyframes footer-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  height: 56px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-fast);
}

.footer__brand:hover .footer__logo {
  transform: scale(1.05);
}

.footer__tagline {
  font-size: 0.9375rem;
  opacity: 0.8;
  max-width: 260px;
  margin-bottom: 0.5rem;
}

.footer__tagline--fun {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-yellow);
  opacity: 1;
  margin-top: 0.75rem;
}

.footer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  color: var(--color-yellow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-coral);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  font-size: 0.9375rem;
  opacity: 0.85;
  transition: opacity var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__link::before {
  content: '›';
  color: var(--color-coral);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.footer__link:hover {
  opacity: 1;
  color: var(--color-yellow);
  transform: translateX(4px);
}

.footer__link:hover::before {
  transform: translateX(3px);
  color: var(--color-yellow);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  opacity: 0.85;
  line-height: 1.5;
}

.footer__icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-coral);
}

.footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 2px dashed rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer .social {
  gap: 1rem;
}

.footer .social__link {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.474);
  backdrop-filter: blur(4px);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.footer .social__link:hover {
  transform: translateY(-6px) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer .social__link--facebook:hover {
  background: #1877f2;
}

.footer .social__link--instagram:hover {
  background: #e4405f;
}

@media (max-width: 768px) {
  .footer__wave {
    height: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 2rem;
  }

  .footer__shape--star,
  .footer__shape--circle {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer__tagline {
    max-width: 100%;
  }

  .footer__title {
    justify-content: left;
  }

  .footer .social {
    justify-content: left;
  }
}