* {
  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;
  height: 50px;
}

.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;
}

 
/* 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: 49px;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 20px;
}

.hero-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 30px;
}
/* HEADER */
.header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.header .menu a {
  font-size: 20px; 
  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; 
  padding: 0;            
  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(auto-fit,minmax(220px,1fr));
gap:30px;
}
.servicio-card {
   background:
  linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
  url("../img/AZUL1.jpg");
  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: #fff;
  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(auto-fit,minmax(260px,1fr));
  gap: 30px;
}
.proyecto-item{
  max-width: 420px;
  margin: 0 auto;
}
.proyecto-item img {
  width: 100%;
  max-width: 100%;   /* nunca se estira más del contenedor */
  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:
  linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
  url("../img/AZUL1.jpg");
  padding: 70px 70px;

}

.porque-right {
  background:
  linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
  url("../img/AZUL2.jpg");
  padding: 70px 70px;
  display: flex;
  justify-content: center;
}

.porque-content h2 {
 font-size: 30px;
 text-align: center;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 25px;
}

.porque-content p {
  margin-bottom: 65px;
  font-size: 28px;
  text-align: center;
}
.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 {
  line-height: 1;
  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;
}

   .porque-right .btn-primary {
  margin: 0 auto;
}

/* ===================== */
/* 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: 30px;
  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 */
/* ===================== */




/* ------------------- 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);
}


* {
  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 {
  height: 100%;
  display: flex;
  align-items: center;
}

.servicios-intro {
  padding: 90px 20px 40px;
  text-align: left;
  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;
}

/* ------------------SECCIÓN SERVICIO ------------------------*/

.servicio-detalle{
  padding:80px 0;
  border-bottom:1px solid #f1f1f1;
  background:
  linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
  url("../img/AZUL1.jpg");

  background-size:cover;
  background-position:center;
}
.servicio-grid {
  display: grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap: 100px;
  align-items: center;
}
.servicio-grid.reverse {
  direction: rtl;
}
.servicio-grid.reverse .servicio-texto {
  direction: ltr;
}
.servicio-img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.servicio-img img {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: auto;
}
.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 */

.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;
}

 /*--------------contacto--------------------*/

.contacto-hero {
  padding: 140px 20px 60px;
  text-align: left;
  height: 60vh;
  background: url('../img/Hero.png') center/cover no-repeat;
  position: relative;
}

.contacto-hero h1 {
  color: #fff;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 15px;
}

.contacto-hero p {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 30px;
}
.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;
}


/* 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;
}




/* SECCION */

.contacto-interactivo{
background:#f5f5f5;
padding:80px 20px;
display:flex;
justify-content:center;
}

.container-contacto{
max-width:650px;
width:100%;
text-align:center;
}

.chat-box{
background:white;
height:350px;
overflow-y:auto;
border-radius:14px;
padding:25px;
box-shadow:0 20px 50px rgba(0,0,0,0.15);
margin-bottom:20px;
display:flex;
flex-direction:column;
gap:15px;
}

.mensaje{
max-width:75%;
padding:12px 16px;
border-radius:12px;
font-size:16px;
}

.bot{
background:#eaeaea;
align-self:flex-start;
}

.user{
background:#EB9E0E;
color:white;
align-self:flex-end;
}

.input-area{
display:flex;
gap:10px;
margin-top:10px;
}

#respuesta{
flex:1;
padding:12px;
font-size:16px;
border-radius:8px;
border:1px solid #ddd;
}

#btnEnviar{
padding:12px 18px;
background:#1C2630;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
}

#btnEnviar:hover{
background:#0f151c;
}

#btnSubirArchivo{
display:none;
background:#EB9E0E;
color:white;
padding:10px 15px;
border-radius:8px;
cursor:pointer;
}

.form-switch{
display:flex;
margin-bottom:20px;
border-radius:8px;
overflow:hidden;
background:#eaeaea;
}

.form-switch button{
flex:1;
padding:12px;
border:none;
cursor:pointer;
background:transparent;
}

.form-switch button.active{
background:#1C2630;
color:white;
}

.mensaje{
animation:fadeIn .3s ease;
}

@keyframes fadeIn{

from{
opacity:0;
transform:translateY(10px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* FORM */

.form-conversacional{
background:white;
padding:45px 35px;
border-radius:14px;
box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

/* PREGUNTA */

.pregunta{
font-size:26px;
margin-bottom:30px;
}

/* INPUT */

#respuesta{
width:100%;
border:none;
border-bottom:2px solid #ddd;
font-size:20px;
padding:12px 0;
font-family:'Inter';
}

#respuesta:focus{
outline:none;
border-color:#EB9E0E;
}

/* BOTON */

.btn-primary{
margin-top:30px;
padding:12px 28px;
font-size:18px;
background:#EB9E0E;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
}

.btn-primary:hover{
background:#d48806;
}

/* SUBIR ARCHIVO */

#btnSubirArchivo{
display:none;
margin-top:20px;
background:#EB9E0E;
color:white;
padding:10px 20px;
border-radius:8px;
cursor:pointer;
}

#nombreArchivo{
margin-top:8px;
font-size:14px;
color:#555;
}

/* ------------------ NOSOTROS---------------------------*/

.hero-nosotros {
  height: 70vh;
  background: url('../img/heronosotros.jpg') center/cover no-repeat;
  position: relative;
  padding: 0; 
}

.nosotros-info{
  padding:100px 20px;
}

.nosotros-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.nosotros-img img{
  width:100%;
  border-radius:8px;
}

.nosotros-texto h3{
  font-size:30px;
  margin-bottom:20px;
}

.nosotros-texto p{
  margin-bottom:15px;
  line-height:1.7;
  color:#333;
}
.nosotros-mv{
  background:#f5f6f7;
  padding:100px 20px;
}
.mv-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}
.mv-card{
  background:
  linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
  url("../img/AZUL2.jpg");
  padding: 45px;
  border-radius: 8px;
  /* Sombra básica */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Transición suave para hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse */
.mv-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.mv-card h3{
  margin-bottom:15px;
  font-size:24px;
}

.mv-card p{
  color:#F4F5F7;
  line-height:1.7;
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  max-width: 1100px;
  margin: auto;
}

.valor-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra contenido horizontalmente */
  text-align: center;
  padding: 20px;
}

.valor-card .valor-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.valor-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain; /* evita que la imagen se estire */
}

.valor-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.valor-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  width: 100%;       /* ocupa todo el ancho del contenedor interno */
  max-width: 280px;  /* límite para que no se estire demasiado */
  margin: 0 auto;    /* centrado */
}
.mobile-social{
  display:none;
}
