*{
  box-sizing: border-box;
}

html, body{
  overflow-x: hidden;
}

body{
  margin:0;
  font-family:Arial,sans-serif;
  background:#f4f6f9;
}

header{
  position:fixed;
  top:0;
  width:100%;
  height:120px;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
  z-index:1000;
}

header img{
  height:100%;
  object-fit:contain;
}

.menu-text{
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #2196f3;
  text-transform: uppercase; 
}

header a, button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight:bold;
  font-size:18px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

header a {
  background:#2196f3;
  color:white;
  padding:0 25px;
  height:100%;
  text-decoration:none;
}

button.correo {
  background:#2196f3;
  color:white;
  padding:15px;
  width:250px;
}

button.whatsapp {
  background:#25D366;
  color:white;
  padding:15px;
  width:250px;
}

header a:hover, button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

header a::after, button::after {
  content:"";
  position:absolute;
  top:0; left:-100%;
  width:100%; height:100%;
  background: rgba(255,255,255,0.2);
  transition: all 0.4s ease;
}

header a:hover::after, button:hover::after {
  left:0;
}

button.correo:hover {
  background: linear-gradient(45deg, #2196f3, #42a5f5);
}
button.whatsapp:hover {
  background: linear-gradient(45deg, #25D366, #32e072);
}
header a:hover {
  background: linear-gradient(45deg, #2196f3, #1e87d1);
}

button:active, header a:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero{
  margin-top:120px;
  min-height:420px;
  background:url('imagenes/hero-limpieza.jpg') center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  text-align:left;
  padding-left:40px;
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(33,150,243,0.3);
}

.hero-text{
  position:relative;
  max-width:520px;
  padding:20px;
  color:white;
}

.hero-text h1{
  font-size:37px;
  margin-bottom:15px;
  line-height:1.2;
  text-align:justify;
  text-justify:inter-word;
}

.hero-text p{
  font-size:20px;
  margin-bottom:15px;
  line-height:1.4;
  text-align:justify;
  text-justify:inter-word;
}

.hero-btn{
  display:inline-block;
  margin-top:20px;
  padding:14px 26px;
  background:linear-gradient(45deg, #ffffff, #e3f2fd);
  color:#000;
  font-weight:bold;
  border-radius:6px;
  text-decoration:none;
  font-size:18px;
  max-width:260px;
  text-align:center;
  border:2px solid #2196f3;
  transition:all 0.3s ease;
}

.hero-btn:hover{
  transform:translateY(-3px) scale(1.05);
  background:linear-gradient(45deg, #ffffff, #bbdefb);
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

@keyframes slideInLeft {
  0% { opacity:0; transform:translateX(-80px);}
  100% { opacity:1; transform:translateX(0);}
}
@keyframes slideInRight {
  0% { opacity:0; transform:translateX(80px);}
  100% { opacity:1; transform:translateX(0);}
}

.servicios{
  background:white;
  padding:60px 20px;
}

.servicios h2{
  text-align:center;
}

.servicio{
  max-width:1200px;
  margin:60px auto;
  display:flex;
  align-items:center;
  gap:20px;
  opacity:0;
  transform:translateX(-80px);
  transition:all 0.8s ease;
  background:#eaeaea;
  border-radius:12px;
  padding:15px;
}

.servicio.reverse{
  flex-direction:row-reverse;
  transform:translateX(80px);
}

.servicio img{
  width:25%;
  border-radius:12px;
}

.servicio div{
  width:70%;
  padding:15px;
  text-align:justify;
}

.servicio div ul{
  padding-left:25px;
  list-style-type:none;
}

.servicio div ul li::before{
  content:'✔️';
  margin-right:10px;
  color:#2196f3;
}

.servicio div ul li{
  margin-bottom:5px;
}

.servicio.visible{
  opacity:1;
  transform:translateX(0);
}

.contacto{
  background:#ffd1a3;
  padding:70px 20px;
  text-align:center;
}

.contacto-intro {
  max-width: 700px;
  margin: 0 auto 30px;
}

.contacto-intro p {
  font-size: 20px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 25px;
  font-weight: 500;
}

.btn-contactar-main {
  background: #2196f3;
  color: white;
  padding: 18px 45px;
  font-size: 22px;
  letter-spacing: 1.5px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(33, 150, 243, 0.4);
  margin: 0 auto;
}

.btn-contactar-main:hover {
  background: #1e87d1;
  box-shadow: 0 10px 25px rgba(33, 150, 243, 0.6);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform: scale(0.8) translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 25px;
  background: #2196f3;
  color: white;
  text-align: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 22px;
}

.modal-body {
  padding: 25px;
  overflow-y: auto;
  text-align: justify;
  text-justify: inter-word;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.modal-body p {
  margin-top: 0;
  margin-bottom: 15px;
}

.modal-footer {
  padding: 18px 25px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
}

.btn-aceptar-politica {
  background: #28a745;
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  width: 100%;
  max-width: 450px;
}

.btn-aceptar-politica:hover {
  background: #218838;
}

.formularios-wrapper {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.formularios-wrapper.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.formularios{
  display:flex;
  max-width:1000px;
  margin:auto;
  gap:40px;
  flex-wrap:wrap;
}

.formulario{
  flex:1;
  background:#eaeaea;
  padding:20px;
  border-radius:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.formulario img{
  height:70px;
  margin-bottom:15px;
}

form input, form textarea{
  padding:12px;
  border-radius:6px;
  border:1px solid #ccc;
  font-size:16px;
  width:90%;
  margin-bottom:15px;
  box-sizing:border-box;
}

form textarea{
  height:150px;
}

button.correo{
  background:#2196f3;
  color:white;
  padding:15px;
  border:none;
  border-radius:6px;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
}

button.correo:hover{
  background: linear-gradient(45deg, #2196f3, #42a5f5);
  transform: translateY(-3px) scale(1.05);
}

button.whatsapp{
  background:#25D366;
  color:white;
  padding:15px;
  border:none;
  border-radius:6px;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
}

button.whatsapp:hover{
  background: linear-gradient(45deg, #25D366, #32e072);
  transform: translateY(-3px) scale(1.05);
}

button:active{
  transform: scale(0.95);
}

@media (max-width:768px){

  .hero-text h1,
  .hero-text p{
      color: #000 !important;
  }

  header{
    flex-direction: column;
    height:auto;
    padding:10px 20px;
    gap:10px;
  }

  header img{
    height:100px;
    margin:0;
    display:block;
  }

  header a{
    height:50px;
    width:260px;
    text-align:center;
  }

  .menu-text{
    display:none;
  }

  .hero{
    margin-top:140px;
    min-height:auto;
    padding:30px 15px;
    justify-content:center;
    text-align:center;
    padding-left:0;
    width:100%;
    overflow:hidden;
  }

  .hero-text{
    max-width:100%;
    padding:10px;
    text-align:center;
    width:100%;
  }

  .hero-text h1{
    font-size:25px;
    text-align:center;
  }

  .hero-text p{
    font-size:18px;
    text-align:center;
    font-weight: bold;
  }

  .hero-btn{
    width:100%;
    max-width:260px;
    margin:auto;
  }

  .servicio{
    flex-direction:column;
    text-align:center;
    width:100%;
    margin:30px 0;
  }

  .servicio.reverse{
    flex-direction:column;
  }

  .servicio img, .servicio div{
    width:100%;
  }

  .formularios{
    flex-direction:column;
  }

}

.footer-copyright {
  max-width: 1000px;
  margin: 30px auto 10px;
  font-size: 20px;
  color: #000;
  text-align: center;
  padding-top: 30px;
}