* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1C2630;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.logo img {
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.btn-primary {
  background: #EB9E0E;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}
.logo img {
  height: 50px;
}
/* HERO */

.hero {
  height: 70vh;
  background: url('img/Hero.png') center/cover no-repeat;
  position: relative;
  padding: 0; 
}

.overlay {
  background: rgba(28, 38, 48, 0.45);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; 
}


.hero-content {
  color: #F4F5F7;
  max-width: 600px;
}
.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* Bold */
  font-size: 58px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 30px;
}
/* HEADER */
.header .menu a {
  font-size: 20px; /* o el tamaño original que usabas */
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.header .menu.active a {
  color: #1C2630;
}
.header .menu a.active {
  color: #EB9E0E;
}

.header {
  width: 100%;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background: transparent;
  transition: all 0.4s cubic-bezier(.77,0,.18,1);
}
.header.scrolled {
  background: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  padding: 14px 0;
}
.header.scrolled .logo img {
  height: 42px;
  transition: 0.3s ease;
}
.header.scrolled .menu a.active {
  color: #EB9E0E;
}
.header.scrolled .menu a {
  color: #1C2630;
}
.header.scrolled .btn-nav {
  background: #1C2630;
  color: white !important;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}
.menu a {
  margin-left: 30px;
  text-decoration: none;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.menu a:not(.btn-nav) {
  margin-left: 30px;
  text-decoration: none;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  position: relative;
  display: inline-block; /* 👈 clave */
  padding: 0;            /* 👈 quitamos padding lateral */
  transition: color 0.3s ease;
}

/* Línea animada */
.menu a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #EB9E0E;
  transition: width 0.3s ease;
}

.menu a:not(.btn-nav):hover::after {
  width: 100%;
}

.menu a:not(.btn-nav):hover {
  color: #EB9E0E;
}



.btn-nav {
  background: #1C2630;
  padding: 10px 18px;
  border-radius: 8px;
}
.btn-primary,
.btn-nav {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}


/* ===================== */
/* SERVICIOS */
/* ===================== */

.servicios {
  background: #F4F5F7;
  padding: 100px 0;
}

.servicios-title {
  font-size: 32px;
  color: #1C2630;
  margin-bottom: 50px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.servicio-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  transition: 0.3s ease;
}

.servicio-card img {
  height: 50px;
  margin-bottom: 20px;
}

.servicio-card h3 {
  font-size: 18px;
  color: #1C2630;
  margin-bottom: 12px;
}

.servicio-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

/* Botón outline */
.btn-outline {
  border: 1px solid #1C2630;
  padding: 12px 25px;
  text-decoration: none;
  color: #1C2630;
  border-radius: 6px;
  display: inline-block;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #1C2630;
  color: white;
}

.servicios-btn {
  margin-top: 50px;
  text-align: center;
}
/* ===================== */
/* PROYECTOS DESTACADOS */
/* ===================== */

.proyectos-destacados {
  background: #ffffff;
  padding: 100px 0;
}

.proyectos-title {
  font-size: 32px;
  color: #1C2630;
  margin-bottom: 50px;
}

.proyectos-grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.proyecto-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: 0.4s ease;
}

.proyecto-item h3 {
  font-size: 18px;
  color: #1C2630;
  margin-bottom: 5px;
}

.proyecto-item span {
  font-size: 14px;
  color: #777;
}


.proyecto-item:hover img {
  transform: scale(1.05);
}




/* ===================== */
/* POR QUE ELEGIRNOS */
/* ===================== */

.porque {
  color: white;
}

.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.porque-left {
  background: url('img/AZUL1.jpg') center/cover no-repeat;
  padding: 70px 70px;

}

.porque-right {
  background: url('img/AZUL2.jpg') center/cover no-repeat;
  padding: 70px 70px;

}

.porque-content h2 {
 font-size: 36px;
 text-align: center;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 25px;
}

.porque-content p {
  margin-bottom: 65px;
  font-size: 28px;
}
.porque-content h2:hover img {
  transform: scale(1.05);
}


.porque-content ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px; /* espacio vertical y horizontal */
}

.porque-content ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  font-size: 27px;
}

/* Check personalizado */
.porque-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #EB9E0E;
  font-weight: bold;
}


/* ===================== */
/* FOOTER */
/* ===================== */


.footer {
  background: #ffffff;
  padding: 40px 0 20px 0;
  color: #1C2630;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* MENU FOOTER */
.footer-menu {
  display: flex;
  align-items: center;
}

.footer-menu a {
  margin: 0 20px;
  text-decoration: none;
  color: #1C2630;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  transition: 0.3s;
}

.footer-menu a:hover {
  color: #EB9E0E;
}

/* REDES */
.social {
  display: flex;
  align-items: center;
}

.social a {
  margin-left: 15px;
}

.social img {
  height: 20px;
  filter: brightness(0);
  transition: 0.3s;
}

.social img:hover {
  transform: scale(1.1);
}

/* LINEA INFERIOR */
.footer-bottom {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 1024px) {

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proyectos-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  /* HERO */
  .hero {
    height: 65vh;
  }

  .hero-content {
    margin-left: 0;
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  /* SERVICIOS */
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  /* PROYECTOS */
  .proyectos-grid-2 {
    grid-template-columns: 1fr;
  }

  /* PORQUE */
  .porque-grid {
    grid-template-columns: 1fr;
  }

  .porque-left,
  .porque-right {
    padding: 60px 30px;
  }

  /* FOOTER */
  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }

  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-menu a {
    margin: 10px;
  }

  .social {
    margin-left: 0;
  }

}

/* ------------------- MOBILE ------------------------ */

/* Evita scroll horizontal */
html, body {
  overflow-x: hidden;
}

/* Asegura que nada tenga ancho fijo */
section,
.hero,
.header,
.footer {
  width: 100%;
}
/* ========================= */
/* NAV MOBILE  */
/* ========================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  transition: 0.3s ease;
  background: #1C2630;
  width: 28px;
  height: 3px;
  border-radius: 3px;
}

/* Animación a X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {

  .logo img {
  height: 30px;
}
.header.scrolled .logo img {
  height: 25px;
  transition: 0.3s ease;
}
.hero-content {
    margin-left: 0 !important;
    padding: 0 20px;
  }

  .header .container {
    padding: 0 20px;
  }

/* --------------- SECCION DE PORQUE ELEGIRNOS --------*/

 /* Reducimos padding general de secciones */
  section {
    padding: 50px 0;
  }
  .porque-left ul {
    display: grid;
    grid-template-columns: 1fr; /* 👈 una sola columna */
    gap: 15px;
  }
  

  /* Grid a una sola columna */
  .porque-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* Ajustamos ambos cuadros */
  .porque-left,
  .porque-right {
    width: 100%;
    padding: 15px 15px; /* 👈 mucho menos alto */
  }


  /* Lado izquierdo */
  .porque-left {
    text-align: left;
  }
  
  /* Lado derecho (cuadro azul) */
  .porque-right {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Limita el ancho interno */
  .porque-right .porque-content {
    max-width: 300px;
  }

  /* Botón */
  .porque-right .btn-primary {
    margin-top: 20px;
    width: fit-content;
  }
   
menu .btn-nav {
    width: fit-content;
    padding: 12px 20px;
  }
  .hamburger {
    display: flex;
  }
.btn-nav {
  background: #1C2630;
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.btn-nav:hover {
  background: #EB9E0E;
  transform: translateY(-2px);
}
  .menu {
    background: rgba(255,255,255,0.95); 
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    right: -100%;
    width: 230px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 👈 centra verticalmente */
    padding: 60px 35px;
    gap: 35px;
    transition: 0.4s cubic-bezier(.77,0,.18,1);
    z-index: 1000;
    box-shadow: -15px 0 40px rgba(0,0,0,0.12);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
  }

  .menu a {
    color: #1C2630;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
  }

  .menu a:hover {
    color: #EB9E0E;
    transform: translateX(5px);
  }

  .menu.active {
    right: 0;
  }

}
* {
  box-sizing: border-box;
}

/* ---------------------------------- SERVICIOS -------------------------------------------------*/

.hero-interno{
  height: 70vh;
  background: url('img/Hero.png') center/cover no-repeat;
  position: relative;
  padding: 0; 
}

.hero-interno .overlay {
  background: rgba(28,38,48,0.6);
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content-interno {
  color: white;
  max-width: 600px;
}

.hero-content-interno h1 {
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 48px;
  margin-bottom: 15px;
}
.servicios-intro {
  padding: 90px 20px 40px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.servicios-intro h2 {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 20px;
}

.servicios-intro p {
  font-family: 'Inter';
  font-size: 18px;
  color: #555;
}
.servicio-detalle {
  padding: 100px 0;
  border-bottom: 1px solid #f1f1f1;
}

.servicio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.servicio-grid.reverse {
  direction: rtl;
}

.servicio-grid.reverse .servicio-texto {
  direction: ltr;
}

.servicio-img img {
  width: 100%;
  border-radius: 6px;
}

.servicio-texto h2 {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 25px;
}

.servicio-texto p {
  font-family: 'Inter';
  margin-bottom: 20px;
  color: #555;
}

.servicio-texto ul {
  margin-bottom: 25px;
  padding-left: 20px;
}
.cta-servicios {
  background: #1C2630;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.cta-servicios h2 {
  font-family: 'Montserrat';
  font-size: 34px;
  margin-bottom: 20px;
}

.cta-servicios p {
  margin-bottom: 30px;
}
@media (max-width: 768px) {

  .servicio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-interno {
    height: 40vh;
  }

  .hero-content-interno h1 {
    font-size: 32px;
  }

  .servicio-detalle {
    padding: 60px 20px;
  }

}
 /*--------------contacto--------------------*/

.contacto-hero {
  padding: 140px 20px 60px;
  text-align: center;
}

.contacto-hero h1 {
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 15px;
}

.contacto-hero p {
  font-size: 18px;
  color: #666;
}
.contacto-main {
  padding-bottom: 100px;
}

.contacto-card {
  max-width: 900px;
  margin: auto;
  background: white;
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.contacto-card form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contacto-card input,
.contacto-card textarea {
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter';
  font-size: 15px;
  transition: 0.3s ease;
}

.contacto-card input:focus,
.contacto-card textarea:focus {
  outline: none;
  border-color: #EB9E0E;
}
.contacto-info-sec {
  padding: 60px 20px 100px;
  background: #f9f9f9;
}

.info-grid {
  display: flex;
  justify-content: space-between;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.info-grid strong {
  font-family: 'Montserrat';
  display: block;
  margin-bottom: 10px;
}
@media (max-width: 768px) {

  .form-row {
    grid-template-columns: 1fr;
  }

  .contacto-card {
    padding: 35px;
  }

  .info-grid {
    flex-direction: column;
    gap: 30px;
  }

  .contacto-hero h1 {
    font-size: 30px;
  }

}

/* Contenedor principal */
.contacto-interactivo {
  display: flex;
  justify-content: center; /* centro horizontal */
  align-items: center;     /* centro vertical */
  min-height: 50vh;       /* ocupa toda la altura de la pantalla */
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

/* Si dentro hay un container, quitar márgenes y que ocupe 100% */
.contacto-interactivo .container {
  width: 100%;
  max-width: none; /* quitar restricción de ancho si hay */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Formulario */
.form-conversacional {
  max-width: 500px;
  width: 100%;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pregunta */
.pregunta {
  font-size: 28px;
  margin-bottom: 30px;
  min-height: 60px;
  transition: 0.3s ease;
}

/* Input de texto */
#respuesta {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ddd;
  font-size: 20px;
  padding: 12px 0;
  font-family: 'Inter', sans-serif;
  transition: 0.3s ease;
  text-align: left; /* texto alineado a la izquierda */
}

#respuesta:focus {
  outline: none;
  border-color: #EB9E0E;
}

/* Botón siguiente */
.btn-primary {
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 18px;
  background-color: #EB9E0E;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #d48806;
}

/* Botón subir archivo */
#btnSubirArchivo {
  display: inline-block;
  background-color: #EB9E0E;
  color: #fff;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Inter', sans-serif;
  margin-top: 20px;
}

#btnSubirArchivo:hover {
  background-color: #d48806;
}

/* Nombre archivo */
#nombreArchivo {
  font-size: 16px;
  margin-top: 8px;
  color: #555;
}
