:root {
  --blue: #0084ff;
  --blue-deep: #006ad1;
  --blue-soft: #e8f4ff;
  --yellow: #ffc700;
  --yellow-hover: #ffb200;
  --coral: #ff6b35;
  --mint: #2ec4b6;
  --cream: #fffdf5;
  --white: #ffffff;
  --ink: #111827;
  --ink-muted: #4b5563;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-pop: 6px 6px 0 var(--ink);
  --shadow-pop-sm: 4px 4px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* Typography inspired by retro-pop reference */
.display-3d {
  font-family: 'Titan One', cursive;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.03;
  -webkit-text-stroke: 2.5px var(--ink);
  text-shadow: 4px 5px 0 var(--ink);
  margin: 0;
}

.display-3d--dark-bg {
  color: var(--yellow);
  -webkit-text-stroke: 2.5px var(--ink);
  text-shadow: 4px 5px 0 var(--ink);
}

.display-3d--light-bg {
  color: var(--blue);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--yellow), 6px 6px 0 var(--ink);
}

.script-accent {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  line-height: 1.15;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  box-shadow: var(--shadow-pop-sm);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
}

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

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

/* Header & Hero */
.hero-wrapper {
  position: relative;
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, 0.085) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--white);
  overflow: hidden;
  padding-bottom: 3rem;
}

.bg-floral {
  position: absolute;
  pointer-events: none;
  opacity: 0.22;
  color: var(--blue-deep);
}

.bg-floral--top {
  top: -90px;
  left: 22%;
  width: 380px;
}

.bg-floral--bottom {
  bottom: -110px;
  right: -60px;
  width: 420px;
}

.navbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  transition: transform 0.15s ease;
}

.brand:hover {
  transform: scale(1.03);
}

.brand-logo {
  height: 108px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(17, 24, 39, 0.22));
}

.footer-logo {
  height: 116px;
  width: auto;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  padding: 0.35rem 0.2rem;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease;
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
  background: var(--yellow);
}

.mobile-toggle {
  display: none;
  background: var(--yellow);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

/* Hero Grid */
.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 3rem;
  align-items: center;
  padding-top: 1.5rem;
}

.hero-frame-wrap {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
}

.hero-frame {
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 34px;
  padding: 14px;
  box-shadow: 10px 10px 0 var(--ink);
  position: relative;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid var(--ink);
}

.doodle {
  position: absolute;
  pointer-events: none;
  z-index: 15;
}

.doodle-cloud-left {
  top: 22px;
  left: -28px;
  width: 78px;
  animation: floatCloud 4.5s ease-in-out infinite;
}

.doodle-cloud-right {
  top: -14px;
  right: -30px;
  width: 82px;
  animation: floatCloud 5.2s ease-in-out infinite reverse;
}

.doodle-flower-smile {
  bottom: -24px;
  right: -22px;
  width: 88px;
  animation: swayFlower 4.8s ease-in-out infinite;
}

.doodle-sparkle-1 {
  top: 42%;
  right: -24px;
  width: 34px;
  animation: twinkleSparkle 2.6s ease-in-out infinite;
}

.doodle-sparkle-2 {
  bottom: 18%;
  left: -26px;
  width: 28px;
  animation: twinkleSparkle 3.1s ease-in-out infinite 0.9s;
}

@keyframes floatCloud {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -7px); }
}

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

@keyframes twinkleSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.22) rotate(18deg); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
}

.hero-script {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--white);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 2px dashed rgba(255, 255, 255, 0.35);
  width: 100%;
}

.hero-address {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
}

.hero-address small {
  display: block;
  font-weight: 600;
  color: var(--yellow);
}

.hero-desc {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Section base */
.section {
  padding: 3.4rem 0;
  position: relative;
}

.section--blue {
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, 0.085) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--white);
}

.section--cream {
  background-color: var(--cream);
  background-image: radial-gradient(rgba(17, 24, 39, 0.05) 1.25px, transparent 1.25px);
  background-size: 22px 22px;
}

.section--white {
  background-color: var(--white);
  background-image: radial-gradient(rgba(0, 132, 255, 0.055) 1.25px, transparent 1.25px);
  background-size: 24px 24px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.1rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  margin-bottom: 0.6rem;
}

.section-header .script-accent {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.section-header p {
  margin: 0;
  font-size: 1.04rem;
  opacity: 0.92;
}

/* Valores / Fortalezas */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-pop);
  transition: transform 0.18s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  margin-bottom: 1rem;
  box-shadow: 3px 3px 0 var(--ink);
  position: relative;
  overflow: visible;
}

.emoji-anim {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Hover animations for each Fortalezas y Valores icon */
.value-card--heart:hover .emoji-anim {
  animation: heartBeat 0.85s ease-in-out infinite;
}

.value-card--paint:hover .emoji-anim {
  animation: paintSplash 0.75s ease-in-out infinite;
}

.value-card--paint .value-icon::after {
  content: '💧';
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
}

.value-card--paint:hover .value-icon::after {
  animation: paintDrops 0.85s ease-out infinite;
}

.value-card--plant:hover .emoji-anim {
  transform-origin: bottom center;
  animation: plantGrow 1s ease-in-out infinite alternate;
}

.value-card--rocket:hover .emoji-anim {
  animation: rocketFly 0.9s ease-in-out infinite;
}

.value-card--compu:hover .emoji-anim {
  animation: compuMove 0.7s ease-in-out infinite;
}

.value-card--ball:hover .emoji-anim {
  animation: ballBounce 0.65s cubic-bezier(0.36, 0, 0.66, -0.56) infinite alternate;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.32); }
  40% { transform: scale(1.05); }
  60% { transform: scale(1.26); }
}

@keyframes paintSplash {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-18deg) scale(1.15); }
  75% { transform: rotate(16deg) scale(1.15); }
}

@keyframes paintDrops {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  40% { opacity: 1; transform: translate(6px, -8px) scale(1.1); }
  100% { opacity: 0; transform: translate(12px, 10px) scale(0.7); }
}

@keyframes plantGrow {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.32, 1.38) rotate(5deg); }
}

@keyframes rocketFly {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6px, -12px) rotate(-6deg) scale(1.12); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes compuMove {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-4px) rotate(-8deg); }
  70% { transform: translateY(-4px) rotate(8deg); }
}

@keyframes ballBounce {
  0% { transform: translateY(4px) scale(1.1, 0.88); }
  100% { transform: translateY(-13px) scale(0.95, 1.06) rotate(20deg); }
}

/* Scroll Reveal for Section Titles */
.reveal-title {
  opacity: 0;
  transform: translateY(26px) scale(0.94);
}

.reveal-title.is-visible {
  animation: titlePopIn 0.68s cubic-bezier(0.22, 1.28, 0.36, 1) forwards;
}

@keyframes titlePopIn {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bg-yellow { background: var(--yellow); }
.bg-blue-soft { background: #bfe0ff; }
.bg-coral-soft { background: #ffd2bf; }
.bg-mint-soft { background: #c5f4ee; }

.value-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.value-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Galería */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--white);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-pop-sm);
  cursor: pointer;
  background: var(--yellow);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.88), transparent);
  color: var(--white);
  padding: 1.6rem 0.9rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 700;
}

/* Niveles */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.25rem;
}

.level-card {
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-pop);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.22s cubic-bezier(0.22, 1.28, 0.36, 1), box-shadow 0.22s ease;
}

.level-card:hover {
  transform: translateY(-8px) rotate(-0.8deg);
  box-shadow: 6px 8px 0 var(--yellow), 10px 12px 0 var(--ink);
}

.level-age {
  display: inline-block;
  align-self: flex-start;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease;
}

.level-card:hover .level-age {
  transform: scale(1.08) rotate(-2deg);
  background: var(--coral);
  color: var(--white);
}

.level-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.level-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.level-list {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--ink);
}

.level-list li {
  margin-bottom: 0.3rem;
}

/* Google Reviews Carousel Banner */
.reviews-banner {
  background: var(--blue-soft);
  border: 3.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-pop);
}

.reviews-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.google-rating-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: 0.65rem 1rem;
  box-shadow: 4px 4px 0 var(--ink);
}

.rating-score {
  font-size: 1.05rem;
  line-height: 1.1;
}

.rating-score .stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.google-rating-pill small {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.reviews-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding: 4px 2px 8px;
}

.reviews-track {
  display: flex;
  gap: 1.15rem;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card {
  flex: 0 0 calc((100% - 2.3rem) / 3);
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}

.review-date {
  font-size: 0.76rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 1.5px;
}

.review-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card.expanded .review-text {
  -webkit-line-clamp: unset;
}

.review-more {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue-deep);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  align-self: flex-start;
  text-decoration: underline;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  flex-shrink: 0;
  transition: transform 0.14s ease;
}

.carousel-btn:hover {
  transform: translate(-1px, -1px);
  background: var(--yellow-hover);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dot.active {
  width: 26px;
  background: var(--yellow);
}

@media (max-width: 980px) {
  .review-card {
    flex: 0 0 calc((100% - 1.15rem) / 2);
  }
}

@media (max-width: 640px) {
  .reviews-banner {
    padding: 1.25rem;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
}

/* Nosotros */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-photo-card {
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-pop-sm);
  background: var(--yellow);
  transition: transform 0.25s cubic-bezier(0.22, 1.28, 0.36, 1), box-shadow 0.25s ease;
}

.about-photo-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 6px 6px 0 var(--yellow), 9px 9px 0 var(--ink);
}

.about-photo-card.tall {
  grid-row: span 2;
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.about-photo-card:hover img {
  transform: scale(1.05);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar-box {
  background: var(--blue-soft);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.22s cubic-bezier(0.22, 1.28, 0.36, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.pillar-box:hover {
  transform: translateY(-5px);
  box-shadow: 5px 6px 0 var(--yellow), 8px 9px 0 var(--ink);
  background: var(--white);
}

.pillar-emoji {
  display: inline-block;
  transition: transform 0.25s ease;
}

.pillar-box--mission:hover .pillar-emoji {
  animation: heartBeat 0.85s ease-in-out infinite;
}

.pillar-box--vision:hover .pillar-emoji {
  animation: twinkleSparkle 1.1s ease-in-out infinite;
}

.pillar-box h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.pillar-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Costos */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-pop);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  background: var(--yellow);
  transform: translateY(-6px);
}

.pricing-tag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--coral);
  color: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.pricing-schedule {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: 'Titan One', cursive;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}

.pricing-features li {
  padding: 0.42rem 0;
  border-bottom: 1.5px dashed rgba(17, 24, 39, 0.2);
  font-size: 0.92rem;
  font-weight: 600;
}

/* FAQ Accordion (AEO / AGO) */
.faq-box {
  margin-top: 2.8rem;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-pop);
}

.faq-box h3 {
  margin: 0 0 1.15rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
}

.faq-item summary {
  font-weight: 800;
  font-size: 0.96rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue-deep);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Agendamiento */
.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.booking-grid--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-inline: auto;
}

.booking-info {
  background: rgba(255, 255, 255, 0.14);
  border: 3px solid var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.booking-info h3 {
  margin-top: 0;
  font-size: 1.45rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.9rem;
}

.info-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.96rem;
}

.booking-card {
  background: var(--white);
  color: var(--ink);
  border: 3.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  box-shadow: 10px 10px 0 var(--ink);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.72rem 0.9rem;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  box-shadow: 3px 3px 0 var(--yellow);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  margin: 0.4rem 0;
}

.checkbox-row input {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.checkbox-row a {
  color: var(--blue-deep);
  text-decoration: underline;
  font-weight: 700;
}

.form-status {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  font-weight: 700;
  display: none;
}

.form-status.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
}

.form-status.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 3.5rem 0 4.8rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr 1.15fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-motto {
  font-family: 'Caveat', cursive;
  font-size: 1.35rem;
  color: var(--yellow);
  margin: 0.25rem 0 0.5rem;
}

.footer-text {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.footer-nit {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
}

.footer-nav-list,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-nav-list a:hover {
  color: var(--yellow);
}

.footer-contact-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.footer-contact-list a {
  color: var(--yellow);
  font-weight: 700;
}

.footer-contact-list a:hover {
  text-decoration: underline;
}

.minedu-card {
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--yellow);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 4px 4px 0 rgba(255, 199, 0, 0.35);
}

.minedu-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed rgba(17, 24, 39, 0.16);
}

.minedu-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.minedu-res {
  padding-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.minedu-res strong {
  color: var(--blue-deep);
  font-size: 0.94rem;
}

.minedu-res small {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.footer-legal a {
  color: var(--yellow);
  font-weight: 700;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.88);
  display: none;
  place-items: center;
  z-index: 1000;
  padding: 1.5rem;
}

.lightbox.open {
  display: grid;
}

.lightbox-inner {
  position: relative;
  max-width: 860px;
  width: 100%;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 24px;
  padding: 12px;
}

.lightbox-inner img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 16px;
  background: var(--ink);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox-caption {
  padding: 0.75rem 0.5rem 0.25rem;
  font-weight: 800;
  text-align: center;
  color: var(--ink);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 94%);
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 1rem 1.35rem;
  box-shadow: 6px 6px 0 var(--ink);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 900;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.86rem;
}

.cookie-banner a {
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration: underline;
}

/* Sound Toggle Pill */
.sound-toggle {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 880;
  background: var(--yellow);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}

.sound-toggle:hover {
  transform: translate(-1px, -1px);
  background: var(--yellow-hover);
}

.sound-toggle.playing {
  background: var(--white);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 890;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  display: grid;
  place-items: center;
  animation: waFloat 3.4s ease-in-out infinite;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.whatsapp-float:hover {
  animation-play-state: paused;
  transform: translate(-2px, -3px) scale(1.06);
  box-shadow: 7px 7px 0 var(--ink);
}

@keyframes waFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(-4deg);
  }
}

/* Viernes Especiales */
.friday-band {
  margin-top: 3rem;
  background: var(--blue);
  color: var(--white);
  border: 3.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-pop);
}

.friday-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.friday-header h3 {
  margin: 0;
  font-family: 'Titan One', cursive;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: var(--yellow);
  text-transform: uppercase;
  -webkit-text-stroke: 1.8px var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
}

.friday-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.friday-card {
  background: var(--white);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.22s cubic-bezier(0.22, 1.28, 0.36, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.friday-card:hover {
  transform: translateY(-7px) rotate(1deg);
  box-shadow: 6px 8px 0 var(--yellow), 9px 11px 0 var(--ink);
  background: var(--cream);
}

.friday-emoji {
  font-size: 1.95rem;
  line-height: 1;
  display: inline-block;
  align-self: flex-start;
  transition: transform 0.2s ease;
}

.friday-card--cine:hover .friday-emoji {
  animation: cineClap 0.7s ease-in-out infinite;
}

.friday-card--chef:hover .friday-emoji {
  animation: chefStir 0.75s ease-in-out infinite;
}

.friday-card--dance:hover .friday-emoji {
  animation: danceSway 0.65s ease-in-out infinite alternate;
}

.friday-card--theater:hover .friday-emoji {
  animation: theaterSpin 0.85s ease-in-out infinite;
}

.friday-card--paint:hover .friday-emoji {
  animation: paintSplash 0.75s ease-in-out infinite;
}

@keyframes cineClap {
  0%, 100% { transform: rotate(0deg) scale(1); }
  30% { transform: rotate(-18deg) scale(1.2); }
  65% { transform: rotate(10deg) scale(1.15); }
}

@keyframes chefStir {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(12deg) scale(1.15); }
}

@keyframes danceSway {
  0% { transform: rotate(-14deg) translateY(0) scale(1.1); }
  100% { transform: rotate(14deg) translateY(-7px) scale(1.2); }
}

@keyframes theaterSpin {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.2) rotate(-12deg); }
  75% { transform: scale(1.2) rotate(12deg); }
}

/* Staggered card scroll reveal */
.reveal-card {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
}

.reveal-card.is-visible {
  animation: cardPopUp 0.58s cubic-bezier(0.22, 1.28, 0.36, 1) forwards;
}

@keyframes cardPopUp {
  0% { opacity: 0; transform: translateY(24px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.friday-card h4 {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.friday-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* Animated Flying Seagull */
.flying-seagull {
  position: fixed;
  top: 28%;
  left: -200px;
  width: 145px;
  height: auto;
  z-index: 850;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 8px 14px rgba(17, 24, 39, 0.25));
}

.flying-seagull.fly {
  animation: seagullCross 4.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.flying-seagull .wing-front {
  transform-box: fill-box;
  transform-origin: 45% 85%;
  animation: wingFlap 0.42s ease-in-out infinite alternate;
}

.flying-seagull .wing-back {
  transform-box: fill-box;
  transform-origin: 45% 85%;
  animation: wingFlapBack 0.42s ease-in-out infinite alternate;
}

@keyframes seagullCross {
  0% {
    transform: translate3d(0, 20px, 0) rotate(-4deg) scale(0.92);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    transform: translate3d(32vw, -28px, 0) rotate(2deg) scale(1);
  }
  55% {
    transform: translate3d(62vw, 12px, 0) rotate(-3deg) scale(1.04);
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(100vw + 240px), -34px, 0) rotate(3deg) scale(0.95);
    opacity: 0;
  }
}

@keyframes wingFlap {
  0% { transform: rotate(-16deg) scaleY(1); }
  100% { transform: rotate(26deg) scaleY(0.45); }
}

@keyframes wingFlapBack {
  0% { transform: rotate(-10deg) scaleY(0.95); }
  100% { transform: rotate(22deg) scaleY(0.5); }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    text-align: left;
  }

  .values-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

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

  .levels-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--blue-deep);
    border: 3px solid var(--ink);
    border-radius: 20px;
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-pop);
    z-index: 50;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 1.75rem);
  }

  .section {
    padding: 2.75rem 0;
  }

  .hero-wrapper {
    padding-bottom: 2.5rem;
  }

  .navbar {
    padding: 0.85rem 0;
    gap: 0.75rem;
  }

  .nav-cta {
    display: none;
  }

  .brand-logo {
    height: 68px;
  }

  .brand-title {
    font-size: 1.4rem;
  }

  .hero-frame-wrap {
    max-width: 100%;
    width: min(320px, 88%);
    padding-inline: 0.25rem;
  }

  .hero-frame {
    padding: 10px;
    border-radius: 24px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .doodle-cloud-left {
    width: 50px;
    left: -10px;
    top: 12px;
  }

  .doodle-cloud-right {
    width: 54px;
    right: -10px;
    top: -10px;
  }

  .doodle-flower-smile {
    width: 56px;
    right: -8px;
    bottom: -14px;
  }

  .doodle-sparkle-1 {
    width: 22px;
    right: -8px;
  }

  .doodle-sparkle-2 {
    width: 20px;
    left: -8px;
  }

  .display-3d {
    -webkit-text-stroke: 1.3px var(--ink);
    text-shadow: 2px 2px 0 var(--ink);
  }

  .display-3d--light-bg {
    text-shadow: 2px 2px 0 var(--yellow), 3px 3px 0 var(--ink);
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .section-header h2 {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem);
  }

  .friday-header h3 {
    font-size: 1.35rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Mobile single-card carousel with side arrows */
  .mobile-carousel-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
  }

  .mobile-carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    font-weight: 900;
    font-size: 1rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 2.5px 2.5px 0 var(--ink);
    z-index: 5;
  }

  .mobile-carousel-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 var(--ink);
  }

  .values-grid,
  .friday-grid,
  .levels-grid,
  .pricing-grid,
  .gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0.35rem 0 0.75rem;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
  }

  .values-grid::-webkit-scrollbar,
  .friday-grid::-webkit-scrollbar,
  .levels-grid::-webkit-scrollbar,
  .pricing-grid::-webkit-scrollbar,
  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .values-grid .value-card,
  .friday-grid .friday-card,
  .levels-grid .level-card,
  .pricing-grid .pricing-card,
  .gallery-grid .gallery-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .reveal-card {
    opacity: 1;
    transform: none;
  }

  .form-grid,
  .about-pillars {
    grid-template-columns: 1fr;
  }

  .friday-band,
  .reviews-banner,
  .faq-box,
  .booking-card,
  .booking-info {
    padding: 1.25rem;
    box-shadow: 5px 5px 0 var(--ink);
    min-width: 0;
  }

  .about-grid > div,
  .footer-col {
    min-width: 0;
    word-break: break-word;
  }

  .gallery-caption {
    font-size: 0.78rem;
    padding: 1.2rem 0.65rem 0.55rem;
  }

  .about-photos {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .about-photo-card {
    aspect-ratio: 4 / 3;
  }

  .about-photo-card.tall {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sound-toggle {
    bottom: 14px;
    left: 14px;
    font-size: 0.76rem;
    padding: 0.42rem 0.85rem;
  }

  .whatsapp-float {
    bottom: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (min-width: 641px) {
  .mobile-carousel-btn {
    display: none;
  }
}

@media (max-width: 400px) {
  .mobile-carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}
