@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
body {
    background-color: rgba(198, 180, 158, 0.1);
}
/* Header */
header {
    width: 100%;
    height: 40vw;
    display: flex;
    align-items: center;
    justify-content: end;
    background-image: url("../img/Seguros/Seguros.webp");
    font-family: "Montserrat", sans-serif;
    background-size: 75% 100%;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
    overflow: visible;
}
.azulheader {
    position: absolute;
    width: 39%;
    z-index: 2;
    left: 0;
}
.textheader {
    width: 100%;
    height: 90%;
    float: right;
    text-align: right;
    color: white;
}
.titleH {
    background-color: rgba(0, 0, 0, 0.3);
}
.textheader h2 {
    font-size: 5vw;
    margin: 0;
    padding-right: 3vw;
}
.textheader p {
    font-size: 2vw;
    font-weight: 500;
    margin: 0 0 0 0;
    padding-right: 3vw;
    padding-left: 38vw;
    line-height: 1.2;
}
.azulheader img {
    width: 100%;
    height: auto;
}

main {
    width: 100%;
    margin: 70px 0;
    height: auto;
}

/*Primera Seccion */
.PrimeraSeccion {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.cabeceras {
    width: 90%;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 2vw;
    text-align: center;
    color: white;
}

.PrimeraSeccion::after {
    content: "";
    display: block;
    clear: both;
}
.Seguros1 {
    width: 80%;
    float: right;
    margin: 80px 0;
    border-top-left-radius: 12vw;
    border-bottom-left-radius: 12vw;
    padding: 30px 4vw;
    left: 11.8%;
    position: relative;
    display: flex;
    justify-content: center;
    color: black;
    height: 15vw;
    font-family: "Montserrat", sans-serif;
}
.Seguros1 img {
    position: absolute;
    height: 120%;
    top: -11%;
    right: 0;
}
.ContenidoPS p {
    margin: 0;
    width: 100%;
    font-size: 2vw;
    word-break: break-word;
    font-weight: 200;
}
.ContenidoPS h3 {
    margin: 0 0 10px 0;
    font-size: 2.3vw;
    font-weight: 100;
}
.ContenidoPS {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 82%;
    margin-right: 18%;
    word-break: break-all;
    text-align: center;
}
.Seguros1 {
    background-color: rgb(191, 191, 191, 1);
}
/* Tercera Seccion */
.TerceraSeccion {
    width: 100%;
    height: auto;
    margin-top: 8vw;
    font-family: "Montserrat", sans-serif;
}
.TerceraSeccion::after {
    content: "";
    display: block;
    clear: both;
}
.caja2,
.caja1 {
    width: 85%;
    height: 12vw;
    margin: 80px 0;
    display: flex;
    align-items: center;
    position: relative;
}
.caja1 img,
.caja2 img {
    width: 22%;
    height: auto;
    position: absolute;
}
.caja1 img {
    right: 0px;
}
.caja2 img {
    left: -9px;
}
.caja1 {
    float: right;
    text-align: right;
}
.caja2 {
    float: left;
    text-align: left;
    border: 9px rgb(191, 191, 191, 1) solid;
    padding: 2vw 3vw;
    border-top-right-radius: 10vw;
    border-bottom-right-radius: 10vw;
    color: white;
}
.caja1 {
    border: 9px rgba(240, 157, 143) solid;
    border-right: none;
    padding: 2vw 3vw;
    border-top-left-radius: 10vw;
    border-bottom-left-radius: 10vw;
}
.ContenidoTS1 {
    width: 70%;
    margin-right: 25%;
    margin-left: 5%;
}
.ContenidoTS2 {
    width: 70%;

    margin-right: 5%;
    margin-left: 25%;
}
.ContenidoTS1 h3,
.ContenidoTS2 h3 {
    font-size: 2vw;
    font-weight: 100;
    margin-top: 1vw;
    margin-bottom: 0;
}
.ContenidoTS1 p,
.ContenidoTS2 p {
    font-size: 1.4vw;
    font-weight: 200;
    margin-top: 0;
}

.bullets-right {
    direction: rtl; /* mueve el marcador (bullet) al lado derecho */
    list-style-position: inside; /* el marcador queda dentro del flujo */
    margin-right: 0;
    padding-right: 0.4em; /* espacio entre texto y borde derecho */
}
.bullets-right li {
    direction: ltr; /* mantiene el texto en dirección normal (izq->der) */
    text-align: right; /* opcional: alinea el texto a la derecha */
    padding-right: 0.4em; /* separación entre texto y viñeta */
}

/* Fallback/alternativa usando ::before para mayor control del símbolo */
.bullets-right.marker-fallback {
    list-style: none;
    padding-right: 1.6em; /* espacio reservado para el símbolo a la derecha */
}
.bullets-right.marker-fallback li {
    position: relative;
    padding-right: 1.6em;
    text-align: right;
}
.bullets-right.marker-fallback li::before {
    content: "\2022"; /* bullet unicode */
    position: absolute;
    right: 0;
    top: -0.2em;
    color: inherit; /* hereda color del texto */
    font-size: 2em;
    line-height: 1;
}

@media screen and (max-width: 600px) {
    header {
        height: 120vw;
        background-size: 200% 100%;
        background-position: center;
    }
    .textheader p {
        font-size: 5vw;
        font-weight: 500;
        padding-left: 0;
    }
    .azulheader {
        width: 40%;
        top: -20%;
    }
    .titleH {
        margin-top: 75%;
    }
    .titleH h2 {
        font-size: 10vw;
    }
    .textheader p {
        font-size: 5vw;
        font-weight: 500;
        padding-left: 0;
    }

    /*Primera Seccion */
    #TxtTitulo {
        width: 80%;
        margin: 0 auto 20vw auto;
        font-size: 6vw;
        text-align: center;
    }
    .Seguros1 {
        width: 90%;
        margin-top: 250px;
        border-top-left-radius: 32vw;
        border-bottom-left-radius: 32vw;
        height: 50vw;
        left: 1.5%;
    }
    .ContenidoPS {
        width: 100%;
        margin-right: 0;
    }
    .ContenidoPS p {
        font-size: 4.5vw;
        font-weight: 300;
    }
    .ContenidoPS h3 {
        margin: 0 0 5px 0;
        font-size: 5vw;
    }
    .Seguros1 img {
        height: auto;
        top: -130%;
        width: 50%;
    }
    .cabeceras {
        font-size: 5.5vw;
        position: relative;
        top: 57vw;
    }

    /*Tercera Seccion */
    .TerceraSeccion {
        margin-top: 30px;
    }

    .caja2,
    .caja1 {
        width: 90%;
        height: 60vw;
        margin-top: 250px;
    }
    .caja1 {
        border-top-left-radius: 32vw;
        border-bottom-left-radius: 32vw;
    }
    .caja2 {
        border-left: none;
        border-top-right-radius: 32vw;
        border-bottom-right-radius: 32vw;
    }
    .caja1 img,
    .caja2 img {
        width: 50%;
        height: auto;
        top: -110%;
    }
    .caja2 img {
        left: 0;
    }
    .ContenidoTS1 h3,
    .ContenidoTS2 h3 {
        font-size: 4.2vw;
        margin-bottom: 2vw;
    }
    .ContenidoTS1 p,
    .ContenidoTS2 p {
        font-size: 4vw;
        margin: 0;
    }
    .ContenidoTS1 {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .ContenidoTS2 {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}
