/* BASE */
.hero {
    height: auto;
    overflow: visible;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}
.hero img {
    margin-top: 120px;
}

.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    background: #2d7fbf;
    color: #ffffff;
    padding: 8px 30px;
    font-size: 14px;
}
/* LOGO */
.logo img {
    height: 110px !important;  /* 🔥 más grande */
    width: auto;
    display: block;
}
.logo {
    margin: 0;
    padding: 0;
}

/* HOVER */
.menu a:hover, .dropbtn:hover {
    background: #0b3d91;
    color: white;
}

/* ===================== */
/* NOSOTROS */
/* ===================== */

.nosotros {
    background: #1e293b; /* gris azulado elegante */
    padding: 80px 40px;
    color: white;
}

/* CONTENEDOR */
.nosotros-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1100px;
    margin: auto;
}

/* TEXTO */
.nosotros-texto {
    width: 50%;
}

.nosotros-texto h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.nosotros-texto p {
    line-height: 1.7;
    color: #e2e8f0;
}

/* VENTAJAS */
.nosotros-ventajas {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ventaja {
    background: rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* IMAGEN */
.nosotros-img {
    width: 50%;
}

.nosotros-img img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nosotros-container {
        flex-direction: column;
    }

    .nosotros-texto,
    .nosotros-img {
        width: 100%;
    }
}
/* CAJAS */
.ventaja {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    padding: 14px;
    border-radius: 10px;
}

/* SECCIONES */
.section {
    padding-top: 60px;
}

/* TARJETAS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* TARJETA */
.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

/* ICONOS */
.card i {
    font-size: 35px;
    color: #0b3d91;
    margin-bottom: 15px;
}

/* TEXTO */
.card p {
    font-size: 14px;
    color: #555;
    min-height: 70px;
}

/* BOTON */
.btn {
    display: inline-block;
    margin-top: 15px;
    background: #0b3d91;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

/* EMPRESAS */
.empresas {
    background: #f7f7f7;
}

/* SINIESTROS */
/* 🔥 SINIESTROS MEJORADO */
.siniestros {
    padding: 120px 60px; /* MÁS GRANDE */
    background: #f5f7fb;
}

.siniestros-container {
    display: flex;
    gap: 70px; /* más espacio */
    max-width: 1300px;
    margin: auto;
    align-items: center;
}

/* TEXTO */
.siniestros-texto {
    width: 50%;
}

.siniestros-texto h2 {
    font-size: 42px; /* MÁS GRANDE */
    margin: 15px 0;
}

.siniestros-texto p {
    font-size: 18px;
    color: #555;
}

/* BADGE */
.badge {
    background: #dbeafe;
    color: #0b3d91;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* FORM */
.siniestros-form {
    width: 50%;
    background: white;
    padding: 40px; /* MÁS GRANDE */
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* FILAS */
.fila {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* INPUTS */
input, select, textarea {
    width: 100%;
    padding: 14px; /* más cómodo */
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
}

/* TEXTAREA */
textarea {
    min-height: 130px;
}

/* BOTÓN */
.btn-enviar {
    width: 100%;
    background: #0b3d91;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
}

.btn-enviar:hover {
    background: #082c6c;
}
/* LOGOS */
.logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 16px;
    padding: 12px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp i {
    font-size: 20px;
}

.whatsapp:hover {
    transform: scale(1.05);
}
.whatsapp {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}



/* ===================== */
/* 🔥 EFECTOS PRO */
/* ===================== */

/* TARJETAS ANIMADAS */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* ICONOS ANIMADOS */
.card i {
    transition: 0.3s;
}

.card:hover i {
    transform: scale(1.2);
    color: #1a5edb;
}

/* BOTONES */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    background: #1a5edb;
    transform: scale(1.05);
}



/* LOGOS EFECTO PREMIUM */
.logos img {
    height: 50px;
    transition: 0.3s;
}



/* ANIMACIÓN */
@keyframes flotar {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
/* COTIZADOR */
.cotizar {
    padding: 80px 40px;
    background: #f5f7fb;
    text-align: center;
}

.cotizar form {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.footer {
    background: #0b3d91;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    gap: 30px;
}

.footer-logo img {
    width: 50px;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}
.clientes {
    padding: 80px 40px;
    background: #f5f7fb;
    text-align: center;
}

.clientes form {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 14px;
}

/* ========================= */
/* LOGOS COMPAÑÍAS PRO */
/* ========================= */

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* TAMAÑO UNIFICADO */
.logos img {
    height: 70px;          /* más grandes */
    width: auto;
    object-fit: contain;

    transition: all 0.4s ease;
}

/* ANIMACIÓN HOVER */
.logos img:hover {
    transform: scale(1.15);
}

/* EFECTO MOVIMIENTO SUAVE */
.logos img {
    animation: flotarLogo 4s ease-in-out infinite;
}

/* ANIMACIÓN */
@keyframes flotarLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}
.logos img:nth-child(1) { animation-delay: 0s; }
.logos img:nth-child(2) { animation-delay: 0.5s; }
.logos img:nth-child(3) { animation-delay: 1s; }
.logos img:nth-child(4) { animation-delay: 1.5s; }
.logos img:nth-child(5) { animation-delay: 2s; }
/* ========================= */
/* CARRUSEL COMPAÑÍAS */
/* ========================= */

.logos-slider {
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
}

/* PISTA */
.logos-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;

}

/* LOGOS */
.logos-track img {
    height: 90px;
    width: auto;
    object-fit: contain;
}
/* LOGOS BASE */
.logos-track img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* AJUSTES INDIVIDUALES */
.logos-track img:nth-child(2),
.logos-track img:nth-child(7) {
    height: 110px; /* CNP más grande */
}

.logos-track img:nth-child(5),
.logos-track img:nth-child(10) {
    height: 115px; /* Mercantil más grande */
}

/* ANIMACIÓN */
@keyframes moverLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.privacidad {
    max-width: 800px;
    margin: 15px auto;
    background: #f4f6fb;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
}

.privacidad summary {
    font-weight: bold;
    font-size: 15px;
}

.privacidad p {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
}
.ayuda {
    background: #f5f7fb;
}

.privacidad {
    max-width: 800px;
    margin: 15px auto;
    background: #f4f6fb;
    border-radius: 10px;
    padding: 15px;
}

.privacidad summary {
    font-weight: bold;
    cursor: pointer;
}

.privacidad p {
    margin-top: 10px;
    font-size: 14px;
}
/* AYUDA PRO */
.ayuda {
    background: #f5f7fb;
    padding: 80px 20px;
}

/* TEXTO */
.ayuda-texto {
    max-width: 600px;
    margin: auto;
    margin-bottom: 30px;
    text-align: center;
    color: #555;
}

/* BOTON */
.ayuda-box {
    text-align: center;
    margin-bottom: 50px;
}

/* TITULOS */
.titulo-ayuda {
    text-align: center;
    margin: 40px 0 20px;
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: auto;
}

.faq details {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.faq summary {
    font-weight: bold;
    cursor: pointer;
}

/* LEGAL */
.legal-box {
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
}

.legal-box details {
    background: #eef2ff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.legal-box summary {
    font-weight: bold;
}
/* AYUDA PREMIUM */
.ayuda-premium {
    width: 100%;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f5f7fb, #eef3ff);
}

/* TITULO */
.ayuda-premium h2 {
    text-align: center;
    margin-bottom: 10px;
}

/* DESCRIPCIÓN */
.ayuda-desc {
    text-align: center;
    max-width: 600px;
    margin: auto;
    margin-bottom: 30px;
    color: #555;
}

/* BOTÓN */
.ayuda-contacto {
    text-align: center;
    margin-bottom: 50px;
}

/* GRID */
.ayuda-grid {
    display: flex;
    gap: 40px;
    width: 100%;
}

/* COLUMNAS */
.ayuda-col {
    width: 50%;
}

/* FAQ */
.faq-item {
    margin-bottom: 12px;
}

.faq-btn {
    width: 100%;
    padding: 15px;
    border: none;
    background: white;
    border-radius: 10px;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.faq-btn:hover {
    background: #0b3d91;
    color: white;
}

/* CONTENIDO FAQ */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    background: white;
    padding: 0 15px;
    border-radius: 0 0 10px 10px;
}

.faq-item.active .faq-content {
    max-height: 150px;
    padding: 10px 15px;
}

/* PRIVACIDAD */
.privacidad {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* CAJAS PRIVADAS */
.priv-box {
    margin-bottom: 15px;
    padding: 12px;
    background: #f4f6fb;
    border-radius: 8px;
}

.priv-box h4 {
    margin-bottom: 5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .ayuda-grid {
        flex-direction: column;
    }

    .ayuda-col {
        width: 100%;
    }
}
@media (max-width: 900px) {
    .nosotros-container {
        flex-direction: column;
    }

    .nosotros-texto,
    .nosotros-img {
        width: 100%;
    }
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}
.panel-clientes {
    display: none;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.6);

    justify-content: center;
    align-items: center;

    z-index: 999;
}

.panel-clientes.activo {
    display: flex;
}


.contenido-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cerrar {
    font-size: 20px;
    cursor: pointer;
    text-align: right;
}

.contenido-panel input,
.contenido-panel select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contenido-panel button {
    background: #0a2540;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}


nav a:hover {
    background-color: #163d6b;
}
.btn-menu {
    background-color: #0a2540;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    margin: 0 4px;
    display: inline-block;
    font-size: 14px;
    transition: 0.3s;
}

.btn-menu:hover {
    background-color: #163d6b;
}
/* ===== HEADER (barra superior) ===== */
.header{
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    padding: 5px 25px;
    min-height: 70px;
}

/* ===== MENU PRO FIX ===== */
.menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* TODOS LOS BOTONES IGUALES */
.menu a,
.dropbtn,
.btn-clientes-header {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 40px;              /* 🔥 MISMA ALTURA */
    padding: 0 16px;           /* 🔥 MISMO ANCHO INTERNO */

    font-size: 14px;
    font-weight: 500;

    color: white;
    text-decoration: none;

    border-radius: 8px;
    background: transparent;

    transition: all 0.3s ease;
    white-space: nowrap;
}

/* HOVER */
.menu a:hover,
.dropbtn:hover,
.btn-clientes-header:hover {
    background: rgba(255,255,255,0.15);
    color: #25D366;
}
/* ===== BOTONES ===== */
.menu a,
.dropbtn {
    color: white;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    padding: 10px 14px;
    border-radius: 8px;

    transition: all 0.3s ease;
}

/* ===== HOVER ===== */
.menu a:hover,
.dropbtn:hover {
    background: rgba(255,255,255,0.15);
    color: #25D366;

    transform: translateY(-2px);
}

/* ===== EFECTO LINEA PRO ===== */
.menu a::after {
    content: "";
    display: block;
    height: 2px;
    background: #25D366;
    width: 0;
    transition: 0.3s;
    margin-top: 3px;
}

.menu a:hover::after {
    width: 100%;
}

/* BOTÓN ÁREA CLIENTES */
.btn-clientes {
    position: fixed;
    top: 120px;
    right: 20px;
    background: #0a2540;
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* PANEL (FONDO OSCURO) */
.panel-clientes {
    display: none !important;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.6);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* CUANDO SE ABRE */
.panel-clientes.activo {
    display: flex !important;
}

/* CAJA DEL FORM */
.contenido-panel {
    background: white;
    padding: 25px;
    border-radius: 12px;

    width: 90%;
    max-width: 400px;

    max-height: 90vh;
    overflow-y: auto;
}
/* BOTÓN AREA CLIENTES */
.btn-clientes {
    position: fixed;
    top: 120px;
    right: 20px;
    background: #0a2540;
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* PANEL (FONDO OSCURO) */
.panel-clientes {
    display: none; /* siempre oculto por defecto */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.panel-clientes.activo {
    display: flex; /* solo se ve cuando se agrega la clase activo */
}

/* CAJA DEL FORM */
.contenido-panel {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}

/* BOTÓN CERRAR */
.contenido-panel .cerrar {
    text-align: right;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* INPUTS Y SELECT */
.contenido-panel input,
.contenido-panel select,
.contenido-panel button {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* BOTÓN SOLICITAR */
.contenido-panel button {
    background: #0a2540;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.contenido-panel button:hover {
    background: #163d6b;
}
/* --- BOTÓN ADMIN --- */
#admin-button {
  position: fixed;
  bottom: 90px; /* lo pongo arriba del WhatsApp */
  right: 20px;
  background-color: #444;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  z-index: 1002; /* por encima de WhatsApp */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

#admin-button:hover {
  transform: scale(1.1);
}

/* --- FORMULARIO OCULTO --- */
#admin-login {
  position: fixed;
  bottom: 160px; /* ajustado sobre el botón */
  right: 20px;
  background: white;
  border: 1px solid #ccc;
  padding: 15px;
  display: none;
  flex-direction: column;
  gap: 10px;
  border-radius: 8px;
  z-index: 1002;
  width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#admin-login input {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #aaa;
  width: 100%;
  box-sizing: border-box;
}

#admin-login button {
  padding: 8px;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#admin-login button:hover {
  background-color: #666;
}
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background:  white;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background:  white;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background:  white;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #eef2f7;
}

/* LAYOUT REAL */
.dashboard {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  background: #ffffff;
  padding: 30px;
  border-right: 1px solid #ddd;
}

.sidebar h2 {
  margin-bottom: 25px;
}

/* RESUMEN */
.resumen-card {
  background: #f8f9fc;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

.resumen-card.alert {
  border-left: 4px solid red;
}

/* MAIN */
.main {
  padding: 40px;
}

.main h1 {
  margin-bottom: 20px;
}

/* TABS */
.tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.tabs button {
  padding: 12px 20px;
  border-radius: 25px;
  border: none;
  background: #ddd;
  cursor: pointer;
}

.tabs button.active {
  background: #0a2540;
  color: white;
}

/* GRID CLIENTES */


/* CARDS */
.cards .card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card b {
  font-size: 18px;
}

.card p {
  margin: 6px 0;
  color: #555;
}

/* BOTON EDITAR */
.card button {
  margin-top: 10px;
  border: none;
  background: #f0f0f0;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* BOTON NUEVO */
.btn-nuevo {
  position: fixed;
  bottom: 30px;
  right: 40px;
  background: #0a2540;
  color: white;
  padding: 15px 25px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}
/* Botón Nuevo Cliente en sidebar */
.btn-nuevo-cliente {
  width: 100%;              /* ocupa todo el ancho del sidebar */
  padding: 10px;
  margin-bottom: 15px;

  background: #ffffff;      /* fondo blanco */
  color: black;             /* letras negras */
  border: 1px solid #ccc;

  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;

  transition: 0.2s;
}

.btn-nuevo-cliente:hover {
  background: #f0f0f0;
}
.vencido {
  border-left: 5px solid red;
}

.pendiente {
  border-left: 5px solid orange;
}

.pagado {
  border-left: 5px solid green;
}
/* SIDEBAR MEJORADA */
.sidebar {
  background: #0a2540;
  color: white;
}

.sidebar h2 {
  color: white;
}

/* CARDS RESUMEN */
.resumen-card {
  background: #ffffff;
  color: black;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.resumen-card:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.03);
}

/* COLORES POR TIPO */
.resumen-card.activos {
  border-left: 5px solid #4CAF50;
}

.resumen-card.polizas {
  border-left: 5px solid #2196F3;
}

.resumen-card.vencen {
  border-left: 5px solid #F44336;
}

/* CARDS CLIENTES */
.dashboard .card {
  background: white;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 12px;
  border-left: 6px solid #ccc;
  transition: 0.3s;
}

/* ACTIVO → VERDE */
.card.activo {
  border-left: 6px solid #4CAF50;
}

/* PROSPECTO → NARANJA */
.card.prospecto {
  border-left: 6px solid #FF9800;
}

/* ANULADO → LILA */
.card.anulado {
  border-left: 6px solid #9C27B0;
}

/* VENCIDO → ROJO (PRIORIDAD) */
.card.vencido {
  border-left: 6px solid #F44336;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 10px; /* 🔥 menos espacio así entra todo */
}
/* CARRITO */
.carrito {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 40px;
    padding: 0 12px;

    font-size: 18px;
    color: #25D366;

    cursor: pointer;
}

.carrito i {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;
    color: #25D366;
}
/* BOTÓN ÁREA CLIENTES (igual menú) */
.btn-clientes-header {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 40px;
    padding: 0 14px;

    font-size: 14px;
    color: white;
    text-decoration: none;

    border-radius: 8px;
    white-space: nowrap;
}

/* HOVER IGUAL MENU */
.btn-clientes-header:hover {
    background: rgba(255,255,255,0.15);
    color: #25D366;
    transform: translateY(-2px);
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.topbar-redes {
  display: flex;
  gap: 12px;
}

.topbar-redes a {
  color: white;
  font-size: 14px;
}


/* REDES */
.redes {
  margin-top: 20px;
}


/* COLORES REALES */
.redes a:nth-child(1) {
  background: #E1306C; /* Instagram */
}

.redes a:nth-child(2) {
  background: #1877F2; /* Facebook */
}

.redes a:nth-child(3) {
  background: #25D366; /* WhatsApp */
}

/* ANIMACIÓN */
.redes a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.ayuda-premium {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a2540, #163d66);
  color: white;
}

.ayuda-header {
  text-align: center;
  margin-bottom: 50px;
}

.ayuda-header h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.ayuda-header p {
  opacity: 0.8;
}

.ayuda-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

/* BOXES */
.ayuda-box {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* FAQ */
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: white;
  padding: 15px;
  font-size: 15px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-content {
  display: none;
  padding: 10px 15px;
  font-size: 14px;
  opacity: 0.8;
}

.faq-item.active .faq-content {
  display: block;
}

/* INFO */
.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 22px;
  color: #25d366;
  margin-top: 5px;
}

/* BOTÓN WHATSAPP */
.btn-wsp-ayuda {
  display: block;
  margin-top: 30px;
  background: #25d366;
  color: white;
  padding: 14px;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-wsp-ayuda:hover {
  background: #1ebe5d;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .ayuda-container {
    grid-template-columns: 1fr;
  }
}
html {
  scroll-behavior: smooth;
}
/* OCULTAR TODAS LAS SECCIONES */
section {
  display: none;
  padding-top: 140px;
}

#inicio {
  display: block;
}

/* SOLO INICIO VISIBLE */
#inicio {
  display: block;
  padding-top: 0 !important;
}

.panel-ayuda.activo {
  display: flex;
}

.contenido-ayuda {
  background: white;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.contenido-ayuda button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: none;
  background: #0a2540;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

#contenido-ayuda-texto {
  margin-top: 20px;
  text-align: left;
  font-size: 14px;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
.panel-ayuda {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.panel-ayuda.activo {
  display: flex;
}

.contenido-ayuda {
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.contenido-ayuda button {
  margin: 10px;
  padding: 10px 15px;
  border: none;
  background: #0a2540;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.contenido-ayuda .cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;

}


/* ===== AYUDA PRO ===== */

.panel-ayuda {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.panel-ayuda.activo {
  display: flex;
}

.contenido-ayuda {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 420px;
  text-align: center;
}

.contenido-ayuda button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: none;
  background: #0a2540;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.contenido-ayuda button:hover {
  background: #163d6b;
}

#contenido-ayuda-texto {
  margin-top: 15px;
  text-align: left;
  font-size: 14px;
}

.contenido-ayuda .cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}
/* SECCION CONTACTO COMPLETA */

/* MAPA */
.mapa-container {
    width: 100%;
    height: 500px;
}

.mapa-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* FORMULARIO */
.formulario-contacto {
    background: #f5f5f5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario-contacto h2 {
    margin-bottom: 10px;
}

.formulario-contacto input,
.formulario-contacto textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
}

.formulario-contacto button {
    padding: 15px;
    border: none;
    background: #0f2a44;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

/* TITULOS */
.titulo-contacto {
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
}

/* TARJETAS */
.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* REDES */
.redes {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.redes span {
    background: #0f2a44;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
}

/* FORMULARIO */
.formulario .fila {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.formulario textarea {
    height: 120px;
    margin-bottom: 10px;
}

.formulario button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #0f2a44;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

/* MAPA */
.mapa-card {
    max-width: 1100px;
    margin: 30px auto 0 auto;
}

.mapa {
    margin-top: 15px;
    width: 100%;
    height: 350px;
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

/* REDES */
.redes {
  margin-top: 20px;
}

.redes a {
  display: inline-block;
  margin-right: 10px;
  background: #0a2540;
  color: white;
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s;
}

.redes a:hover {
  background: #133b63;
}

/* MAPA */
.mapa-container {
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mapa-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}
  
body {
  margin: 0;
}
section {
  scroll-margin-top: 120px;
}

.redes {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.redes a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #0a2540; /* color base */
  color: white !important; /* fuerza blanco */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}

.redes a i {
  color: white !important;
}

.redes a:hover {
  background: #00c853;
}
.mapa-card {
  margin-top: 40px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}

.formulario button {
  width: 100%;
  background: #0a2540;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.formulario button:hover {
  background: #00c853;
}
/* ===== FIX FORMULARIO CONTACTO ===== */

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 14px;
  outline: none;
}

.formulario input:focus,
.formulario textarea:focus {
  border-color: #0a2540;
  box-shadow: 0 0 0 2px rgba(10,37,64,0.1);
}

.formulario button {
  width: 100%;
  background: #0a2540;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.formulario button:hover {
  background: #00c853;
}
/* ===== FIX ICONOS REDES ===== */

.redes {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.redes a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Colores reales */
.redes a:nth-child(1) {
  background: #1877f2; /* Facebook */
}

.redes a:nth-child(2) {
  background: #e1306c; /* Instagram */
}

.redes a:nth-child(3) {
  background: #25d366; /* WhatsApp */
}

.redes a i {
  color: white !important;
  font-size: 18px;
}

/* EXCEPCIÓN: la portada NO se toca */
#inicio {
  padding-top: 0 !important;
}

/* Ajuste fino para header fijo */
body {
  padding-top: 0;
}
/* ===== SECCIONES AJUSTADAS COMO CONTACTO ===== */
#nosotros,
#personas,
#empresas,
#siniestros,
#companias,
#educa,
#ayuda,
#cotizar {
  margin-top: 120px;
}
/* ===== CORRECCIÓN DE TÍTULOS ===== */

#nosotros h2,
#personas h2,
#empresas h2,
#siniestros h2,
#companias h2,
#educa h2,
#ayuda h2 
#cotizar h2 {
  margin-top: 10px;
}
/* ===== CONTACTO PRO INVESTIA ===== */

.contacto {
  background: #f5f7fa;
  padding: 140px 20px 100px; /* 👈 MÁS espacio arriba */
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* 👈 lo baja un poco más */
}

.contacto-pro-container {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 40px;
  border-radius: 12px;
}

/* IZQUIERDA */
.contacto-left h3 {
  margin-bottom: 15px;
  color: #0a2540;
}

.redes-box {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.redes-box a {
  text-decoration: none;
}

.redes-box i {
  background: #eee;
  padding: 12px;
  border-radius: 6px;
  transition: 0.3s;
}

.redes-box i:hover {
  background: #0a2540;
  color: #fff;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.info-item i {
  background: #e6f0fa;
  color: #0a2540;
  padding: 10px;
  border-radius: 50%;
  margin-right: 10px;
}

/* DERECHA */
.contacto-right h2 {
  margin-bottom: 10px;
  color: #0a2540;
}

.contacto-right p {
  margin-bottom: 20px;
  color: #555;
}

.contacto-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacto-right input,
.contacto-right textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.contacto-right textarea {
  height: 120px;
  resize: none;
}

.contacto-right button {
  background: #2ea3f2;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.contacto-right button:hover {
  background: #0a2540;
}

/* MAPA */
.mapa-pro {
  margin-top: 40px;
}

.mapa-pro iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
}
/* ===== ARREGLO SECCIONES ===== */

/* Oculta todas las secciones */
section {
  display: none;
}

/* Solo INICIO visible al cargar */
#inicio {
  display: block;
}

/* Espaciado correcto para que no quede cortado */
.contacto-pro {
  padding-top: 120px;
}
.titulo-contacto {
  font-size: 32px;
  color: #0a2540;
  margin-bottom: 10px;

  opacity: 0;
  transform: translateY(-20px);
  animation: aparecerTitulo 0.8s ease forwards;
}

@keyframes aparecerTitulo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== CONTACTO PRO BIEN ESPACIADO ===== */

.contacto {
  padding: 220px 20px 120px; /* 🔥 MÁS ABAJO */
  background: #f5f7fa;
}

/* CONTENEDOR */
.contacto-pro-container {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* TITULO ANIMADO */
.titulo-contacto {
  font-size: 36px;
  color: #0a2540;
  margin-bottom: 10px;

  opacity: 0;
  transform: translateY(-30px);
  animation: aparecerTitulo 0.8s ease forwards;
}

@keyframes aparecerTitulo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MAPA */
.mapa-pro {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.mapa-pro iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* RESPONSIVE */
@media(max-width: 900px){
  .contacto-pro-container {
    grid-template-columns: 1fr;
  }
}

/* 🔥 FIX FINAL BOTONES MENU */
.menu a,
.dropbtn {
    color: white !important;
}
/* ===== DROPDOWN AYUDA / SEGUROS FIX ===== */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: white !important;
  padding: 10px 14px;
  border-radius: 8px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 45px;
  right: 0;
  background: white;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  z-index: 9999;
}

.dropdown-content a {
  display: block;
  padding: 12px;
  color: #0a2540;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: #f1f1f1;
}

.dropdown-content.show {
  display: block;
}
/* DROPDOWN LINKS */
.dropdown-content a {
  color: #0a2540; /* azul oscuro, igual a tu marca */
  display: block;
  padding: 10px;
  text-decoration: none;
}

/* HOVER (cuando pasás el mouse) */
.dropdown-content a:hover {
  background: #f1f1f1;
  color: #000;
}
/* ===== FIX FINAL MENÚ Y DROPDOWN (ARREGLA TODO) ===== */

/* BOTONES DEL MENU */
.menu a,
.dropbtn {
    color: white !important;
}

/* LINKS DEL DROPDOWN (IMPORTANTE) */
.dropdown-content a {
    color: #0a2540 !important; /* texto oscuro */
}

/* HOVER DROPDOWN */
.dropdown-content a:hover {
    background: #f1f1f1;
    color: black !important;
}
.header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 25px;
    background: rgba(28, 97, 145, 0.80);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
section {
  padding-top: 140px; /* 🔥 ajusta según altura real del header */
}
/* ===== AVISO LEGAL ===== */

#aviso {
  display: none; /* lo controla JS */

  padding: 180px 20px 80px; /* espacio arriba por header */
  background: #f5f7fb;
  min-height: 100vh; /* 🔥 clave */
}
#aviso .legal-box {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
}

/* TÍTULO */
.titulo-ayuda {
  text-align: center;
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 10px;
}

/* TEXTO */
.legal-box p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* TÍTULOS INTERNOS */
.legal-box strong {
  color: #0a2540;
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.aviso-container {
  padding-top: 120px;
}
/* ===== AVISO LEGAL LIMPIO Y PROFESIONAL ===== */

#aviso {
  display: none; /* lo maneja JS */
  background: #ffffff;
  padding: 160px 20px 80px;
  min-height: 100vh;
}

/* CONTENEDOR */
.aviso-container {
  max-width: 900px;
  margin: auto;
}

/* TITULO */
.aviso-titulo {
  font-size: 32px;
  font-weight: 600;
  color: #0a2540;
  margin-bottom: 10px;
}

/* SUBTITULO */
.aviso-ruta {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

/* BLOQUES */
.aviso-btn {
  width: 100%;
  text-align: left;
  background: #f1f1f1;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  margin-top: 15px;
}

.aviso-contenido {
  background: #fafafa;
  padding: 15px;
  border-left: 3px solid #0a2540;
  border-radius: 6px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
}
/* 🔥 TEXTO NEGRO AVISO LEGAL */
#aviso {
  color: #000;
}

.aviso-contenido {
  color: #000;
}

.aviso-btn {
  color: #000;
}

.aviso-titulo {
  color: #000;
}

.aviso-ruta {
  color: #555; /* gris suave */
}
/* ===== PRIVACIDAD ===== */
#privacidad {
  display: none;
  background: #ffffff;
  padding: 40px 20px 80px; /* 🔥 BAJAMOS EL ESPACIO */
  min-height: 100vh;
}
/* =========================
   FOOTER NEGRO PREMIUM
========================= */

.footer{
    background: #000;
    color: #fff;
    padding: 55px 6% 20px;
}

/* CONTENEDOR */
.footer-container{
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

/* COLUMNAS */
.footer-col{
    flex: 1;
    min-width: 260px;
}

/* TITULOS */
.footer-col h3{
    font-size: 30px;
    margin-bottom: 22px;
    color: #fff;
}

/* TEXTOS */
.footer-col p,
.footer-col a{
    color: #d8d8d8;
    line-height: 1.9;
    text-decoration: none;
    font-size: 17px;
}

/* =========================
   REDES SOCIALES
========================= */

.footer-redes{
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
}

.footer-redes a{
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: white;
    font-size: 20px;

    transition: 0.3s ease;
}

/* FACEBOOK */
.footer-redes a:nth-child(1){
    background: #1877f2;
}

/* YOUTUBE */
.footer-redes a:nth-child(2){
    background: #ff0000;
}

/* INSTAGRAM */
.footer-redes a:nth-child(3){
    background: #E1306C;
}

.footer-redes a:hover{
    transform: translateY(-4px);
}

/* =========================
   LOGO SSN
========================= */

.ssn-footer{
    margin-top: 18px;
}

.ssn-footer img{
    width: 240px;
    max-width: 100%;
    display: block;
}

/* =========================
   CONTACTO
========================= */

.footer-contacto p{
    margin-bottom: 14px;
}

/* =========================
   COPY
========================= */

.footer-copy{
    border-top: 1px solid #1f1f1f;

    margin-top: 45px;
    padding-top: 20px;

    text-align: center;

    color: #888;
    font-size: 14px;
}

.footer-copy a{
    color: #25d366;
    text-decoration: none;
}

.footer-copy a:hover{
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 900px){

    .footer-container{
        flex-direction: column;
        gap: 35px;
    }

    .footer-col h3{
        font-size: 25px;
    }

    .ssn-footer img{
        width: 200px;
    }

}
/* =========================
   PERSONAS NUEVO DISEÑO
========================= */

.personas-section{
    padding:60px 30px;
    background:#f5f7fb;
}

.titulo-personas{
    font-size:42px;
    color:#0a2540;
    text-align:center;
    margin-bottom:15px;
    font-weight:700;
}

.grid-personas{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

    margin-top:50px;

}

.item-persona{
    width:100%;
}

/* TARJETA */

.tarjeta-mini{

    background:#fff;

    border-radius:22px;

    min-height:360px;

    padding:20px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    overflow:hidden;

    transition:.35s;

    cursor:pointer;

}

.tarjeta-mini:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.16);

}

/* TITULO */

.tarjeta-mini span{

    width:100%;

    text-align:center;

    font-size:28px;

    font-weight:700;

    color:#0a2540;

    margin-bottom:18px;

    line-height:1.25;

}

/* IMAGEN */

.tarjeta-mini img{

    width:100%;

    height:240px;

    object-fit:cover;

    border-radius:16px;

    display:block;

}

/* DETALLE */

.detalle-persona{

    display:none;

    position:relative;

    width:100%;

    margin-top:20px;

    background:#fff;

    padding:45px;

    border-radius:22px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    grid-column:1/-1;

    animation:abrirDetalle .35s ease;

}

.detalle-persona.activo{

    display:block;

}

@keyframes abrirDetalle{

    from{

        opacity:0;

        transform:translateY(-15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.detalle-persona h3{

    font-size:34px;

    color:#0a2540;

    margin-bottom:20px;

}

.detalle-persona p{

    color:#555;

    line-height:1.8;

    margin-bottom:18px;

    font-size:17px;

}

/* BOTON */

.btn-cotizar{

    display:inline-block;

    margin-top:15px;

    background:#0a2540;

    color:#fff;

    text-decoration:none;

    padding:14px 28px;

    border-radius:10px;

    font-size:16px;

    font-weight:700;

    transition:.3s;

}

.btn-cotizar:hover{

    background:#1b75bc;

}

/* RESPONSIVE */

@media(max-width:900px){

    .grid-personas{

        grid-template-columns:1fr;

    }

    .titulo-personas{

        font-size:32px;

    }

    .tarjeta-mini{

        min-height:320px;

    }

    .tarjeta-mini span{

        font-size:24px;

    }

    .tarjeta-mini img{

        height:210px;

    }

}
/* =========================
GRID TARJETAS
========================= */

.grid-personas{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
    margin-top:40px;
}

.tarjeta-mini{
    background:#fff;
    border-radius:20px;
    min-height:180px;
    padding:20px;
    cursor:pointer;
    transition:0.3s;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.tarjeta-mini span{
    width:45%;
    font-size:24px;
    font-weight:700;
    color:#111;
    line-height:1.3;
}
.tarjeta-mini img{
    width:100%;
    max-width:180px;
    height:auto;
    object-fit:contain;
    display:block;
    margin:auto;
}

/* =========================
MODAL GRANDE
========================= */

.modal-seguro{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.7);
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:40px;
}
.contenido-modal{
    background:#fff;
    width:100%;
    max-width:1200px;
    height:auto;
    min-height:650px;
    border-radius:25px;
    position:relative;
    animation:aparecer .3s ease;
}

.modal-grid{
    display:grid;
    grid-template-columns:55% 45%;
    align-items:center;
    height:100%;
}

.modal-texto{
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.modal-texto h2{
    font-size:30px;
    margin-bottom:30px;
    color:#111;
}

.modal-texto p{
    font-size:16px;
    line-height:1.7;
    margin-bottom:40px;
    color:#444;
}

.modal-imagen{
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
}

.modal-imagen img{
    width:100%;
    max-width:480px;
    max-height:500px;
    object-fit:contain;
}

.cerrar-modal{
    position:absolute;
    top:25px;
    right:35px;
    font-size:50px;
    cursor:pointer;
    color:#111;
    z-index:10;
}

.btn-cotizar{
    display:inline-block;
    background:#243BFF;
    color:#fff;
    padding:16px 40px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    width:max-content;
}

@keyframes aparecer{
    from{
        opacity:0;
        transform:scale(.95);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:900px){

.modal-grid{
    grid-template-columns:1fr;
}

.modal-texto{
    padding:40px;
}

.modal-texto h2{
    font-size:38px;
}

.modal-texto p{
    font-size:15px;
}

.modal-imagen{
    display:none;
}

}

/* =========================
   EMPRESAS IGUAL PERSONAS
========================= */

#empresas{
    display:none;
}

/* GRID */
.grid-personas{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:40px;
}

/* TARJETAS */
.tarjeta-mini{
    background:#fff;
    border-radius:20px;
    padding:20px;
    cursor:pointer;
    transition:0.3s;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    overflow:hidden;
}

.tarjeta-mini:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.tarjeta-mini span{
    display:block;
    font-size:18px;
    font-weight:700;
    color:#0a2540;
    margin-bottom:15px;
}

.tarjeta-mini img{
    width:100%;
    max-width:140px;
    height:140px;
    object-fit:contain;
}

/* TITULO */
.titulo-personas{
    text-align:center;
    font-size:38px;
    margin-bottom:10px;
    color:#0a2540;
}

/* MODAL */
.modal-seguro{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
    padding:20px;
}

.contenido-modal{
    background:#fff;
    width:100%;
    max-width:1000px;
    border-radius:25px;
    padding:40px;
    position:relative;
    animation:modalFade .3s ease;
}

@keyframes modalFade{
    from{
        opacity:0;
        transform:scale(.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

.cerrar-modal{
    position:absolute;
    top:20px;
    right:25px;
    font-size:35px;
    cursor:pointer;
    color:#0a2540;
}

/* GRID MODAL */
.modal-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.modal-texto h2{
    font-size:40px;
    margin-bottom:20px;
    color:#0a2540;
}

.modal-texto p{
    font-size:18px;
    line-height:1.7;
    color:#444;
    margin-bottom:30px;
}

.modal-imagen{
    text-align:center;
}

.modal-imagen img{
    width:100%;
    max-width:350px;
}

/* BOTON */
.btn-cotizar{
    display:inline-block;
    background:#0a2540;
    color:#fff;
    padding:15px 30px;
    border-radius:40px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn-cotizar:hover{
    background:#133d66;
    transform:translateY(-3px);
}

/* MOBILE */
@media(max-width:768px){

.modal-grid{
    grid-template-columns:1fr;
}

.modal-texto{
    order:2;
    text-align:center;
}

.modal-imagen{
    order:1;
}

.modal-texto h2{
    font-size:30px;
}

}
/* =========================
   MODAL SEGUROS
========================= */

.modal-seguro{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    z-index:99999;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.contenido-modal{
    background:#fff;
    width:95%;
    max-width:1100px;
    border-radius:25px;
    overflow:hidden;
    position:relative;
    animation:modalZoom .3s ease;
}

@keyframes modalZoom{
    from{
        opacity:0;
        transform:scale(.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

.cerrar-modal{
    position:absolute;
    top:20px;
    right:25px;
    font-size:35px;
    cursor:pointer;
    z-index:10;
    color:#0a2540;
}

.modal-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
}

.modal-texto{
    padding:60px;
}

.modal-texto h2{
    font-size:38px;
    margin-bottom:20px;
    color:#0a2540;
}

.modal-texto p{
    font-size:18px;
    line-height:1.7;
    color:#555;
    margin-bottom:30px;
}

.modal-imagen{
    background:#f4f7fb;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.modal-imagen img{
    width:100%;
    max-width:420px;
}

.btn-cotizar{
    display:inline-block;
    background:#0a2540;
    color:#fff;
    padding:14px 30px;
    border-radius:40px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-cotizar:hover{
    background:#133b63;
}

@media(max-width:900px){

.modal-grid{
    grid-template-columns:1fr;
}

.modal-texto{
    padding:35px;
}

.modal-imagen{
    padding:20px;
}

.modal-texto h2{
    font-size:30px;
}

}

/* =========================
   SINIESTROS PREMIUM
========================= */

.siniestros-premium{
padding:100px 8%;
background:#f4f7fb;
}

.siniestros-header{
text-align:center;
margin-bottom:60px;
}

.badge-siniestros{
background:#0a2540;
color:#fff;
padding:10px 18px;
border-radius:30px;
font-size:13px;
font-weight:600;
display:inline-block;
margin-bottom:20px;
}

.siniestros-header h2{
font-size:28px;
color:#0a2540;
margin-bottom:20px;
}

.siniestros-header p{
max-width:700px;
margin:auto;
font-size:15px;
color:#555;
line-height:1.7;
}

.aviso-siniestros{
background:#fff;
border-radius:25px;
padding:40px;
display:flex;
gap:30px;
margin-bottom:50px;
box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.aviso-icono{
font-size:45px;
color:#0a2540;
}

.aviso-texto h3{
font-size:28px;
margin-bottom:20px;
color:#0a2540;
}

.aviso-texto p{
line-height:1.8;
color:#555;
margin-bottom:15px;
}

.info-general-siniestros{
margin-bottom:60px;
}

.info-general-siniestros h3{
font-size:24px;
color:#0a2540;
margin-bottom:35px;
text-align:center;
}

.info-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

.info-card{
background:#fff;
padding:30px;
border-radius:22px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.info-card i{
font-size:35px;
color:#0a2540;
margin-bottom:20px;
}

.info-card h4{
margin-bottom:15px;
color:#0a2540;
}

.info-card p{
color:#666;
line-height:1.6;
}

.titulo-companias{
text-align:center;
font-size:26px;
margin-bottom:45px;
color:#0a2540;
}

.grid-siniestros{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.card-siniestro{
background:#fff;
padding:35px;
border-radius:25px;
text-align:center;
cursor:pointer;
transition:0.3s;
box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.card-siniestro:hover{
transform:translateY(-10px);
}

.card-siniestro img{
width:140px;
height:80px;
object-fit:contain;
margin-bottom:20px;
}

.card-siniestro h4{
font-size:20px;
color:#0a2540;
}

/* MODAL */

.modal-compania{
display:none;
position:fixed;
z-index:99999;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.75);
overflow-y:auto;
padding:50px 20px;
}

.modal-contenido{
background:#fff;
max-width:900px;
margin:auto;
padding:50px;
border-radius:30px;
position:relative;
animation:fadeIn .3s ease;
}

@keyframes fadeIn{
from{
opacity:0;
transform:translateY(20px);
}
to{
opacity:1;
transform:translateY(0);
}
}

.cerrar-modal{
position:absolute;
top:20px;
right:25px;
font-size:35px;
cursor:pointer;
color:#0a2540;
}

.logo-modal{
width:180px;
display:block;
margin:auto;
margin-bottom:30px;
}

.modal-contenido h2{
text-align:center;
font-size:40px;
margin-bottom:20px;
color:#0a2540;
}

.texto-modal{
text-align:center;
font-size:18px;
color:#555;
margin-bottom:40px;
line-height:1.7;
}

.canal-box{
background:#f4f7fb;
padding:25px;
border-radius:20px;
margin-bottom:20px;
}

.canal-box h3{
color:#0a2540;
margin-bottom:12px;
}

.canal-box p,
.canal-box a,
.canal-box li{
color:#555;
line-height:1.7;
}

.canal-box a{
color:#0a2540;
font-weight:700;
text-decoration:none;
}

.canal-box ul{
padding-left:20px;
}

.btn-ayuda-siniestro{
background:#25d366;
color:#fff;
padding:16px 28px;
border-radius:40px;
display:inline-flex;
align-items:center;
gap:10px;
font-weight:700;
text-decoration:none;
margin-top:20px;
}

@media(max-width:768px){

.siniestros-header h2{
font-size:32px;
}

.aviso-siniestros{
flex-direction:column;
}

.modal-contenido{
padding:35px 25px;
}

.modal-contenido h2{
font-size:30px;
}

}
/* =========================
   COMPAÑIAS PREMIUM
========================= */

.companias-pro{
    background:#f8fafc;
    padding:80px 20px;
    text-align:center;
}

.companias-pro h2{
    font-size:26px;
    color:#0a2540;
    margin-bottom:15px;
}

.companias-pro p{
    max-width:700px;
    margin:auto;
    color:#5a6473;
    font-size:18px;
    line-height:1.7;
}

.logos-slider{
    margin-top:50px;
    overflow:hidden;
    position:relative;
}

.logos-slider::before,
.logos-slider::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
}

.logos-slider::before{
    left:0;
    background:linear-gradient(to right,#f8fafc,transparent);
}

.logos-slider::after{
    right:0;
    background:linear-gradient(to left,#f8fafc,transparent);
}

.logos-track{
    display:flex;
    align-items:center;
    gap:80px;
    width:max-content;
    animation:moverLogos 25s linear infinite;
}

.logos-track:hover{
    animation-play-state:paused;
}

.logos-track img{
    height:90px;
    width:auto;
    object-fit:contain;

    opacity:.9;
    transition:.35s ease;
}

@keyframes moverLogos{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}
.companias-badge{
    display:inline-block;
    background:#e8eef6;
    color:#0a2540;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    padding:8px 18px;
    border-radius:30px;
    margin-bottom:20px;
}
.companias-pro h2::after{
    content:"";
    display:block;
    width:90px;
    height:4px;
    background:#0a2540;
    margin:18px auto 0;
    border-radius:50px;
}
/* =========================
   REDUCIR TODA LA WEB
========================= */

html{
    font-size:85% !important;
}

h1{
    font-size:2rem !important;
}

h2{
    font-size:1.6rem !important;
}

h3{
    font-size:1.3rem !important;
}

h4{
    font-size:1.1rem !important;
}

p,
a,
span,
li,
button,
input,
textarea,
select{
    font-size:0.85rem !important;
}

/* Menú */

.menu a,
.dropbtn,
.btn-clientes-header{
    font-size:13px !important;
}

/* Tarjetas */

.tarjeta-mini span{
    font-size:16px !important;
}

/* Modales */

.modal-texto h2{
    font-size:28px !important;
}

.modal-texto p{
    font-size:14px !important;
}

/* Siniestros */

.siniestros-header h2,
.info-general-siniestros h3,
.titulo-companias{
    font-size:28px !important;
}

/* Compañías */

.companias-pro h2{
    font-size:30px !important;
}

.companias-pro p{
    font-size:14px !important;
}

/* Footer */

footer h3{
    font-size:22px !important;
}

footer p,
footer a{
    font-size:13px !important;
}
/* =========================
   ESCALA GENERAL SITIO
========================= */

body{
    zoom:0.80;
}
/* =================================
   INVESTIA EDUCA
================================= */

.educa-pro{
    width:100%;
    padding:90px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f3f6fb;
}

.educa-card{
    width:100%;
    max-width:900px;
    background:#fff;
    border-radius:30px;
    padding:70px 50px;
    text-align:center;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    border:1px solid rgba(0,0,0,.05);
}

.educa-icono{
    width:100px;
    height:100px;
    margin:0 auto 30px;

    border-radius:50%;

    background:#0a2540;

    display:flex;
    justify-content:center;
    align-items:center;
}

.educa-icono i{
    font-size:42px;
    color:#fff;
}

.educa-card h2{
    font-size:42px;
    color:#0a2540;
    margin-bottom:20px;
    font-weight:700;
}

.educa-card p{
    font-size:18px;
    color:#555;
    line-height:1.8;
    max-width:700px;
    margin:0 auto;
}

.educa-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;

    margin-top:35px;
    padding:14px 28px;

    border-radius:40px;

    background:#eef2f7;

    color:#0a2540;

    font-weight:700;
}

.educa-badge i{
    color:#0a2540;
}

.educa-texto{
    margin-top:35px;
    font-size:16px;
    color:#666;
}