:root {
  --ink: #151515;
  --paper: #fffdf6;
  --muted: #615f58;
  --line: #dfdccf;
  --brand: #f8d335;
  --teal: #0f8a86;
  --coral: #cf493f;
  --green: #557f35;
  --night: #101015;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.is-lightbox-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 16, 21, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand img,
.site-footer img {
  width: 142px;
  height: 52px;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 0.95rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  font: inherit;
}

.header-cta,
.button.primary {
  color: var(--night);
  background: var(--brand);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 72px) 68px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 21, 0.94) 0%, rgba(16, 16, 21, 0.65) 48%, rgba(16, 16, 21, 0.25) 100%),
    linear-gradient(0deg, rgba(16, 16, 21, 0.66), rgba(16, 16, 21, 0.08)),
    url("assets/costillar.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero-logo {
  width: min(340px, 72vw);
  height: 160px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: var(--brand);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.84);
}

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

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.dance {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.section-copy > p:not(.eyebrow),
.section-heading {
  max-width: 690px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.gallery-section {
  background: var(--white);
}

.section-heading {
  margin-inline: auto;
  margin-bottom: 30px;
  text-align: center;
}

.circle-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 160px));
  justify-content: center;
  gap: clamp(14px, 2.2vw, 28px);
  align-items: start;
}

.circle-gallery figure {
  margin: 0;
  text-align: center;
}

.circle-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #f7d64c;
  box-shadow: 0 18px 40px rgba(16, 16, 21, 0.14);
}

.circle-gallery figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.menu-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: clamp(28px, 4vw, 42px) auto 0;
}

.menu-highlights article {
  padding: 22px;
  border-top: 4px solid var(--teal);
  background: #f7f4e8;
  border-radius: 8px;
  text-align: center;
}

.menu-highlights p {
  margin: 0;
  color: var(--muted);
}

.family-plan-banner {
  overflow: hidden;
  max-width: 1120px;
  margin: clamp(24px, 4vw, 42px) auto 0;
  border-radius: 8px;
  background: #f7d64c;
  box-shadow: 0 18px 40px rgba(16, 16, 21, 0.14);
}

.family-plan-banner img {
  width: 100%;
  aspect-ratio: 1600 / 620;
  object-fit: cover;
  object-position: center;
}

.dance {
  color: var(--white);
  background: var(--night);
}

.dance .section-copy {
  text-align: center;
}

.dance .section-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.dance-feature-image {
  overflow: hidden;
  max-width: 420px;
  margin: 26px auto 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.dance-feature-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.dance-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.dance-cards article {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dance-cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dance-cards .poster-card img {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #1f232b;
}

.dance-cards div {
  padding: 20px;
  text-align: center;
}

.dance-cards span {
  display: block;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.dance-cards p {
  color: rgba(255, 255, 255, 0.76);
}

.dance-cards .button {
  width: 100%;
  margin-top: 8px;
}

.social-gallery-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.social-gallery-panel h3 {
  margin: 0;
  color: var(--brand);
  text-align: center;
  text-transform: uppercase;
}

.social-gallery-section,
.social-gallery-panel {
  color: var(--white);
}

.social-gallery-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.social-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.social-photo-grid figure {
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.social-photo-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.social-photo-grid button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}

.social-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.location {
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1.25fr);
  gap: 18px;
  align-items: stretch;
}

.location-panorama {
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(16, 16, 21, 0.12);
}

.location-panorama img {
  width: 100%;
  aspect-ratio: 4.8 / 1;
  object-fit: cover;
  object-position: center;
}

.location-panorama figcaption {
  padding: 10px 14px 12px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.address-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.address-panel p {
  margin: 0 0 8px;
  font-size: 1.13rem;
}

.address-panel .button {
  margin-top: 20px;
}

.map-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.map-panel iframe {
  display: none;
}

.map-fallback {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.park-photo-slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px) clamp(18px, 3vw, 34px);
  max-width: 1040px;
  margin: 30px auto 0;
}

.park-photo-card {
  grid-column: span 2;
  margin: 0;
  text-align: center;
}

.park-photo-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.park-photo-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.park-photo-circle {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  color: var(--teal);
  background: var(--paper);
  border: 5px solid rgba(248, 211, 53, 0.96);
  box-shadow: 0 18px 40px rgba(16, 16, 21, 0.14);
}

.park-photo-circle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.park-photo-card:first-child .park-photo-circle img {
  object-position: 68% center;
}

.park-photo-card figcaption {
  margin-top: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.careers {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #fff5df;
}

.careers .section-copy {
  text-align: center;
}

.career-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfaf5;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(15, 138, 134, 0.22);
  border-color: var(--teal);
}

.website-field {
  position: absolute;
  left: -9999px;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #202022;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer a,
.print-social-footer {
  color: var(--brand);
  font-weight: 800;
}

.social-button {
  display: inline-flex;
  justify-content: center;
  width: 44px;
  min-height: 42px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.social-button svg {
  width: 22px;
  height: 22px;
}

.instagram-link {
  background: radial-gradient(circle at 30% 105%, #fdf497 0 18%, #fd5949 42%, #d6249f 68%, #285aeb 100%);
}

.instagram-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.facebook-link {
  background: #1877f2;
}

.facebook-link svg {
  fill: currentColor;
  stroke: none;
}

.footer-whatsapp {
  padding-left: 4px;
}

.print-social-footer {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
  background: rgba(16, 16, 21, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  width: min(92vw, 760px);
  max-height: 92vh;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--white);
  text-align: center;
}

.lightbox-frame img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
  background: #1f232b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.lightbox-frame figcaption {
  font-weight: 800;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: var(--white);
  background: rgba(16, 16, 21, 0.72);
  cursor: pointer;
  font: 32px/1 Arial, Helvetica, sans-serif;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  width: 48px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--white);
  background: rgba(16, 16, 21, 0.72);
  cursor: pointer;
  font: 42px/1 Arial, Helvetica, sans-serif;
  transform: translateY(-50%);
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.response-panel {
  width: min(560px, 100%);
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.response-panel img {
  width: 180px;
  margin: 0 auto 20px;
}

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

.response-panel p {
  margin: 18px 0 24px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand img {
    width: 126px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--white);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 16px 20px 22px;
    flex-direction: column;
    background: rgba(16, 16, 21, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .dance,
  .location-grid,
  .park-photo-slots,
  .careers {
    grid-template-columns: 1fr;
  }

  .circle-gallery,
  .menu-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: 86vh;
    padding: 104px 18px 44px;
  }

  .hero-bg {
    background:
      linear-gradient(0deg, rgba(16, 16, 21, 0.92) 0%, rgba(16, 16, 21, 0.7) 60%, rgba(16, 16, 21, 0.28) 100%),
      url("assets/costillar.jpg") center / cover no-repeat;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .circle-gallery,
  .menu-highlights,
  .dance-cards {
    grid-template-columns: 1fr 1fr;
  }

  .menu-highlights {
    grid-template-columns: 1fr;
  }

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

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 34px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 56px);
  }

  .lightbox-next {
    right: calc(50% - 56px);
  }
}

@media print {
  @page {
    size: letter;
    margin: 0;
  }

  .site-header {
    display: none;
  }

  .site-footer {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .print-social-footer {
    position: fixed;
    right: 32px;
    bottom: 12px;
    left: 32px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 8px 12px;
    color: #101015;
    background: rgba(248, 211, 53, 0.92);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .lightbox {
    display: none;
  }

  .print-social-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #ffffff;
    border-radius: 999px;
  }

  .print-social-footer svg {
    width: 12px;
    height: 12px;
  }

  .section {
    padding: 48px 42px;
    break-inside: auto;
  }

  .hero,
  .gallery-section,
  .dance,
  .location {
    min-height: 100vh;
    break-after: page;
  }

  .careers {
    min-height: 100vh;
  }

  .hero {
    break-before: auto;
  }

  .gallery-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    break-before: page;
    padding-top: 34px;
    padding-bottom: 26px;
  }

  .gallery-section .section-heading {
    margin-bottom: 14px;
  }

  .gallery-section .section-heading h2 {
    font-size: 2.45rem;
  }

  .circle-gallery {
    grid-template-columns: repeat(4, minmax(0, 160px));
    justify-content: center;
    gap: 2px 16px;
  }

  .circle-gallery figure,
  .menu-highlights article,
  .dance-cards article,
  .address-panel,
  .career-form {
    break-inside: avoid;
  }

  .circle-gallery img {
    border-width: 5px;
    box-shadow: 0 12px 28px rgba(16, 16, 21, 0.13);
  }

  .circle-gallery figcaption {
    margin-top: 4px;
    font-size: 0.68rem;
    line-height: 1.05;
  }

  .menu-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 760px;
    margin-top: 34px;
  }

  .menu-highlights article {
    padding: 11px 10px;
  }

  .menu-highlights h3 {
    margin-bottom: 5px;
    font-size: 0.88rem;
  }

  .menu-highlights p {
    font-size: 0.69rem;
    line-height: 1.24;
  }

  .dance,
  .careers {
    grid-template-columns: 1fr;
  }

  .dance {
    break-before: page;
    gap: 24px;
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .dance .section-copy {
    margin-inline: auto;
  }

  .dance-cards {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    max-width: 930px;
    margin-inline: auto;
  }

  .dance-cards img,
  .dance-cards .poster-card img {
    aspect-ratio: 4 / 3;
  }

  .dance-cards img {
    object-fit: cover;
  }

  .dance-cards .poster-card img {
    object-fit: contain;
  }

  .dance-cards div {
    padding: 16px;
  }

  .dance-cards p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .social-photo-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .social-photo-grid figure {
    break-inside: avoid;
  }

  .social-photo-grid img {
    aspect-ratio: 4 / 3;
  }

  .careers {
    break-before: page;
  }

  .career-form {
    margin-top: 8px;
  }

  .location-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 10px;
  }

  .location-panorama {
    margin-bottom: 10px;
    box-shadow: none;
  }

  .location-panorama img {
    aspect-ratio: 7.8 / 1;
  }

  .location-panorama figcaption {
    font-size: 8px;
    padding: 6px 8px;
  }

  .location iframe {
    display: none;
  }

  .map-fallback {
    display: block;
    height: 180px;
  }

  .park-photo-slots {
    grid-template-columns: repeat(6, 86px);
    justify-content: center;
    gap: 10px 24px;
    max-width: 640px;
    margin-top: 14px;
  }

  .park-photo-circle {
    border-width: 4px;
  }

  .park-photo-card figcaption {
    font-size: 8px;
    line-height: 1.15;
    margin-top: 6px;
  }

  .location {
    break-before: page;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .location .section-heading {
    margin-bottom: 18px;
  }

  .location .section-heading h2 {
    font-size: 2.25rem;
  }

  .location .section-heading p:not(.eyebrow) {
    font-size: 0.92rem;
    margin: 10px 0 0;
  }

  .location .address-panel {
    padding: 18px 14px;
  }

  .location .address-panel p {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }

  .location .address-panel .button {
    min-height: 38px;
    margin-top: 12px;
    padding: 8px 14px;
  }
}
