/* =========================
   RESET & BASE
========================= */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #eaf3ff 0%, #fff6e9 100%);
  min-height: 100vh;
  color: #222;
}

/* =========================
   NAVBAR
========================= */
.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: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  padding: 0 24px;
}

.logo {
  color: #0074ff;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
}

.logo span {
  color: #1a1a1a;
  font-weight: 400;
}

/* =========================
   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: #222;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #0074ff;
}


/* =========================
   BUTTONS
========================= */
.btn {
  background: #0074ff;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 30px;
  box-shadow: 0 4px 16px rgba(0, 116, 255, 0.08);
  transition: background 0.2s;
  cursor: pointer;
}

.btn-small {
  padding: 10px 28px;
  font-size: 1rem;
}

.login-btn {
  background: #0074ff;
  color: #fff;
  border-radius: 16px;
  padding: 8px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 116, 255, 0.08);
  margin-left: 0;
}

/* =========================
   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: #0074ff;
  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);
}

/* =========================
   HERO SECTION
========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
}

.hero-content {
  text-align: center;
  margin-top: 80px;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero .blue {
  color: #257cff;
}

.hero .orange {
  color: #ffa53b;
}

.hero p {
  color: #7a859c;
  font-size: 1.7rem;
  margin-bottom: 2.5rem;
  margin-top: 0.5rem;
  font-weight: 400;
  width: 60%;
  margin: 2% auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: #0074ff;
  color: #fff;
}

.btn-secondary {
  background: #ffa53b;
  color: #222;
}

/* =========================
   HERO CIRCLES ANIMATION
========================= */
.hero-circles {
  position: relative;
  height: 80px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.circle {
  display: inline-block;
  border-radius: 50%;
  opacity: 0.35;
  position: relative;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

.circle-blue {
  width: 70px;
  height: 70px;
  background: #257cff;
  left: -30px;
  top: 10px;
  animation: float 3s ease-in-out infinite;
}

.circle-purple {
  width: 45px;
  height: 45px;
  background: #b7aaff;
  left: -60px;
  top: 35px;
  animation: float 2.5s ease-in-out infinite;
  animation-delay: 0.7s;
}

.circle-orange {
  width: 60px;
  height: 60px;
  background: #ffa53b;
  left: 30px;
  top: 25px;
  animation: float 3.5s ease-in-out infinite;
  animation-delay: 1.2s;
}

/* =========================
   SERVICIOS SECTION
========================= */
.servicios {
  width: 100%;
  margin-top: 5%;
  background: #f9fafc; /* fondo gris muy suave */
  padding: 80px 0;
}

.servicios-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.servicios-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #222;
}

.servicios-title .blue {
  color: #257cff;
}

.servicios-title .black {
  color: #111;
}

.servicios-desc {
  text-align: center;
  color: #7a859c;
  font-size: 1.25rem;
  margin-bottom: 60px;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.servicios-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.servicio-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 48px 32px 40px 32px;
  max-width: 360px;
  min-width: 280px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Responsive: todas las cards igual de anchas en móvil */
@media (max-width: 900px) {
  .servicios-cards {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .servicio-card {
    min-width: 220px;
    max-width: 98vw;
    padding: 20px 12px 16px 12px;
    margin-bottom: 18px;
    border-radius: 18px;
  }
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* Icono circular */
.servicio-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  min-width: 32px;
  min-height: 32px;
}

.blue-bg {
  background: linear-gradient(135deg, #6faaff 0%, #257cff 100%);
  box-shadow: 0 4px 10px rgba(37, 124, 255, 0.4);
}

.orange-bg {
  background: linear-gradient(135deg, #ffd59e 0%, #ffa53b 100%);
  box-shadow: 0 4px 10px rgba(255, 165, 59, 0.4);
}

/* Responsive iconos servicios */
@media (max-width: 900px) {
  .servicio-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 12px;
    min-width: 40px;
    min-height: 40px;
  }
}

@media (max-width: 600px) {
  .servicio-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    min-width: 32px;
    min-height: 32px;
  }
}

.servicio-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 14px;
  position: relative;
}

.servicio-card h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #257cff;
  border-radius: 2px;
  margin-top: 10px;
}

.servicio-card p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 22px;
  font-weight: 400;
  line-height: 1.5;
}

.servicio-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #eee;
  padding-top: 18px;
  width: 100%;
}

.servicio-card li {
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #257cff;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 124, 255, 0.4);
}

/* Animación suave al hacer hover en la lista */
.servicio-card li:hover .dot {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}



/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .hero-circles {
    height: 60px;
    gap: 14px;
  }
  .circle-blue { width: 55px; height: 55px; }
  .circle-purple { width: 35px; height: 35px; }
  .circle-orange { width: 45px; height: 45px; }
}

@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: #fff;
    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;
  }

  .btn,
  .btn-small,
  .login-btn {
    font-size: 1rem;
    padding: 10px 24px;
    margin-left: 0;
    margin-top: 12px;
    position: static;
    box-shadow: none;
  }

  .login-btn {
    margin-top: 0;
    margin-left: 0;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .navbar {
    padding: 18px 0 0 0;
    position: fixed;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-content {
    margin-top: 60px;
    padding: 0 10px;
  }
  .hero-circles {
    height: 50px;
    gap: 10px;
  }
  .circle-blue { width: 40px; height: 40px; left: -10px; top: 5px; }
  .circle-purple { width: 25px; height: 25px; left: -20px; top: 20px; }
  .circle-orange { width: 35px; height: 35px; left: 10px; top: 15px; }

  .servicios-title {
    font-size: 2rem;
  }
  .servicios-desc {
    font-size: 1rem;
  }
  .servicios-cards {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .servicio-card {
    max-width: 98vw;
    width: 85%;
    padding: 20px 16px 24px 16px;
    margin-bottom: 18px;
  }
  .servicio-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  .servicio-card h3 {
    font-size: 1.2rem;
  }
  .servicio-card p,
  .servicio-card li {
    font-size: 0.98rem;
  }
}

@media (max-width: 600px) {
  .servicios-container {
    padding: 0 8px;
  }
  .servicios-title {
    font-size: 2.5rem;
  }
  .servicio-card {
    padding: 5% 5% 12% 5%;
    border-radius: 18px;
  }
  .servicio-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
}


/* =========================
   Proyectos (Cards estilo Servicios)
========================= */

.proyectos {
  max-width: 1300px;
  margin: 60px auto 0 auto;
  padding: 0% 3% 5% 3%;
  text-align: center;
}

.proyectos h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #222;
}

.proyectos h2 span {
  color: #ffa53b;
}

.subtitulo {
  font-size: 1.25rem;
  margin-bottom: 60px;
  color: #7a859c;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Carrusel automático */
.proyectos-carrusel {
  position: relative;
  width: 95%;
  margin: 40px auto 0 auto;
  overflow: hidden;
  min-height: 220px;
}

.carrusel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.4,.8,.6,1);
  gap: 16px;
}

.proyectos-carrusel img {
  width: 400px;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  background: #eee;
}

@media (max-width: 700px) {
  .proyectos-carrusel img {
    width: 150px;
    height: 350px;
  }
  .proyectos-carrusel {
    min-height: 140px;
    width: 88%;
    margin: 40px 5% 0 8%;
  }
}

@media (max-width: 600px) {
  .proyectos {
    padding: 0 5% 15%;
  }
  .proyectos h2 {
    font-size: 2.5rem;
  }
}


/* =========================
   EXPERIENCIA + ESTADÍSTICAS SECTION
========================= */

/* --- Colores personalizados --- */
.azul {
  color: #257cff;
}

.naranja {
  color: #ffa53b;
}

/* --- EXPERIENCIA --- */
.experiencia {
  padding: 80px 0;
  background: #fff;
}

.experiencia-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.experiencia-texto {
  flex: 1 1 500px;
}

.experiencia-texto h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.experiencia-texto p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.experiencia-datos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.dato {
  background: #f3f3f3;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.experiencia-grafico {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.barra {
  height: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 300px;
}

.barra.azul {
  background: linear-gradient(90deg, #257cff 0%, #6faaff 100%);
  width: 90%;
}

.barra.naranja {
  background: linear-gradient(90deg, #ffa53b 0%, #ffd59e 100%);
  width: 75%;
}

.barra.morado {
  background: linear-gradient(90deg, #b7aaff 0%, #d5caff 100%);
  width: 60%;
}

/* --- ESTADÍSTICAS --- */
.estadisticas {
  background: #fff;
  padding: 3% 0;
  margin-bottom: 2%;
}

.estadisticas-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.estadistica {
  flex: 1 1 100px;
  background: #f9f9f9;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.estadistica:hover {
  transform: translateY(-5px);
}

.valor {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.descripcion {
  font-size: 1.2rem;
  color: #555;
  font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */

/* --- Responsive EXPERIENCIA --- */
@media (max-width: 900px) {
  .experiencia-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .experiencia-texto h2 {
    font-size: 3rem;
  }

  .experiencia-texto p {
    font-size: 1rem;
  }

  .experiencia-datos {
    justify-content: center;
  }

  .experiencia-grafico {
    align-items: center;
  }

  .barra {
    max-width: 100%;
  }
}

/* --- Responsive ESTADÍSTICAS --- */
@media (max-width: 900px) {
  .estadisticas-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .estadistica {
    width: 70%;
    max-width: 320px;
    margin-bottom: 3%;
  }

  .valor {
    font-size: 2.8rem;
  }

  .descripcion {
    font-size: 1rem;
  }

  .experiencia-grafico {
  display: none;
  }
}




/* =========================
   CONTACTO SECTION
========================= */
.contacto {
  background: transparent;
  padding: 2% 0 5%;
}

.contacto h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

.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 {
  flex: 1 1 500px;
  background-color: white;
  padding: 3%;
  border-radius: 3%;
}

.formulario-contacto h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.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 #ccc;
  border-radius: 12px;
  background: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
}

.formulario-contacto textarea {
  resize: vertical;
}

.registro-link {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #555;
}

.registro-link a {
  color: #0074ff;
  text-decoration: none;
  font-weight: 500;
}

/* --- CAJAS DERECHA --- */
.contacto-cajas {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.caja-contacto,
.caja-horario {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.caja-contacto h3,
.caja-horario h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #222;
  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: #333;
  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;
    width: 87%;
  }

  .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;
  }
}



/* =========================
   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;
}



/* Overlay del loader */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
}

/* Contenedor de los puntos */
.loader {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

/* Estilo de los puntos */
.dot {
  width: 14px;
  height: 14px;
  background: #c96c15; /* color corporativo tipo Texturiza25 */
  border-radius: 50%;
  animation: bounce 1s infinite ease-in-out;
}

.dot1 {
  animation-delay: 0s;
}
.dot2 {
  animation-delay: 0.2s;
}
.dot3 {
  animation-delay: 0.4s;
}

/* Animación */
@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Texto de carga */
.loader-overlay p {
  color: #333;
  font-size: 16px;
  font-weight: 500;
}
