

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg: #0d0d0f;
      --bg-soft: #17171b;
      --card: rgba(255,255,255,0.06);
      --text: #f5f1eb;
      --muted: #c7c2bb;
      --red: #b3122f;
      --red-soft: #df3758;
      --gold: #f2b705;
      --border: rgba(255,255,255,0.12);
      --shadow: 0 20px 50px rgba(0,0,0,0.35);
      --radius: 22px;
      --max: 1180px;
    }

    body {
      font-family: Inter, Arial, sans-serif;
      background:
        radial-gradient(circle at top right, rgba(179,18,47,0.28), transparent 26%),
        radial-gradient(circle at top left, rgba(216,181,106,0.15), transparent 18%),
        linear-gradient(180deg, #09090b 0%, #111114 45%, #0c0c0f 100%);
      color: var(--text);
      line-height: 1.5;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      width: 100%;
      object-fit: cover;
    }

    .container {
      width: min(92%, var(--max));
      margin: 0 auto;
    }

  
  

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(10px);
      background: rgba(10, 10, 12, 0.72);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .topbar-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand-logo {
      width: 46px;
      height: 46px;
      object-fit: contain;
      border-radius: 50%;
      box-shadow: 0 0 14px rgba(242, 183, 5, 0.35);
      flex-shrink: 0;
      background: rgba(255,255,255,0.03);
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .brand-title {
      font-size: 1.3rem;
      font-weight: 800;
      letter-spacing: 0.18em;
    }

    .brand-subtitle {
      font-size: 0.78rem;
      color: var(--muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .nav a {
      color: var(--muted);
      font-size: 0.95rem;
      transition: 0.2s ease;
    }

    .nav a:hover {
      color: white;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: none;
      border-radius: 999px;
      padding: 14px 22px;
      cursor: pointer;
      font-size: 0.98rem;
      font-weight: 700;
      transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--red) 0%, var(--red-soft) 100%);
      color: white;
      box-shadow: 0 10px 30px rgba(179,18,47,0.35);
    }

    .btn-secondary {
      background: rgba(255,255,255,0.08);
      color: white;
      border: 1px solid rgba(255,255,255,0.12);
    }

    .hero {
      padding: 54px 0 36px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 28px;
      align-items: stretch;
    }

    .hero-copy,
    .hero-visual {
      border-radius: calc(var(--radius) + 8px);
      overflow: hidden;
      box-shadow: var(--shadow);
      min-height: 540px;
    }

    .hero-copy {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 40px;
      background:
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 70%),
        url('/img/aprendiz.webp') center/cover no-repeat;
      position: relative;
    }

    .hero-badge {
      display: inline-flex;
      align-self: flex-start;
      margin-bottom: 18px;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      color: #fff;
      font-size: 0.86rem;
      font-weight: 600;
      backdrop-filter: blur(6px);
    }

    .hero-title {
      font-size: clamp(2.3rem, 5vw, 4.8rem);
      line-height: 0.98;
      font-weight: 900;
      max-width: 8ch;
      margin-bottom: 18px;
    }

    .hero-text {
      max-width: 560px;
      color: #f0e9e0;
      font-size: 1.08rem;
      margin-bottom: 26px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .hero-visual {
      position: relative;
      background: var(--bg-soft);
      border: 1px solid var(--border);
      padding: 18px;
      display: grid;
      grid-template-rows: 1.2fr 0.8fr;
      gap: 18px;
    }

    .hero-main-image {
      border-radius: 22px;
      overflow: hidden;
      position: relative;
      min-height: 290px;
    }

    .hero-main-image img {
      height: 100%;
    }

    .floating-card {
      position: absolute;
      right: 18px;
      bottom: 18px;
      background: rgba(8, 8, 12, 0.78);
      border: 1px solid rgba(255,255,255,0.14);
      padding: 14px 16px;
      border-radius: 18px;
      max-width: 240px;
      backdrop-filter: blur(10px);
    }

    .floating-card small {
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
      font-size: 0.72rem;
    }

    .floating-card p {
      margin-top: 6px;
      color: white;
      font-weight: 600;
      font-size: 0.95rem;
    }

    .hero-mini-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .mini-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 18px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 10px;
    }

    .mini-card h3 {
      font-size: 1rem;
      margin-bottom: 4px;
    }

    .mini-card p {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .mini-number {
      font-size: 2rem;
      font-weight: 800;
      color: white;
    }

    section {
      padding: 64px 0;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: end;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

    .eyebrow {
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: 0.11em;
      font-size: 0.76rem;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .section-title {
      font-size: clamp(1.8rem, 3vw, 3rem);
      line-height: 1.05;
      font-weight: 900;
      max-width: 12ch;
    }

    .section-text {
      max-width: 520px;
      color: var(--muted);
    }

    .cards-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .service-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .service-card img {
      height: 240px;
    }

    .service-card-content {
      padding: 22px;
    }

    .service-card h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .service-card p {
      color: var(--muted);
      font-size: 0.96rem;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .step-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 24px;
    }

    .step-number {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--red), var(--red-soft));
      font-weight: 900;
      margin-bottom: 16px;
    }

    .step-card h3 {
      margin-bottom: 10px;
      font-size: 1.08rem;
    }

    .step-card p {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr 0.9fr;
      grid-template-rows: 220px 220px;
      gap: 16px;
    }

    .gallery-item {
      overflow: hidden;
      border-radius: 22px;
      position: relative;
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
    }

    .gallery-item img {
      height: 100%;
      transition: transform 0.35s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.04);
    }

    .gallery-item.large {
      grid-row: span 2;
    }

    .gallery-label {
      position: absolute;
      left: 16px;
      bottom: 16px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(0,0,0,0.55);
      border: 1px solid rgba(255,255,255,0.15);
      font-size: 0.84rem;
      font-weight: 700;
    }

    .audience-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .audience-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
      padding: 24px;
      border-radius: 22px;
    }

    .audience-card h3 {
      margin-bottom: 8px;
      font-size: 1.05rem;
    }

    .audience-card p {
      color: var(--muted);
      font-size: 0.94rem;
    }

    .cta {
      padding-bottom: 80px;
    }

@media (max-width: 720px) {
  .cta {
    padding-bottom: 12px;
  }
}

    .cta-box {
      display: grid;
      grid-template-columns: 1fr 0.9fr;
      gap: 24px;
      align-items: center;
      background:
        linear-gradient(135deg, rgba(179,18,47,0.18), rgba(255,255,255,0.04)),
        rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 30px;
      padding: 24px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .cta-image {
      border-radius: 24px;
      overflow: hidden;
      min-height: 340px;
    }

    @media (max-width: 720px) {
  .cta-image {
    min-height: 0;
  }
}

    .cta-image img {
      height: 100%;
    }

    .cta-copy {
      padding: 10px 14px;
    }

    @media (max-width: 720px) {
  .cta-copy {
    padding: 0;
  }
}

    .cta-copy h2 {
      font-size: clamp(2rem, 3.5vw, 3.5rem);
      line-height: 1;
      margin-bottom: 18px;
    }

    .cta-copy p {
      color: var(--muted);
      max-width: 48ch;
      margin-bottom: 24px;
      font-size: 1rem;
    }

    .contact-box {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      color: var(--muted);
      font-size: 0.95rem;
    }

    footer {
      padding: 24px 0 40px;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .footer-inner {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
    }

    @media (max-width: 1024px) {
      .hero-grid,
      .cta-box,
      .cards-3,
      .steps,
      .audience-grid {
        grid-template-columns: 1fr 1fr;
      }

      .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 240px 240px;
      }

      .gallery-item.large {
        grid-row: span 1;
        grid-column: span 2;
      }
    }

    @media (max-width: 720px) {
      .nav {
        display: none;
      }

      .hero-grid,
      .cards-3,
      .steps,
      .audience-grid,
      .cta-box,
      .hero-mini-grid {
        grid-template-columns: 1fr;
      }

      .hero-copy,
      .hero-visual {
        min-height: auto;
      }

      .hero-copy {
        padding: 28px;
      }

      .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
      }

      .gallery-item.large {
        grid-column: auto;
      }

      .gallery-item {
        height: 240px;
      }

      .section-head {
        align-items: start;
      }

      .brand-title {
        font-size: 1.05rem;
      }

      .brand-subtitle {
        font-size: 0.7rem;
      }
    }
