/* Sección hero principal */
.hero-section {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    padding: 0;
    background: black;
    position: relative;
    min-height: calc(100vh - 100px); 
    box-sizing: border-box;
}

/* Círculo blanco "cortado" arriba */
.hero-section::before {
    margin-left: 0;
    content: "";
    position: absolute;
    top: -70%;
    left: 0;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(
        circle, 
        rgba(255, 255, 255, 0.8) 10%, 
        rgba(255, 255, 255, 0.9) 40%, 
        rgba(0, 0, 0, 0) 75%
    );
    filter: blur(150px);
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

/* Contenedor del texto */
.hero-content {
    width: 40%;
    margin: 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* Contenedor de la imagen y contador */
.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 70%;
    height: auto;
    margin-bottom: 10px;
}

.hero-counter {
    font-style: italic;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

/* Título y subtítulo */
.hero-title {
    line-height: 1.0;
    font-size: 7rem; /* Tamaño para escritorio */
    font-weight: 900;
    margin: 0;
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Botón principal */
.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.hero-button:hover {
    background: #e0e0e0; 
    transform: scale(1.03);
}

/* =========================
   MEDIA QUERIES
   ========================= */

/* ---- NUEVO PUNTO MEDIO PARA TABLETS (iPad) ---- */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        /* Seguimos con layout en dos columnas en horizontal
           pero reducimos un poco los anchos y fuentes */
        padding: 40px;
    }

    .hero-content {
        width: 45%;
    }
    .hero-image {
        width: 55%;
    }

    .hero-title {
        font-size: 5rem; /* Un poco más reducido para tablets */
    }

    .hero-section::before {
        /* Ajustar el "halo" luminoso */
        top: -60%;
        width: 60vw;
        height: 60vw;
        filter: blur(130px);
    }
}

/* Para pantallas menores a 768px (tablets en vertical muy estrechas o móviles) */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;   /* Apilar contenido e imagen */
        min-height: auto;        /* Dejar que crezca */
        padding: 40px 20px;      /* Añade espacio alrededor */
    }

    .hero-content,
    .hero-image {
        width: 90%;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;  /* Título más pequeño en móvil/tablet pequeño */
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-image img {
        width: 60%; /* Imagen un poco más pequeña */
    }

    .hero-section::before {
        /* Ajustamos el círculo en pantallas medianas */
        top: -50%;
        width: 80vw;
        height: 80vw;
        filter: blur(120px);
    }

    .hero-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Para pantallas muy pequeñas (por ejemplo, max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
      font-size: 3rem; /* Tamaño del título */
    }
  
    .hero-subtitle {
      font-size: 0.9rem;
    }
  
    /* Solo oculta la foto, no el contenedor */
    .hero-counter {
      display: none;
    }
  
    .hero-section::before {
      top: -40%;
      width: 90vw;
      height: 90vw;
      filter: blur(100px);
    }
  
    .hero-button {
      padding: 10px 20px;
      font-size: 0.8rem;
    }
  }
  
