 /* ─── HERO ──────────────────────────────── */
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 6vw 5rem;
    position: relative;
    overflow: hidden;
    /* El fondo lo manejan .hero-bg-slide — ver más abajo */
    background: var(--green-deep); /* fallback si las imágenes no cargan */
  }

  /* ── Hero background slideshow ──────────────────────────────
     Agrega cuantas imágenes quieras duplicando .hero-bg-slide.
     Solo cambia el background-image de cada una.
     La duración total = animation-duration × número de slides.
     Con 2 slides y 8s cada uno = 16s por ciclo completo.       */

  .hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Cada slide: 8s visible + 2s fade out = 10s por ciclo */
    animation: heroBgFade 16s infinite;
  }

  /* Imagen 1 — arranca inmediatamente */
  .hero-bg-slide:nth-child(1) {
    /* ══ IMAGEN 1: cambia esta ruta ══ */
    background-image: url(../imagenes/Galeria/6.jpeg);
    animation-delay: 0s;
  }

  /* Imagen 2 — arranca cuando termina la 1 */
  .hero-bg-slide:nth-child(2) {
    /* ══ IMAGEN 2: cambia esta ruta ══ */
    background-image: url(../imagenes/Galeria/8.jpeg);
    animation-delay: 8s;
  }

  /* Keyframes: visible 50% del ciclo, fade out en el 10%, pausa resto */
  @keyframes heroBgFade {
    0%        { opacity: 0; }
    5%        { opacity: 1; }   /* fade in rápido */
    45%       { opacity: 1; }   /* mantiene visible */
    55%       { opacity: 0; }   /* fade out suave */
    100%      { opacity: 0; }   /* pausa hasta el siguiente turno */
  }

  /* Degradado verde siempre encima de los slides */
  #hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      135deg,
      rgba(13,43,26,0.88) 0%,
      rgba(26,66,40,0.78) 55%,
      rgba(31,85,51,0.72) 100%
    );
    pointer-events: none;
  }

  /* Decorative grid dots */
  #hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 55%; height: 100%;
    z-index: 1;
    background-image: radial-gradient(circle, rgba(184,240,74,0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, black 30%, transparent 80%);
  }

  .hero-content { position: relative; z-index: 2; }
  .hero-visual   { position: relative; z-index: 2; }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(184,240,74,0.12);
    border: 1px solid rgba(184,240,74,0.3);
    color: var(--lime);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--lime);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

  .hero-title {
    /* font-family: 'Syne', sans-serif; */
    font-family: "Sen", sans-serif;
    font-optical-sizing: auto;  
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.5rem;
  }
  .hero-title em {
    font-style: normal;
    color: var(--green-bright);
  }

  .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 460px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lime);
    color: var(--green-deep);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
  }
  .btn-primary:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184,240,74,0.35);
  }
  .btn-primary:active { transform: translateY(0); }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-xl);
    border: 1.5px solid rgba(255,255,255,0.25);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
  }
  .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
  }

  /* ── Hero image (right side) ── */
  .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: white;
    transition: var(--transition);
  }
  .hero-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(-4px);
  }
  .hero-card-icon {
    width: 42px; height: 42px;
    background: rgba(184,240,74,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  .hero-card h3 {
    font-size: 1.40rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--white);
  }
  .hero-card p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.55);
  }
  .hero-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }