:root {
  --azul: #0b3d91;
  --azul-mid:    #1F5AA6;
  --teal: #3ecfcf;
  --teal-light: #6adce8;
  --verde:       #3B6D11;
  --blanco:      #ffffff;
  --fondo:       #f4f6fb;
  --fondo-card:  #ffffff;
  --texto: #1a1a2e;
  --texto-sub:   #555e6e;
  --texto-hint:  #9aa3b0;
  --borde:       rgba(0,0,0,0.08);
  --radio-sm:    8px;
  --radio: 12px;
  --radio-lg:    20px;
  --sombra:      0 4px 24px rgba(11,61,145,0.12);
  --sombra-hover: 0 12px 40px rgba(11,61,145,0.22);
  --oro: #ffd700;
  --azul-dark: #092b6b;
  --rojo: #c70707;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--fondo);
  color: var(--texto);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.header {
  position: relative;
  top: 0;
  z-index: 1000;
  background: var(--azul);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 20px rgba(11, 61, 145, 0.2);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(11, 61, 145, 0.4);
  background: var(--azul-dark);
}

.header-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, 
    #1a56db 0%, 
    #3b82f6 25%, 
    #60a5fa 50%,
    #3b82f6 75%,
    #1a56db 100%
  );
  background-size: 200% auto;
  animation: slideShine 4s linear infinite;
  opacity: 0.9;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

@keyframes slideShine {
0% {
  background-position: 0% center;
}

100% {
  background-position: 200% center;
}
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: relative;
}

.logo {
  flex-shrink: 0;
  width: 200px;
}

.logo img {
  width: 200px;
  transition: opacity 0.2s;
}

.logo img:hover {
  opacity: 0.88;
}

.navbar {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-44%);
  width: auto;
  pointer-events: none;
}

.navbar .menu {
  pointer-events: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.menu > li > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu > li > a:hover::after {
  width: 60%;
}

.menu > li > a.active {
  color: #fff;
  background: transparent;
}

.menu > li > a.active::after {
  width: 70%;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

.menu > li > a.nav-cta {
  background: rgba(199, 7, 7, 0.15);
  border: 1.5px solid rgba(199, 7, 7, 0.4);
  color: #ff8a8a;
  padding: 12px 22px;
  border-radius: 25px;
  letter-spacing: 0.05em;
}

.menu > li > a.nav-cta::after {
  display: none;
}

.menu > li > a.nav-cta:hover {
  background: var(--rojo);
  border-color: var(--rojo);
  color: #fff;
  box-shadow: 0 4px 20px rgba(199, 7, 7, 0.4);
  transform: translateY(-2px);
}

.nav-icon-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  padding: 4px;
  width: 64px;
  height: 64px;
}

.nav-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.nav-icon-link:hover .nav-icon-img {
  transform: scale(1.1);
}

.nav-icon-link:active .nav-icon-img {
  transform: scale(0.95);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: all 0.28s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 1100px) {
.header-inner {
  padding: 0 30px;
  gap: 15px;
}

.menu > li > a {
  padding: 14px 16px;
  font-size: 0.72rem;
}

.logo {
  width: 170px;
}

.logo img {
  width: 170px;
}

.nav-icon-link {
  width: 56px;
  height: 56px;
}

.nav-icon-img {
  width: 48px;
  height: 48px;
}
}

@media (max-width: 992px) {
.navbar {
  position: static;
  transform: none;
  pointer-events: auto;
  display: none;
}

.navbar.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--azul-dark);
  padding: 20px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: flex;
}

.menu {
  flex-direction: column;
  gap: 6px;
}

.menu > li > a {
  justify-content: center;
  width: 100%;
  font-size: 0.85rem;
  padding: 14px 20px;
}

.menu > li > a::after {
  display: none;
}

.menu > li > a.nav-cta {
  padding: 14px 28px;
  width: auto;
  margin-top: 6px;
}

.nav-icon-link {
  width: 50px;
  height: 50px;
}

.nav-icon-img {
  width: 44px;
  height: 44px;
}
}

@media (max-width: 768px) {
.header-inner {
  height: 80px;
  padding: 0 20px;
  gap: 12px;
}

.logo {
  width: 150px;
}

.logo img {
  width: 150px;
}

.nav-icon-link {
  width: 44px;
  height: 44px;
}

.nav-icon-img {
  width: 40px;
  height: 40px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
}
}

@media (max-width: 480px) {
.header-inner {
  height: 70px;
  padding: 0 15px;
  gap: 10px;
}

.logo {
  width: 120px;
}

.logo img {
  width: 120px;
}

.nav-icon-link {
  width: 40px;
  height: 40px;
}

.nav-icon-img {
  width: 36px;
  height: 36px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
}
}

@media (max-width: 1100px) {
.header-inner {
  padding: 0 30px;
  gap: 15px;
}

.menu > li > a {
  padding: 14px 16px;
  font-size: 0.72rem;
}

.logo img {
  width: 170px;
}

.nav-icon-img {
  width: 48px;
  height: 48px;
}
}

@media (max-width: 992px) {
.nav-toggle {
  display: flex;
}

.navbar {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--azul-dark);
  padding: 20px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.active {
  display: block;
}

.menu {
  flex-direction: column;
  gap: 6px;
}

.menu > li > a {
  justify-content: center;
  width: 100%;
  font-size: 0.85rem;
  padding: 14px 20px;
}

.menu > li > a::after {
  display: none;
}

.menu > li > a.nav-cta {
  padding: 14px 28px;
  width: auto;
  margin-top: 6px;
}

.nav-icon-img {
  width: 44px;
  height: 44px;
}
}

@media (max-width: 768px) {
.header-inner {
  height: 80px;
  padding: 0 20px;
  gap: 12px;
}

.logo img {
  width: 150px;
}

.nav-icon-img {
  width: 40px;
  height: 40px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
}
}

@media (max-width: 480px) {
.header-inner {
  height: 70px;
  padding: 0 15px;
  gap: 10px;
}

.logo img {
  width: 120px;
}

.nav-icon-img {
  width: 36px;
  height: 36px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
}
}

.footer {
  background: linear-gradient(160deg, #0B3D91 0%, #062a66 100%);
  color: #fff;
  padding: 4rem 28px 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: rgba(90,200,232,0.1);
  filter: blur(70px);
  border-radius: 50%;
  pointer-events: none;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.footer-logo-link:hover {
  transform: scale(1.02);
}

.footer-logo-link img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.footer-brand h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
  line-height: 1.65;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 1.2rem;
}

.social-icons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: all 0.22s;
}

.social-icons a:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.87rem;
  transition: color 0.2s;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--teal-light);
  transition: width 0.25s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-badge {
  background: rgba(90,200,232,0.15);
  border: 1px solid rgba(90,200,232,0.3);
  color: var(--teal-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 7px 15px;
  border-radius: 20px;
  display: inline-block;
  transition: all 0.3s ease;
  line-height: 1;
}

@media (max-width: 900px) {
.footer-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand p {
  max-width: 100%;
}

.footer-logo-link img {
  max-width: 150px;
}
}

@media (max-width: 768px) {
.footer {
  padding: 3rem 20px 1.5rem;
}

.footer-logo-link img {
  max-width: 130px;
}

.footer-bottom {
  flex-direction: column;
  text-align: center;
}
}

.footer-badge:hover {
  transform: scale(1.05);
  background: rgba(90,200,232,0.25);
  border-color: var(--teal-light);
}

.footer-badge-img {
  max-height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}