/* ========================================
   ABOUT SECTIONS
   Secciones sobre el maestro y servicios
   ======================================== */

/* Sección de Pregunta/Urgencia */
.pregunta {
    background:
        linear-gradient(to bottom,
            rgba(10, 10, 10, 0.7) 0%,
            rgba(74, 26, 74, 0.6) 50%,
            rgba(10, 10, 10, 0.85) 100%),
        url("../assets/imgs/fondo2.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 600px;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.pregunta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-titulos);
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow:
        2px 2px 10px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(212, 175, 55, 0.4);
}

.pregunta h2 strong {
    color: var(--color-rojo-intenso);
    font-style: italic;
    text-shadow:
        2px 2px 10px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(185, 28, 28, 0.5);
}

.pregunta .descripcion {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.9;
    max-width: 900px;
    text-align: center;
}

.pregunta .numero-contacto {
    margin: 30px 0;
    color: var(--color-dorado-antiguo);
}

.pregunta .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* ========================================
   ABOUT SECTIONS (Sobre el Maestro)
   ======================================== */

.about {
    background:
        linear-gradient(to bottom,
            rgba(10, 10, 10, 0.75) 0%,
            rgba(45, 26, 61, 0.6) 50%,
            rgba(10, 10, 10, 0.85) 100%),
        url(../assets/imgs/fondo3.webp);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.about .container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about .container2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Texto de About */
.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    font-family: var(--font-titulos);
    color: var(--color-dorado-antiguo);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(212, 175, 55, 0.3);
}

.about-text h2.t2 {
    color: #fff;
}

.about-text h2 strong {
    color: #f5f5f0;
    display: block;
    margin-top: 10px;
    font-style: italic;
}

.about-text .descripcion {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.9;
    color: #e8e8e8;
    text-align: justify;
    max-width: 700px;
    font-family: var(--font-cuerpo);
}

.about-text .numero-contacto {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-verde-brillante);
    margin: 10px 0;
    text-shadow: 0 0 15px rgba(30, 188, 90, 0.5);
}

.about-text .btn-consultar {
    width: fit-content;
    margin-top: 10px;
}

/* Contenedor de imagen */
.about-img-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.3),
            rgba(139, 0, 0, 0.3),
            rgba(74, 26, 74, 0.3));
    border-radius: 30px;
    z-index: 0;
    opacity: 0.6;
    filter: blur(15px);
}

.about .about-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    max-width: 550px;
    border-radius: 25px;
    object-fit: cover;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(212, 175, 55, 0.2);
    border: 3px solid rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.about .about-img:hover {
    transform: scale(1.03);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(212, 175, 55, 0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .about {
        padding: 60px 20px;
    }

    .about .container,
    .about .container2 {
        flex-direction: column;
        gap: 40px;
    }

    .about-text {
        text-align: center;
        align-items: center;
    }

    .about-text .descripcion {
        text-align: center;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .about-img-wrapper {
        display: flex;
        justify-content: center;
    }

    .about-img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

    .pregunta h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-text h2 {
        font-size: 2rem;
    }

    .about-text .descripcion {
        font-size: 1.1rem;
    }

    .about-img {
        margin: 0 auto;
    }

    .pregunta {
        padding: 60px 20px;
    }
}