* {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    list-style: none;
}

.bloque {
    padding: 5%;
    color: #ffffff;
}

.h-subtitle {
    display: block;
    margin-bottom: 7%;
}

a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

body {
    margin: 0;
    font-size: calc(var(--scale-factor)*12.00px);
    font-family: sans-serif;
    transform: scaleX(0.991529);
}

@media (min-width: 720px) {
    #blogAutoGrid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 2rem;
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    background-color: #ebecee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

nav.no-padding-nav {
    padding: 0; /* Removes padding when larrainvial-logo is active */
}

.logo {
    text-align: center;
    flex-grow: 1;
}

.logo img.default-logo {
    max-height: 26px;
    padding: 1.5rem;
}

.logo img.larrainvial-logo {
    max-height: 95px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 11rem;
}

.menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #163f6b;
    margin: 3px 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}



ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.containerContenido {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: calc(79vh - 80px);
    box-sizing: border-box;
}

.carruselAseguradoras {
    text-align: center;
    margin: 3rem 0;
    padding: 0rem 6rem;
}

.h3 {
    font-weight: 500;
    color: #163f6b;
    font-size: 1.6rem;
    margin: 1rem;
}

.pLayout {
    color: #163f6b;
    margin: 2rem 0rem;
    font-weight: 500;
}

.left {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
}

.left img {
    border-radius: 50%;
    height: auto;
    width: 67%;
    max-height: 100%;
    object-fit: cover;
    margin-top: -6rem;
}

.right {
    flex: 1;
    padding-left: 20px;
    max-width: 50%;
    padding-top: 0;
}

.right h1 {
    color: #163f6b;
    margin: 0;
    font-size: 2.3rem;
}

.right h4 {
    color: #808080;
    margin: 1rem 0 0 0;
    max-width: 100%;
}

.right p {
    color: #6a6a6ade;
    margin: 0px 0;
    max-width: 100%;
}

.right button {
    background-color: #ed6b46;
    color: white;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 17px;
    max-width: 100%;
    font-weight: 600;
    box-shadow: 0rem 0rem 0.3rem 0rem gray;
    text-transform: uppercase;
}

.right button:hover {
    background-color: #ef7c5c;
}

.parrafos {
    padding-right: 19rem;
}

.logo-bar {
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.logo-bar img {
    max-height: 50px;
    margin: 0 15px;
    min-width: 8rem;
    min-height: 5rem;
}

/* Panel lateral */
#side-panel {
    position: fixed;
    top: 0;
    left: -100%;
    /* Inicia fuera de la vista por el lado izquierdo */
    height: 100%;
    width: 0;
    background-color: #ebecee;
    overflow-x: hidden;
    transition: width 0.3s, left 0.3s;
    /* Transición suave para el ancho y la posición */
    z-index: 1000;
    /* Asegura que el panel esté sobre otros elementos */
}

.side-panel ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

.side-panel ul li {
    margin: 20px 0;
}

.side-panel ul li a {
    font-size: 1.2rem;
    color: #163f6b;
}

/* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
    /* Justo debajo del panel */
}


/* styles.css */



.card-container {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.card {
    flex: 1 1 23%;
    max-width: 23%;
    display: flex;
    box-sizing: border-box;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.card-header {
    padding: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 100;
}

.header-top {
    margin: 0;
    font-weight: 400;
}

.header-bottom {
    margin: 0;
    font-weight: bold;
}

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 15px;
}

.card-image {
    width: 26%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.card-description {
    flex-grow: 1;
    overflow-y: auto;
}

.card-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.card-description li {
    margin: 0;
    font-size: 0.8rem;
    color: #5d7ec6;
    font-weight: 500;

}

.center {
    text-align: center !important;
}

.checkmark {
    color: #5d7ec6;
    margin-right: 0px;
    font-size: 0.6rem;
}

.card-title {
    font-size: 1rem;
    color: #888;
    margin: 10px 0;
    min-height: 1rem;
}

.card-price {
    font-size: 2.3rem;
    color: #333;
    margin: 10px 0;
    font-weight: 500;
}

.card-price small {
    font-size: 0.9rem;
}

.card-button {
    background-color: #163f6b;
    color: white;
    border: none;
    padding: 6px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
    margin: 0 auto 10px auto;
    font-weight: 600;
}

.card-button:hover {
    background-color: #284d74;
}

.card-footer {
    padding: 15px;
    text-align: center;
    margin-top: auto;
    background: white;
}

.btnCards {
    margin-top: auto;
    padding: 10px 0;
    text-align: center;
}

.card-link {
    color: #163f6b;
    text-decoration: none;
    font-size: 0.7rem;
    display: block;
    margin: 0 auto;
}

.card-link:hover {
    text-decoration: underline;
}

.imagen {
    min-height: 4rem;
}

.infoCard {
    min-height: 5rem;
}

.verdeCard {
    color: #40cec2;
}

.azulCard {
    color: #5d7ec6;
}

.naranjaCard {
    color: #ed6b46;
}


.TituloPrecio {
    font-size: 0.9rem;
}

.text-section h1 {
    font-size: 2.3rem;
    width: 80%;
    color: #163f6b;
    margin: 2rem 0rem;
}

.text-section p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    width: 100%;
    color: #163f6b;
    font-weight: 500;
}

.info-container {
    display: flex;
    height: 32rem;
    padding: 1rem 7rem;
}

.text-section {
    flex: 1;
    padding: 20px;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.accordion-container {
    background-color: #5d7ec6;
    color: white;
    padding: 2rem 14rem 4rem 9rem;
    border-radius: 0px;
    width: auto;
    margin: auto;
}

.accordion-container h1,
.accordion-container h2 {
    text-align: left;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    border-bottom: 2px solid;
}

.tab {
    padding: 14px 40px;
    cursor: pointer;
    background-color: #5d7ec6;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    text-transform: uppercase;
    font-weight: 600;
}

.tab:hover,
.tab.active {
    background-color: white;
    color: #163f6b;
    border-color: white;
    border-radius: 0;
    padding: 0.4rem 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 1rem 0 0 0;
}

.accordion-container h1 {

    font-size: 1.3rem;

}

.accordion-container h2 {

    font-size: 1.3rem;
    font-weight: 500;

}

.dropdowns {
    display: block;
    margin-top: 20px;
}

.dropdown {
    margin-top: 10px;
}

.dropdown-title {
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    border-bottom: 1px solid;
}

.dropdown-content {
    display: none;
    padding: 10px;
    background-color: white;
    color: #163f6b;
    margin-top: 5px;
    border-radius: 5px;
    text-align: justify;
}

.dropdown.open .dropdown-content {
    display: block;
}



footer {
    width: 100%;
    background-color: #eee;
    color: white;
}

.footer-top {
    display: flex;
    margin: 3rem 0rem 0 0;
}

.footer-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.block-1 {
    background-color: #5d7ec6;
}

.block-2 {
    background-color: #12283f;
}

.block-3 {
    background-color: #f96a3f;
}

.footer-block img {
    max-width: 230px;
    margin: 0 10px;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    padding: 20px;

    color: #5d7ec6;
}

.footer-section {
    flex: 1;
    padding: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
    font-size: 1rem;
}

.footer-bottom {

    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.footer-bottom p {
    color: black;
}

.footer-image img {
    max-width: 100%;
}

/* CSS relacionado con la parte del blog */

.cartaBlogImg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 95%;
    height: 21rem;
    border-radius: 0rem;
    margin-bottom: 1rem;
}

.verNota {
    border-bottom: 0.1rem solid #5b5b5b;
    color: #17283e;
    text-align: right;
}

.verNota li {
    display: contents;
    font-size: 1.6rem;
    position: relative;
    top: 5rem;
}

#blogAutoGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    padding: 0rem 5rem;
}

#blogAutoGrid.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.fotosBlog {
    border-radius: 0.5rem;
    width: 100%;
    height: auto;
}

.text-azul {
    color: #234069;
    font-variation-settings: 'wght' 600;
    font-size: 1.2rem;
}

.text-azul strong {
    font-variation-settings: 'wght' 800;
    color: #234069;
    font-size: 1.2rem;
}

.cajaBlog {
    display: grid;
    grid-template-columns: 80%;
    grid-gap: .3rem;
}

.titulop.uppercase {
    text-align: center;
    padding: 2rem 0rem;
    color: #163f6b;
    font-size: 1.7rem;
}

.cartasBlog h3 {
    font-weight: 600;
    font-variation-settings: 'wght' 600;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    min-height: 6rem;
    text-align: left;
    color: #17283e;
}

.cartasBlog {
    min-width: 200px;
    min-height: 105px;
    border-radius: 10px;
}

.text-azul-oscuro {
    color: #4D4D4D;
}

.text-blanco {
    color: #ffffff;
}

.spinner {
    width: 150px;
    height: 150px;
    border: 5px solid #234069;
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.txalC {
    text-align: center !important;
}

.styleIconFooter {
    display: flex;
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente */
    background-color: #40cec2;
    color: #12283f;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    /* Hace el contenedor redondo */
    margin: 1rem;
    /* Espaciado externo */
}

.styleIconFooter i {
    font-size: 2.5rem;
}

.iconPF {

    float: right;
    font-size: 1.3rem;

}

/* Media query para pantallas XL (por ejemplo, monitores grandes) */
@media (min-width: 1560px) {
    .right h1 {
        color: #163f6b;
        margin: 0;
        font-size: 2.8rem;
    }

    .right p {
        color: #6a6a6ade;
        margin: 0px 0;
        max-width: 100%;
        font-size: 1.4rem;
    }

    .right h4 {
        color: #808080;
        margin: 1rem 0 0 0;
        max-width: 100%;
        font-size: 1.3rem;
    }

    .parrafos {
        padding-right: 30rem;
    }

    .right button {
        margin-top: 4rem;
    }

    .left img {
        border-radius: 50%;
        height: auto;
        width: 50%;
        max-height: 100%;
        object-fit: cover;
        margin-top: -9rem;
    }

    .containerContenido {
        display: flex;
        align-items: center;
        padding: 0 20px;
        height: calc(61vh - 80px);
        box-sizing: border-box;
    }

    .logo-bar img {
        max-height: 50px;
        margin: 0 15px;
        min-width: 7rem;
        min-height: 4rem;
    }

    .card {
        width: 18%;
    }

    .card-description {
        margin: 9px 0;
        padding: 0 0 0 0.7rem;
        min-height: 12vh;
    }

    .imagen {
        min-height: 6rem;
    }

    .card-description {
        margin: 9px 0;
        padding: 0 1.5rem;
        min-height: 13vh;
    }

    .pLayout {
        color: #163f6b;
        margin: 2rem 0rem;
        font-weight: 600;
        padding: 0rem 20rem;
    }

    .info-container {
        display: flex;
        height: 32rem;
        padding: 1rem 20rem;
    }

    .accordion-container {
        padding: 2rem 24rem 4rem 20rem;
    }
}

/* Media query para pantallas de celulares */
@media (max-width: 767px) {
    .left {
        display: none;
    }

    .right {
        flex: 1;
        padding-left: 0;
        max-width: 100%;
        padding-top: 0;
        text-align: center;
    }

    .parrafos {
        padding-right: 0;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: initial;
        right: auto;
    }

    #side-panel {
        width: 70%;
    }

    .logo-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
        min-width: 8rem;
        min-height: 5rem;
    }

    .carruselAseguradoras {
        text-align: center;
        margin: 3rem 0;
        padding: 0rem 2rem;
    }

    .card {
        width: 100%;
    }

    .card-description {
        margin: 18px 0;
        padding: 0 0 0 0.7rem;
        min-height: 11vh;
        text-align: center;
    }

    .info-container {
        display: flex;
        height: 43rem;
        padding: 1rem 1rem;
    }

    .image-section {
        display: none;
    }

    .tabs {
        display: grid;
        justify-content: space-around;
        margin-top: 20px;
        border-bottom: 2px solid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .accordion-container {
        background-color: #5d7ec6;
        color: white;
        padding: 2rem 0rem 4rem 0rem;
        border-radius: 0px;
        width: auto;
        margin: auto;
        display: inline-block;
        width: fit-content;
    }

    .cartasBlog {
        min-width: 100%;
        min-height: 105px;
        border-radius: 10px;
    }

    #blogAutoGrid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 2rem;
        padding: 0rem 5rem;
    }

    .dropdowns {
        display: block;
        margin-top: 20px;
        width: 89%;
    }

    .footer-top {
        display: grid;
        margin: 3rem 0rem 0 0;
    }

    .footer-middle {
        display: grid;
        justify-content: start;
        padding: 20px;
        color: #5d7ec6;
    }

    .footer-block {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 17px 0px;
    }


}