/* =============================================
   CORRECCIONES CSS RESPONSIVE PARA PRODUCCIÓN
   Hero Buttons + Hero Form
   ============================================= */

/* HERO BUTTONS - RESPONSIVE */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

@media(min-width: 768px) {
    .hero-buttons {
        margin-bottom: 3rem;
    }
}

@media(min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        width: auto;
    }
}

.btn-blue {
    background: var(--bitel-blue);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
}

.btn-blue:hover {
    background: var(--bitel-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 84, 154, 0.3);
}

@media(min-width: 640px) {
    .btn-blue {
        width: auto;
        padding: 12px 24px;
    }
}

.btn-white {
    background: white;
    color: var(--bitel-blue);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    border: 2px solid var(--bitel-blue);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
}

.btn-white:hover {
    background: var(--bitel-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 84, 154, 0.25);
}

@media(min-width: 640px) {
    .btn-white {
        width: auto;
        padding: 12px 24px;
    }
}

/* HERO MINI FORM - RESPONSIVE (Premium dark style) */
.hero-mini-form {
    background: #00549A;
    border: 2px solid rgba(255, 209, 0, 0.4);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-width: 100%;
    width: 100%;
    margin-top: 1.5rem;
}

@media(min-width: 768px) {
    .hero-mini-form {
        padding: 1.75rem;
        max-width: 550px;
    }
}

.hero-mini-form h3 {
    color: #FFD100;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

@media(min-width: 640px) {
    .hero-mini-form h3 {
        font-size: 1.3rem;
    }
}

.hero-mini-form p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: normal;
}

@media(min-width: 640px) {
    .hero-mini-form p {
        font-size: 0.95rem;
    }
}

.inline-form {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

@media(min-width: 640px) {
    .inline-form {
        flex-direction: row;
    }
}

.input-group {
    position: relative;
    flex: 1;
}

.input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    outline: none;
    height: 48px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #1E293B;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    border-color: #FFD100;
    box-shadow: 0 0 0 3px rgba(255, 209, 0, 0.2);
}

.input-group input::placeholder {
    color: #94A3B8;
}

.btn-green-inline {
    background: linear-gradient(135deg, #FFD100, #FFC107);
    color: #00549A;
    font-weight: 800;
    padding: 0 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    height: 48px;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-green-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 209, 0, 0.4);
}

@media(min-width: 640px) {
    .btn-green-inline {
        width: auto;
        font-size: 0.95rem;
    }
}

.legal-text-inline {
    font-size: 0.7rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-align: center;
}

@media(min-width: 640px) {
    .legal-text-inline {
        text-align: left;
    }
}

/* ── IMÁGENES HERO BANNER RESPONSIVE ──────────────────────────── */

/* Imagen MÓVIL: visible solo en pantallas pequeñas, entre texto y bullets */
.hero-banner-mobile {
    display: block;          /* visible en móvil */
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 16px;
    margin: 1rem auto 1.25rem;
}

/* Columna derecha (desktop): oculta en móvil */
.hero-desktop-only {
    display: none;           /* oculto en móvil */
}

/* Contenedor de la imagen derecha */
.hero-router-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;          /* evita que se aplaste en desktop */
}

/* A partir de 768px: mostrar columna derecha, ocultar imagen inline */
@media (min-width: 768px) {
    .hero-banner-mobile {
        display: none !important; /* oculto en desktop */
    }

    .hero-desktop-only {
        display: flex !important; /* visible en desktop */
    }

    /* Imagen del lado derecho: tamaño controlado para no aplastar el texto */
    .hero-router-img {
        width: 340px;
        height: 340px;
        object-fit: contain;
        border-radius: 16px;
        flex-shrink: 0;
    }
}

/* Desktop grande (1024px+): imagen un poco más grande */
@media (min-width: 1024px) {
    .hero-router-img {
        width: 400px;
        height: 400px;
    }
}