:root {
    --font-montserrat-regular: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    --font-montserrat-semibold: 'Montserrat SemiBold', 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

.services h1,
.services h2,
.services h3,
.requisitos h1,
.requisitos h2,
.requisitos h3 {
    font-family: var(--font-montserrat-semibold);
}

.services p,
.requisitos p {
    font-family: var(--font-montserrat-regular);
}

/* ===== Sección Servicios Premium y Moderna ===== */
.fondo {
    position: relative;
    overflow: hidden;
}
.fondo.servicios {
    background: linear-gradient(120deg, #e3eafc 0%, #f7faff 60%, #d0e6ff 100%);
}
.fondo.requisitos {
    background: linear-gradient(120deg, #d0e6ff 0%, #e3eafc 40%, #f7faff 100%);
}
.fondo::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, #0a2a4955 0%, transparent 80%);
    z-index: 0;
    animation: floatBlob 7s ease-in-out infinite alternate;
}
.fondo::after {
    content: "";
    position: absolute;
    bottom: -100px; 
    right: -100px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 70% 70%, #0a2a4955 0%, transparent 80%);
    z-index: 1;
    animation: floatBlob2 9s ease-in-out infinite alternate;
}
.fondo.requisitos::before {
    top: -70px;
    left: -70px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 30%, #3a7bd555 0%, transparent 80%);
    animation: floatBlob 8s ease-in-out infinite alternate;
}
.fondo.requisitos::after {
    bottom: -90px;
    right: -90px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 70% 70%, #00d2ff55 0%, transparent 80%);
    animation: floatBlob2 10s ease-in-out infinite alternate;
}


.services {
    padding: 90px 0 0 0;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;

}
.services > div {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

/* Títulos y separadores */
.services h2 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #314e91 60%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s cubic-bezier(.4,0,.2,1);
    text-align: center;
}

.solicitudService {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* .services .section-divider {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #3498db 0%, #1976d2 100%);
    margin: 0 auto 22px auto;
    border-radius: 3px;
    animation: growWidth 1s cubic-bezier(.4,0,.2,1);
}
 */
.services h3 {
    font-size: 1.3rem;
    color: #1976d2;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #1976d2 60%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s cubic-bezier(.4,0,.2,1);
    text-align: center;
}

.services p {
    font-size: 1.15rem;
    color: #314e91;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 28px;
    animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
    text-align: center;
}

/* Imagen */
.solicitudService {
    display: block;
    margin: 0 auto 16px auto;
    max-width: 1500px; 
    width: 100%;
    height: auto;
    border-radius: 18px;
}
.solicitudService:hover {
    filter: brightness(1.09) saturate(1.13);
    border-color: #3498db;
}

/* Animaciones */
@keyframes floatBlob {
    from { transform: scale(1) translateY(0);}
    to { transform: scale(1.1) translateY(30px);}
}
@keyframes floatBlob2 {
    from { transform: scale(1) translateY(0);}
    to { transform: scale(1.08) translateY(-24px);}
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInZoom {
    from { opacity: 0; transform: scale(0.92);}
    to { opacity: 1; transform: scale(1);}
}
@keyframes growWidth {
    from { width: 0;}
    to { width: 80px;}
}


.ser-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 24px 0 0 0;
}

.ser-container img {
    display: block;
    max-width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 16px;
    transition: filter 0.3s, box-shadow 0.3s;
}

@media (max-width: 900px) {
    .ser-container img {
        width: 90vw;
        max-width: 100%;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .ser-container {
        margin: 16px 0 0 0;
    }
    .ser-container img {
        width: 100vw;
        max-width: 100%;
        border-radius: 8px;
        margin-left: -16px;
        margin-right: -16px;
    }
}






/* ========================================= Requisitos =============================================== */
.requisitos {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.requisitos > * {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.requisitos-header {
    text-align: center;
    margin-bottom: 32px;
}

.requisitos-label {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1976d2;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #1976d2 60%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInDown 0.8s cubic-bezier(.4,0,.2,1);
}


.requisitos h2 {
    padding: 90px 0 0 0;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 1px;
/*     margin-bottom: 10px; */
    background: linear-gradient(90deg, #314e91 60%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s cubic-bezier(.4,0,.2,1);
    text-align: center;
}

/* .requisitos .section-divider {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    margin: 0 auto 22px auto;
    border-radius: 3px;
    animation: growWidth 1s cubic-bezier(.4,0,.2,1);
} */
 .section-divider {
    margin: 0 auto 32px;
    border: none;
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, #4fd1c5 0%, #3498db 60%, #314e91 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(14, 32, 50, 0.13);
}

.requisitos p {
    text-align: center;
    font-size: 1.13rem;
    color: #314e91;
    line-height: 2;
    max-width: 980px;
    margin: 30px auto 45px;
    padding: 0 20px;
}

.requisitos img {
    display: block;
    max-width: 950px;
    height: auto;
    border-radius: 16px;
    transition: filter 0.3s, box-shadow 0.3s;
}
@media (max-width: 900px) {
    .requisitos img {
        width: 90vw;
        max-width: 100%;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .requisitos {
        margin: 16px 0 0 0;
    }
    .requisitos img {
        width: 100vw;
        max-width: 100%;
        border-radius: 8px;
        margin-left: -16px;
        margin-right: -16px;
    }
}

.requisitos > * {
    max-width: 1200px;
}

.requisitos img:hover {
    filter: brightness(1.09) saturate(1.13);
    border-color: #3498db;
}

@media (max-width: 900px) {

    .requisitos h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .requisitos {
        padding: 0 0 40px;
    }
    .requisitos h2 {
        font-size: 1.4rem;
    }
    .requisitos p {
        font-size: 1rem;
        padding: 0 8px;
    }
    .requisitos img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .fondo::after {
        display: none;
    }
}