h1, h2, h3 {
  font-family: 'Segoe UI', sans-serif;
  color: #145650;
  line-height: 1.2;
  margin-bottom: 10px;
}

body {
  font-size: 16px;
  color: #222;
  line-height: 1.6;
  background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form button:focus,
.call-button:focus {
  outline: 2px solid #379383;
  outline-offset: 2px;
}

/* Reset */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 40px; /* Espacio a los lados en pantallas pequeñas */
}

* {
  margin: 5;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* NAV */
.navbar {
  background-color: #4cb5a6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.navbar img {
  height: 50px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.call-button {
  background-color: #6fd1bd;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 5px;
}

/* HERO */
.hero {
  display: flex;
  background-color: ##f6f6f6;
  color: #3f3f3f;
  padding: 40px;
  gap: 20px;
}

.hero-img {
  max-width: 300px;           /* ✅ Reduce el tamaño por defecto */
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease; /* ✅ Animación suave */
}

.hero-img:hover {
  transform: scale(1.1);       /* ✅ Efecto de agrandarse */
}

.hero-text {
  flex: 10;                   /* ✅ Sercania del texto a la imagen del edificio
  max-width: 450px;           /* ✅ Limita el ancho del texto */
  line-height: 1.6;           /* ✅ Mejor separación entre líneas */
  font-size: 16px;
}

.hero-column {
  flex: 1 1 33%;
  box-sizing: border-box;
  padding: 10px;
}

/* Imagen responsiva */
.hero-image img {
  width: 100%;
  height: auto;-
  border-radius: 8px;
}

/* ================== SERVICIOS ================== */
.service-item {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.6s ease-out forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-item img {
  max-width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service-item h3 {
  color: #0a4e46;
  margin-top: 10px;
  font-size: 1rem;
}

.service-item p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-top: 8px;
}

/* ================== GRID DE SERVICIOS ================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding: 0 10px;
}

/* Título principal de servicios */
.services h1 {
  font-size: 2.2rem;         /* Aumenta tamaño del h1 */
  color: #145650;            /* Verde oscuro elegante */
  margin-bottom: 15px;
}

/* Párrafo introductorio */
.services > p {
  font-size: 1.2rem;
  color: #333;
  max-width: 900px;
  margin: 0 auto 30px auto; /* Centrado + margen inferior */
  line-height: 1.6;
  text-align: center;
}

/* INFO BOX */
.info-box {
  background-color: #93d6ca;
  padding: 30px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 10px;
}
.info-columns {
  display: flex;
  justify-content: space-between;
}
.info-columns div {
  max-width: 45%;
}
.info-columns h4 {
  color: #145650;
}

/* CLIENT REVIEW */
.compact-reviews {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f8f8;
}
.compact-reviews h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
}
.review-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px 15px;
  margin: 10px auto;
  max-width: 600px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.stars {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}
.review-item p {
  font-size: 1em;
  color: #333;
  margin-bottom: 10px;
  position: relative;
}
.review-item .quote {
  font-size: 1.5em;
  color: #bbb;
  font-family: serif;
}
.review-item footer {
  font-style: italic;
  color: #12df32;
}
/* Envio de mensajes */
.popup-modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.popup-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.close-btn {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* FOOTER */
footer {
  background-color: #2a6d66;
  color: white;
  text-align: center;
  padding: 20px;
}
.social-icons img {
  height: 24px;
  margin: 0 10px;
  vertical-align: middle;
}


/* ================== MOBILE MENU ================== */
.nav-toggle {
  display: none;
  background-color: transparent;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* ================== CONTACTO ================== */
.contact-section {
  background-color: #daf2ee;
  padding: 40px 20px;
  text-align: center;
}
.contact-section h2 {
  color: #145650;
  margin-bottom: 20px;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}
.contact-form button {
  background-color: #4cb5a6;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-form button:hover {
  background-color: #379383;
}

/* ================== WHATSAPP BOTÓN ================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.whatsapp-float img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover img {
  transform: scale(1.1);
}

.whatsapp-float, .call-float {
  animation: slideInUp 0.6s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Google Maps */
.map-container {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(72, 239, 202, 0.7);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(72, 239, 202, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(72, 239, 202, 0.7);
  }
}

.pulse-animate {
  animation: slideUp 0.6s ease-out forwards, pulse 1.5s ease-in-out infinite;
}

/* Botón llamada flotante */
.call-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;
}
.call-float img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}
.call-float:hover img {
  transform: scale(1.1);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  background-color: #4cb5a6;
  color: white;
  padding: 15px;
  width: 100%;
  text-align: center;
  z-index: 1000;
  display: none;
}
.cookie-banner button {
  background-color: white;
  color: #4cb5a6;
  border: none;
  margin-left: 15px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-banner button {
  font-size: 16px;
  font-weight: bold;
}


.lang-switch {
  margin-left: 20px;
  font-weight: bold;
}
.lang-switch a {
  color: white;
  text-decoration: none;
  padding: 0 5px;
}
.lang-switch a:hover {
  text-decoration: underline;
}

/* Promoción de LLC */
.llc-promo {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: #4cb5a6;
    margin-top: 10px;
  }

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

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }


/* Botón de acción */
.call-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background-color: #007b5e;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* Botón CTA */
.call-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background-color: #007b5e;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* Responsivo: 2 columnas en tablet */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsivo: 1 columna en móvil */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .info-columns {
    flex-direction: column;
    gap: 20px;
  }

  .info-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .call-button {
    margin-top: 10px;
  }


.nav-links li a {
  transition: color 0.3s ease;
}
.nav-links li a:hover {
  color: #e0f7f4;
}

  .three-column-hero {
    flex-direction: column;
  }

  .three-column-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 20px;
  background-color: #f5f5f5;
}