@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
:root {
    --rojo: #FF1721;
    --green: #198754;
    --azul2: #00008F;
}
body{
    max-width: 1266px;
    margin: 0 auto;
    font-family: "Source Sans 3", sans-serif;
}
section{
	padding: 30px 20px;
}
h2{
    font-size: 36px;
    color: #00008F;
    font-family: "Source Serif 4", serif;
    font-weight: 900;
    margin: 0 0 10px;
}
h3{
    margin: 0 0 10px;
    text-align: center;
    font-size: 14pt;
}
h4{
    font-size: 20px;
    color: #00008F;
    font-weight: 900;
    margin: 0 0 10px;
}
p{
    margin: 0;
    font-size: 11pt;
}
.head{
    padding: 10px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btns-head{
    display: flex;
    grid-gap: 0 30px;
}
.btns-head button{
    width: 150px;
    height: 40px;
    border: 1px solid #00008F;
    color: #00008F;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}
.btns-head button:hover, .btns-head button:active, .btns-head button:focus{
    background: #00008F;
    color: #fff;
}
.banner-axa{
    background: url(../img/seguro-vida-axa-01.webp);
    background-position: top;
    display: grid;
    grid-template-columns: 60% 40%;
    padding: 40px 20px 20px;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    align-items: end;
}
.banner-axa h1{
    font-size: 48px;
    color: #00008F;
    font-family: "Source Serif 4", serif;
    font-weight: 900;
    margin: 0 0 10px;
}
.banner-axa p{
    font-size: 20px;
    margin: 0;
}
form{
    background: rgba(0, 0, 0, 0.75);
    padding: 20px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
}
form label{
    font-size: 12px;
}
input, select{
    font-size: 12pt;
    height: 35px;
    width: -webkit-fill-available;
    border: 1px solid transparent;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    margin-bottom: 5px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
input::placeholder{
    color: rgba(255, 255, 255, 0.85);
}
input.placeholder::placeholder{
    color: var(--rojo);
}
.terminos.terminos-error,
.terminos.terminos-error p{
    color: var(--rojo);
}
.grid2-axa{
    display: grid;
    grid-template-columns: 48% 48%;
    justify-content: space-between;
}
.grid3-axa{
    display: grid;
    grid-template-columns: 32% 32% 32%;
    justify-content: space-between;
}
.center-axa{
    text-align: center;
}
form button{
    width: 175px;
    height: 40px;
    border: 0;
    background: #FF1721;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    cursor: pointer;
}
form button:hover, form button:active, form button:focus{
    background: #641721;
}
.terminos{
    display: grid;
    grid-template-columns: 25px 58%;
    grid-gap: 0 6px;
    justify-content: center;
    align-items: center;
}
.terminos p, .terminos a{
    font-size: 6pt;
    color: #fff;
}
.flex-axa{
    display: flex;
    grid-gap: 0 50px;
    align-items: center;
}
.border-radius-axa{
    border-radius: 10px;
}
.bg-azul{
    background: #E2EFFF;
    padding: 20px;
    border-radius: 10px;
}
.padding-b0{
    padding-bottom: 0;
}
.coberturas-axa{
    display: flex;
    justify-content: center;
    grid-gap: 35px;
}
.cobertura-axa-box{
    width: 280px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 15px -7px #000;
    margin-bottom: -126px;
}
.cobertura-axa-box>div{
    padding: 20px 40px;
}
.margin-top-section{
    margin-top: 126px;
}
.slide-all{
    display: grid;
    grid-template-columns: 5% 85% 5%;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
}
.slide-coberturas-axa{
   display: flex;             /* coloca las tarjetas en fila */
  overflow-x: hidden;          /* activa scroll horizontal */
  scroll-behavior: smooth;   /* scroll suave */
  scrollbar-width: none;     /* opcional: oculta barra en Firefox */
}
.slide-coberturas-axa::-webkit-scrollbar{
  display: none;             /* oculta barra en Chrome/Safari */
}
.cobertuas-adicionales-axa{
    flex: 0 0 calc(100% / 4);
}
.cobertuas-adicionales-axa>div{
    width: 85%;
    margin: auto;
}
.cobertuas-adicionales-axa h4{
    font-size: 16px;
    color: #000;
}
.flecha{
    cursor: pointer;
}
.hide{
    display: none;
}
.show{
    display: block;
}
.w900{
    width: 920px;
    margin: auto;
}
.bg-axa3 {
    display: grid;
    grid-template-columns: 50% 50%;
    background: url(../img/seguro-vida-axa-04.webp);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    border-radius: 10px;
    padding: 30px;
}
.ul-axa{
    margin: 15px 0;
    padding: 0 0 0 20px;
    font-size: 12pt;
    list-style: url(../img/flechas-rojas.svg);
}
.ul-axa li:not(:last-child){
  margin-bottom: 8px;
}
.box-axa>div{
    width: 168px;
    height: 128px;
    border: 1px solid #999999;
    box-shadow: 0 0 15px -7px #000;
    border-radius: 10px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 25px;
    text-align: left;
    background: #fff;
}
.box-axa h4{
    font-size: 16px;
    color: #000;
    margin: 10px 0 0;
}
.preguntas{
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 92% 5%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 754px;
}
.preguntas h3{
    text-align: left;
    font-size: 18px;
    margin: 0;
}
.preguntas p{
    margin-top: 10px;
}
.preguntas span{
    font-size: 25px;
    font-weight: 900;
    color: #FF1721;
    cursor: pointer;
}
.footer{
    background: #00008F;
    display: flex;
    grid-gap: 40px;
    justify-content: space-between;
    text-align: center;
    padding: 15px 40px;
    align-items: center;
}
.footer p, .footer a{
	color: #fff;
	font-size: 11pt;
}
.movil{
    display: none;
}
.planes-box{
    height: 260px;
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}
.planes-box h4{
    color: #000;
    font-size: 16px;
    margin: 0;
}
.plan1{
    background: url(../img/circulo-azul-claro.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.plan2{
    background: url(../img/circulo-azul-oscuro.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.plan3{
    background: url(../img/circulo-rojo.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
@media (max-width: 820px){
    .desk, .btns-head{
        display: none;
    }
    .movil{
        display: block;
    }
    .menumovil{
        position: absolute;
        left: 0;
        top: 0;
        padding: 20px;
        width: 80%;
        background: #fff;
        height: 100vh;
        z-index: 3;
    }
    .flex {
        display: flex;
        grid-gap: 0 15px;
        align-items: center;
    }
    .flex h4{
        margin: 0;
        font-size: 12pt;
        color: #000;
    }
    .padding-movil{
        padding: 0;
    }
    .banner-axa {
        background: url(../img/seguro-vida-axa-01-mobile.webp);
        background-position: top;
        grid-template-columns: 100%;
        padding: 20px;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 0;
        grid-gap: 30px 0;
    }
    .banner-axa h1 {
        font-size: 24pt;
    }
    .grid3-axa, .grid2-axa{
        grid-template-columns: 100%;
    }
    .grid3-axa-movil{
        grid-template-columns: 32% 32% 32%;
    }
    .terminos {
        grid-template-columns: 25px 84%;
    }
    .flex-axa {
        grid-gap: 30px 0;
        flex-direction: column;
    }
    h2 {
        font-size: 20pt;
    }
    .img-all{
        width: -webkit-fill-available;
        width: -moz-available;
        object-fit: cover;
    }
    .coberturas-axa {
        flex-direction: column;
    }
    .cobertura-axa-box {
        width: 280px;
        margin: 0 auto -147px;
    }
    .spans{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 15px;
    }
    .w3-badge {
        display: inline-block;
        width: 15px;
        height: 15px;
        margin: 0 5px;
        background: rgba(0, 0, 143, 0.5);
        border: 1px solid rgba(0, 0, 143, 0.5);
        border-radius: 50%;
        cursor: pointer;
    }
     .white{
        background: #00008F!important;
    }
    .margin-top-section {
        margin-top: 102px;
    }
    .slide-ahorro, .slide-planes, .slide-proteccion, .requisitos-axa{
        display: flex;             /* coloca las tarjetas en fila */
        overflow-x: hidden;          /* activa scroll horizontal */
        scroll-behavior: smooth;   /* scroll suave */
        scrollbar-width: none;     /* opcional: oculta barra en Firefox */
    }
    .slide-ahorro::-webkit-scrollbar, .slide-planes::-webkit-scrollbar, .slide-proteccion::-webkit-scrollbar, .requisitos-axa::-webkit-scrollbar{
        display: none;             /* oculta barra en Chrome/Safari */
    }
    .cobertuas-adicionales-axa, .ahorro-box, .planes-box, .proteccion-box {
        flex: 0 0 calc(100% / 1);
    }
    .box-axa {
        flex: 0 0 calc(100% / 1);
    }
    .box-axa>div{
        width: 149px;
    }
    .slide-all, .slide-all-movil {
        display: grid;
        grid-template-columns: 10% 70% 10%;
        align-items: center;
        justify-content: space-between;
    }
    .cobertuas-adicionales-axa>div {
        width: -webkit-fill-available;
        width: -moz-available;
        padding: 0 5px;
    }
    .bg-axa3 {
        grid-template-columns: 100%;
        background: url(../img/seguro-vida-axa-04-mobile.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 0;
        padding: 20px;
        grid-gap: 30px;
    }
    .w900, .slide-coberturas-axa {
        width: -webkit-fill-available;
        width: -moz-available;
    }
    .preguntas {
        grid-template-columns: 90% 5%;
        width: -webkit-fill-available;
        width: -moz-available;
    }
    .footer {
        grid-gap: 25px;
        padding: 15px 20px;
        flex-direction: column;
    }
    .planes-box {
        height: 210px;
        padding: 0 10px;
        margin: auto;
    }
    .widthall{
        width: -webkit-fill-available;
    }
}

.overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 78px;
    height: 78px;
    border: 6px solid #1c99d5;
    background: #19375e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-bottom-color: #f49d3a;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.botoncla {
    display: none;
}