:root {
  --bg: #f8fffd;
  --ink: #1f2b2a;
  --muted: #5a6b68;
  --green: #9adfcb;
  --green-dark: #4fb499;
  --blue: #7fc7ee;
  --orange: #f6b65c;
  --pink: #f7b5cf;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.title-icon {
  width: auto;
  max-width: 100px;
  height: auto;
  display: block;
  margin-bottom: 12px;
  border-radius: 0;
}

.about .title-icon,
.services .title-icon,
.gallery .title-icon {
  max-width: 100px;
}
.contact .title-icon {
  max-width: 300px;
}

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

.topbar {
  position: sticky;
  top: 0;
  background: rgba(248, 255, 253, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #dbece7;
  z-index: 10;
}

.nav {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 350px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  flex-shrink: 0;
}

.footer img.footer-logo,
.footer .footer-logo {
  width: 200px !important;
  height: auto;
  margin: 0 auto 8px;
  display: block;
  border-radius: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.menu a,
.services-menu summary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  line-height: 1.2;
}

.services-menu {
  position: relative;
}

.services-menu summary {
  list-style: none;
  cursor: pointer;
  gap: 8px;
  padding: 0;
  margin: 0;
  user-select: none;
}

.services-menu summary::-webkit-details-marker {
  display: none;
}

.services-menu summary::after {
  content: "▾";
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.services-menu[open] summary::after {
  transform: rotate(180deg);
}

.services-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid #dfece8;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 18px 36px rgba(43, 72, 66, 0.12);
  z-index: 30;
}

.services-menu[open] .services-submenu {
  display: grid;
  gap: 6px;
}

.services-submenu a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.services-submenu a:hover,
.services-submenu a:focus-visible,
.services-submenu a[aria-current="page"] {
  background: #ebfaf4;
  color: #0f5e4d;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 88px 0;
  display: flex;
  align-items: center;
  background-image: linear-gradient(
      110deg,
      rgba(18, 31, 30, 0.75) 0%,
      rgba(18, 31, 30, 0.58) 45%,
      rgba(18, 31, 30, 0.42) 100%
    ),
    url("images2/centro-instalaciones-interiores-churrusquinos.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.halloween-posters {
  padding: 48px 0;
  background: var(--green-dark);
  text-align: center;
}

.halloween-posters h2 {
  margin-bottom: 24px;
  color: #fff;
}

.hero-announcement {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-announcement .eyebrow {
  margin: 0;
}

.halloween-posters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.halloween-poster-button {
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 12px 28px rgba(15, 44, 38, 0.12);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.halloween-poster-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 44, 38, 0.18);
}

.halloween-poster-button:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 4px;
}

.halloween-poster-button img {
  height: auto;
  border-radius: 16px;
}

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

.hero-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 640px);
}

.eyebrow {
  display: inline-block;
  background: var(--green);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", sans-serif;
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 10px;
}

.hero-copy p {
  color: #f1fbf8;
  font-size: 1.05rem;
}

.hero-copy h1 {
  color: #fff;
}

.hero-copy .eyebrow {
  background: rgba(255, 255, 255, 0.95);
  color: #14322c;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--green-dark), #2f9f80);
}

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

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(79, 180, 153, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--ink);
  display: block;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, var(--green-dark), #2f9f80);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(34, 124, 96, 0.18);
}

.header-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-secondary {
  color: #1d4b42;
  background: #daf4ec;
}

.halloween-button {
  color: #fff;
  background: var(--orange);
}

.btn-whatsapp {
  color: #fff;
  background: linear-gradient(120deg, var(--green-dark), #2f9f80);
}

.whatsapp-inline {
  width: auto;
  max-width: none;
  justify-self: start;
  align-self: start;
}

.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.about,
.services,
.gallery,
.testimonials,
.contact {
  padding: 58px 0;
}

.about {
  background: #eef8f5;
}

.ticks {
  padding: 0;
  list-style: none;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.tick-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dff8ee;
  color: #1a8a6b;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(27, 139, 103, 0.08);
}

.section-lead {
  margin-top: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid #e5efec;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(77, 118, 106, 0.08);
}

.card img {
  height: 190px;
  object-fit: cover;
  border-radius: 0;
}

.card h3 {
  padding: 16px 18px 0;
  margin-bottom: 10px;
}

.card-link,
.card-link:visited,
.card-link:hover,
.card-link:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.card p {
  margin: 0;
  padding: 0 18px 18px;
}

.card:nth-child(2n) {
  border-top: 6px solid var(--blue);
}

.card:nth-child(2n + 1) {
  border-top: 6px solid var(--orange);
}

.carousel {
  position: relative;
  overflow: hidden;
  background: #edf7f4;
}

.carousel-viewport {
  position: relative;
  min-height: 190px;
}

.carousel-viewport img {
  display: none;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 0;
}

.carousel-viewport img.is-active {
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 31, 30, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-color: #bfe7d8;
  background-image: linear-gradient(135deg, #7acbb8 0%, #b9e8d2 45%, #f6d39a 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 72px 0 56px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 31, 28, 0.76), rgba(13, 31, 28, 0.28));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #15342f;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 700px;
  color: #fff;
}

.page-hero-play,
.page-hero-birthday,
.page-hero-birthday-taller,
.page-hero-workshops,
.page-hero-babies,
.page-hero-morning,
.page-hero-school,
.page-hero-college {
  background-color: #bde9dc;
  background-image: linear-gradient(135deg, #7dcbb8 0%, #b7e9d9 37%, #f6d59d 100%);
  background-size: cover;
  background-position: center;
}

.page-hero-camp {
  background-image: linear-gradient(135deg, rgba(51, 110, 98, 0.9) 0%, rgba(149, 214, 184, 0.9) 42%, rgba(247, 182, 90, 0.78) 100%);
  background-color: #d4f2e7;
}

.page-content {
  padding: 58px 0;
  background: #f9fffd;
}

.page-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.page-content-grid > div {
  display: grid;
  gap: 14px;
}

.campamentos-page .page-content-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.page-content p,
.page-content li {
  color: var(--muted);
  margin: 0;
}

.page-image {
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(22, 46, 41, 0.12);
}

.summer-camp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--green-dark), #2f9f80);
  color: #fff;
  font: inherit;
  font-weight: 800;
  padding: 14px 22px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(34, 124, 96, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  justify-self: start;
  text-decoration: none;
}

.summer-camp-button:hover,
.summer-camp-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(34, 124, 96, 0.22);
}

.camp-details-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.camp-copy {
  display: grid;
  gap: 14px;
}

.camp-copy h1,
.camp-copy h2 {
  margin: 0;
}

.camp-copy .eyebrow {
  margin-bottom: 0;
}

.lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2b2a;
}

.camp-meta-list,
.camp-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.camp-meta-list span,
.camp-contact-list li {
  background: #eafaf4;
  color: #0f5e4d;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.camp-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.camp-hours li,
.camp-checks li {
  color: var(--muted);
}

.camp-quote {
  font-weight: 800;
  color: var(--ink) !important;
  padding-left: 14px;
  border-left: 4px solid var(--green-dark);
}

.camp-aside {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.camp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 0;
}

.camp-poster {
  width: 100%;
  max-width: 430px;
  border-radius: 22px;
  box-shadow: 0 18px 35px rgba(20, 35, 33, 0.12);
  object-fit: cover;
}

.camp-details-section {
  padding: 56px 0 36px;
}

.page-quote {
  font-weight: 800;
  color: var(--ink) !important;
  padding-left: 14px;
  border-left: 4px solid var(--green-dark);
}

.service-gallery,
.birthday-gallery,
.map-section {
  padding: 0 0 58px;
  background: #f9fffd;
}

.service-gallery-grid,
.birthday-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-gallery-grid img,
.birthday-gallery-grid img,
.map-frame {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 44, 38, 0.08);
}

.service-gallery-babies img {
  height: 250px;
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.image-modal.is-open {
  display: flex;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 21, 20, 0.72);
}

.image-modal-content {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
  width: min(92vw, 1200px);
  max-height: 90vh;
  padding: 22px 22px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.image-modal-content img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 16px;
}

.image-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 42, 39, 0.75);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.summer-camp-button-modal {
  justify-self: center;
}

.times-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 10px 0;
}

.times-list li {
  background: #eafaf4;
  color: #0f5e4d;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 14px;
}

.map-image {
  height: auto;
  min-height: 260px;
}

.gallery {
  background: linear-gradient(180deg, #fff 0%, #f0faf8 100%);
}

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

.gallery-grid img {
  margin: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

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

blockquote {
  margin: 0;
  background: #ffffff;
  border-left: 5px solid var(--pink);
  border-radius: 12px;
  padding: 18px;
  color: #3f4a49;
}

blockquote .review-avatar {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 0 10px;
}

blockquote strong {
  display: block;
  color: var(--ink);
  font-style: normal;
  margin-bottom: 6px;
}

blockquote .rating {
  display: block;
  color: #f2a51a;
  letter-spacing: 2px;
  font-style: normal;
  margin-bottom: 10px;
}

blockquote p {
  margin: 0;
  font-style: italic;
}

.contact {
  background: #1f2b2a;
  color: #e8f4f2;
}

.contact-box {
  display: grid;
  gap: 14px;
}

.contact-box ul {
  padding-left: 18px;
  margin: 0;
}

.contact .btn-primary {
  justify-self: start;
}

.footer {
  background: #15201f;
  color: #cde2de;
  padding: 26px 0 28px;
  text-align: center;
}

.footer p {
  margin: 4px 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .cards,
  .quotes,
  .page-content-grid,
  .campamentos-page .page-content-grid,
  .camp-details-layout {
    grid-template-columns: 1fr;
  }

  .halloween-posters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    gap: 18px;
  }

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

  .nav {
    position: relative;
  }

  .nav-actions {
    gap: 8px;
  }

  .brand-logo {
    width: 200px;
  }

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

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #dfece8;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 18px 36px rgba(43, 72, 66, 0.12);
    z-index: 40;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .header-whatsapp {
    padding: 9px 10px;
  }

  .wa-label {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 60px 0;
    background-attachment: scroll;
  }
}

@media (max-width: 560px) {
  .halloween-posters-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

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

  .brand-logo {
    width: 200px;
  }
}
