body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: #fff;
  background: #fff;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  background: linear-gradient(90deg, #001f3f, #003366, #004080);
  background-size: 300% 300%;
  animation: navbarGradient 10s ease infinite;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@keyframes navbarGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.navbar.scrolled {
  background: linear-gradient(90deg, #001933, #003366);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.logo img {
  height: 55px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: #38a1ff;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #38a1ff;
  text-shadow: 0 0 10px rgba(56,161,255,0.6);
}

#lang-select {
  background: #001830;  
  color: #ffffff;
  border: 1px solid #3b6ea5;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
}

#lang-select option {
  background: #001830;
  color: white;
}


.nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  background: transparent;
  border: none;
  transition: transform 0.3s ease;
}

.nav-toggle:hover {
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .navbar {
    padding: 15px 20px;
  }
}

footer {
  background: #001f3f;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  z-index: 9999;
}

.whatsapp-float:hover {
  background: #1ebc57;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 78vh;
  }
  .navbar {
    padding: 15px 20px;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-content p {
    font-size: 1.3rem;
  }
  .vision-card {
    width: 90%;
  }
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav-links,
  #lang-select {
    display: none;
  }

  .nav-toggle {
    display: block;
    font-size: 1.9rem;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
    transition: transform 0.3s ease;
  }

  .nav-toggle:hover {
    transform: scale(1.2);
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 900;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: linear-gradient(180deg, #001f3f, #003366, #004080);
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 25px;
    transition: right 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background-size: 200% 200%;
    animation: menuGradient 12s ease infinite;
  }

  .mobile-menu.open {
    right: 0;
  }

  @keyframes menuGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  .mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
  }

  .mobile-menu-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .mobile-menu-header button:hover {
    transform: rotate(90deg);
  }

  .mobile-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
  }

  .mobile-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-links a:hover {
    color: #38a1ff;
    text-shadow: 0 0 8px rgba(56,161,255,0.7);
    transform: translateX(6px);
  }
}

html, body {
  overflow-x: hidden;
}

@media (min-width: 901px) {
  .mobile-menu,
  .menu-overlay {
    display: none !important;
  }
}

:root{
  --azul:#001f3f;
  --azul-2:#0b3ea9;
  --bg-osc:#0b1220;
  --card:#ffffff;
  --borde:#dbe5f6;
}

.c-hero{
  position:relative;
  min-height:46vh;
  display:grid;
  place-items:center;
  text-align:center;
  isolation:isolate;
  overflow:hidden;
  background:#001f3f;
}
.c-hero__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(0,31,63,.45), transparent 55%),
    linear-gradient(120deg,#001f3f 0%,#0b3ea9 38%,#1e68ff 100%);
  filter:contrast(1.05) brightness(.95);
}
.c-hero__shapes::before,
.c-hero__shapes::after{
  content:"";position:absolute;border-radius:50%;filter:blur(38px);opacity:.35;animation:float 12s ease-in-out infinite alternate;
}
.c-hero__shapes::before{width:240px;height:240px;left:8%;top:22%;background:#7fb0ff}
.c-hero__shapes::after{width:200px;height:200px;right:10%;top:18%;background:#a6d0ff;animation-duration:14s}
@keyframes float{to{transform:translateY(24px) translateX(14px)}}

.c-hero__content h1{font-size:3rem;margin:0 0 6px}
.c-hero__content p{margin:0 0 14px;color:#eaf4ff}
.c-hero__chips{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.chip{background:#ffffff1a;border:1px solid #90b8ff4d;color:#fff;text-decoration:none;padding:8px 14px;border-radius:999px;font-weight:800}
.chip:hover{background:#ffffff2b}
.wave-down{display:block;width:100%;height:120px}

.c-center{
    padding:36px 18px;
    background:#0b1220;
}
.c-center__grid{
    display: flex;
  justify-content: center;
  width: 100%;
}

.card{
 width: 90%;
  max-width: 900px; 
  padding: 40px 35px;
  background: rgba(255,255,255,0.12);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  
}
.card.show{
    transform:none;
    opacity:1
}
.glass{
    background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.95));
    backdrop-filter:blur(8px)
}
.tilt{
    transform:perspective(800px) rotateX(.8deg) rotateY(-.6deg)
}

.card h2{
    margin:0 0 10px;
    color:var(--azul)
}
.info{
    list-style:none;
    padding:0;
    margin:0 0 14px
}
.info li{
    margin:10px 0;
    color:#233248
}
.info a{
    color:var(--azul-2);
    text-decoration:none;
    border-bottom:1px dotted #a3bdf7
}
.info a:hover{
    color:var(--azul)
}

.cta-inline{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:6px 0 10px
}
.btn,.btn-outline{
    display:inline-block;
    padding:10px 16px;
    border-radius:12px;
    font-weight:800;
    text-decoration:none
}
.btn{
    background:var(--azul-2);
    color:#fff;
    box-shadow:0 12px 26px rgba(11,62,169,.25)
}
.btn:hover{
    background:#0a2f82
}
.btn-outline{
    border:2px solid var(--azul-2);
    color:var(--azul-2)
}
.btn-outline:hover{
    background:var(--azul-2);
    color:#fff
}

.social{
    display:flex;
    gap:10px}
.s{
    width:40px;
    height:40px;
    border-radius:12px;
    display:grid;
    place-items:center;
    text-decoration:none;
    font-weight:900
}
.s.fb{
    background:#e7f0ff;
    color:#0b3ea9
}
.s.ig{
    background:#f7eefb;
    color:#cc2ea6
}
.s.wa{
    background:#e8fbef;
    color:#1fae5b
}

.c-form{
    display:grid;
    gap:12px
}

.g2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
}
.c-form input,.c-form textarea{
  border:1px solid #d9e4f8;
  border-radius:12px;
  padding:11px 12px;
  background:#f7faff;
  color:#102235;
  outline:none
}
.c-form input:focus,.c-form textarea:focus{
    border-color:#7aa6ff;
    box-shadow:0 0 0 3px #7aa6ff33
}

.c-bottom {
    position: relative;
    padding-top: 180px;    
    padding-bottom: 110px;
    display: flex;
    justify-content: center;
    background: #0b1220;    
    overflow: hidden;
}

.c-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("img/asfalto-textura.jpg") center/cover no-repeat;
    opacity: 0.40;              
    z-index: 0;
}

.c-bottom::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 63, 0.55); 
    z-index: 1;
}

.wave-up {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}


.c-bottom__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.c-bottom__content .brand {
  width: 120px;                
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}


.c-bottom__content .brand-text h3 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
}

.c-bottom__content .brand-text p {
  margin: 5px 0 15px;
  font-size: 1rem;
  opacity: 0.9;
}


.chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  background: #001f3f;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.chip:hover {
  background: #003a7a;
  transform: translateY(-2px);
}



@media (max-width:1100px){
  .c-center__grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  .c-hero__content h1{font-size:2.2rem}
  .g2{grid-template-columns:1fr}
}

:root{
  --azul:#001f3f;
  --azul2:#0b3ea9;
  --bg-osc:#0b1220;
  --blanco:#ffffff;
}

.contact-hero{
  position:relative; 
  isolation:isolate; 
  overflow:hidden;
  background: url('img/fondo-contacto.jpg') center/cover no-repeat;;
  min-height: 44vh; 
  display:grid; 
  place-items:center; 
  text-align:center;
}

.contact-hero::after{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0, 44, 112, 0.55); 
    z-index:1;
    pointer-events:none; 
}
.contact-hero .hero-bg{
  position:absolute; 
  inset:0;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(700px 360px at 85% 10%, rgba(255,255,255,.10), transparent 65%);
  filter: contrast(1.05) brightness(.98);
}
.contact-hero .hero-wave{
   position:absolute;
  left:0; right:0; bottom:-1px; height:110px;
  z-index: 2;    
}
.contact-hero .hero-wave svg{ 
    width:100%; 
    height:100% 
}

.hero-content{ 
    position:relative; 
    z-index:2; 
    color:#fff; 
    padding: 18px 
}
.hero-content h1{ 
    font-size: clamp(2rem, 3.4vw, 3rem); 
    margin: 0 0 6px 
}
.hero-content p{ 
    margin:0 0 14px; 
    color:#eaf4ff 
}
.hero-chips{ 
    display:flex; 
    gap:10px; 
    justify-content:center; 
    flex-wrap:wrap 
}
.chip{
  background:#ffffff1a; 
  color:#fff; 
  text-decoration:none; 
  font-weight:800;
  border:1px solid #90b8ff4d; 
  padding:8px 14px; 
  border-radius:999px;
  transition: .25s ease;
}
.chip:hover{ 
    background:#ffffff2b; 
    transform: translateY(-1px) 
}

.quick-grid{
  background: #fff;
  display:grid; 
  grid-template-columns: repeat(4,1fr);
  gap:18px; 
  max-width: 1200px; 
  margin: 40px auto 40px; 
  padding: 0 18px;
  transform: translateY(24px); 
  opacity:0; 
  transition: .6s ease;
}
.quick-grid.show{ 
    transform: none; 
    opacity: 1; }

.quick-card{
  position:relative; 
  isolation:isolate;
  background: #0f1a30;
  border:1px solid #1a2b54;
  border-radius: 18px; color:#eaf2ff; text-decoration:none;
  padding: 16px 16px 18px;
  box-shadow: 0 16px 40px rgba(0,31,63,.25);
  overflow:hidden; transition: transform .25s ease, box-shadow .25s ease;
  
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quick-card::before{
  content:""; 
  position:absolute; inset:0;
  background: radial-gradient(260px 160px at 20% -10%, rgba(144,184,255,.18), transparent 60%);
  opacity:.9; pointer-events:none;
  text-align: center;
  align-items: center;
}
.quick-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,31,63,.35);
}

.q-icon{
  width:50px; 
  height:50px; 
  border-radius:14px;
  
  font-size:24px; 
  font-weight:900;
  background:#163668; 
  color:#fff; 
  margin-bottom:10px;
  box-shadow: inset 0 0 0 1px #2a4f92, 0 8px 28px rgba(0,0,0,.25);
  transition: transform .25s ease;
  display: grid !important;
  place-items: center !important;
  
}
.quick-card:hover .q-icon{ 
    transform: scale(1.06) 
}

.quick-card h3{ 
    margin:0 0 6px; 
    font-size:1.05rem; 
    color:#ffffff 
}
.quick-card p{ 
    margin:0 0 10px; 
    color:#cfe2ff 
}
.quick-card .cta{ 
    font-weight:800; 
    color:#7fb0ff 
}
.quick-card.call .q-icon{ background:#1c3f78 }
.quick-card.mail .q-icon{ background:#21488a }
.quick-card.wa   .q-icon{ background:#1f6d41 }
.quick-card.fb   .q-icon{ background:#1a3a80 }

@media (max-width: 1024px){
  .quick-grid{ grid-template-columns: repeat(2,1fr) }
}
@media (max-width: 560px){
  .quick-grid{ grid-template-columns: 1fr }
  .contact-hero{ min-height: 42vh }
  .hero-content h1{ font-size: 2.2rem }
}

.social {
    margin-top: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e7eef7;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.s {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    text-decoration: none;

    transition: all 0.3s ease;
}

.s:hover {
    background: rgba(56,161,255,0.15);
    color: #38a1ff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 18px rgba(56,161,255,0.35);
}

.s svg {
    fill: currentColor;
}

.c-bottom {
    padding-bottom: 90px !important;
}

.whatsapp-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

