
/* ----------------- HEADER----------------- */

.header-general {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.header-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Imagenes/ImagenServiciosHeader.jpg') no-repeat center center/cover;
    filter: blur(3px); 
    z-index: 0;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 62, 128, 0.6);
    z-index: 1;
}

.header-content {
    position: absolute;
    top: 40%;
    left: 15%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    z-index: 2;
}

.header-content h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'VTF Justina', sans-serif;
    opacity: 0; 
    animation: fadeInUp 1s ease-out forwards; 
}
    
.underline {
    width: 100px;
    height: 3px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(650px); 
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.breadcrumb {
    font-size: 15px;
    color: #ffffff;
    opacity: 0.8;
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-family: 'Slate', sans-serif;
    opacity: 0; 
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.breadcrumb i{
    font-size: 15px; 
    margin: 0 8px; 
    color: #48b2e8; 
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.breadcrumb a:hover {
    color: #F8A22F;
}

.breadcrumb span {
    margin-left: 5px;
}

/* ---------- SECCIÓN COMPRA SIN LÍMITES ---------- */
.compra-sin-limites {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background-color: #fff;
}

.compra-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    padding-left: 200px;
    width: 100%;
    gap: 50px;
}


.compra-texto {
    flex: 1;
    text-align: left;
    max-width: 450px;
}

.compra-texto h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.underline {
    width: 95px;
    height: 4px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

.compra-texto p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.5;
    margin-bottom: 15px;
}

.botones {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-naranja {
    background: linear-gradient(to right, #FFA726, #FF7B2C);
    color: white;
    font-family: 'SlateLight', sans-serif;
    font-size: 13px;
    padding: 12px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.3s ease; 
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.btn-naranja:hover {
    background: linear-gradient(to right, #FF7B2C, #ffc526);
    transform: translateY(-5px);
}

.btn-link {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #FF7B2C;
    text-decoration: none;
}

.btn-link:hover {
    color: #FFA726;
}

.compra-imagenes {
    flex: 1;
    display: flex;
    flex-direction: row; 
    gap: 10px; 
    align-items: flex-end; 
    justify-content: flex-start; 
    width: 50%;
    max-width: 650px;
}

.imagen-superior {
    width: 50%;
    margin-right: 10px;
}

.imagen-superior img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.imagen-inferior {
    width: 90%;
    margin-left: 10px; 
}

.imagen-inferior img {
    width: 100%;
    height: 390px; 
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.compra-texto h2,
.btn-naranja {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.compra-texto h2.visible {
    animation: fadeInUp 1s ease-out forwards;
}

.btn-naranja.visible {
    animation: fadeInDown 1s ease-out 0.5s forwards;
}

.imagen-superior img,
.imagen-inferior img {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagen-superior img.visible {
    animation: fadeInLeft 1s ease-out forwards;
}

.imagen-inferior img.visible {
    animation: fadeInUp 1s ease-out forwards;
}

@media screen and (max-width: 768px) {
    .compra-sin-limites {
        padding: 40px 20px;
    }

    .compra-container {
        flex-direction: column;
        padding-left: 0;
        text-align: center;
        gap: 30px;
    }

    .compra-texto {
        max-width: 100%;
        text-align: center;
    }

    .compra-texto h2 {
        font-size: 28px;
    }

    .botones {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .compra-imagenes {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        gap: 15px;
    }

    .imagen-superior, .imagen-inferior {
        width: 100%;
        margin: 0;
    }

    .imagen-superior img, .imagen-inferior img {
        height: auto;
        max-height: 400px;
        width: 100%;
    }
}


/* ---------- SECCIÓN ¡ES GRATUITO! ---------- */
.section-gratuito {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0px;
    background-color: #fff;
}

.contenedor-gratuito {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px; 
    width: 100%;
    gap: 50px;
    margin: 0 auto;
}

.imagen-gratuito {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagen-gratuito.visible {
    opacity: 1;
    transform: translateX(0);
}

.imagen-gratuito img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.texto-gratuito {
    flex: 1;
    text-align: left;
    max-width: 475px;
}

.texto-gratuito h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.texto-gratuito h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.subrayado-gratuito {
    width: 80px;
    height: 3px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

.texto-gratuito p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.5;
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
    .section-gratuito {
        padding: 40px 20px;
    }

    .contenedor-gratuito {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .imagen-gratuito {
        max-width: 100%;
        justify-content: center;
    }

    .imagen-gratuito img {
        width: 100%;
        max-height: 350px;
        object-fit: cover;
    }

    .texto-gratuito {
        max-width: 100%;
        text-align: center;
    }

    .texto-gratuito h2 {
        font-size: 28px;
    }

    .subrayado-gratuito {
        margin: 10px auto 20px auto;
    }

    .texto-gratuito p {
        font-size: 14px;
        line-height: 1.6;
    }
}



/* ---------- SECCIÓN BENEFICIOS DEL CASILLERO ---------- */
.section-beneficios {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background-color: #fff;
}

.contenedor-beneficios {
    display: flex;
    align-items: center;
    justify-content: center; 
    max-width: 1200px; 
    width: 100%;
    gap: 50px;
    margin: 0 auto
}
.texto-beneficios {
    flex: 1;
    text-align: left;
    max-width: 500px; 
}

.texto-beneficios h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 10px;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.texto-beneficios h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.subrayado-beneficios {
    width: 80px;
    height: 3px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

.texto-beneficios p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.5;
    margin-bottom: 30px;
}

.lista-beneficios {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-beneficios li {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.lista-beneficios li i {
    color: #48b2e8; 
    font-size: 18px;
}

.imagen-beneficios {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.imagen-beneficios.visible {
    opacity: 1;
    transform: translateX(0);
}

.imagen-beneficios img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .section-beneficios {
        padding: 40px 20px;
    }

    .contenedor-beneficios {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .texto-beneficios {
        max-width: 100%;
        text-align: center;
    }

    .texto-beneficios h2 {
        font-size: 28px;
    }

    .subrayado-beneficios {
        margin: 10px auto 20px auto;
    }

    .texto-beneficios p {
        font-size: 14px;
        line-height: 1.6;
    }

    .lista-beneficios {
        text-align: left;
        margin-top: 20px;
        padding: 0 10px;
    }

    .lista-beneficios li {
        font-size: 14px;
        line-height: 1.6;
    }

    .imagen-beneficios {
        max-width: 100%;
        justify-content: center;
    }

    .imagen-beneficios img {
        width: 100%;
        max-height: 350px;
        object-fit: cover;
    }
}


/* ---------- SECCIÓN LLAMADO A LA ACCIÓN ---------- */
.section-llamado {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background-color: #f7f7f7;
    padding-bottom: 150px;
}

.contenedor-llamado {
    display: flex;
    align-items: center;
    justify-content: center; 
    max-width: 1050px; 
    width: 100%;
    gap: 50px;
    margin: 0 auto;
    background: #f7f7f7;
    border-radius: 10px;
    position: relative;
}

.texto-llamado {
    flex: 1;
    text-align: left;
    max-width: 500px;
}

.texto-llamado h2 {
    font-family: 'VTF Justina', sans-serif;
    font-size: 36px;
    color: #146ab5;
    margin-bottom: 10px;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.texto-llamado h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.subrayado-llamado {
    width: 80px;
    height: 3px;
    background-color: #48b2e8;
    margin-bottom: 20px;
}

.texto-llamado p {
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    color: #626262;
    line-height: 1.5;
    margin-bottom: 15px;
}

.formulario-llamado {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
    border-radius: 10px;
    margin-top: 110px;
}

.formulario-llamado input {
    width: 100%;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'SlateLight', sans-serif;
    color: #333;
}

.formulario-llamado input::placeholder {
    color: #aaa;
}

.btn-llamado {
    width: 50%;
    background: linear-gradient(to right, #ffc526, #FF7B2C);
    color: white;
    font-family: 'SlateLight', sans-serif;
    font-size: 14px;
    padding: 10px;
    border: none;
    border-radius: 20px;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-llamado:hover {
    background: linear-gradient(to right, #FF7B2C, #ffc526);
}

@media screen and (max-width: 768px) {
    .section-llamado {
        padding: 40px 20px;
        padding-bottom: 100px;
    }

    .contenedor-llamado {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .texto-llamado {
        max-width: 100%;
        text-align: center;
    }

    .texto-llamado h2 {
        font-size: 28px;
    }

    .subrayado-llamado {
        margin: 10px auto 20px auto;
    }

    .texto-llamado p {
        font-size: 14px;
        line-height: 1.6;
    }

    .formulario-llamado {
        width: 100%;
        padding: 0;
        margin-top: 0;
    }

    .formulario-llamado input {
        width: 90%;
        margin: 0 auto;
    }

    .btn-llamado {
        width: 90%;
        margin: 10px auto;
        text-align: center;
    }
}



