/* styles.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

@keyframes floatMap{

  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-10px);
  }

  100%{
    transform:translateY(0px);
  }

}

body{
  background:#0b0b0b;
  color:white;
}

/* HEADER */

/*.header{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 8%;
  background:black;
  position:sticky;
  top:0;
  z-index:999;
}*/

.header{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:80px;
  padding:15px 8%;
  background:black;
  position:sticky;
  top:0;
  z-index:999;
}

.logo-container{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:35px;
  margin-left:0;
  flex-wrap:wrap;
}

.logo-container img{
  width:240px;
  transition:0.3s;
}

.logo-container img:hover{
  transform:scale(1.05);
}
.navbar{
  display:flex;
  gap:25px;
}

.navbar a{
  text-decoration:none;
  color:white;
  font-weight:bold;
  transition:0.3s;
}

.navbar a:hover{
  color:#D90429;
}

/* HERO */

.hero{
  height:100vh;

  background:
  linear-gradient(
    90deg,
    rgba(217,4,41,0.10) 0%,
    rgba(11,11,11,1) 50%,
    rgba(0,166,81,0.10) 100%
  );

  position:relative;

  display:flex;
  justify-content:center;
  align-items:center;

  text-align:center;

  overflow:hidden;
}

.costa-rica-bg{
  position:absolute;

  width:800px;
  max-width:90%;

  opacity:0.08;

  z-index:1;

  filter:
    drop-shadow(0 0 20px rgba(255,255,255,0.15));

  animation:floatMap 6s ease-in-out infinite;
}
.subhero{
  height:70vh;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.security-bg{
  background:url('img/security-bg.jpg') center/cover;
}

.plagas-bg{
  background:url('img/plagas-bg.jpg') center/cover;
}

.overlay{
  position:absolute;

  width:100%;
  height:100%;

  background:
  radial-gradient(
    circle at center,
    rgba(255,255,255,0.02),
    rgba(0,0,0,0.88)
  );

  z-index:0;
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:800px;
  padding:20px;
}

.hero-content h1{
  font-size:4rem;
  margin-bottom:20px;
}

.hero-content p{
  font-size:1.2rem;
  line-height:1.6;
}



.hero-buttons{
  margin-top:30px;
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.btn{
  padding:15px 30px;
  text-decoration:none;
  color:white;
  font-weight:bold;
  border-radius:5px;
  transition:0.3s;
}

.red{
  background:#D90429;
}

.green{
  background:#00A651;
}

.btn:hover{
  transform:scale(1.05);
}

/* SECTIONS */

.about,
.services,
.brands,
.contact,
.services-detail{
  padding:80px 8%;
}

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h2{
  font-size:2.5rem;
}

/* GRID */

.about-grid,
.services-grid,
.brands-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.card,
.service-box,
.brand-card,
.detail-card{
  background:#111;
  padding:30px;
  border-radius:10px;
  transition:0.3s;
}

.card:hover,
.service-box:hover,
.brand-card:hover,
.detail-card:hover{
  transform:translateY(-5px);
}

.red-border{
  border-left:5px solid #D90429;
}

.green-border{
  border-left:5px solid #00A651;
}

/* CONTACT */

.contact-container{
  display:flex;
  justify-content:center;
}

.contact-info{
  background:#111;
  padding:40px;
  border-radius:10px;
  max-width:600px;
  width:100%;
  text-align:center;
}

.contact-info p{
  margin:15px 0;
}

.whatsapp-btn{
  display:inline-block;
  margin-top:20px;
  background:#25D366;
  color:white;
  text-decoration:none;
  padding:15px 25px;
  border-radius:5px;
  font-weight:bold;
}

/* REDES SOCIALES */

.social-section{
  margin-top:35px;
}

.social-section h4{
  margin-bottom:20px;
  font-size:22px;
}

.social-group{
  margin-bottom:25px;
}

.social-group h5{
  margin-bottom:10px;
  font-size:18px;
  color:#fff;
}

.social-link{
  display:inline-block;
  margin:5px;
  padding:12px 20px;
  border-radius:5px;
  text-decoration:none;
  font-weight:bold;
  color:white;
  background:#1877F2;
  transition:0.3s;
}

.social-link:hover{
  opacity:0.85;
}

.social-link.instagram{
  background:#E1306C;
}

/* FOOTER */

.footer{
  background:black;
  text-align:center;
  padding:20px;
}

/* RESPONSIVE */

@media(max-width:768px){

  .header{
    flex-direction:column;
    gap:15px;
  }

  .navbar{
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero-content h1{
    font-size:2.5rem;
  }

  .hero-content p{
    font-size:1rem;
  }

}

.security-page{
.detail-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:28px;

  max-width:1400px;
  margin:auto;
}


/* INTRO SECURITY */

.security-intro{
  padding:90px 8%;
}

.intro-container{
  max-width:1300px;
  margin:auto;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}


.security-tag{
  display:inline-block;

  padding:10px 18px;

  background:rgba(217,4,41,0.12);

  border:1px solid rgba(217,4,41,0.25);

  border-radius:50px;

  color:#fff;

  font-size:0.9rem;

  margin-bottom:20px;
}

.intro-text h2{
  font-size:3rem;
  line-height:1.2;
  margin-bottom:25px;
}

.intro-text p{
  color:#cfcfcf;
  line-height:1.9;
  margin-bottom:20px;
  font-size:1.05rem;
}

.intro-image img{
  width:100%;
  height:420px;

  object-fit:cover;

  border-radius:22px;

  border:1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 15px 40px rgba(0,0,0,0.45);
}

/* MOBILE */

@media(max-width:900px){

  .intro-container{
    grid-template-columns:1fr;
  }

  .intro-text h2{
    font-size:2.2rem;
  }

  .intro-image img{
    height:300px;
  }

}

/* CTA */

.security-cta{
  padding:40px 8% 90px;
}

.cta-container{
  max-width:1200px;
  margin:auto;
}

.cta-box{

  background:
    linear-gradient(
      135deg,
      rgba(217,4,41,0.12),
      rgba(15,15,15,1)
    );

  border:1px solid rgba(217,4,41,0.2);

  border-radius:28px;

  padding:70px 40px;

  text-align:center;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.35);
}

.cta-tag{
  display:inline-block;

  padding:10px 18px;

  border-radius:50px;

  background:rgba(217,4,41,0.12);

  border:1px solid rgba(217,4,41,0.25);

  margin-bottom:20px;

  font-size:0.9rem;
}

.cta-box h2{
  font-size:2.7rem;
  margin-bottom:20px;
}

.cta-box p{
  max-width:700px;

  margin:0 auto 30px;

  color:#d0d0d0;

  line-height:1.8;

  font-size:1.05rem;
}

.cta-box .btn{
  display:inline-block;
}

/* FOOTER */

.footer{
  background:#050505;

  border-top:1px solid rgba(255,255,255,0.05);

  text-align:center;

  padding:25px;
}

.footer p{
  color:#bdbdbd;
}

/* MOBILE */

@media(max-width:768px){

  .cta-box{
    padding:50px 25px;
  }

  .cta-box h2{
    font-size:2rem;
    line-height:1.3;
  }

}

.detail-card{
  background:
    linear-gradient(
      180deg,
      rgba(18,18,18,1) 0%,
      rgba(10,10,10,1) 100%
    );

  border:1px solid rgba(255,255,255,0.05);

  border-radius:22px;

  overflow:hidden;

  transition:0.35s;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.28);
}

.detail-card:hover{
  transform:translateY(-6px);

  border-color:rgba(217,4,41,0.35);

  box-shadow:
    0 15px 35px rgba(217,4,41,0.12);
}

.detail-card img{
  width:100%;
  height:180px;
  object-fit:cover;

  filter:brightness(0.78);
}

.detail-card h2{
  padding:24px 24px 10px;

  font-size:1.4rem;

  color:#fff;
}

.detail-card p{
  padding:0 24px;

  color:#cfcfcf;

  line-height:1.7;
}

.detail-card ul{
  padding:20px 24px 28px 45px;
}

.detail-card li{
  color:#e5e5e5;
  margin-bottom:12px;
  line-height:1.5;
}
}

/* =========================
   PLAGAS PAGE CLEAN UI
========================= */

.plagas-page{
  background:
    linear-gradient(
      180deg,
      #050505 0%,
      #0b0b0b 45%,
      #121212 100%
    );
}

/* HERO */

.plagas-bg{
  background:
    linear-gradient(
      rgba(0,0,0,0.82),
      rgba(0,0,0,0.88)
    ),
    url('https://alameenpestcontrol.com/wp-content/uploads/2026/03/why-am-i-see-cockroaches-after-pest-control-1.jpeg') center/cover;

  border-bottom:1px solid rgba(255,255,255,0.05);
}

.plagas-badge,
.plagas-tag{
  display:inline-block;

  padding:10px 18px;

  background:rgba(0,166,81,0.12);

  border:1px solid rgba(0,166,81,0.25);

  border-radius:50px;

  color:#fff;

  font-size:0.9rem;

  margin-bottom:20px;
}

/* INTRO */

.plagas-intro{
  padding:90px 8%;
}

.intro-container{
  max-width:1300px;
  margin:auto;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.intro-text h2{
  font-size:3rem;
  line-height:1.2;
  margin-bottom:25px;
}

.intro-text p{
  color:#cfcfcf;
  line-height:1.9;
  margin-bottom:20px;
  font-size:1.05rem;
}

.intro-image img{
  width:100%;
  height:420px;

  object-fit:cover;

  border-radius:22px;

  border:1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 15px 40px rgba(0,0,0,0.45);
}

/* SERVICES */

.services-detail{
  padding:40px 8% 100px;
}

.detail-grid{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

  gap:28px;

  max-width:1400px;

  margin:auto;
}

.detail-card{

  background:
    linear-gradient(
      180deg,
      rgba(18,18,18,1) 0%,
      rgba(10,10,10,1) 100%
    );

  border:1px solid rgba(255,255,255,0.05);

  border-radius:22px;

  overflow:hidden;

  transition:0.35s;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.28);
}

.detail-card:hover{

  transform:translateY(-6px);

  border-color:rgba(0,166,81,0.35);

  box-shadow:
    0 15px 35px rgba(0,166,81,0.12);
}

.detail-card img{

  width:100%;

  height:180px;

  object-fit:cover;

  filter:brightness(0.78);
}

.detail-card h2{

  padding:24px 24px 10px;

  font-size:1.4rem;

  color:#fff;
}

.detail-card p{

  padding:0 24px;

  color:#cfcfcf;

  line-height:1.7;
}

.detail-card ul{
  padding:20px 24px 28px 45px;
}

.detail-card li{
  color:#e5e5e5;
  margin-bottom:12px;
  line-height:1.5;
}

/* GREEN BORDER */

.green-border{
  border-left:4px solid #00A651;
}

/* CTA */

.security-cta{
  padding:40px 8% 90px;
}

.cta-container{
  max-width:1200px;
  margin:auto;
}

.cta-box{

  background:
    linear-gradient(
      135deg,
      rgba(0,166,81,0.12),
      rgba(15,15,15,1)
    );

  border:1px solid rgba(0,166,81,0.2);

  border-radius:28px;

  padding:70px 40px;

  text-align:center;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.35);
}

.cta-tag{

  display:inline-block;

  padding:10px 18px;

  border-radius:50px;

  background:rgba(0,166,81,0.12);

  border:1px solid rgba(0,166,81,0.25);

  margin-bottom:20px;

  font-size:0.9rem;
}

.cta-box h2{
  font-size:2.7rem;
  margin-bottom:20px;
}

.cta-box p{

  max-width:700px;

  margin:0 auto 30px;

  color:#d0d0d0;

  line-height:1.8;

  font-size:1.05rem;
}

.cta-box .btn{
  display:inline-block;
}

/* FOOTER */

.footer{

  background:#050505;

  border-top:1px solid rgba(255,255,255,0.05);

  text-align:center;

  padding:25px;
}

.footer p{
  color:#bdbdbd;
}

/* MOBILE */

@media(max-width:900px){

  .intro-container{
    grid-template-columns:1fr;
  }

  .intro-text h2{
    font-size:2.2rem;
  }

  .intro-image img{
    height:300px;
  }

  .detail-grid{
    grid-template-columns:1fr;
  }

  .detail-card img{
    height:200px;
  }

  .cta-box{
    padding:50px 25px;
  }

  .cta-box h2{
    font-size:2rem;
    line-height:1.3;
  }

}