*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy: #102542;
      --navy-deep: #0a1a2e;
      --navy-mid: #1a3560;
      --red: #B31313;
      --red-light: #d41a1a;
      --white: #ffffff;
      --off-white: #f5f3ef;
      --gray: #6b7280;
      --gray-light: #e8e4df;
      --gold: #c9a84c;
      --font-display: 'Playfair Display', Georgia, serif;
      --font-body: 'DM Sans', sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--white);
      color: var(--navy);
      overflow-x: hidden;
      width:100%;
      max-width: 99vw;
        
      
    }
main{
          display: flex;
      flex-wrap: wrap;
      justify-content: center;
}

    /* ─── NAV ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(16, 37, 66, 0.97);
      backdrop-filter: blur(12px);
      padding: 0 5%;
      display: flex; align-items: center; justify-content: space-between;
      height: 70px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      transition: all 0.3s;
      width: 100vw;
    }
    nav.scrolled { height: 60px; box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
    .nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
    .nav-logo-icon {
      width: 42px; height: 42px; position: relative; flex-shrink: 0;
    }
    .nav-logo-icon .sq-r {
      position: absolute; top: 0; left: 0;
      width: 28px; height: 28px; background: var(--red);
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
    }
    .nav-logo-icon .sq-n {
      position: absolute; bottom: 0; right: 0;
      width: 28px; height: 28px; background: var(--navy-mid);
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
    }
    .nav-logo-icon .sq-r span, .nav-logo-icon .sq-n span {
      color: white; font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1;
    }
    .nav-logo-text { line-height: 1.1; }
    .nav-logo-text .t1 { color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
    .nav-logo-text .t2 { color: var(--red); font-family: var(--font-display); font-size: 13px; font-weight: 400; }
    .nav-links { display: flex; gap: 24px; list-style: none; }
    .nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; }
    .nav-links a:hover { color: white; }
    .nav-cta {
      background: var(--red); color: white; border: none; border-radius: 6px;
      padding: 10px 22px; font-family: var(--font-body); font-size: 14px; font-weight: 600;
      cursor: pointer; letter-spacing: 0.03em; text-transform: uppercase;
      text-decoration: none; transition: background 0.2s, transform 0.15s;
    }
    .nav-cta:hover { background: var(--red-light); transform: translateY(-1px); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }
    .mobile-menu {
        position: fixed; top: 70px; left: 0; right: 0;
  background: var(--navy-deep);
  padding: 0 5%;
  z-index: 99;
  flex-direction: column; gap: 0;
  border-bottom: 2px solid var(--red);
  display: flex;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  width: 100vw;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              padding 0.3s ease;
    }
    .mobile-menu.open { max-height: 520px;
  opacity: 1;
  padding: 24px 5% 32px; }
    .mobile-menu a {
      color: rgba(255,255,255,0.8); text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  text-transform: uppercase; letter-spacing: 0.05em;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-menu.open a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.30s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu.open a:nth-child(8) { transition-delay: 0.40s; }

.mobile-menu .nav-cta { margin-top: 20px; text-align: center; display: block; padding: 14px; }

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.hamburger span {
  transition: transform 0.3s ease, opacity 0.2s ease;
}

    .mobile-menu .nav-cta { margin-top: 20px; text-align: center; display: block; padding: 14px; }

    /* ─── HERO ─── */

    .wrapper{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: 1600px;
    }

  

    #inicio {
      background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/fondobanner.webp);
      background-size: cover; background-position: center top;
      position: relative; overflow: hidden;
      display: flex; align-items: center;
      padding: 120px 5% 80px;
    }
    .hero-bg {
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 60% 60% at 80% 50%, rgba(179,19,19,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(26,53,96,0.6) 0%, transparent 60%);
    }

    .hero-content { position: relative; z-index: 2; max-width: 700px; }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(179,19,19,0.15); border: 1px solid rgba(179,19,19,0.4);
      color: #e88; border-radius: 100px; padding: 6px 16px;
      font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
      margin-bottom: 28px;
      animation: fadeUp 0.6s ease both;
    }
    .hero-badge::before { content: '♪'; font-size: 14px; }
    .hero-title {
      font-family: var(--font-display); font-size: clamp(42px, 7vw, 80px);
      font-weight: 900; line-height: 1.0; color: white;
      margin-bottom: 24px;
      animation: fadeUp 0.6s 0.1s ease both;
    }
    .hero-title em { color: var(--red); font-style: normal; }
    .hero-subtitle {
      font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.65);
      line-height: 1.7; max-width: 520px; margin-bottom: 40px;
      font-weight: 300;
      animation: fadeUp 0.6s 0.2s ease both;
    }
    .hero-btns {
      display: flex; gap: 16px; flex-wrap: wrap;
      animation: fadeUp 0.6s 0.3s ease both;
    }
    .btn-primary {
      background: var(--navy-mid); color: white; border: none; border-radius: 8px;
      padding: 16px 32px; font-family: var(--font-body); font-size: 15px; font-weight: 600;
      cursor: pointer; letter-spacing: 0.04em; text-decoration: none;
      transition: all 0.2s; display: inline-block; text-align: center;
    }
    .btn-primary:hover {transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13, 1, 91, 0.4); }
    .btn-outline {
      background: transparent; color: white;
      border: 1.5px solid rgba(255,255,255,0.35); border-radius: 8px;
      padding: 16px 32px; font-family: var(--font-body); font-size: 15px; font-weight: 500;
      cursor: pointer; text-decoration: none; letter-spacing: 0.04em;
      transition: all 0.2s; display: inline-block; text-align: center;
    }
    .btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }
    .hero-stats {
      display: flex; gap: 40px; flex-wrap: wrap; margin-top: 60px;
      padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
      animation: fadeUp 0.6s 0.4s ease both;
    }
    .stat-num {
      font-family: var(--font-display); font-size: 36px; font-weight: 700; color: white; line-height: 1;
    }
    .stat-num span { color: var(--red); }
    .stat-label { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
    .hero-image-wrap {
      position: absolute; right: 0; top: 0; bottom: 0;
      width: 45%; display: flex; align-items: center;
    }
    .hero-note-visual {
      position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
      font-size: 320px; line-height: 1; color: rgba(255,255,255,0.02);
      font-family: var(--font-display); font-weight: 900; user-select: none;
    }
    .floating-note {
      position: fixed; font-size: 30px; opacity: 0.55; color: white;
      animation: float 4s ease-in-out infinite;z-index: 10;
    }
    .fn1 { top: 20%; right: 20%; animation-delay: 0s; }
    .fn2 { top: 25%; right: 8%; animation-delay: 1.5s; }
    .fn3 { top: 14%; right: 12%; animation-delay: 0.8s; font-size: 35px; }
    .fn4 { top: 31%; right: 18%; animation-delay: 2.2s; font-size: 25px; }

    @keyframes float {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-16px) rotate(8deg); }
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ─── SECTION COMMON ─── */
    section { padding: 100px 5%;width: 100%; max-width: 100vw; }
    .section-tag {
      display: inline-block;
      font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 4px;
      margin-bottom: 20px;
    }
    .section-title {
      font-family: var(--font-display); font-size: clamp(30px, 4vw, 52px);
      font-weight: 800; line-height: 1.1; color: var(--navy);
      margin-bottom: 20px;
    }
    .section-title em { color: var(--red); font-style: normal; }
    .section-sub {
      font-size: 17px; color: var(--gray); line-height: 1.7; max-width: 560px;
      font-weight: 300;
    }

    /* ─── MODALIDADES ─── */
    #modalidades { background: var(--off-white); }
    .mod-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 28px; margin-top: 60px;
    }
    .mod-card {
      background: white; border-radius: 16px; overflow: hidden;
      box-shadow: 0 2px 20px rgba(0,0,0,0.06);
      transition: transform 0.3s, box-shadow 0.3s;
      display: flex; flex-direction: column;
    }
    .mod-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
    .mod-card-header {
      padding: 48px 40px 32px;
      position: relative; overflow: hidden;
    }
    .mod-card.presencial .mod-card-header { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/sancristobal.webp); background-size: cover; background-position: center;}
    .mod-card.online .mod-card-header { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/remoto.webp);background-size: cover; background-position: center;}
    .mod-card-header .bg-icon {
      position: absolute; right: -10px; top: -10px;
      font-size: 140px; opacity: 0.06; line-height: 1;
    }
    .mod-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgb(10 45 123 / 45%); color: rgba(255,255,255,0.9);
      border-radius: 100px; padding: 5px 14px; font-size: 11px; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px;
    }
    .mod-card-header h3 {
      font-family: var(--font-display); font-size: 30px; font-weight: 800; color: white; margin-bottom: 10px;filter: drop-shadow(2px 4px 6px black);
    }
    .mod-card-header p { color: rgb(255, 255, 255); font-size: 15px; line-height: 1.6;filter: drop-shadow(2px 4px 6px black); }
    .mod-card-body { padding: 36px 40px; flex: 1; }
    .mod-features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
    .mod-features li {
      display: flex; align-items: flex-start; gap: 12px;
      font-size: 15px; color: #374151; line-height: 1.5;
    }
    .mod-features li::before {
      content: '✓'; color: var(--red); font-weight: 700; font-size: 15px;
      flex-shrink: 0; margin-top: 1px;
    }
    .mod-card .btn-primary { margin-top: 28px; width: 100%; }
    .mod-card.online .btn-primary { background: var(--navy); }
    .mod-card.online .btn-primary:hover { background: var(--navy-mid); }

    /* ─── CÁTEDRAS ─── */
    #catedras { background: white; }
    .catedras-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 60px;
    }
    .catedra-card {
      border-radius: 16px;
      overflow: hidden;
      background: var(--off-white);
      border: 1px solid var(--gray-light);
      transition: transform 0.3s, box-shadow 0.3s;
      display: flex;
      flex-direction: column;
    }
    .catedra-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(16,37,66,0.12);
    }
    .catedra-card-top {
      padding: 36px 32px 28px;
      position: relative; overflow: hidden;
    }
    .catedra-card:nth-child(1) .catedra-card-top { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/ninosmusica.webp); background-size: cover; background-position: center;}
    .catedra-card:nth-child(2) .catedra-card-top { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/canto.webp); background-size: cover; background-position: center;}
    .catedra-card:nth-child(3) .catedra-card-top { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/piano.webp);background-size: cover; background-position: center;}
    .catedra-card:nth-child(4) .catedra-card-top { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/guitarra.webp); background-size: cover; background-position: center bottom;}
    .catedra-card:nth-child(5) .catedra-card-top { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/cuadro.webp);background-size: cover; background-position: top;}
    .catedra-card:nth-child(6) .catedra-card-top { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/solfeo.webp); background-size: cover; background-position: center bottom; }
    .catedra-card:nth-child(7) .catedra-card-top { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/armonia.webp); background-size: cover; background-position: center;}
    .catedra-bg-note {
      position: absolute; right: -8px; top: -12px;
      font-size: 110px; opacity: 0.07; line-height: 1;
      user-select: none; color: white;
    }
    .catedra-icon {
      width: 64px; height: 64px;
      background: rgba(255,255,255,0.12);
      border-radius: 14px; border: 1px solid rgba(255,255,255,0.2);
      display: flex; align-items: center; justify-content: center;
      font-size: 30px; margin-bottom: 20px;
      position: relative; z-index: 1;
    }
    .catedra-card-top h3 {
      font-family: var(--font-display);
      font-size: 26px; font-weight: 800; color: white;
      line-height: 1.1; margin-bottom: 8px;
      position: relative; z-index: 1;
    }
    .catedra-tag {
      display: inline-block;
      background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85);
      border-radius: 100px; padding: 4px 12px;
      font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
      position: relative; z-index: 1;
    }
    .catedra-card-body { padding: 28px 32px 36px; flex: 1; }
    .catedra-card-body p {
      font-size: 14px; color: #4b5563; line-height: 1.75; margin-bottom: 20px;
    }
    .catedra-levels {
      display: flex; flex-wrap: wrap; gap: 8px;
    }
    .catedra-level {
      background: rgba(16,37,66,0.06);
      color: var(--navy); border-radius: 6px; padding: 4px 12px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
    }
    .catedra-cta {
      margin-top: 24px;
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--red); font-size: 13px; font-weight: 600;
      text-decoration: none; letter-spacing: 0.04em;
      transition: gap 0.2s;
    }
    .catedra-cta:hover { gap: 12px; }

    /* ─── DIRECTOR ─── */
    #director { background: var(--off-white); }
    .director-wrap {
      display: grid; grid-template-columns: 1fr 1.6fr;
      gap: 80px; align-items: center; margin-top: 60px;
    }
    .director-visual { position: relative; }
    .director-card-bg {
      width: 100%; aspect-ratio: 3/4; border-radius: 16px;
      background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
      position: relative; overflow: hidden;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 40px;
    }
    .director-card-bg::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 30% 30%, rgba(179,19,19,0.2) 0%, transparent 60%);
    }
    .dir-icon {
      width: 110px; height: 110px; background: rgba(255,255,255,0.07);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-size: 52px; margin-bottom: 28px; border: 2px solid rgba(255,255,255,0.12);
      position: relative; z-index: 1;
    }
    .dir-name {
      font-family: var(--font-display); font-size: 22px; font-weight: 700; color: white;
      text-align: center; margin-bottom: 6px; position: relative; z-index: 1;
    }
    .dir-title { color: var(--red); font-size: 13px; font-weight: 500; text-align: center; letter-spacing: 0.05em; position: relative; z-index: 1; }
    .dir-chips {
      display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; justify-content: center; position: relative; z-index: 1;
    }
    .dir-chip {
      background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
      border-radius: 100px; padding: 4px 14px; font-size: clamp(9px, 2vw, 12px); font-weight: 500;
      letter-spacing: 0.04em;
    }
    .dir-accent {
      position: absolute; bottom: -16px; right: -16px;
      width: 80px; height: 80px; border-radius: 12px; background: var(--red);
      display: flex; align-items: center; justify-content: center;
      font-size: 36px; box-shadow: 0 8px 24px rgba(179,19,19,0.5);
    }
    .director-info p {
      font-size: 16px; color: #4b5563; line-height: 1.85; margin-bottom: 20px; font-weight: 300;
    }
    .director-info p:first-of-type { font-size: 18px; color: var(--navy); font-weight: 400; }
    .masters-list {
      margin: 32px 0;
      background: white; border-radius: 12px; padding: 24px 28px;
      border-left: 4px solid var(--red);
    }
    .masters-list h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
    .masters-list ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .masters-list ul li {
      font-size: 14px; color: #374151; display: flex; align-items: center; gap: 10px;
    }
    .masters-list ul li::before { content: '♪'; color: var(--red); }
    .intl-countries {
      display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
    }
    .country-tag {
      background: var(--navy); color: white;
      border-radius: 8px; padding: 6px 14px; font-size: 12px; font-weight: 600;
      letter-spacing: 0.04em;
    }

    /* ─── MAESTROS CARRUSEL ─── */
    #maestros {
      background: var(--navy-deep);
      overflow: hidden;
      z-index: 11;
    }
    #maestros .section-tag { color: #e88; border-color: #e88; }
    #maestros .section-title { color: white; }
    #maestros .section-sub { color: rgba(255,255,255,0.55); }

    .carousel-wrapper {
      position: relative;
      margin-top: 60px;
    }
    .carousel-track-container {
      overflow: hidden;
      border-radius: 20px;
    }
    .carousel-track {
      display: flex;
      transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
    }
    .maestro-slide {
      min-width: 100%;
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 0;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 20px;
      overflow: hidden;
    }
    .maestro-visual {
      background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
      position: relative;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: 30px 36px;
      min-height: 340px;
    }
    .maestro-visual::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 30% 20%, rgba(179,19,19,0.2) 0%, transparent 60%);
    }
    .maestro-avatar {
      width: 115px; height: 115px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      border: 2px solid rgba(255,255,255,0.15);
      display: flex; align-items: center; justify-content: center;
      font-size: 56px; margin-bottom: 24px;
      position: relative; z-index: 1;
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    }
    .maestro-name {
      font-family: var(--font-display);
      font-size: 20px; font-weight: 700; color: white;
      text-align: center; margin-bottom: 6px;
      position: relative; z-index: 1;
    }
    .maestro-catedra-badge {
      display: inline-block;
      background: var(--red); color: white;
      border-radius: 100px; padding: 5px 16px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
      position: relative; z-index: 1;
    }
    .maestro-deco-note {
      position: absolute; bottom: 20px; right: 20px;
      font-size: 80px; opacity: 0.05; color: white;
      font-family: var(--font-display); user-select: none;
    }
    .maestro-info {
      padding: 52px 56px;
      display: flex; flex-direction: column; justify-content: center;
    }
    .maestro-quote-mark {
      font-family: var(--font-display);
      font-size: 80px; line-height: 0.6;
      color: rgba(179,19,19,0.3); margin-bottom: 20px;
      font-weight: 900;
    }
    .maestro-bio {
      font-size: 14px; color: rgba(255,255,255,0.75);
      line-height: 1.85; font-weight: 300;
      margin-bottom: 32px;
    }
    .maestro-specialties {
      display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
    }
    .maestro-spec-tag {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      color: rgba(255,255,255,0.8);
      border-radius: 8px; padding: 4px 12px;
      font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
    }
    .maestro-modality {
      display: flex; gap: 12px; align-items: center;
    }
    .modality-pill {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(255,255,255,0.06); border-radius: 100px;
      padding: 6px 14px; font-size: 12px; color: rgba(255,255,255,0.6);
    }
    .modality-pill.active {
      background: rgba(179,19,19,0.2); border: 1px solid rgba(179,19,19,0.4);
      color: #e88;
    }

    /* Carousel nav */
    .carousel-nav {
      display: flex; align-items: center; justify-content: center;
      gap: 20px; margin-top: 36px;
    }
    .carousel-btn {
      width: 48px; height: 48px; border-radius: 50%;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.15);
      color: white; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
      transition: background 0.2s, border-color 0.2s, transform 0.15s;
    }
    .carousel-btn:hover {
      background: var(--red); border-color: var(--red);
      transform: scale(1.08);
    }
    .carousel-dots {
      display: flex; gap: 10px; align-items: center;
    }
    .carousel-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: rgba(255,255,255,0.2);
      cursor: pointer;
      transition: all 0.3s;
      border: none;
    }
    .carousel-dot.active {
      background: var(--red);
      width: 24px; border-radius: 4px;
    }
    .carousel-counter {
      font-size: 13px; color: rgba(255,255,255,0.35);
      font-weight: 500; letter-spacing: 0.05em;
      min-width: 44px; text-align: center;
    }

    /* ─── PROGRAMAS ─── */
    #programas { background: var(--navy-deep);z-index: 11; }
    #programas .section-tag { color: #e88; border-color: #e88; }
    #programas .section-title { color: white; }
    #programas .section-sub { color: rgba(255,255,255,0.55); }
    .plans-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 24px; margin-top: 60px; align-items: start;
    }
    .plan-card {
      border-radius: 16px; overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      position: relative;
    }
    .plan-card:hover { transform: translateY(-6px); }
    .plan-card.featured {
      transform: scale(1.03);
      box-shadow: 0 0 0 2px var(--red), 0 24px 60px rgba(179,19,19,0.3);
    }
    .plan-card.featured:hover { transform: scale(1.03) translateY(-6px); }
    .plan-header {
      padding: 36px 32px 28px;
      background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .plan-card.featured .plan-header { background: rgba(179,19,19,0.2); border-bottom-color: rgba(179,19,19,0.3); }
    .plan-label {
      font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
      color: rgba(255,255,255,0.5); margin-bottom: 12px;
    }
    .plan-card.featured .plan-label { color: #e88; }
    .plan-name {
      font-family: var(--font-display); font-size: 22px; font-weight: 700; color: white; margin-bottom: 8px;
    }
    .plan-freq { font-size: 13px; color: rgba(255,255,255,0.5); }
    .plan-pricing { margin-top: 20px; }
    .plan-old-price { font-size: 14px; color: rgba(255,255,255,0.35); text-decoration: line-through; }
    .plan-price { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: white; line-height: 1; }
    .plan-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; font-family: var(--font-body); font-weight: 600; }
    .plan-promo-badge {
      display: inline-block;
      background: var(--red); color: white;
      font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
      padding: 4px 10px; border-radius: 4px; margin-left: 8px; vertical-align: middle;
    }
    .plan-body { padding: 28px 32px; background: rgba(255,255,255,0.03); }
    .plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
    .plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.75); }
    .plan-features li span.icon { color: var(--red); font-size: 16px; flex-shrink: 0; }
    .plan-card .btn-primary { width: 100%; text-align: center; display: block; padding: 14px; }
    .plan-card:not(.featured) .btn-primary {
      background: rgba(255,255,255,0.1); color: white;
    }
    .plan-card:not(.featured) .btn-primary:hover { background: rgba(255,255,255,0.2); transform: none; box-shadow: none; }
    .plan-note { text-align: center; margin-top: 48px; }
    .plan-note p { color: rgba(255,255,255,0.45); font-size: 14px; }
    .plan-note a { color: rgba(255,255,255,0.7); }

    /* ─── METHODOLOGY ─── */
    #metodologia { background: var(--off-white); }
    .method-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 28px; margin-top: 60px;
    }
    .method-card {
      background: white; border-radius: 14px; padding: 36px 28px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.05);
      transition: transform 0.3s, box-shadow 0.3s;

      p{
        background-color:#ffffff57;
        padding: 10px;
        border-radius: 16px;
        max-width: 90%;
      }
    }



    .method-grid .method-card:nth-child(1) { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/paso1.webp);background-size: cover; }
    .method-grid .method-card:nth-child(2) { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/paso2.webp);background-size: cover; }
    .method-grid .method-card:nth-child(3) { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/paso3.webp);background-size: cover; }
    .method-grid .method-card:nth-child(4) { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/paso4.webp);background-size: cover; }
    .method-grid .method-card:nth-child(5) { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/paso5.webp);background-size: cover; }
    .method-grid .method-card:nth-child(6) { background-image: url(https://estudiamusicaonline.com/wp-content/themes/tema_frederick_corredor/assets/images/paso6.webp);background-size: cover; }
    .method-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
    .method-num {
      font-family: var(--font-display); font-size: 60px; font-weight: 900;
      color: rgba(179,19,19,0.1); line-height: 1; margin-bottom: 16px;
      letter-spacing: -4px;
    }
    .method-icon { font-size: 32px; margin-bottom: 16px; }
    .method-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
    .method-card p { font-size: 14px; color: var(--navy-deep); line-height: 1.7; }

    /* ─── WHY ─── */
    #por-que { background: white; }
    .why-wrap {
      display: grid; grid-template-columns: 1.2fr 1fr;
      gap: 80px; align-items: center; margin-top: 60px;
    }
    .why-list { display: flex; flex-direction: column; gap: 28px; }
    .why-item { display: flex; gap: 20px; align-items: flex-start; }
    .why-icon {
      width: 52px; height: 52px; flex-shrink: 0;
      background: rgba(179,19,19,0.08); border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 24px;
      transition: background 0.2s;
    }
    .why-item:hover .why-icon { background: var(--red); }
    .why-item h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
    .why-item p { font-size: 14px; color: var(--gray); line-height: 1.65; }
    .why-visual {
      background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
      border-radius: 20px; padding: 48px 40px;
      position: relative; overflow: hidden;
    }
    .why-visual::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(circle at 70% 30%, rgba(179,19,19,0.25) 0%, transparent 60%);
    }
    .why-visual h3 {
      font-family: var(--font-display); font-size: 28px; font-weight: 800; color: white;
      line-height: 1.2; margin-bottom: 28px; position: relative; z-index: 1;
    }
    .why-visual h3 em { color: var(--red); font-style: normal; }
    .results-list { list-style: none; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
    .results-list li {
      display: flex; align-items: center; gap: 14px;
      background: rgba(255,255,255,0.07); border-radius: 10px; padding: 14px 18px;
    }
    .results-list li .r-icon { font-size: 22px; }
    .results-list li div { flex: 1; }
    .results-list li .r-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
    .results-list li .r-val { font-size: 15px; color: white; font-weight: 600; }

    /* ─── TESTIMONIALS ─── */
    #testimonios { background: var(--off-white); }
    .test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
    .test-card {
      background: white; border-radius: 14px; padding: 32px 28px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      transition: transform 0.3s;
    }
    .test-card:hover { transform: translateY(-4px); }
    .test-stars { color: var(--gold); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
    .test-text { font-size: 15px; color: #374151; line-height: 1.75; font-style: italic; margin-bottom: 24px; }
    .test-author { display: flex; align-items: center; gap: 14px; }
    .test-avatar {
      width: 44px; height: 44px; border-radius: 50%; background: var(--navy);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-display); font-size: 18px; font-weight: 700; color: white; flex-shrink: 0;
    }
    .test-name { font-weight: 600; font-size: 14px; color: var(--navy); }
    .test-loc { font-size: 12px; color: var(--gray); margin-top: 2px; }

    /* ─── CONTACT ─── */
    #contacto { background: var(--navy); }
    #contacto .section-tag { color: #e88; border-color: #e88; }
    #contacto .section-title { color: white; }
    #contacto .section-sub { color: rgba(255,255,255,0.55); }
    .contact-wrap {
      display: grid; grid-template-columns: 1fr 1.2fr;
      gap: 80px; align-items: start; margin-top: 60px;
    }
    .contact-info h3 {
      font-family: var(--font-display); font-size: 24px; font-weight: 700; color: white; margin-bottom: 28px;
    }
    .contact-items { display: flex; flex-direction: column; gap: 20px; }
    .contact-item { display: flex; gap: 16px; align-items: flex-start; }
    .c-icon {
      width: 46px; height: 46px; background: rgba(255,255,255,0.08); border-radius: 10px;
      display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
    }
    .c-label { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
    .c-val { font-size: 12px; color: rgba(255,255,255,0.85); font-weight: 500; }
    .c-val a { color: inherit; text-decoration: none; }
    .c-val a:hover { color: white; text-decoration: underline; }
    .contact-form-card {
      background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px; padding: 40px 36px;
    }
    .contact-form-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: white; margin-bottom: 28px; }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
    .form-group input, .form-group select, .form-group textarea {
      width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
      border-radius: 8px; padding: 12px 16px; color: white; font-family: var(--font-body); font-size: 14px;
      outline: none; transition: border-color 0.2s;
    }
    .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
    .form-group select option { background: var(--navy-deep); color: white; }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-submit { width: 100%; padding: 16px; font-size: 16px; }
    .form-note { text-align: center; color: rgba(255,255,255,0.35); font-size: 12px; margin-top: 14px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--navy-deep);
      padding: 60px 5% 32px;
      border-top: 1px solid rgba(255,255,255,0.06);
      width: 100%;
    }
    .footer-top {
      display: grid; grid-template-columns: 1.5fr 1fr 1fr;
      gap: 60px; margin-bottom: 48px;
    }
    .footer-brand p { color: rgba(255,255,255,0.45); font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 280px; }
    .footer-col h4 { color: white; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul li a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 14px; transition: color 0.2s; }
    .footer-col ul li a:hover { color: white; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
    .footer-bottom p { color: rgba(255,255,255,0.3); font-size: 13px; }
    .footer-bottom .footer-logo-text { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.5); }
    .footer-bottom .footer-logo-text em { color: var(--red); font-style: normal; }

    /* ─── WHATSAPP FLOAT ─── */
    .wa-float {
      position: fixed; bottom: 16px; right: 16px; z-index: 200;
      width: 58px; height: 58px; border-radius: 50%;
      background: #25d366;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 6px 24px rgba(37,211,102,0.5);
      text-decoration: none; font-size: 28px;
      transition: transform 0.2s, box-shadow 0.2s;
      animation: pulse-wa 2s ease-in-out infinite;
    }
    .wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.7); animation: none; }
    @keyframes pulse-wa {
      0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
      50% { box-shadow: 0 6px 40px rgba(37,211,102,0.8); }
    }

    /* ─── SCROLL REVEAL ─── */
    .reveal {
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible { 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; }
    
    

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1024px) {
      .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 60px auto 0; }
      .plan-card.featured { transform: none; }
      .plan-card.featured:hover { transform: translateY(-6px); }
      .method-grid { grid-template-columns: 1fr 1fr; }
      .director-wrap { grid-template-columns: 1fr; }
      .director-visual { max-width: 360px; }
      .catedras-grid { grid-template-columns: 1fr 1fr; }
      .maestro-slide { grid-template-columns: 260px 1fr; }
      .maestro-info { padding: 40px 40px; }
    }
    @media (max-width: 768px) {
      section { padding: 36px 5%; }
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex;background: none;padding: 6px; }
      #inicio { padding: 100px 5% 72px;background-position: 600px; }
      .mod-grid { grid-template-columns: 1fr; }
      .method-grid { grid-template-columns: 1fr; }
      .why-wrap { grid-template-columns: 1fr; gap: 48px; }
      .test-grid { grid-template-columns: 1fr; }
      .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
      .footer-top { grid-template-columns: 1fr; gap: 36px; }
      .hero-stats { gap: 24px; }
      .form-row { grid-template-columns: 1fr; }
      .director-wrap { gap: 48px; }
      .catedras-grid { grid-template-columns: 1fr; }
      .maestro-slide { grid-template-columns: 1fr; }
      .maestro-visual { min-height: 270px; }
      .maestro-info { padding: 16px; min-height: 390px;}
      .maestro-quote-mark { display: none; }
    }
    @media (max-width: 480px) {
      .hero-btns { flex-direction: column; }
      .btn-primary, .btn-outline { width: 100%; text-align: center; }
    }