:root {
  --azul-1: #0A1F6E;
  --azul-2: #1A4DC2;
  --azul-3: #2E6FE8;
  --azul-4: #5B9BF5;
  --azul-5: #C8DEFF;
  --azul-6: #C3D7E8;
  --verde-neon: #F5C518; /*#FF6B00,  #F5C518*/
  --verde-neon-d:#FF6B00;
  --verde-2: #daffda;
  --rojo: #C8001E;
  --rojo-2: #B60015;
  --rojo-3: #980012;
  --rojo-neon: #FF0000;
  --blanco: #FFFFFF;
  --gris-fondo: #F0F4FF;
  --gris-borde: #D0DCFF;
  --gris-texto: #000000;
  --negro-footer: #060C1A;
  --negro: #000000;

  --fuente-1: 'Barlow Condensed',sans-serif;
}

  *, *::before, *::after { 
  margin:0; 
  padding:0; 
  box-sizing:border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--blanco);
  color: var(--azul-1);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/*
background: linear-gradient(90deg, #030d3a 0%, #0a2080 50%, #1a4dc2 100%);
background: linear-gradient(90deg, #050f4a 0%, #0d2fa8 40%, #2355e8 70%, #4a7fff 100%);
background: linear-gradient(90deg, #020b2e 0%, #0a1f6e 30%, #1540b8 60%, #2e6fe8 100%);

/* topbar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 901;
  height: 36px;
  background: linear-gradient(90deg, #0a50ff 0%, #2462fd 40%, #759efd 70%, #dfe5fc 100%);
  /*   background: linear-gradient(90deg, var(--azul-3) 0%, var(--azul-4) 50%, #acc4ff 100%); */
  border-bottom: 1px solid #ffffff1a;
  display: flex;
  align-items: center;
}

.topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--fuente-1);
  font-size: 13px;
  letter-spacing: 1px;
  color: #ffffffcc;
  text-decoration: none;
  transition: color .2s;
    color: var(--verde-neon)
}

.topbar-item:hover { 
  color: var(--rojo-neon); 
}

.topbar-sep {
  width: 1px; height: 16px;
  background: #ffffff33;
}

/*header*/
header {
  position: fixed;
  margin-top: 36px;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: linear-gradient(90deg, #0a50ff 0%, #2462fd 40%, #759efd 70%, #dfe5fc 100%);
  /*background: linear-gradient(90deg, var(--azul-1) 0%, var(--azul-2) 50%, var(--azul-3) 100%);*/
}

.nav-inner {
    max-width: 1320px;
    margin: auto;
    padding: 0 48px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: -30px;
}

.logo-img {
  height: 82px;
  width: auto;
}

.nav-links {
  margin-top:15px;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: var(--fuente-1);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffffb8;
  text-decoration: none;
  padding: 10px 18px 8px;
  position: relative;
  transition: color .2s, border-color .2s;
  border-bottom: 3px solid transparent;
}

.nav-links a::after {
  display: none;
}

.nav-links a:hover {
  color: var(--blanco);
  border-bottom-color: var(--rojo-neon);
}


.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--blanco);
  font-weight: 700;
  border-bottom-color: var(--rojo-neon);
}

.nav-links a.active::after { 
  transform: scaleX(1);
}

.nav-cta {
  background: var(--verde-neon);
  color: var(--azul-1);
  padding: 13px 30px;
  font-family: var(--fuente-1);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--verde-neon-d);
  transform: translateY(-1px);
}

/* 
background: linear-gradient(90deg, #030d3a 0%, #0a2080 50%, #1a4dc2 100%);
background: linear-gradient(90deg, #050f4a 0%, #0d2fa8 40%, #2355e8 70%, #4a7fff 100%);
background: linear-gradient(90deg, #020b2e 0%, #0a1f6e 30%, #1540b8 60%, #2e6fe8 100%);

background: linear-gradient(180deg, #020b2e 0%, #0a1f6e 40%, #1540b8 80%, #2e6fe8 100%);
*/

/* footer */ 
footer {
  margin-top: auto;
  /*background: linear-gradient(180deg, var(--negro-footer) 0%, #162453 100%);
  /*  background: linear-gradient(180deg,#13204b 0%, #253979 100%);*/
  /* background: linear-gradient(180deg, #315aff, #5b81ff, #769efa,#9ebbff); */
  background: linear-gradient(180deg, #2752ff 0%, #4970fd 30%, #6890ff 60%, #93b9ff 100%);
  
  border-top: 3px solid transparent;
}

.footer-brand {
margin-top: -20px;
}

.footer-top {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 48px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo .logo-img { 
  height: 140px; 
}

.footer-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: #4a5580;
  max-width: 280px;
  margin-bottom: 28px;
}

.footer-social { 
  display: flex; 
  gap: 10px; 
}

.social-icon {
  margin-left: 25%;
  width: 54px; height: 54px;
  border: 1px solid #ffffff;
  display: flex; align-items: center; justify-content: center;
  color: #ececec;
}

.social-icon:hover {
  border-color: var(--verde-neon);
  color: var(--verde-neon);
}

.footer-col h4 {
  font-family: var(--fuente-1);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde-neon);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(245,197,24,0.3);
}

.footer-col ul { 
  list-style: none; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.footer-col ul li a {
  font-size: 16px;
  color: #ececec;
  text-decoration: none;
  transition: color .2s, padding-left .2s;
  display: block;
  padding: 3px 0;
}

.footer-col ul li a:hover { 
  color: var(--blanco); 
  padding-left: 6px; 
}

.footer-contact-item { 
  display: flex; 
  align-items: flex-start; 
  gap: 10px; 
  margin-bottom: 14px; 
}

.footer-contact-item svg { 
  color: #ececec; 
  flex-shrink: 0; 
  margin-top: 2px; 
}

.footer-contact-item span { 
  font-size: 16px; 
  color: #ececec; 
  line-height: 1.5; 
}

.footer-contact-item a { 
  font-size: 16px; 
  color: #ececec; 
  line-height: 1.5; 
  text-decoration: none; 
}

.footer-contact-item a:hover { 
  color: var(--blanco); 
}

.footer-bottom { 
  border-top: 1px solid #ffffff73; 
}

.footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 20px;
}

.footer-copy { 
  font-size: 13px; 
  color: #ffffff;
  letter-spacing: 1px; 
}

.footer-cert {
  display: flex; 
  align-items: center; 
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px; 
  text-transform: uppercase;
  color: #ffffff;
}

.footer-cert-dot {
  width: 6px; height: 6px;
  background: var(--verde-neon);
  transform: rotate(45deg);
  opacity: .5;
}

.footer-legal { 
  display: flex; 
  gap: 24px; 
}

.footer-legal a {
  font-size: 13px; 
  letter-spacing: 1px;
  color: #ffffff; 
  text-decoration: none; 
  transition: color .2s;
}

.footer-legal a:hover { 
  color: var(--rojo-neon); 
}

.footer-credit {
  margin: 0;
  padding: 0 48px 12px;
  font-size: 5px;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.26);
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-credit a:hover {
  color: rgba(255, 255, 255, 0.582);
}

.PopUP {
  cursor: pointer;
}

.modal-body {
  text-align: center;
  font-size: 18px;
  color: var(--negro-footer);
  padding: 40px 20px;
  text-justify: auto;
}

.btn-tercero,
.btn.btn-tercero,
button.btn-tercero {
  background-color: #ff0000 !important;
  color: #fff !important;
}


/* traducir */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-tooltip {
  display: none !important;
}
.goog-tooltip:hover {
  display: none !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  border: none !important; 
  box-shadow: none !important;
}

.goog-logo-link {
  display: none !important;
}
.goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}

.translate-wrap { 
  position: relative; 
  flex-shrink: 0; 
}

.translate-btn {
  display: flex; 
  align-items: center; 
  gap: 6px;
  background: transparent;
  border: 1px solid #ffffff4d;
  color: #ffffffd9;
  font-family: var(--fuente-1);
  font-size: 16px; 
  font-weight: 700;
  text-transform: uppercase;
  padding: 7px 12px; 
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.translate-btn:hover { 
  border-color: var(--verde-neon);
  color: var(--verde-neon); 
}

.translate-dropdown {
  display: none; 
  position: absolute;
  top: calc(100% + 8px); 
  right: 0;
  background: #5581F0;
  border: 1px solid #ffffff26;
  border-top: 2px solid var(--verde-neon);
  padding: 8px; 
  min-width: 180px;
  z-index: 9999;
  box-shadow: 0 8px 24px #00000066;
}

.translate-dropdown.open { 
  display: block; 
}


.goog-te-combo {
  width: 100%; 
  background: var(#00a2ff); 
  color: #fff !important;
  border: 1px solid #ffffff33;
  padding: 8px 10px; 
  font-family: var(--fuente-1);
  font-size: 14px; 
  cursor: pointer; 
  outline: none;
  margin: 0 !important;
}

.goog-te-combo:focus { 
  border-color: var(--verde-neon); 
}

.footer-lema {
  font-size: 14px;
  font-weight: 300;
  color: #ffffff99;
  line-height: 1.7;
  max-width: 300px;
  margin: 12px 0 24px;
}

.footer-col ul li {
  border-bottom: 1px solid #ffffff0f;
  padding-bottom: 6px;
}

.footer-col ul li:last-child {
  border-bottom: none;
}

.footer-bottom-inner {
  padding: 24px 48px;
}

.footer-col ul li a::before {
  content: '›';
  margin-right: 6px;
  color: var(--verde-neon);
  opacity: 0;
  transition: opacity .2s, margin-right .2s;
}

.footer-col ul li a:hover::before {
  opacity: 1;
  margin-right: 8px;
}

#btnVolverArriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: linear-gradient(90deg, var(--azul-2, #1c7fff), var(--azul-3, #0056b3));
  color: #ffffff;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  /* Oculto por defecto usando opacidad para poder animarlo */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, background 0.3s ease;
}

#btnVolverArriba:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  /* Efecto hover con el verde neón de tu paleta */
  background: var(--verde-neon, #00ff00);
  color: var(--azul-1, #000);
}

/* Clase que se añade con JavaScript cuando se hace scroll */
#btnVolverArriba.mostrar {
  opacity: 1;
  visibility: visible;
}

/* Ajuste para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  #btnVolverArriba {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
