* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0b111a;
  color: #fff;
}
header {
  background: #0E131B;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: none;
}
.navbar.scrolled {
  background: rgb(11, 17, 26);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-bottom: #fff 1px solid;
}
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: bold;
}
/* =========================
NAV LINKS
========================= */
.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #00cfff;
}


/* =========================
MENU HAMBURGUESA
========================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1003;
}

.menu-toggle span {
  height: 4px;
  width: 100%;
  background: #00cfff;
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.3s;
  display: block;
}

/* Animación hamburguesa activa */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
    padding: 0 16px;
  }
}

@media (max-width: 900px) {
  .container {
    flex-direction: row;
    align-items: center;
    gap: 0;
    max-width: 100vw;
    padding: 0 16px;
    height: 60px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 70vw;
    height: 100vh;
    background: rgb(11, 17, 26);
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    align-items: center;
    box-shadow: -2px 0 16px rgba(0,0,0,0.08);
    transition: right 0.3s;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li a {
    font-size: 1.3rem;
    color: #0074ff;
  }


  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .navbar {
    padding: 18px 0 0 0;
    position: fixed;
  }
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(11,17,26,0.7), rgba(11,17,26,0.7)),
    url("../img/hero-construction.jpg") no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 2rem;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 60%;
  position: relative;
  z-index: 2;
  margin-right: 30%;
}
.tag-azul {
  background: #002b40d8;
  padding: .4rem 1rem;
  border-radius: 25px;
  font-size: .9rem;
  color: #00cfff;
  border: 0.5px solid #0062ff;
}
.tag-naranja {
  background: #6f380197;
  padding: .4rem 1rem;
  border-radius: 25px;
  font-size: .9rem;
  color: #ed7803;
  border: 0.5px solid #974d03;

}
.hero h1 {
  font-size: 3rem;
  margin: 1rem 0;
}
.highlight-azul { color: #00cfff; }
.highlight-naranja { color: #f78401; }
.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #ccc;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.btn.primary {
  background: linear-gradient(to left, #0992c1, #1fe5ff);
  color: #000;
}
.btn.secondary {
  border: 2px solid #00cfff;
  color: #00cfff;
  background: transparent;
}
.btn {
  padding: .7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  opacity: .8;
}

.icon-gradient-box {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(to right, #0992c1,#f78401);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* sutil sombra */
}
.icon-gradient-box svg {
  width: 40px;
  height: 40px;
  stroke: #000000; /* color negro para el trazo */
  fill: none;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 5%;
  }

  .navbar .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar .btn {
    margin-top: 1rem;
    align-self: stretch;
    text-align: center;
  }

  .hero {
    padding: 1.5rem;
    text-align: center;
    background-position: center;
  }

  .hero-content {
    max-width: 100%;
    margin-right: 0;
    z-index: 2;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .stat h3 {
    font-size: 1.5rem;
  }

  .icon-gradient-box {
    width: 40px;
    height: 40px;
  }

  .icon-gradient-box svg {
    width: 28px;
    height: 28px;
  }

  .scroll-icon {
    font-size: 1.5rem;
    bottom: 10px;
  }
}


/* =========================
Nosotros Section
========================= */
.confianza {
  background: #0E131B;
  color: #fff;
  padding: 4rem 10%;
  position: relative;
  overflow: hidden;
}

.confianza-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.confianza-left {
  flex: 1.2;
  min-width: 320px;
}

.confianza-right {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.confianza h2 {
  font-size: 2.5rem;
  margin: 1rem auto;
}

.confianza p {
  font-size: 1.1rem;
  color: #ccc;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
  margin-top: 25%;
}

.stat-box-azul {
  position: relative;
  background: #1a1f27;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.stat-box-naranja {
  position: relative;
  background: #1a1f27;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.stat-box-azul h3 {
  font-size: 2rem;
  color: #00cfff;
  margin-bottom: .5rem;
}

.stat-box-naranja h3 {
  font-size: 2rem;
  color: #f78401;
  margin-bottom: .5rem;
}

.stat-box p {
  font-size: 1rem;
  color: #aaa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 5%;
}

.feature-box {
  position: relative;
  background: #1a1f27;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  color: #fff;
}

.feature-box:hover,
.stat-box-azul:hover,
.servicio-box:hover,
.stat-box-naranja:hover {
  transition: ease-in-out 0.5s;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.feature-box p {
  font-size: 1rem;
  color: #ccc;
}

.stat-box-azul,
.stat-box-naranja {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

@media (max-width: 900px) {
  .confianza-content {
    flex-direction: column;
    gap: 2rem;
  }
  .confianza-left, .confianza-right {
    min-width: 0;
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr; /* Una sola columna */
    gap: 1rem;
    margin-top: 10%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr); /* Mantiene dos columnas */
    gap: 1rem;
    margin-top: 5%;
  }
}

/* Animación lateral para aparición */
.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.77,0,.18,1);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.77,0,.18,1);
}
.in-view {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Aplica las clases a los boxs */
.feature-box,
.servicio-box {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s, transform 0.8s;
}
.stat-box-azul,
.stat-box-naranja {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s, transform 0.8s;
}

.icon-container {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a2a4d, #3b2a1e);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5%;
}

.shield {
  width: 40px;
  height: 40px;
  stroke: #00bfff;
  stroke-width: 6;
  fill: none;
}


/* =========================
Servicios Section
========================= */
.servicios {
  background: #0E131B;
  color: #fff;
  padding: 10%;
  position: relative;
  overflow: hidden;
}

.servicios-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.servicios-content h2 {
  font-size: 2.5rem;
  margin: 1rem auto;
}

.servicios-content p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.servicio-box {
  position: relative;
  background: #1a1f27;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 0 16px rgba(0,0,0,0.18);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  align-items: flex-start;
}

.servicio-box h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: .5rem;
}

.servicio-box p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: .5rem;
}

.servicio-box ul {
  margin: 0 0 .5rem 1.2rem;
  padding: 0;
  color: #00cfff;
  font-size: .98rem;
}

.servicio-box ul li {
  margin-bottom: .2rem;
}

@media (max-width: 1100px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 800px) {
  .servicios {
    padding: 6rem 3%;
  }
  .servicios-content h2 {
    font-size: 2rem;
  }
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .servicio-box {
    padding: 1.2rem;
    margin: 0 1.5rem;
  }
}

.cta-proyecto {
  position: relative;
  background: #181e28;
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(0,0,0,0.13);
  padding: 2.2rem 1.5rem 2.5rem 1.5rem;
  margin: 3rem auto 0 auto;
  max-width: 700px;
  text-align: center;
  border: 1px solid #232a36;
}

.cta-proyecto h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: .7rem;
}

.cta-proyecto p {
  color: #c7d0e0;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
}

@media (max-width: 800px) {
  .cta-proyecto {
    margin: 2rem 1.5rem 0 1.5rem;
    padding: 1.5rem 1rem 2rem 1rem;
  }
}



/* =========================
   CONTACTO SECTION
========================= */
.contacto {
  background: #0E131B;
  padding: 2% 0 5%;
  position: relative;
  overflow: hidden;
}

.contacto h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
}

.contacto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* --- FORMULARIO IZQUIERDA --- */
.formulario-contacto {
  position: relative;
  flex: 1 1 500px;
  background-color: #1a1f27;
  padding: 3%;
  border-radius: 3%;
}

.formulario-contacto h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  color: #fff;

}

.formulario-contacto form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.formulario-contacto input,
.formulario-contacto select,
.formulario-contacto textarea {
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid #232a36;
  border-radius: 12px;
  background: #181e28;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.formulario-contacto textarea {
  resize: vertical;
}

.registro-link {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #ccc;
}

.registro-link a {
  color: #00cfff;
  text-decoration: none;
  font-weight: 500;
}

.primary {
  background: linear-gradient(to left, #0992c1, #1fe5ff);
  color: #000;
  box-shadow: 0 4px 12px rgba(9, 146, 193, 0.3);
}
.secondary {
  border: 2px solid #00cfff;
  color: #00cfff;
  background: transparent;
}
.btn-contacto {
  padding: .7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-contacto:hover {
  scale: 1.01;
}

/* --- CAJAS DERECHA --- */
.contacto-cajas {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.caja-contacto,
.caja-horario {
  background: #1a1f27;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.caja-contacto h3,
.caja-horario h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #fff;
  margin-top: 0%;
}

.caja-contacto ul,
.caja-horario ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caja-contacto li,
.caja-horario li {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .contacto-container {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 5%;
  }

  .formulario-contacto h2 {
    font-size: 2rem;
  }

  .contacto-cajas {
    flex-direction: column;
  }

  .caja-contacto,
  .caja-horario {
    width: 100%;
    padding: 24px;
  }

  .caja-contacto h3,
  .caja-horario h3 {
    font-size: 2rem;
  }

  .caja-contacto li,
  .caja-horario li {
    font-size: 1rem;
  }
}


.gradient-circle {
  position: absolute;
  top: 65%;
  left: 80%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9, 146, 193, 0.4), rgba(201, 108, 21, 0.4));
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.gradient-circle2 {
  position: absolute;
  top: 35%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9, 146, 193, 0.4), rgba(201, 108, 21, 0.4));
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.gradient-circle3 {
  position: absolute;
  top: 80%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9, 146, 193, 0.4), rgba(201, 108, 21, 0.4));
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.gradient-circle4 {
  position: absolute;
  top: -55px;
  right: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9,146,193,0.4), rgba(201,108,21,0.4));
  opacity: 0.5;
  pointer-events: none;
}

.gradient-circle5 {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9,146,193,0.4), rgba(201,108,21,0.4));
  opacity: 0.5;
  pointer-events: none;
}

.gradient-circle6 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9,146,193,0.4), rgba(201,108,21,0.4));
  opacity: 0.5;
  pointer-events: none;
}

.gradient-circle7 {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9,146,193,0.4), rgba(201,108,21,0.4));
  opacity: 0.5;
  pointer-events: none;
}

.gradient-circle8 {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9,146,193,0.4), rgba(201,108,21,0.4));
  opacity: 0.5;
  pointer-events: none;
}

.gradient-circle9 {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(9,146,193,0.4), rgba(201,108,21,0.4));
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 768px) {
  .gradient-circle {
  width: 150px;
  height: 150px;
}

.gradient-circle2 {
  width: 100px;
  height: 100px;
}

.gradient-circle4 {
  width: 90px;
  height: 90px;
}

.gradient-circle5 {
  bottom: -30px;
  left: -60px;
}

.gradient-circle6 {
  top: -65px;
  right: -60px;
}

.gradient-circle7 {
  width: 100px;
  height: 100px;
}

.gradient-circle8 {
  top: -80px;
  left: -60px;
}

.gradient-circle9 {
  bottom: -90px;
  right: -40px;
}
}


/* =========================
   FOOTER SECTION
========================= */
.footer {
  background: #000;
  padding: 20px 24px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #f0f0f0;
}

/* --- Footer Bottom --- */
.footer-bottom {  
  text-align: center;
  color: #fff;
}
