*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 17px;
    background: #ffffff;
    color: #1e1e1e;
}

/* HERO */
.hero {
    width: 100%;
    background: linear-gradient(135deg, #0f2027, #1c2f38, #2c5364);
    padding: 120px 20px;
    color: white;
}

.top-identity {
    text-align: center;
    font-weight: 600;
    margin-bottom: 60px;
}

.hero-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    align-items: center;
    justify-content: center;
}

.hero-text {
    flex: 1 1 500px;
    max-width: 520px;
}

.hero-form {
    flex: 1 1 380px;
    max-width: 420px;
}


.input-group {
    position: relative;
    margin-bottom: 22px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 1rem;
    background: transparent;
    outline: none;
}

.input-group textarea {
    min-height: 120px;
    resize: none;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;   /* ← fondo blanco restaurado */
    outline: none;
}


.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.75rem;
    color: #0077b6;
}

/* BOTÓN */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

.form-note a {
    color: #0077b6;
    font-weight: 600;
    text-decoration: none;
}

/* SECCIONES */
.section {
    padding: 80px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* BLOQUES IZQ-DER */
.titulo-problema {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.bloques-problema {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.bloque {
    width: 50%;
}

/* ENFOQUE / PASOS */
.highlight {
    background: #f4f7fa;
    text-align: center;
}

.steps {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    background: #f4f7fa;
    padding: 25px;
    border-radius: 10px;
    flex: 1 1 280px;
}

/* FAQ */
details {
    text-align: left;
    margin: 15px 0;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
}

summary {
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .bloques-problema {
        flex-direction: column;
    }

    .bloque {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
}
