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

    :root {
      --blue: #1A5EA8;
      --blue-light: #E6F1FB;
      --blue-mid: #185FA5;
      --orange: #E8631A;
      --orange-light: #FEF0E7;
      --text: #1a1a1a;
      --text-muted: #181818;
      --border: rgba(0, 0, 0, 0.705);
      --bg: #ffffff;
      --bg-secondary: #f9f9f8;
    }

    html { font-size: 16px; scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ─── NAV ─── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 48px;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      border-bottom: 0.5px solid var(--border);
    }

    .nav-logo {
      font-size: 20px;
      font-weight: 500;
      color: var(--text);
      text-decoration: none;
      letter-spacing: -0.3px;
    }
    .nav-logo span { color: var(--orange); }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: 13px;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.15s;
    }
    .nav-links a:hover { color: var(--text); }

    .nav-cta {
      font-size: 13px;
      font-family: 'Inter', sans-serif;
      padding: 9px 20px;
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.15s;
    }
    .nav-cta:hover { background: var(--blue-mid); }

    .nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); }

    /* ─── HERO ─── */
    .hero {
      padding: 88px 48px 80px;
    
      border-bottom: 0.5px solid var(--border);
    }

    .hero-tag {
      display: inline-block;
      font-size: 11px;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: #fff;
      border: 0.5px solid #fff;
      padding: 4px 12px;
      border-radius: 4px;
      margin-bottom: 28px;
    }

    .hero h1 {
      font-size: 42px;
      font-weight: 500;
      line-height: 1.18;
      letter-spacing: -0.7px;
      color: #fff;
      margin-bottom: 22px;
    }
    .hero h1 em {
      font-style: normal;
      color: var(--orange);
    }

    .hero p {
      font-size: 15px;
      color: #fff;
      line-height: 1.75;
      max-width: 480px;
      margin-bottom: 36px;
    }

    .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

    .btn-primary {
      font-size: 14px;
      font-family: 'Inter', sans-serif;
      padding: 13px 26px;
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.15s;
    }
    .btn-primary:hover { background: var(--blue-mid); }

    .btn-secondary {
      font-size: 14px;
      font-family: 'Inter', sans-serif;
      padding: 13px 26px;
      background: var(--orange-light);
      color: var(--text);
      border: 0.5px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: border-color 0.15s, background 0.15s;
    }
    .btn-secondary:hover { border-color: rgba(0,0,0,0.25); background: var(--bg-secondary); }

    /* ─── PROGRAMAS ─── */
    .programs-section {
      padding: 64px 48px;
      border-bottom: 0.5px solid var(--border);
    }

    .section-label {
      font-size: 11px;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 10px;
    }
    .section-title {
      font-size: 26px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 10px;
      letter-spacing: -0.3px;
    }
    .section-sub {
      font-size: 14px;
      color: var(--text-muted);
      max-width: 480px;
      line-height: 1.75;
      margin-bottom: 40px;
    }

    .programs-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border: 0.5px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
    }

    .program-card {
      padding: 28px 26px;
      background: var(--bg);
      border-right: 0.5px solid var(--border);
      border-bottom: 0.5px solid var(--border);
      transition: background 0.15s;
    }
    .program-card:hover { background: var(--bg-secondary); }
    .program-card:nth-child(3),
    .program-card:nth-child(6) { border-right: none; }
    .program-card:nth-child(4),
    .program-card:nth-child(5),
    .program-card:nth-child(6) { border-bottom: none; }

    .program-icon {
      width: 38px;
      height: 38px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      font-size: 18px;
    }
    .icon-blue { background: var(--blue-light); color: var(--blue); }
    .icon-orange { background: var(--orange-light); color: var(--orange); }

    .program-name {
      font-size: 14px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 8px;
    }
    .program-desc {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ─── QUIENES SOMOS ─── */
    .about-section {
      padding: 64px 48px;
      border-bottom: 0.5px solid var(--border);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }

    .about-content .section-sub { margin-bottom: 0; }

    .about-values {
      display: flex;
      flex-direction: column;
      gap: 0;
      border: 0.5px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
    }
    .value-item {
      padding: 20px 24px;
      border-bottom: 0.5px solid var(--border);
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }
    .value-item:last-child { border-bottom: none; }
    .value-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      margin-top: 6px;
      flex-shrink: 0;
    }
    .dot-blue { background: var(--blue); }
    .dot-orange { background: var(--orange); }
    .value-text strong {
      display: block;
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 3px;
    }
    .value-text span {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ─── CTA ─── */
    .cta-section {
      padding: 64px 48px;
      background: var(--blue);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }

    .cta-section h2 {
      font-size: 24px;
      font-weight: 500;
      color: #fff;
      max-width: 400px;
      line-height: 1.4;
    }

    .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

    .btn-white {
      font-size: 14px;
      font-family: 'Inter', sans-serif;
      padding: 13px 26px;
      background: #fff;
      color: var(--blue);
      border: none;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      font-weight: 500;
      transition: opacity 0.15s;
      white-space: nowrap;
    }
    .btn-white:hover { opacity: 0.9; }

    /* Botón WhatsApp flotante */
    .whatsapp-fab {
      position: fixed;
      bottom: 28px;
      right: 28px;
      width: 54px;
      height: 54px;
      background: #185FA5;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      box-shadow: 0 2px 12px #00000059;
      transition: transform 0.15s;
      z-index: 200;
    }
    .whatsapp-fab:hover { transform: scale(1.07); }
    .whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

    /* ─── FOOTER ─── */
    footer {
      padding: 28px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 0.5px solid var(--border);
      flex-wrap: wrap;
      gap: 12px;
    }

    .footer-logo {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
      text-decoration: none;
    }
    .footer-logo span { color: var(--orange); }

    .footer-note {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 768px) {
      nav { padding: 16px 24px; }
      .nav-links, .nav-cta { display: none; }
      .nav-hamburger { display: flex; }

      .hero { padding: 56px 24px 52px; }
      .hero h1 { font-size: 30px; }

      .programs-section,
      .about-section,
      .cta-section { padding: 48px 24px; }

      .programs-grid { grid-template-columns: 1fr; }
      .program-card { border-right: none !important; }
      .program-card:not(:last-child) { border-bottom: 0.5px solid var(--border) !important; }

      .about-section { grid-template-columns: 1fr; gap: 36px; }

      .cta-section { flex-direction: column; align-items: flex-start; }
      .cta-section h2 { font-size: 20px; }

      footer { padding: 24px; }
    }
    /* ─── GALERÍA ─── */
.gallery-section {
  padding: 64px 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.gallery-item {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow 0.15s;
}

.gallery-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}

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

.gallery-item figcaption {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .gallery-section { padding: 48px 24px; }
}
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue: #1A5EA8;
    --blue-light: #E6F1FB;
    --blue-mid: #185FA5;
    --orange: #E8631A;
    --orange-light: #FEF0E7;
    --text: #1a1a1a;
    --text-muted: #6b6b6b;
    --border: rgba(0,0,0,0.1);
    --bg: #ffffff;
    --bg-secondary: #f9f9f8;
  }

  html { font-size: 16px; scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* ─── NAV ─── */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 0.5px solid var(--border);
  }

  .nav-logo {
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.3px;
  }
  .nav-logo span { color: var(--orange); }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--text); }

  .nav-cta {
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    padding: 9px 20px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
  }
  .nav-cta:hover { background: var(--blue-mid); }

  .nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); }

  /* ─── ACADEMIA DIGITAL ─── */
  main {
    padding: 64px 48px;
    max-width: 820px;
    margin: 0 auto;
  }

  main > h1 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.4px;
    margin-bottom: 16px;
  }

  main > p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 620px;
  }

  .curso {
    border: 0.5px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.15s;
  }

  .curso:hover {
    border-color: var(--blue);
  }

  .curso details {
    padding: 20px 24px;
  }

  .curso summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .curso summary::-webkit-details-marker { display: none; }

  .curso summary h2 {
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    margin: 0;
  }

  .curso summary::after {
    content: '+';
    font-size: 22px;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.2s;
  }
  .curso[open] summary::after {
    content: '\2212';
  }

  .curso p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 16px;
  }

  .curso ul {
    margin-top: 14px;
    padding-left: 20px;
  }
  .curso li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.9;
  }

  .curso summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
    border-radius: 4px;
  }

  @media (max-width: 768px) {
    nav { padding: 16px 24px; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    main { padding: 48px 24px; }
  }
  .hero {
  background-image: linear-gradient(rgba(1, 20, 61, 0.6), rgba(5, 5, 5, 0.6)), url('images/hero-bg.jpeg');
  background-size: cover;
  background-position: center;
}