/* Música Integral — clean static rebuild */
:root {
  --blue: #1f4fd8;
  --blue-deep: #1639a8;
  --blue-soft: #4f96ce;
  --ink: #1a1d26;
  --ink-soft: #3a3f4b;
  --muted: #5c6474;
  --line: rgba(26, 29, 38, 0.12);
  --paper: #f5f6fa;
  --white: #ffffff;
  --header: rgba(18, 22, 34, 0.92);
  --radius: 4px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-deep);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: min(200px, 52vw);
  height: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

/* Hero — full-bleed composition */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #121622;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(12, 18, 36, 0.88) 0%, rgba(18, 28, 64, 0.55) 48%, rgba(20, 24, 40, 0.72) 100%),
    linear-gradient(to top, rgba(10, 12, 20, 0.9), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 3.5rem;
}

.hero__brand {
  width: min(320px, 70vw);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 14ch;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36ch;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-deep);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
  color: #fff;
}

/* Layout sections */
.section {
  padding: 4.5rem 1.25rem;
}

.section--tight {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section--dark {
  background: linear-gradient(160deg, #151925 0%, #1c2748 100%);
  color: #fff;
}

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

.section--band {
  background:
    linear-gradient(135deg, rgba(31, 79, 216, 0.08), transparent 40%),
    linear-gradient(to bottom, #eef1f8, #f5f6fa);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section--dark .eyebrow {
  color: var(--blue-soft);
}

.section h2,
.page-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  max-width: 22ch;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 1.5rem;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .split--reverse > :first-child {
    order: 2;
  }
}

.media-frame {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(18, 24, 48, 0.18);
}

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

/* Feature strips (not cards-as-decoration — linked actions) */
.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-link {
  display: block;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.feature-link:hover {
  border-color: rgba(31, 79, 216, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(22, 40, 90, 0.1);
  color: inherit;
}

.feature-link h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
}

.feature-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-link--photo {
  padding: 0;
  overflow: hidden;
}

.feature-link--photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-link--photo .feature-link__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.section--dark .feature-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section--dark .feature-link p {
  color: rgba(255, 255, 255, 0.72);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 4.5rem 1.25rem 3.25rem;
  color: #fff;
  background: #121622;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(14, 20, 40, 0.92), rgba(25, 40, 100, 0.7));
}

.page-hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  max-width: 16ch;
}

.page-hero p {
  margin: 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.86);
}

/* Lists / values */
.value-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.value-list li {
  padding-left: 1.1rem;
  border-left: 3px solid var(--blue);
}

.value-list strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.level-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
}

.level-pill {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: rgba(31, 79, 216, 0.1);
  color: var(--blue-deep);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-details dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
}

.contact-details dd {
  margin: 0.25rem 0 0;
}

.form {
  display: grid;
  gap: 0.9rem;
  background: var(--white);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form input,
.form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafbfe;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(31, 79, 216, 0.35);
  border-color: var(--blue);
}

.form__note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.form-message {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.form-message--ok {
  background: #e7f6ec;
  color: #14532d;
}

.form-message--err {
  background: #fde8e8;
  color: #7f1d1d;
}

/* Teachers / salones */
.person-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.person-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.person-link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.person-link h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.25rem;
}

.person-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  margin: 2rem 0 0.75rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.partners img {
  height: 42px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(0.2);
}

/* Footer */
.site-footer {
  background: #10141f;
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 1.25rem 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__grid {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 1.2fr;
  }
}

.site-footer__brand p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-heading {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: #fff;
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-hours {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.site-footer__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #121622;
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .site-nav a {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
