/* ============================================================
   THE KIDZ CASTLE PLAYSCHOOL Ã¢â‚¬â€ Global Stylesheet
   Design System v1.0
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* --- Core Palette --- */
  --color-bg:          #FFFFFF;
  --color-text:        #263238;
  --color-text-light:  #455A64;
  --color-text-dark:   #1a252b;

  /* --- Brand Accents --- */
  --color-yellow:      #FFD54F;
  --color-yellow-light:#FFF3C4;
  --color-yellow-dark: #FFC107;

  --color-blue:        #4FC3F7;
  --color-blue-light:  #E1F5FE;
  --color-blue-dark:   #039BE5;

  --color-green:       #81C784;
  --color-green-light: #E8F5E9;
  --color-green-dark:  #43A047;

  /* --- Neutrals --- */
  --color-gray-50:     #FAFAFA;
  --color-gray-100:    #F5F5F5;
  --color-gray-200:    #EEEEEE;
  --color-gray-300:    #E0E0E0;

  /* --- Soft UI Radius (enforced globally) --- */
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --radius-xl:   36px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:   0 2px 8px rgba(69, 90, 100, 0.06);
  --shadow-md:   0 4px 20px rgba(69, 90, 100, 0.08);
  --shadow-lg:   0 8px 40px rgba(69, 90, 100, 0.10);
  --shadow-glow-yellow: 0 4px 24px rgba(255, 213, 79, 0.35);
  --shadow-glow-blue:   0 4px 24px rgba(79, 195, 247, 0.35);
  --shadow-glow-green:  0 4px 24px rgba(129, 199, 132, 0.35);

  /* --- Typography --- */
  --font-heading: 'Baloo 2', cursive;
  --font-body:    'Nunito', sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3.25rem;
  --fs-5xl:  4rem;

  /* --- Spacing --- */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* --- Layout --- */
  --container-max: 1200px;
  --header-height: 80px;

  /* --- Transitions --- */
  --ease-out-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:   cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --transition-base: 0.3s var(--ease-out-soft);
  --transition-bounce: 0.4s var(--ease-bounce);
}


/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(135deg, #fffaf0 0%, #f0f8ff 50%, #f5fffa 100%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl);  }

p {
  margin-bottom: var(--space-md);
  font-size: var(--fs-md);
}


/* ============================================================
   SOFT UI ENFORCEMENT Ã¢â‚¬â€ Global Border-Radius
   Every interactive and container element gets rounded.
   ============================================================ */
input,
textarea,
select,
button,
a.btn,
.card,
.section-block,
.container-rounded,
details,
fieldset,
figure,
blockquote,
pre,
code,
table,
dialog {
  border-radius: var(--radius-md) !important;
}

/* Removing global section radius as it causes background bleeding on full-width sections */
.section-wrapper {
  border-radius: var(--radius-lg);
}

img:not(.logo-img) {
  border-radius: var(--radius-md);
}


/* ============================================================
   LAYOUT Ã¢â‚¬â€ Container System
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

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

.container--wide {
  max-width: 1400px;
}

.section-padding {
  padding-block: var(--space-4xl);
}


/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2100;
  height: var(--header-height);
  background: var(--color-text-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(26, 37, 43, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.logo-img {
  height: 52px;
  width: auto;
  border-radius: 0 !important;
  transition: transform var(--transition-bounce);
}

.logo:hover .logo-img {
  transform: scale(1.06) rotate(-3deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.logo-text span {
  color: var(--color-blue);
}

/* --- Desktop Nav --- */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  position: relative;
  transition: color var(--transition-base), background var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--color-yellow);
  border-radius: var(--radius-full);
  transition: transform var(--transition-bounce);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  z-index: 2001;
  min-height: 48px;
  min-width: 48px;
  justify-content: center;
  align-items: center;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: var(--radius-full) !important;
  transition: transform var(--transition-bounce), opacity 0.2s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Mobile Nav --- */
.nav-mobile {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-text-dark);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.nav-mobile .nav-link {
  font-size: var(--fs-xl);
  padding: var(--space-md) var(--space-xl);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-full) !important;
  cursor: pointer;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: inherit;
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: scale(0.96);
}

/* CTA Ã¢â‚¬â€ Blue #4FC3F7 (primary call-to-action) */
.btn--cta {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue-dark);
}

.btn--cta:hover {
  background: var(--color-blue-dark);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-3px) scale(1.02);
}

/* Primary Ã¢â‚¬â€ Yellow */
.btn--primary {
  background: var(--color-yellow);
  color: var(--color-text-dark);
  border-color: var(--color-yellow-dark);
}

.btn--primary:hover {
  background: var(--color-yellow-dark);
  box-shadow: var(--shadow-glow-yellow);
  transform: translateY(-2px);
}

/* Secondary Ã¢â‚¬â€ Blue */
.btn--secondary {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue-dark);
}

.btn--secondary:hover {
  background: var(--color-blue-dark);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-2px);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--color-text-dark);
  border-color: var(--color-gray-300);
}

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

/* Small */
.btn--sm {
  padding: 10px 22px;
  font-size: var(--fs-sm);
}


/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-bg);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg) !important;
  padding: var(--space-2xl);
  transition: transform var(--transition-bounce), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

/* Card accent variants */
.card--green-accent:hover  { border-color: var(--color-green); }
.card--blue-accent:hover   { border-color: var(--color-blue); }
.card--yellow-accent:hover { border-color: var(--color-yellow); }

.card__accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-green);
  transform: scaleX(0);
  transition: transform var(--transition-bounce);
}

.card:hover .card__accent-line {
  transform: scaleX(1);
}

.card--green-accent  .card__accent-line { background: var(--color-green); }
.card--blue-accent   .card__accent-line { background: var(--color-blue); }
.card--yellow-accent .card__accent-line { background: var(--color-yellow); }

/* SVG Icon wrapper */
.card__icon-wrap {
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-bounce);
}

.card:hover .card__icon-wrap {
  transform: scale(1.1) rotate(-3deg);
}

.card__svg-icon {
  width: 100%;
  height: 100%;
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-2xl);
}

.card__icon--yellow { background: var(--color-yellow-light); color: var(--color-yellow-dark); }
.card__icon--blue   { background: var(--color-blue-light);   color: var(--color-blue-dark);   }
.card__icon--green  { background: var(--color-green-light);  color: var(--color-green-dark);  }

.card__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--color-text-light);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: 0;
}


/* ============================================================
   SECTION STYLES
   ============================================================ */
.section--yellow-bg { background: var(--color-yellow-light); }
.section--blue-bg   { background: var(--color-blue-light);   }
.section--green-bg  { background: var(--color-green-light);  }
.section--gray-bg   { background: var(--color-gray-50);      }

.section-title {
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

/* Decorative underline for section titles */
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-yellow), var(--color-blue), var(--color-green));
}


/* ============================================================
   GRID SYSTEM
   ============================================================ */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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


/* ============================================================
   DECORATIVE GEOMETRIC SHAPES
   Abstract, no-face shapes for visual flair.
   ============================================================ */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

.shape--circle {
  border-radius: 50%;
}

.shape--star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.shape--crown {
  clip-path: polygon(0% 100%, 10% 60%, 25% 80%, 50% 40%, 75% 80%, 90% 60%, 100% 100%);
}

.shape--block {
  border-radius: var(--radius-md);
}

.shape--diamond {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.shape--triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape--yellow { background: var(--color-yellow); }
.shape--blue   { background: var(--color-blue);   }
.shape--green  { background: var(--color-green);  }


/* ============================================================
   FOOTER Ã¢â‚¬â€ Light Blue Background (#4FC3F7) + Dark Text (#455A64)
   ============================================================ */
.site-footer {
  background: var(--color-text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-block: var(--space-3xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: var(--space-2xl);
}

.site-footer h4 {
  color: #ffffff;
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: 1.8;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-block: var(--space-xs);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-base), padding-left var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-yellow);
  padding-left: var(--space-sm);
}

.footer-address {
  font-style: normal;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-top: var(--space-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-brand-logo img {
  height: 44px;
  width: auto;
  border-radius: 0 !important;
}





/* Footer social links */
.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all var(--transition-bounce);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social-link:hover {
  background: #ffffff;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link--instagram:hover {
  color: #E4405F; /* Instagram Brand Color */
}

.social-link--facebook:hover {
  color: #1877F2; /* Facebook Brand Color */
}



/* Google Maps link in footer */
.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: var(--space-lg);
  transition: all var(--transition-base);
}

.footer-map-link:hover {
  background: #ffffff;
  color: var(--color-text-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom a:hover {
  color: var(--color-yellow-dark);
}


/* ============================================================
   FORM ELEMENTS
   ============================================================ */
input,
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-gray-50);
  border: 2px solid var(--color-gray-300);
  padding: 14px 20px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-light);
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--color-text-dark);
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-yellow  { color: var(--color-yellow-dark); }
.text-blue    { color: var(--color-blue-dark); }
.text-green   { color: var(--color-green-dark); }
.text-light   { color: var(--color-text-light); }

.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

.fw-400 { font-weight: 400; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }


/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50%      { opacity: 0.2;  transform: scale(1.05); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animation utility classes */
.animate-float      { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }
.animate-pulse-soft { animation: pulse-soft 5s ease-in-out infinite; }
.animate-spin-slow  { animation: spin-slow 20s linear infinite; }

/* Scroll-triggered reveal (JS will add .in-view) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-soft), transform 0.7s var(--ease-out-soft);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================================
   CONTENT POLICY: NO FACE/HUMAN/ANIMAL IMAGERY
   All placeholders use abstract geometric shapes.
   ============================================================ */
.placeholder-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-yellow-light), var(--color-blue-light));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.placeholder-visual .geo-shapes {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.geo-block {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  animation: float 3s ease-in-out infinite;
}

.geo-block:nth-child(2) { animation-delay: 0.5s; }
.geo-block:nth-child(3) { animation-delay: 1s; }


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* --- Hero Background: Abstract geometric building blocks ---
   CONTENT POLICY: These are colored rectangles and circles ONLY.
   NO humans, NO animals, NO faces. Pure geometric shapes
   simulating scattered wooden building blocks, blurred. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(30px);
  opacity: 0.18;
}

.hero-block {
  position: absolute;
  border-radius: var(--radius-md);
}

.hero-block--1  { width: 90px;  height: 60px;  background: var(--color-yellow); top: 10%; left: 5%;  transform: rotate(12deg); }
.hero-block--2  { width: 70px;  height: 70px;  background: var(--color-blue);   top: 20%; left: 25%; transform: rotate(-8deg); border-radius: 50%; }
.hero-block--3  { width: 100px; height: 50px;  background: var(--color-green);  top: 8%;  left: 50%; transform: rotate(25deg); }
.hero-block--4  { width: 50px;  height: 80px;  background: var(--color-yellow-dark); top: 35%; left: 70%; transform: rotate(-15deg); }
.hero-block--5  { width: 80px;  height: 80px;  background: var(--color-blue);   top: 60%; left: 10%; transform: rotate(5deg); border-radius: 50%; }
.hero-block--6  { width: 120px; height: 40px;  background: var(--color-green);  top: 75%; left: 40%; transform: rotate(-20deg); }
.hero-block--7  { width: 60px;  height: 90px;  background: var(--color-yellow); top: 50%; left: 85%; transform: rotate(30deg); }
.hero-block--8  { width: 40px;  height: 40px;  background: var(--color-blue-dark); top: 15%; right: 8%; border-radius: 50%; }
.hero-block--9  { width: 110px; height: 45px;  background: var(--color-yellow-light); top: 80%; left: 75%; transform: rotate(10deg); }
.hero-block--10 { width: 55px;  height: 55px;  background: var(--color-green-dark); top: 45%; left: 40%; transform: rotate(-35deg); border-radius: 50%; }
.hero-block--11 { width: 75px;  height: 35px;  background: var(--color-blue-light); top: 90%; left: 15%; transform: rotate(18deg); }
.hero-block--12 { width: 85px;  height: 55px;  background: var(--color-green-light); top: 5%;  right: 30%; transform: rotate(-12deg); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  border-radius: 0 !important; /* Ensure no rounding on full-screen hero */
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* --- Hero Badge --- */
.hero-badge {
  display: inline-block;
  background: var(--color-yellow-light);
  color: #1e3a8a;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-yellow);
  margin-bottom: var(--space-lg);
  animation: slide-up 0.6s var(--ease-out-soft) both;
}

.hero-content h1 {
  font-size: var(--fs-5xl);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  animation: slide-up 0.7s var(--ease-out-soft) 0.1s both;
}

.text-gradient {
  background: linear-gradient(135deg, #FFD54F, #81C784, #4FC3F7);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  animation: gradient-shift 4s ease-in-out infinite;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-text {
  font-size: var(--fs-lg);
  color: #fff;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.stat-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* --- Hero Slider --- */
.hero-slider-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: var(--color-text-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 2;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto; /* Standard high-quality rendering */
}

/* --- End Hero Slider --- */

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }
  .hero-content h1 {
    font-size: var(--fs-3xl);
  }
  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  .castle-illustration--overlay {
    width: 140px;
    bottom: 10px;
    right: 10px;
  }
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.castle-illustration {
  width: 100%;
  max-width: 420px;
  animation: float 5s ease-in-out infinite;
}

.castle-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(69, 90, 100, 0.12));
}


/* ============================================================
   ACTIVITIES PAGE
   ============================================================ */
.activities-hero {
  padding-bottom: var(--space-xl);
}

.activities-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-blue-light);
  margin-bottom: var(--space-xl);
}

.activities-hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-light);
  max-width: 640px;
  margin-inline: auto;
  margin-top: var(--space-lg);
}

/* --- Activities Grid --- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

/* --- Activity Card --- */
.activity-card {
  background: var(--color-bg);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: transform var(--transition-bounce), box-shadow var(--transition-base), border-color var(--transition-base);
}

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

.activity-card:nth-child(2):hover { border-color: var(--color-yellow); }
.activity-card:nth-child(3):hover { border-color: var(--color-green); }
.activity-card:nth-child(5):hover { border-color: var(--color-green); }
.activity-card:nth-child(6):hover { border-color: var(--color-yellow); }

/* Card visual area */
.activity-card__visual {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.activity-card__visual--blue   { background: var(--color-blue-light); }
.activity-card__visual--yellow { background: var(--color-yellow-light); }
.activity-card__visual--green  { background: var(--color-green-light); }

.activity-card__svg {
  width: 85%;
  height: auto;
  transition: transform var(--transition-bounce);
}

.activity-card:hover .activity-card__svg {
  transform: scale(1.04);
}

/* Card body */
.activity-card__body {
  padding: var(--space-xl) var(--space-2xl) var(--space-2xl);
}

/* Tag badge */
.activity-card__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 1.5px solid;
}

.activity-card__tag--blue {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  border-color: rgba(79, 195, 247, 0.3);
}

.activity-card__tag--yellow {
  background: var(--color-yellow-light);
  color: var(--color-yellow-dark);
  border-color: rgba(255, 213, 79, 0.3);
}

.activity-card__tag--green {
  background: var(--color-green-light);
  color: var(--color-green-dark);
  border-color: rgba(129, 199, 132, 0.3);
}

.activity-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.activity-card__text {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding-bottom: var(--space-xl);
}

.contact-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-blue-light);
  margin-bottom: var(--space-xl);
}

.contact-hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-light);
  max-width: 580px;
  margin-inline: auto;
  margin-top: var(--space-lg);
}

/* --- Contact split grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* --- Contact info cards --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--color-gray-50);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-full) !important;
  border: 2px solid var(--color-gray-200);
  transition: all var(--transition-bounce);
  cursor: pointer;
}

.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.contact-card--green:hover { border-color: var(--color-green); }
.contact-card--blue:hover  { border-color: var(--color-blue); }

.contact-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon--green { background: var(--color-green-light); }
.contact-card__icon--blue  { background: var(--color-blue-light); }

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.contact-card__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
}

.contact-card__value {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  word-break: break-all;
}

/* ===== BENTO TESTIMONIAL MARQUEE ===== */
.marquee-section {
  background: #0a0a12;
  padding: var(--space-4xl) 0;
  overflow: clip;
  position: relative;
  max-width: 100vw;
}

.marquee-section .section-title {
  color: #fff;
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 10;
}

.reviews-masonry-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: var(--space-xl);
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.reviews-grid-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.marquee-row {
  display: flex;
  gap: 30px;
  width: max-content;
  padding: 10px 0;
}

/* Animations for horizontal rows */
.marquee-row--ltr {
  animation: scroll-right 80s linear infinite;
}

.marquee-row--rtl {
  animation: scroll-left 90s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 15px)); } /* -50% for cloning + half of gap */
}

@keyframes scroll-right {
  0% { transform: translateX(calc(-50% - 15px)); }
  100% { transform: translateX(0); }
}

.marquee-row:hover {
  animation-play-state: paused;
}

/* Bento Card - Optimized for Horizontal Conveyor */
.marquee-card {
  width: 400px;
  flex-shrink: 0;
  padding: 30px;
  border-radius: 32px; /* Matched to image reference */
  border: 1px solid rgba(79, 195, 247, 0.12);
  background: #120f17;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-intensity: 0;
  --glow-radius: 200px;
}

.marquee-card:hover {
  border-color: rgba(79, 195, 247, 0.4);
  z-index: 5;
}

/* Border glow effect */
.marquee-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: radial-gradient(
    var(--glow-radius) circle at var(--glow-x) var(--glow-y),
    rgba(79, 195, 247, calc(var(--glow-intensity) * 0.8)) 0%,
    transparent 70%
  );
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.marquee-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.marquee-card__stars svg {
  width: 14px;
  height: 14px;
  fill: #FFCA28;
}

.marquee-card__quote {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.marquee-card__author {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #4FC3F7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}



/* Spotlight */
.bento-spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle,
    rgba(79, 195, 247, 0.12) 0%,
    rgba(79, 195, 247, 0.06) 20%,
    rgba(79, 195, 247, 0.02) 40%,
    transparent 65%
  );
  z-index: 200;
  opacity: 0;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* Particle */
.bento-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.8);
  box-shadow: 0 0 6px rgba(79, 195, 247, 0.5);
  pointer-events: none;
  z-index: 10;
}


.contact-card__arrow {
  color: var(--color-text-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-bounce);
}

.contact-card:hover .contact-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Social media links --- */
.contact-socials {
  margin-top: var(--space-lg);
}

.contact-socials__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.contact-socials__links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  border: 2px solid var(--color-gray-200);
  background: var(--color-bg);
  transition: all var(--transition-bounce);
}

.social-link--instagram {
  color: #C13584;
}

.social-link--instagram:hover {
  background: #fce4ec;
  border-color: #C13584;
  transform: translateY(-2px);
}

.social-link--facebook {
  color: #1877F2;
}

.social-link--facebook:hover {
  background: #E3F2FD;
  border-color: #1877F2;
  transform: translateY(-2px);
}

/* Decorative element */
.contact-deco {
  margin-top: var(--space-xl);
  opacity: 0.7;
}

/* --- Contact form wrapper --- */
.contact-form-wrap {
  background: var(--color-bg);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg) !important;
  padding: var(--space-2xl) var(--space-2xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-form-sticker {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  background: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  box-shadow: var(--shadow-sm);
}

/* --- Form elements --- */
.form-group {
  margin-bottom: var(--space-xl);
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--color-gray-50);
  border: 2px solid var(--color-gray-200);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 14px 22px;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input {
  border-radius: var(--radius-full) !important;
}

.form-group textarea {
  border-radius: var(--radius-md) !important;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.15);
}

/* Validation error state */
.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #E53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.form-error {
  display: none;
  font-size: var(--fs-xs);
  color: #E53935;
  margin-top: var(--space-xs);
  padding-left: var(--space-md);
}

/* Full-width submit button */
.btn--block {
  width: 100%;
  justify-content: center;
}

.btn--block:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success message */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-2xl);
  animation: scale-in 0.5s var(--ease-out-soft);
}

.form-success h3 {
  font-size: var(--fs-xl);
  color: var(--color-green-dark);
}

.form-success p {
  color: var(--color-text-light);
  font-size: var(--fs-base);
}

/* --- Map placeholder --- */
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--color-gray-100);
  border: 4px solid var(--color-bg);
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.map-placeholder__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-gray-300) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.map-placeholder__pin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 2s ease-in-out infinite;
}

.map-placeholder__pin-head {
  width: 56px;
  height: 56px;
  background: #E53935;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-bg);
  box-shadow: var(--shadow-md);
}

.map-placeholder__pin-shadow {
  width: 24px;
  height: 10px;
  background: rgba(69, 90, 100, 0.15);
  border-radius: 50%;
  margin-top: var(--space-sm);
  filter: blur(3px);
}

.map-placeholder__text {
  position: relative;
  z-index: 1;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  font-weight: 600;
  margin-bottom: 0;
}


/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background-color: #128C7E;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Pulsing effect to draw attention */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #25D366;
  border-radius: 50%;
  z-index: -1;
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  background-color: var(--color-gray-50);
}

.faq-container {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-text-heading);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(79, 195, 247, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-inline: var(--space-lg);
}

.faq-answer-content {
  padding-bottom: var(--space-lg);
  line-height: 1.6;
  color: var(--color-text);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.4s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.faq-icon::before {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-icon::after {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Open state */
.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-question {
  color: var(--color-primary);
}


/* Pause on hover with smooth slowdown */
.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

/* ============================================================
   ADMISSION PROCESS
   ============================================================ */
.admission-section {
  background-color: var(--color-bg);
}

.admission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-block: var(--space-xl);
}

.admission-step {
  padding: var(--space-xl);
  background-color: var(--color-gray-50);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  transition: transform var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}

.admission-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.admission-step__number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.admission-step h3 {
  margin-block: var(--space-md) var(--space-sm);
  font-size: var(--fs-md);
}

.admission-step p {
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE â€” COMPREHENSIVE MOBILE OVERHAUL
   ============================================================ */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: var(--space-2xl); }
  .hero-content h1 { font-size: var(--fs-3xl); }
  .activities-grid { gap: var(--space-xl); }
  .contact-grid { gap: var(--space-2xl); }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.5rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.875rem;
    --fs-2xl: 1.5rem;
    --fs-xl: 1.25rem;
    --header-height: 68px;
  }

  /* Header & Nav */
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding-inline: var(--space-lg); }
  .logo-text { font-size: var(--fs-base); }

  /* Hero */
  .hero { min-height: auto; padding-block: var(--space-3xl) var(--space-2xl); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: var(--fs-3xl); }
  .hero-text { margin-inline: auto; max-width: 100%; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; gap: var(--space-xl); flex-wrap: wrap; }
  .castle-illustration { max-width: 260px; margin-inline: auto; }
  .hero-visual { order: -1; margin-bottom: var(--space-xl); }
  .hero-badge { font-size: var(--fs-xs); }

  /* Section titles */
  .section-title { font-size: var(--fs-2xl); }
  .section-subtitle { font-size: var(--fs-base); max-width: 100%; }

  /* Why Us / Cards Grid */
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .card { padding: var(--space-xl); }
  .card__icon-wrap { width: 56px; height: 56px; }

  /* Activities */
  .activities-grid { grid-template-columns: 1fr; }
  .activity-card__body { padding: var(--space-lg); }
  .activity-card__title { font-size: var(--fs-lg); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--space-xl); }
  .contact-card { padding: var(--space-md) var(--space-lg); }
  .contact-card__value { font-size: var(--fs-base); word-break: break-word; }
  .contact-socials__links { flex-wrap: wrap; }
  .map-placeholder { height: 280px; }
  .contact-deco { display: none; }

  /* Marquee Bento */
  .marquee-section { padding: var(--space-2xl) 0; }
  .marquee-card { width: 280px; padding: 22px; }
  .marquee-card--sm { width: 260px; }
  .marquee-card--md { width: 300px; }
  .marquee-card--lg { width: 320px; }
  .marquee-card--xl { width: 340px; }
  .marquee-track { gap: 14px; }
  .marquee-card__quote { font-size: 0.82rem; line-height: 1.6; }

  /* Admission */
  .admission-grid { grid-template-columns: 1fr 1fr; }
  .admission-step { padding: var(--space-lg); }
  .admission-step h3 { font-size: var(--fs-sm); }

  /* FAQ */
  .faq-question { font-size: var(--fs-base); padding: var(--space-md); }
  .faq-answer { padding-inline: var(--space-md); }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
  .footer-brand p { max-width: 100%; margin-inline: auto; }
  .footer-brand-logo { justify-content: center; }
  .footer-socials { justify-content: center; }
  .footer-address { text-align: center; }
  .footer-map-link { margin-inline: auto; }
  .footer-links { text-align: center; }
  .footer-links a {
    justify-content: center;
    padding-block: var(--space-sm);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  .site-footer {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding-block: var(--space-2xl) var(--space-lg);
  }

  /* Layout */
  .container { padding-inline: var(--space-lg); }
  .section-padding { padding-block: var(--space-3xl); }

  /* WhatsApp */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
  :root {
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
    --fs-2xl: 1.25rem;
    --fs-xl: 1.125rem;
    --header-height: 60px;
  }

  .container { padding-inline: var(--space-md); }

  /* Hero */
  .hero-content h1 { font-size: var(--fs-2xl); }
  .hero-text { font-size: var(--fs-base); }
  .hero-actions { gap: var(--space-sm); }
  .hero-stats { gap: var(--space-lg); }
  .stat-number { font-size: var(--fs-xl); }
  .stat-label { font-size: 0.65rem; }

  /* Buttons */
  .btn {
    padding: 12px 22px;
    font-size: var(--fs-sm);
    width: 100%;
  }
  .hero-actions .btn { width: auto; }

  /* Cards */
  .card { padding: var(--space-lg); }
  .card__title { font-size: var(--fs-lg); }

  /* Logo */
  .logo-img { height: 38px; }
  .logo-text { font-size: var(--fs-sm); }

  /* Admission - single column on tiny screens */
  .admission-grid { grid-template-columns: 1fr; }
  .admission-step__number {
    width: 32px;
    height: 32px;
    font-size: var(--fs-xs);
    top: -12px;
  }

  /* Marquee Bento */
  .marquee-card { width: 260px; padding: 18px; }
  .marquee-card--sm { width: 240px; }
  .marquee-card--lg { width: 280px; }
  .marquee-card--xl { width: 300px; }
  .marquee-card__quote { font-size: 0.78rem; }
  .marquee-card__author { font-size: 0.75rem; }
  .marquee-card__stars svg { width: 14px; height: 14px; }

  /* Contact */
  .contact-card { flex-direction: column; text-align: center; gap: var(--space-md); }
  .contact-card__icon { margin-inline: auto; }
  .contact-form-wrap { padding: var(--space-lg); }
  .social-link { padding: 8px 16px; font-size: var(--fs-xs); }

  /* Activities */
  .activity-card__body { padding: var(--space-md); }
  .activity-card__tag { font-size: 0.65rem; padding: 4px 10px; }

  /* Footer */
  .site-footer { padding-block: var(--space-2xl) var(--space-lg); }
  .site-footer h4 { font-size: var(--fs-base); }
  .footer-social-link { width: 36px; height: 36px; }

  /* FAQ */
  .faq-question { font-size: var(--fs-sm); }
  .faq-container { padding-inline: 0; }

  /* Section spacing */
  .section-padding { padding-block: var(--space-3xl); }
  .section-title::after { width: 60px; height: 3px; }

  /* Hero Mobile Fixes */
  .hero { min-height: 85vh; padding-top: calc(var(--header-height) + var(--space-xl)); }
  .hero-content h1 { font-size: 1.85rem; line-height: 1.2; }
  .hero-text { font-size: 0.9rem; line-height: 1.6; margin-bottom: var(--space-lg); color: rgba(255,255,255,0.95); }
  .hero-actions { flex-direction: column; width: 100%; max-width: 280px; margin-inline: auto; gap: var(--space-sm); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-xl); }
  .stat-number { font-size: 1.5rem; color: #fff; }
  .stat-label { font-size: 0.65rem; color: rgba(255,255,255,0.8); }
}
