*{ 
  margin:0; 
  padding:0; 
  box-sizing:border-box; 
  font-family: Arial, Helvetica, sans-serif; 
}

:root{
  --blue:#2D54AC;
  --green:#779A31;
  --orange:#FF5500;
  --white:#ffffff;

  --text:#0f1a33;
  --muted: rgba(15,26,51,.68);
  --line: rgba(45,84,172,.14);

  --shadow: 0 24px 60px rgba(45,84,172,.14);
  --shadow2: 0 45px 90px rgba(45,84,172,.18);
}

body{
  background: var(--white);
  color: var(--blue);
}

.container{
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== HEADER (reusable) ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 9999;

  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45,84,172,.12);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.header.is-sticky{
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(45,84,172,.12);
  border-bottom-color: rgba(45,84,172,.16);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.logo img{ 
  height: 42px; 
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}

.nav-link{
  text-decoration:none;
  color: rgba(45,84,172,.78);
  font-weight: 800;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: .25s ease;
}

.nav-link:hover{
  color: var(--orange);
  background: rgba(45,84,172,.08);
}

.nav-link.is-active{
  color: var(--orange);
}

.nav-cta{
  margin-left: 6px;
  text-decoration:none;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(45,84,172,.20);
  transition: .25s ease;
}

.nav-cta:hover{
  transform: translateY(-2px);
  background: #24479a;
}

/* Footer reusable */
.footer{
  background: var(--white);
  border-top: 1px solid rgba(45,84,172,.12);
  padding: 26px 0;
}

.footer-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
}

.footer-left{
  display:flex;
  align-items:center;
  gap:14px;
  color: rgba(45,84,172,.70);
  font-weight:700;
}

.footer-left img{ 
  height: 42px; 
}

.footer-right{
  text-align:right;
  color: rgba(45,84,172,.70);
}

/* ================= RESPONSIVE ================= */

/* Mobile nav select - solo visible en móvil */
.mobile-nav {
  display: none; /* oculto por defecto */
}

.mobile-select {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(45,84,172,0.05);
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  appearance: none; /* quita flecha default en algunos navegadores */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232D54AC' d='M6 8.825L1.175 4 2.4 2.775 6 6.375l3.6-3.6L10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  min-width: 160px;
}

.mobile-select:focus {
  outline: 2px solid var(--orange);
}

/* Mostrar select en móvil y ocultar nav normal */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .header-inner {
    justify-content: space-between;
    align-items: center;
  }
  .mobile-select {
    margin-left: auto;
  }
}

/* Opcional: en pantallas muy pequeñas, más compacto */
@media (max-width: 480px) {
  .mobile-select {
    font-size: 0.95rem;
    padding: 8px 32px 8px 14px;
    min-width: 140px;
  }
}

/* ≈ 1200px y menos (escritorios medianos) */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  .logo img {
    height: 38px;
  }
  .nav-cta {
    padding: 10px 16px;
  }
}

/* ≈ 980px y menos (tablets / laptops pequeñas) */
@media (max-width: 980px) {
  .nav-link { 
    padding: 10px 10px; 
  }
  .nav-cta { 
    padding: 11px 14px; 
  }
  .nav-link i, 
  .nav-cta i { 
    display:none; 
  }
  .footer-wrap { 
    flex-direction: column; 
    align-items:flex-start; 
  }
  .footer-right { 
    text-align:left; 
  }
  .container {
    padding: 0 18px;
  }
  .logo img {
    height: 36px;
  }
}

/* ≈ 768px y menos (móviles grandes / tablets vertical) */
@media (max-width: 768px) {
  .header-inner {
    padding: 12px 0;
  }
  .logo img {
    height: 34px;
  }
  .nav {
    gap: 6px;
  }
  .nav-link {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
  .nav-cta {
    font-size: 0.95rem;
    padding: 10px 14px;
  }
  .footer {
    padding: 32px 0 24px;
  }
  .footer-left {
    font-size: 0.95rem;
  }
  .footer-right {
    font-size: 0.9rem;
  }
}

/* ≈ 480px y menos (móviles pequeños) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .header {
    padding: 0 16px; /* por si quieres padding lateral en header */
  }
  .header-inner {
    padding: 10px 0;
  }
  .logo img {
    height: 32px;
  }
  .nav {
    gap: 4px;
  }
  .nav-link {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .nav-cta {
    padding: 9px 12px;
    font-size: 0.9rem;
  }
  .footer {
    padding: 40px 0 28px;
  }
  .footer-left,
  .footer-right {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .footer-left img {
    height: 32px;
  }
}

/* Opcional: menú hamburguesa básico si lo necesitas más adelante */
/* (por ahora solo dejo el espacio preparado, sin JS asociado) */
@media (max-width: 768px) {
  /* .nav {
    display: none;
  }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-top: 1px solid var(--line);
  } */
  /* Aquí iría el botón hamburguesa si lo implementas */
}