/* =========================
   LEGAL PAGES PRO
========================= */

.logo {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.header{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  background:#0b3d91;
  transition:all 0.3s ease;
}

/* CUANDO HACES SCROLL */
.header.scrolled{
  background:rgba(36, 82, 192, 0.95);
  backdrop-filter:blur(8px);
  box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

/* CONTENEDOR */
.header-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
}

/* LOGO */
.logo{
  width:140px;
  height:auto;
}


/* NAV */
.nav{
  display:flex;
  align-items:center;
  gap:25px;
}

.nav a{
  text-decoration:none;
  color: white;
  font-weight:500;
  transition:0.3s;
}

.nav a:hover{
  color:#1e6ee6;
}



/* BOTÓN CTA */
.nav-cta{
  background:#1e6ee6;
  color:white !important;
  padding:10px 18px;
  border-radius:6px;
  font-weight:bold;
}

.nav-cta:hover{
  background:#4285f9;
}

/* BOTÓN TELÉFONO */
.nav-phone{
  border:2px solid #e2e3e5;
  color:#e2e3e5 !important;
  padding:10px 18px;
  border-radius:6px;
  font-weight:bold;
  transition:0.3s;
}

.nav-phone:hover{
  background:#1e6ee6;
  color:white;
}

.dropdown{
  position:relative;
}

.dropdown-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:white;
  min-width:240px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  border-radius:8px;
  overflow:hidden;
}

.dropdown-menu a{
  display:block;
  padding:14px 18px;
  color:#0a2540;
  text-decoration:none;
}

.dropdown-menu a:hover{
  background:#f4f8ff;
}
:root{
  --primary:#0b3d91;
  --primary-dark:#062a66;
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#2b2b2b;
  --muted:#6b7280;
}

/* BODY GENERAL */
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER HERO */
.page-header{
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
}

/* línea decorativa inferior */
.page-header::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:5px;
  background: rgba(255,255,255,0.15);
}

.page-header h1{
  font-size: 38px;
  margin:0;
  letter-spacing: 0.5px;
}

.page-subtitle{
  margin-top:10px;
  font-size:16px;
  opacity:0.9;
}

.breadcrumb{
  margin-top:15px;
  font-size:13px;
  opacity:0.8;
}

/* CONTENEDOR */
.legal-container{
  max-width: 980px;
  margin: auto;
  padding: 60px 20px;
}

/* TARJETAS */
.legal-container section{
  background: var(--card);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.25s ease;
  position: relative;
}

/* efecto pro hover */
.legal-container section:hover{
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.10);
}

/* TITULOS */
.legal-container h2{
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 14px;
}

/* línea azul decorativa */
.legal-container h2::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  width:4px;
  height:18px;
  background: var(--primary);
  border-radius: 2px;
}

/* TEXTO */
.legal-container p{
  font-size:15px;
  line-height:1.7;
  color: var(--text);
}

/* LISTAS */
.legal-container ul{
  padding-left: 20px;
}

.legal-container li{
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text);
}

/* CTA FINAL */
.legal-cta{
  text-align:center;
  margin-top: 40px;
}

.legal-cta a{
  display:inline-block;
  background: var(--primary);
  color:white;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration:none;
  font-weight:600;
  transition:0.25s;
  box-shadow: 0 10px 20px rgba(11,61,145,0.25);
}

.legal-cta a:hover{
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media(max-width:768px){
  .page-header h1{
    font-size:28px;
  }

  .legal-container section{
    padding:22px;
  }
}

/* =========================
   FOOTER 
========================= */
.footer{
  background:#0b3d91;
  color:white;
  margin-top:80px;
}

.footer-claim{
  font-size:14px;
  opacity:0.9;
  margin-top:10px;
}

.footer-grid{
  max-width:1200px;
  margin:auto;
  padding:60px 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:35px;
}

.footer h3{
  margin-bottom:15px;
  font-size:20px;
}

.footer p,
.footer a{
  font-size:15px;
  color:white;
  text-decoration:none;
  opacity:0.95;
  margin-bottom:8px;
  display:block;
}

.footer-links a:hover,
.meta-navigation a:hover{
  opacity:1;
  text-decoration:underline;
}

.footer-badges{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.footer-badges span{
  background:rgba(255,255,255,0.12);
  padding:8px 12px;
  border-radius:20px;
  font-size:13px;
}

.footer-main{
  max-width:1200px;
  margin:auto;
  padding:25px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  border-top:1px solid rgba(255,255,255,0.15);
}

.footer-meta{
  border-top:1px solid rgba(255,255,255,0.1);
  padding:18px 20px;
}

.meta-navigation{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  justify-content:center;
}

.meta-navigation a{
  font-size:14px;
}

.footer-copy{
  text-align:center;
  padding:20px;
  font-size:14px;
  opacity:0.8;
}
.flag-icon-inline{
  width: 16px;
  height: auto;
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
}