/* ============================= */
/* RESET */
/* ============================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:"Montserrat",sans-serif;
  background:#fff;
  color:#111;
  line-height:1.6;
}

/* ============================= */
/* NAVBAR */
/* ============================= */
/* BOTON HAMBURGUESA */

.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
  color:#fff;
}


.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#000;
  color:#fff;
  padding:10px 20px;
  position:sticky;
  top:0;
  z-index:100;
}

.navbar .logo img{
  height:70px;
}

.nav-links{
  list-style:none;
  display:flex;
  gap:20px;
}

.nav-links a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
  transition:.3s;
}

.nav-links a:hover{
  color:#d8e000;
}

.social-icons{
  display:flex;
  gap:10px;
}

.social-icons a{
  color:#fff;
  font-size:18px;
}

.social-icons a:hover{
  color:#d8e000;
}

/* botón comprar */
.comprar-btn{
  background:#d8e000;
  color:#000;
  font-weight:600;
}

.comprar-btn:hover{
  background:#ffc400;
}

.cotizacion-btn{
  margin-left:15px;
  padding:7px 15px;
  background:#d8e000;
  color:#000;
  text-decoration:none;
  border-radius:5px;
  font-weight:500;
}

.cotizacion-btn:hover{
  background:#ff9500;
}

/* ============================= */
/* HERO SLIDER */
/* ============================= */

.hero-scroll{
  position:relative;
  height:100vh;
  overflow:hidden;
}

.slider-scroll{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  z-index:-1;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1.5s ease;
  animation: zoomHero 12s ease-in-out infinite alternate;
}
@keyframes zoomHero{
  from{ transform:scale(1); }
  to{ transform:scale(1.08); }
}

.slide.active{
  opacity:1;
}


/* ============================= */
/* HERO TEXTO */
/* ============================= */
/* ============================= */
/* HERO ESTILO NETFLIX / APPLE INDEX */
/* ============================= */
.hero-scroll {
  position: relative;
  height: 100vh;
  background: url('assets/index-hero.webp') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-scroll::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* overlay oscuro */
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-scroll::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(transparent, #fff);
  z-index: 2;
}

.hero-content-scroll {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
  margin-left: 8%;
  color: #fff;
}

.hero-top {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-big {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(80px, 12vw, 100px);
  line-height: 0.7;
  letter-spacing: 2px;
  margin: 10px 0;
  text-shadow: 0 8px 25px rgba(0,0,0,0.7);
}
.hero-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 400;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media(max-width:1024px){
 
  .hero-sub {
    font-size: 20px;
  }
  .hero-top {
    font-size: 18px;
  }
}

@media(max-width:768px){
  
  .hero-sub {
    font-size: 18px;
  }
  .hero-top {
    font-size: 16px;
  }
  .hero-content-scroll {
    margin-left: 5%;
  }
}

/* ============================= */
/* ABOUT */
/* ============================= */
.about{
padding:120px 20px;
background:white;
text-align:center;
}

.about-container{
max-width:700px;
margin:auto;
}

.about-text h2{
  font-size:36px;
  margin-bottom:20px;
}

.about-intro{
  font-size:18px;
  font-weight:500;
  color:#222;
  margin-bottom:15px;
}

.about p{
  font-size:16px;
  line-height:1.7;
  color:#555;
  margin-bottom:12px;
}

/* ============================= */
/* FRASE DESTACADA */
/* ============================= */

.about-highlight{
  margin-top:70px;
  text-align:center;
}

.about-highlight h2{
  font-size:20px;
  color:#888;
  font-weight:400;
  letter-spacing:1px;
   margin-bottom:5px;
  opacity:.8;
}


/* FRASE PROTAGONISTA */
.about-highlight h3{
  font-family:"Montserrat",sans-serif;
  font-size: clamp(20px, 3.5vw, 36px);
  color:#666665;
  letter-spacing:1px;
  line-height:1.3;
}
/* ============================= */
/* SERVICES (REFAC PRO) */
/* ============================= */

#servicios{
  display:grid;
  grid-template-columns:1fr;
  gap:2px;
  background:#d8e000;
  position:relative;
}

/* desktop */
@media (min-width:769px){
  #servicios{
    grid-template-columns:1fr 1fr;
  }
}

/* sombras suaves */
#servicios::before,
#servicios::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:80px;
  pointer-events:none;
  z-index:3;
}

#servicios::before{
  top:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0.08), transparent);
}

#servicios::after{
  bottom:0;
  background:linear-gradient(to top, rgba(0,0,0,0.08), transparent);
}

/* ============================= */
/* CARD */
/* ============================= */

.service-card{
  position:relative;
  height:80vh;
  overflow:hidden;
  border:2px solid #d8e000;
}

.service-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1.2s ease;
}

/* overlay oscuro */
.service-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
  transition:.4s;
}

/* hover */
.service-card:hover img{
  transform:scale(1.08);
}

.service-card:hover::after{
  background:rgba(0,0,0,0.6);
}

/* ============================= */
/* OVERLAY CONTENIDO */
/* ============================= */

.service-overlay{
  position:absolute;
  bottom:40px;
  left:40px;
  right:20px;
  z-index:2;
  color:#fff;
  max-width:420px;
  backdrop-filter:blur(2px);
}

.service-overlay h3{
  font-family:"Bebas Neue", sans-serif;
  font-size:64px;
  line-height:1;
  margin-bottom:10px;
  text-shadow:0 6px 20px rgba(0,0,0,0.7);
}

.service-overlay p{
  font-size:18px;
  line-height:1.5;
  margin-bottom:15px;
  text-shadow:0 3px 10px rgba(0,0,0,0.6);
}

/* ============================= */
/* BOTONES */
/* ============================= */

.service-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn-primary{
  background:#d8e000;
  color:#000;
  padding:12px 22px;
  font-weight:600;
  text-decoration:none;
  border-radius:6px;
  transition:.3s;
}

.btn-primary:hover{
  background:#fff;
  transform:translateY(-2px);
}

.btn-ghost{
  border:1px solid rgba(255,255,255,0.6);
  color:#fff;
  padding:12px 22px;
  text-decoration:none;
  border-radius:6px;
  backdrop-filter:blur(4px);
  transition:.3s;
}

.btn-ghost:hover{
  background:rgba(255,255,255,0.15);
  border-color:#fff;
}

/* ============================= */
/* MOBILE FIXES */
/* ============================= */

@media (max-width:768px){

  .service-card{
    height:80vh;
  }

  .service-overlay{
    bottom:20px;
    left:15px;
    right:15px;
    max-width:100%;
  }

  .service-overlay h3{
    font-size:36px;
  }

  .service-overlay p{
  font-size:16px;
  line-height:1.4;

  display:-webkit-box;
  -webkit-line-clamp:3;
  line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

  .service-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .btn-primary,
  .btn-ghost{
    width:100%;
    text-align:center;
  }
}


/* FEATURES CARD*/

.feature-section{
  padding:100px 20px;
  background:#000;
  color:#fff;
}

.feature-section h2{
  text-align:center;
  margin-bottom:50px;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:25px;
  max-width:1100px;
  margin:auto;
}

.feature-card{
  background:#111;
  border:1px solid rgba(255,255,255,0.08);
  padding:30px;
  border-radius:16px;
  transition:.3s;
  position:relative;
}

.feature-card:hover{
  transform:translateY(-6px);
  border-color:#d8e000;
}

.feature-icon{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(216,224,0,0.1);
  margin-bottom:15px;
}

.feature-icon i{
  font-size:22px;
  color:#d8e000;
}

.feature-card h3{
  margin-bottom:10px;
}

.feature-card p{
  color:#bbb;
  font-size:14px;
}

/* botones */
/* ============================= */
/* BOTONES SERVICIOS PRO */
/* ============================= */

.service-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* BOTON PRINCIPAL (WHATSAPP) */
.btn-primary{
  background:#d8e000;
  color:#000;
  padding:12px 22px;
  font-weight:600;
  text-decoration:none;
  border-radius:6px;
  transition:.3s;
}

.btn-primary:hover{
  background:#fff;
  transform:translateY(-2px);
}

/* BOTON SECUNDARIO (VER MÁS) */
.btn-ghost{
  border:1px solid rgba(255,255,255,0.6);
  color:#fff;
  padding:12px 22px;
  text-decoration:none;
  border-radius:6px;
  backdrop-filter:blur(4px);
  transition:.3s;
}

.btn-ghost:hover{
  background:rgba(255,255,255,0.15);
  border-color:#fff;
}

.btn-dark{
  display:inline-block;
  margin-top:20px;
  background:#000;
  color:#fff;
  padding:10px 24px;
  text-decoration:none;
}

.btn-dark:hover{
  background:#444;
}

/* ============================= */
/* CTA */
/* ============================= */

.cta{
  background:#000;
  color:#fff;
  text-align:center;
  padding:100px 20px;
}

.btn-light{
  background:#fff;
  color:#000;
  padding:12px 28px;
  text-decoration:none;
  display:inline-block;
  margin-top:20px;
}
/*-------------------------------*/
.about,
.cta{
  position:relative;
  z-index:2;
}
/*-------------------------------*/

/* ============================= */
/* FOOTER */
/* ============================= */

footer{
  text-align:center;
  padding:30px;
  font-size:14px;
  background:#111;
  color:#aaa;
}

/* ============================= */
/* ANIMACIONES */
/* ============================= */

.fade-in{
  opacity:0;
  transform:translateY(40px);
  transition:1s;
}

.fade-in.visible{
  opacity:1;
  transform:translateY(0);
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width:768px){

.navbar{
  position:fixed;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo img{
  height:55px;
}

/* hamburguesa */

.menu-toggle{
  display:block;
  font-size:28px;
  color:#fff;
  cursor:pointer;
}

/* boton presupuesto */

.cotizacion-btn{
  font-size:14px;
  padding:6px 12px;
}

/* menu desplegable */

.nav-links{
  position:absolute;
  top:70px;
  left:0;
  width:100%;
  background:#000;
  flex-direction:column;
  align-items:center;
  gap:20px;
  padding:30px 0;
  display:none;
}

.nav-links.active{
  display:flex;
}

.social-icons{
  display:none;
}

}

.hero-sub{
  font-size:18px;
}


@media (max-width:480px){

.hero-sub{
  font-size:16px;
}
}

@media(max-width:768px){

.about-container{
grid-template-columns:1fr;
text-align:center;
}


.about{
padding:80px 20px;
}

.about h2{
font-size:21px;
}

.about p{
font-size:16px;
}

.about-stats{
gap:30px;
margin-top:30px;
}

}
@media (max-width: 768px){

.stat-circle svg{
width:90px;
height:90px;
}

.stat-circle h3{
font-size:18px;
top:28px;
}

.stat-circle p{
font-size:13px;
}

}

/* ============================= */
/* TESTIMONIOS */
/* ============================= */

.testimonios{
background:#f7f7f7;
padding:20px 20px;
text-align:center;
}

.testimonios h2{
font-family: "Montserrat", sans-serif;
font-size: clamp(20px, 3.5vw, 32px);
font-weight: 500;
color: #888;
margin-bottom:20px;
}

.testimonios-slider{
position:relative;
max-width:700px;
margin:auto;
}

.testimonio{
opacity:0;
position:absolute;
top:0;
left:0;
width:100%;
transition:opacity .8s ease;
}

.testimonio.active{
opacity:1;
position:relative;
}

.testimonio p{
font-size:20px;
font-style:italic;
color:#333;
margin-bottom:20px;
}

.testimonio h4{
font-weight:500;
color:#777;
}

/* mobile */

@media (max-width:768px){

.testimonio p{
font-size:17px;
}

}
/* ============================= */
/* RESEÑAS REALES */
/* ============================= */

.reviews-real{
padding:100px 20px;
text-align:center;
background:#fff;
}

.reviews-real h2{
font-size:30px;
margin-bottom:10px;
}

.reviews-sub{
color:#666;
margin-bottom:40px;
}

.reviews-grid{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
}

/* tarjetas */

.review-img{
  max-width:300px;
  margin:0 auto 5%; /* 👈 centra horizontal */
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  transition:transform .4s ease, box-shadow .4s ease;
}

.review-img img{
width:100%;
height: auto;
display:block;
}

/* hover suave */

.review-img:hover{
transform:translateY(-8px);
box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

/* mobile */

@media (max-width:768px){

.reviews-grid{
gap:20px;
}

.review-img{
max-width:90%;
}

}
/* BOTÓN SECUNDARIO */
.btn-outline{
background:#d8e000;
border:1px solid #d8e000;
padding:10px 18px;
cursor:pointer;
transition:.3s;
}

.btn-outline:hover{
background:#000;
color:#fff;
}

/* botones juntos */
.service-buttons{
display:flex;
gap:15px;
margin-top:15px;
flex-wrap:wrap;
}

/* GALERÍA OCULTA */

/* ============================= */
/* GALERIA MASONRY */
/* ============================= */

.galeria-servicio{
margin-top:30px;
display:none;
}

.galeria-servicio.active{
display:block;
animation:fadeIn .5s ease;
}

/* masonry */

.masonry{
column-count:3;
column-gap:12px;
}

.masonry img{
width:100%;
margin-bottom:12px;
border-radius:10px;
display:block;
transition:transform .4s ease;
}

/* hover */

.masonry img:hover{
transform:scale(1.04);
}

/* tamaños visuales */

.masonry img.tall{
height:400px;
object-fit:cover;
}

.masonry img.wide{
height:220px;
object-fit:cover;
}

/* responsive */

@media (max-width:768px){
.masonry{
column-count:2;
}
}

@media (max-width:480px){
.masonry{
column-count:1;
}
}
/* ============================= */
/* MODAL CONSULTA */
/* ============================= */

.modal-consulta{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.7);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:999;
}

.modal-consulta.active{
  display:flex;
}

.modal-box{
  background:#fff;
  padding:30px;
  border-radius:12px;
  width:90%;
  max-width:400px;
  text-align:center;
  position:relative;
}

.modal-box h3{
  font-family:"Bebas Neue", sans-serif;
  margin-bottom:20px;
}

.modal-box input{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border:1px solid #ddd;
  border-radius:6px;
  font-family:"Montserrat", sans-serif;
}

.modal-box button{
  width:100%;
  padding:12px;
  background:#d8e000;
  border:none;
  font-weight:600;
  cursor:pointer;
  border-radius:6px;
}

.modal-box button:hover{
  background:#000;
  color:#fff;
}

.modal-box .cerrar{
  position:absolute;
  top:10px;
  right:15px;
  font-size:22px;
  cursor:pointer;
}
#cantidad{
  display:none;
}
.seo-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
}
.modal-consulta{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
  padding:20px; /* 🔥 clave para mobile */
}

.modal-consulta.active{
  display:flex;
}

.modal-box{
  background:#fff;
  padding:30px 20px;
  border-radius:12px;
  width:100%;
  max-width:400px;
  text-align:center;
  
  max-height:90vh; /* 🔥 evita que se corte */
  overflow-y:auto; /* 🔥 scroll interno */
}

/* inputs */
.modal-box input{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:16px;
}

/* botón */
.modal-box button{
  width:100%;
  padding:12px;
  background:#d8e000;
  border:none;
  font-weight:600;
  border-radius:6px;
}