* {
    box-sizing: border-box;
}

html, body { max-width: 100%; overflow-x: hidden; }

img, svg, video { max-width: 100%; height: auto; }

a {
    color: inherit;
    text-decoration: none;
}
a:visited {
    color: inherit;
}

button {
    border: none;
}
button:active {
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    box-sizing: border-box;
}

.section {
    margin-top: 4em;
    margin-bottom: 4em;
    margin-left: 0;
    margin-right: 0;
    display: block;
}


.container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    width: 90%;
    display: block;
}

.column {
    margin: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
    text-align: center;
}

/* navbar */

.navbar {
    color: white;
    top: 0;
    left: 0;
    z-index: 10;
    position: absolute;
    display: flex;
    flex-direction: row;
    margin: 0;
    /* margin: 0 64px; */
    padding: 24px 0px;
    align-items: center;
    width: 100%;
    height: 96px;
    background-color: transparent;
}
.navbar-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    line-height: 0;
    color: #fff;
}

.navbar-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* break point tablets/moviles */
@media (max-width: 1366px) {
    
    .navbar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    /* El contenedor del menú se convierte en panel lateral */
    .navbar-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(320px, 85%);
        /* background: #CCEFFF;               ajusta a tu color de navbar */
        background: linear-gradient(180deg, #E6F6FF 0%, #FFFFFF 100%);
        box-shadow: -8px 0 24px rgba(0,0,0,0.12);
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.28s ease-in-out;
        z-index: 1000;
    }

    /* Estado abierto */
    .navbar-menu.open {
        transform: translateX(0);
    }

    /* El ul se apila verticalmente */
    .navbar-menu-items {
        color: #003366;
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;           /* usa todo el ancho del panel */
    }

    .navbar-menu-items li a {
        display: block;
        padding: 10px 2px;
    }
    .navbar-menu-items li a:hover {
        color: #0099fA;
    }

    /* CTA al final, full width opcional */
    .navbar-cta-button {
        align-self: stretch;   /* que ocupe el ancho del panel */
        padding: 12px 16px;
        font-weight: 600;
    }

    /* Evita que el contenido del body se desplace cuando el menú está abierto */
    body.scroll-lock {
        overflow: hidden;
        height: 100dvh;
    }
}
/* Afinado adicional para móviles pequeños */
@media (max-width: 560px) {
  .navbar-menu {
    width: 90%;
    padding: 20px;
  }
  .navbar-menu-items {
    gap: 12px;
  }
  
}

.navbar-container {
    width: 100%;
    /* max-width: 1200px; o lo que prefieras */
    margin: 0 auto; /* ✅ Esto centra horizontalmente */
    padding: 0 64px; /* ✅ Espacio a los lados */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 32px;
    font-weight: bolder;
}

/* .navbar-menu {
    display: flex;
    align-items: center;
    gap: 24px;
} */
.navbar-menu {
    display: flex;
    margin-left: auto;
    justify-content: flex-end;
    gap: 32px;
}

/* .navbar-menu-items {

    display: flex;
    gap: 41px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 50%;
    gap: 41px;
    justify-content: end;
} */

.navbar-menu-items {
    display: flex;
    width: auto;
    flex-wrap: nowrap;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.navbar-menu-items li a{
    cursor: pointer;
    padding: 6px 0;
    white-space: nowrap;
    
}

.navbar-cta-button {
    background-color: #0099FA;
    color: white;
    font-weight: bolder;
    border-radius: 8px;
    height: 43px;
    width: 206px;
    font-size: 16px;
    white-space: nowrap;
}

/* hero */


.hero-section {
    margin: 0;
    padding: 0;
}


.hero {
    height: 100vh;
    width: auto;
    justify-content: center;
    align-items: start;
    margin-left: 128px;
    padding-top: 0;
    margin: 0;
    color: white;
}

.hero-bg {
    background-image: url("./img/bg-hero.png");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    position: relative;
    
}

.hero-bg::before {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(8, 33, 41, 0.7);
    position: absolute;
}


.hero-container {
    width: auto;
    height: 335px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 1.5rem; */
    margin-left: 150px;
    padding: 2rem;
    z-index: 2;
}
.hero-primary-text {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    font-weight: bold;
}


.hero-primary-text p {
    text-align: start;
    font-size: 42px;
}

.hero-secondary-text {
    margin-left: 0;
    padding-left: 0;
    margin-top: -32px;
    padding: 0;
    width: 100%;
    height: auto;
}

.hero-secondary-text p {
    text-align: start;
    font-size: 28px;
}

.hero-cta-button button {
    background-color: #0099FA;
    color: white;
    font-weight: bolder;
    border-radius: 8px;
    height: 90px;
    width: 420px;
    font-size: 38px;
}

/* about us */

.about-us-column {
    color: #0D1B2A;
}

.about-us-title {
    display: flex;
    gap: 24px;
    width: 30%;
    font-size: 24px;
}

.about-us-text {
    font-size: 16px;
    width: 80%;
}


/* porque elegirnos */

.elegirnos-title {
    font-size: 24px;
    margin-bottom: 24px;
}

.choose {
    display: flex;
    flex-direction: column;
    color: #0D1B2A;
    
}

.card-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    justify-content: center;
    align-items: center;
    /* gap: 64px; */

    
}

.choose-card {
    width: 100%;
    height: 221px;
    border-right: 2px solid black;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    
}

.choose-card-container {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 8px 24px;
}



.choose-card:last-child {
    border-right: none;
}




/* .choose-card-image {

} */

.choose-card-image p {
    font-size: 16px;
}

.choose-card-text p{
    font-size: 14px;
}

/* tipos de servicios */

.services-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.services-content {
    margin: 0;
    padding: 0;
    width: 100%;
}
.services-column {
    margin: 0;
}

.services-card-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

.services-card {
    font-size: 38px;
    min-width: 300px;
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* border-radius: 12px; */
    /* background-image: url("./img/bg-hero.png"); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card button {
    font-weight: bolder;
    color: white;
    border-radius: 8px;
}

.proteccion-personal {
    background-image: url("./img/proteccion\ personal.jpg");

}
.proteccion-empresarial {
    background-image: url("./img/proteccion\ empresarial.jpg");

}

.fianzas {
    background-image: url("./img/fianzas.jpg");
}

.services-card button {
    background-color: #0099FA;
    width: 197px;
    height: 46px;
    font-size: 16px;
    font-weight: bolder;
}

/* formulario */

.form-section {
    margin: 0;
    padding: 0;
    
}

.form-bg {
    background-image: url("./img/form-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    position: relative;
    
    
    
}

.form-bg::before {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
}

.form-column {
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
    height: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0D1B2A;
    
}

.contact-text {
    font-size: 28px;
    z-index: 2;

}

.form {
    z-index: 2;
    width: 100%;
    margin-bottom: 24px;
    
    display: flex;
    justify-content: center;
    
}

.form-container {
    display: flex;
    gap: 40px;
    width: 85%;
    
}


.form-left,
.form-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}


.form-left input,
.form-right input,
.form-left select,
.form-right select,
.form-left textarea,
.form-right textarea
.form-left select,
.form-right select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* .form-right input:last-child{
    width: 16px;
    height: auto;

} */

.enviar {
    display: flex;
    flex-direction: column;
    /* height: 128px; */
    align-items: left;
    justify-content: center;
    
}
.terminos {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 8px;
}

.terminos input {
    width: 16px;
    height: 16px;
}
.terminos input:checked {
    background-color: #0099FA;
    
    /* all: unset;
    appearance: auto;
    -webkit-appearance: checkbox;
    display: inline-block;
    width: 16px;
    height: 16px; */
}

.form-right button {
    font-size: 18px;
    font-weight: bold;
    width: 120px;
    height: auto;
    padding: 12px 24px;
    background-color: #0099FA;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;

}

.select-form {
    display: flex;
    gap: 12px;
}

.select-form select {
    /* Agrega la flechita personalizada */
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 30px; /* espacio para la flecha */
    height: 48px;
    flex: 1;
}

.select-form input {
    height: 48px;
    flex: 1;
}

.form-left textarea,
.form-right textarea {
    resize: vertical;
    min-height: 100px;
}




.form-right button:active{
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-location {
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 85%;
    margin-bottom: 24px;
}
.form-location-container {
    display: flex;
    align-items: center;
    gap: 40px;

}

.form-location-map {
    flex: 1;
}

.form-location-info {
    display: flex;
    flex: 1;
    width: 100%;
    flex-direction: column;
    text-align: left;
    justify-content: center;
    align-items: flex-start;
    font-weight: bold;
    font-size: 16px;
    margin: 6px 0;
}


/* footer */

.footer-section {
    margin: 0;
    padding: 0;
}

.footer-content {
    margin: 0;
    padding: 0;
    background-color: black;
}

.footer-column{
    margin: 0;
    padding: 24px 64px;
    width: 100%;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
}



.footer-seguros-y-fianzas, .footer-encuentranos {
    font-size: 18px;
    font-weight: bolder;
    
}

.footer-seguros-y-fianzas p,
.footer-encuentranos p {
    margin-bottom: 32px;
}

.footer-contacto {
    display: flex;
    gap: 18px;
}


/* SERVICIOS */




.banner-section {
    margin: 0;
    padding: 0;
}


.banner {
    height: 80vh;
    width: auto;
    justify-content: center;
    align-items: start;
    margin-left: 128px;
    padding-top: 0;
    margin: 0;
    color: white;
}

.banner-bg-seguros {
    background-image: url("./img/banner-seguros.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    position: relative;
    
}

.banner-bg-seguros::before {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(8, 33, 41, 0.7);
    position: absolute;
}

.banner-bg-seguros-empresas {
    background-image: url("./img/banner-seguros-empresas.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /* mover el bg en caso de que sea necesario */
    background-position: -50%;
    /* background-position: center top; */
    /* background-position: 20%; esta es la otra manera de hacerlo, se puede combinar tambien en plan center 20% o center -40px y asi */
    z-index: 0;
    position: relative;
    
}

.banner-bg-seguros-empresas::before {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(8, 33, 41, 0.7);
    position: absolute;
}

.banner-bg-fianzas {
    background-image: url("./img/banner-fianzas.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /* mover el bg en caso de que sea necesario */
    background-position: -50%;
    /* background-position: center top; */
    /* background-position: 20%; esta es la otra manera de hacerlo, se puede combinar tambien en plan center 20% o center -40px y asi */
    z-index: 0;
    position: relative;
    
}

.banner-bg-fianzas::before {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(8, 33, 41, 0.7);
    position: absolute;
}



.banner-container {
    width: auto;
    height: 335px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 1.5rem; */
    margin-left: 150px;
    padding: 2rem;
    z-index: 2;
}
.banner-primary-text {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    font-weight: bold;
}


.banner-primary-text p {
    text-align: start;
    font-size: 42px;
}

.banner-secondary-text {
    margin-left: 0;
    padding-left: 0;
    margin-top: -32px;
    padding: 0;
    width: 100%;
    height: auto;
}

.banner-secondary-text p {
    text-align: start;
    font-size: 28px;
}

.seguro-container {
    display: flex;
    width: 80%;
    gap: 90px;
    color: #0D1B2A;
    margin: 24px 0px;
    /* height: 100%; */
}

/* === Imagen de seguro: cuadrada, sin distorsión, con marco y sombra === */
.seguro-imagen {
  /* layout existente */
  flex: 1;

  /* ratio cuadrado robusto */
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;

  /* estilo visual que quieres conservar */
  border: 8px solid #fff;                 /* marco blanco */
  border-radius: 36px 0 0 0;              /* radio asimétrico */
  box-shadow: 0px 4px 12px rgba(0,0,0,.5);/* sombra */

  /* NO fijar height aquí (el aspect-ratio lo controla) */
}

.seguro-imagen img {
  position: absolute;
  inset: 0;           /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;  /* recorta sin deformar */
  display: block;
  border-radius: inherit; /* alinea las esquinas con el contenedor */
}


.seguro-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0px;
    justify-content: center;
    
    
}

.seguro-info p {
    margin: 0;
    padding: 0;
    text-align: left;
    
}

.seguro-info p:first-child {
    font-size: 24px;
    margin-bottom: 24px;
}
.seguro-info p:nth-child(2) {
    margin-bottom:24px;
    width: 60%;
}
.seguro-info p:nth-child(3) {
    
}
.seguro-info ul {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-left: 0px;
    padding-left: 2em;
}

.seguro-info li {
    padding-left: 0px;
}

.seguro-info button {
    margin-top: 12px;
    font-weight: 400;
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
    
    .hero {

        height: 100dvh;
        gap: 15px;
    }

    .hero-container {
        width: 92%;
        margin-left: 15px;
        margin-top: 48px;
        height: 100dvh;
    }

    .hero-cta-button button {
        
        height: 64px;
        width: auto;
        padding: 0px 32px;
        font-size: 24px;
    }

    .banner {
        height: 80dvh;
    }

    .banner-container {
        margin-left: 15px;
      
    }

  .seguro-container {
    flex-direction: column;       /* apila */
    width: min(92%, 760px);       /* respira en márgenes */
    gap: 20px;                    /* menos separación en móvil */
  }

  /* ⚡ MÁGIA: la imagen SIEMPRE arriba sin importar el orden del HTML */
  .seguro-imagen {
    order: -1;                    /* pone la imagen primero en la columna */
    border-radius: 24px;          /* radios un poco más suaves en chico */
  }
  .seguro-imagen img {
    border-radius: inherit;
  }

  .seguro-info {
    order: 0;
    gap: 10px;
  }

  /* Tipografía y medidas más fluidas */
  .seguro-info p:first-child {
    font-size: clamp(20px, 4.5vw, 24px);
    margin-bottom: 8px;
  }
  .seguro-info p:nth-child(2) {
    width: 100%;                 /* que no limite el ancho en móvil */
    margin-bottom: 12px;
  }

  /* Listas: mejor legibilidad en móvil */
  .seguro-info ul {
    padding-left: 1.2em;
  }

  /* Botón: ancho completo opcional en móvil */
  .seguro-info button {
    align-self: flex-start;      /* usa "stretch" si lo quieres full-width */
  }
}

@media (max-width: 560px) {
  .seguro-container {
    width: 92%;
    gap: 16px;
  }

  .seguro-imagen {
    border-width: 6px;           /* marco un poco más fino en pantallas muy chicas */
    box-shadow: 0 3px 10px rgba(0,0,0,.45);
  }
}

/* aviso de privacidad */

.banner-bg-privacidad {
    background-color: #068b11;
}

.column-privacidad {
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

.privacidad-banner {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    width: 85%;
}
.privacidad-banner-text {
    flex: 1;
    color: black;
}

.privacidad-banner-text p {
    width: 30%;
}

.privacidad-banner-image {
    display: flex;
    flex: 1;
    align-items: flex-end;
    justify-content: flex-end;
}
.privacidad-banner-image img {
    
    max-width: 100%;
    height: auto;
    
}


.privacidad-tab {
    margin-top: 12px;
}

details summary {
    cursor: pointer;
    /* font-weight: bold; */
    font-size: 24px;
    padding: 20px;
    /* background: #f0f0f0; */
    border-radius: 5px;
    list-style: none;
    text-align: left;
    width: 100%;
    position: relative;
}

details summary::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    transform-origin: center;
    transition: transform 1s ease;
}
details[open] summary::after {
    transform: translateY(-50%) rotate(-135deg);
}

details[open] summary {
    /* background: #f5f5f5; */

}

.dotted-border {
    border: none;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    background-image:
        linear-gradient(to right, black 0%, transparent 0%),
        linear-gradient(to right, black 10%, transparent 0%);
    background-size: 20px 1px;
    background-repeat: repeat-x;
    background-position: top left, bottom left;
}

details {
    width: 100%;
    /* border-top: 1px dotted black;
    border-bottom: 2px dashed black; */
    margin-bottom: 10px;
}

details.dotted-border {

}

details p {
    margin: 12px 34px;
    padding: 10px;
    /* background: #fafafa; */
    /* border-left: 3px solid #0077cc; */
}

.privacidad-title {
    font-weight: bold;
    font-size: 28px;
}

.privacidad-subtitle {
    font-weight: bold;
    font-size: 20px;
}

/* animacion de la parte interna de las pesta;as */
.tab-content {
    transform: scaleY(0);
    opacity: 0;
    overflow: hidden;
    transition: opacity 1s ease, max-height 1s ease;
}

details[open] .tab-content {
    transform: scaleY(1);
    opacity: 1;
}

/* sobre nosotros */
/* 
.banner-bg-nosotros {
    background-image: url("./img/nosotros-hero-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    position: relative;
}

.banner-bg-nosotros::before {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(8, 33, 41, 0.7);
    position: absolute;
}

.nosotros-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nosotros-resume {
    width: 65%;
    text-align: left;
}

.mision-valores {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    justify-content: center;
    align-items: center;
}


.mision-valores-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.mision-valores-content p:first-child{
    font-weight: bolder;
    font-size: 24px;
}


.valores-container {
    display: flex;
    flex: 1;
    gap: 16px;
    
}

.valores-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: left;
    text-align: left;
} */

/* ======= NOSOTROS – Enhancements ======= */

/* 1) Hero */
/* .banner-section { padding-block: clamp(56px, 8vw, 88px); } */
.banner-bg-nosotros {
  /* Si usas imagen de fondo, colócala aquí; si no, queda el gradiente */
  /* background: linear-gradient(180deg, #E6F6FF 0%, #FFFFFF 100%); */
  background-image: url("./img/nosotros-hero-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.banner-bg-nosotros::before {
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(8, 33, 41, 0.7);
    position: absolute;
}

.banner .banner-primary-text p {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff; /* texto oscuro */
  letter-spacing: -0.02em;
  margin: 0;
}
.nosotros-hero { 
    gap: 8px; 
    justify-content: center;
}
/* .breadcrumbs {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 6px;
  color: #2C3E50; font-size: 14px; opacity: .8;
} */
/* .breadcrumbs a { color: #0099FA; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; } */

/* 2) Texto resumen SIGSA */
.nosotros-resume {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(16px, 3vw, 24px);
  background: #FFFFFF;
  border: 1px solid #E6EEF5;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.nosotros-resume p {
  color: #22303C;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  margin: 0 0 14px;
}
.nosotros-resume p:first-child {
  border-left: 4px solid #0099FA;
  padding-left: 14px;
}

/* 3) Misión y Valores */
.mision-valores {
  margin-top: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* misión un poco más ancha */
  gap: clamp(20px, 3vw, 36px);
}
@media (max-width: 980px) {
  .mision-valores { grid-template-columns: 1fr; }
  
}
.mision-valores-content {
  background: #FFFFFF;
  border: 1px solid #E6EEF5;
  border-radius: 16px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.mision-valores-content > p:first-child {
  font-weight: 800; color: #0D1B2A; margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
}
.mision-valores-content > p:not(:first-child) {
  color: #22303C; line-height: 1.7; margin: 0;
}

/* Valores como tarjetas */
.valores-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 700px) {
  .valores-container { grid-template-columns: 1fr; }
}
.valores-content {
  background: #F7FBFF; /* sutil azul claro */
  border: 1px solid #BFE7FF;
  border-radius: 14px;
  padding: 14px 16px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.valores-content:hover {
  transform: translateY(-2px);
  background: #EFF8FF;
  box-shadow: 0 8px 20px rgba(0,153,250,0.12);
}
.valores-content p:first-child {
  margin: 0 0 4px;
  color: #0D1B2A; font-weight: 700;
}
.valores-content p:last-child {
  margin: 0; color: #2C3E50; opacity: .9;
}

/* 4) Franja de métricas (opcional) */
.stats-strip {
  margin-top: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 860px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .stats-strip { grid-template-columns: 1fr; }
}
.stat-card {
  background: linear-gradient(180deg, #E6F6FF 0%, #FFFFFF 100%);
  border: 1px solid #BFE7FF;
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
}
.stat-card .stat-number {
  font-weight: 900; font-size: clamp(28px, 5vw, 40px);
  color: #0D1B2A; letter-spacing: -0.02em;
}
.stat-card .stat-label {
  color: #2C3E50; opacity: .9;
}

/* 5) CTA final */
.cta-band {
  margin-top: clamp(32px, 6vw, 64px);
  background: linear-gradient(135deg, #0099FA 0%, #0074C7 100%);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 32px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  color: #fff;
}
@media (max-width: 700px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; }
}
.cta-band h3 {
  margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800;
}
.cta-band p { margin: 6px 0 0; opacity: .95; }
.cta-band .cta-actions {
  display: flex; gap: 12px; justify-content: flex-end;
}
@media (max-width: 700px) {
  .cta-band .cta-actions { justify-content: center; }
}
.btn-outline-light {
  background: transparent; color: #fff; border: 1.5px solid #fff;
  padding: 10px 16px; border-radius: 12px; font-weight: 700; cursor: pointer;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* 6) Ritmo vertical global en secciones (más aire) */
.section .content .column { gap: clamp(12px, 2vw, 18px); }

/* Accesibilidad: foco visible en links */
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(0,153,250,0.6);
  outline-offset: 2px;
  border-radius: 8px;
}

/* menu de seguros */
/* Menú índice sin scroll horizontal: envuelve a varias líneas */
.seguros-menu-container {
  display: flex;
  flex-wrap: wrap;         /* << clave: que envuelva */
  gap: 10px 12px;          /* fila/columna */
  padding: 12px 24px;
  overflow-x: visible;     /* sin scroll en x */
}

.seguros-menu a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #003366;
  border: 1px solid #BFE7FF;
  background: #fff;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.seguros-menu a:hover { color: #0099FA; border-color: #0099FA; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,153,250,.15); }
.seguros-menu a.active { color: #fff; background: #0099FA; border-color: #0099FA; box-shadow: 0 8px 20px rgba(0,153,250,.22); }

/* Select para móvil (sustituye chips) */
.seguros-select {
  display: none;
  width: 100%;
  margin: 0;
  border: 1px solid #BFE7FF;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  font-weight: 600;
  color: #003366;
}

@media (max-width: 720px) {
  .seguros-menu-container { display: none; } /* ocultamos chips */
  .seguros-select { display: block; }        /* mostramos select */
  
}

/* Sticky del contenedor del menú (igual que antes) */
.seguros-menu {
  position: sticky;
  top: calc(var(--navbar-height, 72px));
  z-index: 500;
  background: linear-gradient(180deg, #E6F6FF 0%, #FFFFFF 100%);
  border-block: 1px solid rgba(0,0,0,0.06);
}

/* Márgenes de ancla para no quedar ocultos por el header + menú */
.section {
  scroll-margin-top: calc(var(--navbar-height, 72px) + 56px);
}

/* login page */

.login-nav-container {
    background: rgba(8, 33, 41, 0.7);
}

.login-section {
    display: flex;
    height: 100vh;
    width: auto;
    justify-content: center;
    align-items: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 30%;
    height: 196px;
    padding: 12px;
    background: rgba(8, 33, 41, 0.25);
    border-radius: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); /* aquí la sombra */}

.login-form label {
    margin-bottom: 16px;
    font-weight: bold;
}

.login-input {
    width: 100%;
    height: 32px;
    border-radius: 12px;
    padding: 0px 8px;
}


/*  caja de alerta de index */
.contact-alert {
    position: fixed;
    left: 50%;
    top: 35%;
    z-index: 2;
    padding: 16px 20px;
    margin-top: 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);

    /* animacion */
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;

}

.contact-alert.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-alert--success {
    background: #E3F4FF;       /* azul pastel corporativo */
    border: 2px solid #0099FA; /* azul marca SIGSA */
    color: #102336;            /* texto oscuro corporativo */
}


.contact-alert--success #contact-alert-text {
    color: #0D1B2A;   /* aquí ya no hay forma de que se “pierda” */
}


.contact-alert--error {
    background: #FFE5E5;      
    border: 2px solid #C62828;
    color: #7A1F1F;
}

.contact-alert--error #contact-alert-text {
    color: #7A1F1F;
}

/* correcciones para SEO */

/* SEO: títulos semánticos en hero */
.hero-primary-text h1 {
  font-size: 42px;
  font-weight: inherit;
  text-align: start;
  margin: 0;
}


