@media (min-width: 769px) {
        html {
            zoom: 0.9;
        }
    }

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta de colores moderna turquesa/teal */
  --light-bg: #FFFFFF;
  --dark-text: #263238;
  --medium-text: #607D8B;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* ❌ Usa Segoe UI */
}

body {
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 2.6;
}

/* Para el header - OVERRIDE específico */
.capas-header,
.capas-header * {
    line-height: normal !important;
}

/* Estilos para la sección Hero */
.eco-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
  color: var(--white);
  min-height: auto;
  padding: 100px 0 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Estilo para el botón de regreso (mantenido como solicitado) */
.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-back:hover {
  background-color: var(--white);
  color: var(--primary-teal);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-back i {
  font-size: 1.1rem;
}

/* Contenido principal del hero */
.eco-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-text-container {
  position: relative;
}

.eco-badge {
  display: inline-block;
  background-color: rgba(255, 213, 79, 0.2);
  color: var(--accent-yellow);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-yellow);
}

.eco-hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.eco-hero h1 span {
  display: inline-block;
  color: var(--accent-yellow);
  position: relative;
}

.eco-hero h1 span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: var(--secondary-teal);
  opacity: 0.4;
  border-radius: 4px;
  z-index: -1;
}

.eco-hero p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.9;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Elemento gráfico de la gota de agua */
.hero-graphic {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.water-drop {
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5% 60% 60% 60%;
  transform: rotate(45deg);
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.15), 
    inset 0 0 40px rgba(255, 255, 255, 0.2),
    inset 0 0 15px var(--secondary-teal);
  animation: float 6s ease-in-out infinite;
}

.water-drop::before {
  content: "";
  position: absolute;
  bottom: 25%;
  right: 15%;
  width: 20%;
  height: 20%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.water-drop::after {
  content: "";
  position: absolute;
  bottom: 25%;
  right: 40%;
  width: 12%;
  height: 12%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.ripple {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5% 60% 60% 60%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: ripple 4s linear infinite;
}

.ripple-delay {
  animation-delay: 2s;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(-15px);
  }
}

/* Hojas flotantes */
.floating-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.leaf {
  position: absolute;
  background: var(--accent-yellow);
  opacity: 0.15;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  animation: leafFall linear infinite;
}

.leaf:nth-child(even) {
  background: var(--secondary-teal);
}

.leaf-1 {
  width: 40px;
  height: 40px;
  top: -10%;
  left: 10%;
  animation-duration: 15s;
  animation-delay: 0s;
  transform: rotate(30deg);
}

.leaf-2 {
  width: 30px;
  height: 30px;
  top: -20%;
  left: 30%;
  animation-duration: 18s;
  animation-delay: 2s;
  transform: rotate(-20deg);
}

.leaf-3 {
  width: 45px;
  height: 45px;
  top: -5%;
  left: 50%;
  animation-duration: 12s;
  animation-delay: 1s;
  transform: rotate(15deg);
}

.leaf-4 {
  width: 35px;
  height: 35px;
  top: -15%;
  left: 70%;
  animation-duration: 16s;
  animation-delay: 4s;
  transform: rotate(-40deg);
}

.leaf-5 {
  width: 50px;
  height: 50px;
  top: -10%;
  left: 90%;
  animation-duration: 14s;
  animation-delay: 3s;
  transform: rotate(25deg);
}

.leaf-7 {
  width: 45px;
  height: 45px;
  top: -8%;
  left: 40%;
  animation-duration: 19s;
  animation-delay: 2.5s;
  transform: rotate(10deg);
}

.leaf-6 {
  width: 38px;
  height: 38px;
  top: -18%;
  left: 62%;
  animation-duration: 17s;
  animation-delay: 5s;
  transform: rotate(20deg);
}

.leaf-8 {
  width: 35px;
  height: 35px;
  top: -12%;
  left: 85%;
  animation-duration: 13s;
  animation-delay: 1.5s;
  transform: rotate(-25deg);
}

@keyframes leafFall {
  0% {
    transform: translateY(-50px) rotate(var(--rotate, 30deg));
  }
  50% {
    transform: translateY(calc(50vh)) rotate(calc(var(--rotate, 30deg) + 180deg));
  }
  100% {
    transform: translateY(calc(100vh + 50px)) rotate(calc(var(--rotate, 30deg) + 360deg));
  }
}

/* Separador de onda inferior */
.wave-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  line-height: 0;
  overflow: hidden;
}

.wave-separator svg {
  width: 100%;
  height: 100%;
}

/* Estilos responsivos */
@media (max-width: 991px) {
  .eco-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text-container, .hero-graphic {
    width: 100%;
  }

  .eco-hero p {
    margin: 0 auto 20px;
  }

  .eco-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .water-drop {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .eco-hero {
    padding: 90px 0 70px;
  }

  .eco-hero h1 {
    font-size: 3rem;
  }

  .eco-hero p {
    font-size: 1rem;
  }

  .water-drop {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 576px) {
  .eco-hero {
    padding: 80px 0 60px;
  }

  .eco-hero h1 {
    font-size: 2.3rem;
  }

  .eco-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .eco-hero p {
    font-size: 0.95rem;
  }

  .water-drop {
    width: 150px;
    height: 150px;
  }

  .back-button {
    top: 15px;
    left: 15px;
  }

  .btn-back {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* Variables de color - usando los mismos del hero para mantener coherencia */
:root {
  --primary-teal: #009688;
  --secondary-teal: #4DB6AC;
  --dark-teal: #00796B;
  --accent-yellow: #FFD54F;
  --accent-orange: #FF9800;
  --text-color: #212529;
  --border-radius: 10px;
  --shadow: 0 5px 15px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

/* Estilos generales de la sección */
.projects-section {
  padding: 80px 0;
  background-color: var(--white);
}

/* Encabezado de la sección */
.section-badge {
  display: inline-block;
  background-color: rgba(0, 150, 136, 0.1);
  color: var(--primary-teal);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
  border-left: 3px solid var(--primary-teal);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--dark-gray);
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto 20px;
}

/* Pestañas de navegación */
.project-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.project-tabs .nav-link {
  background-color: var(--white);
  color: var(--dark-gray);
  border: 2px solid var(--primary-teal);
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(0,150,136,0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Gradiente sutil en el fondo para dar más dimensión */
  background-image: linear-gradient(to bottom, #ffffff, #f7f7f7);
  /* Línea de brillo en la parte superior */
  border-top: 2px solid rgba(255,255,255,0.8);
  /* Sombra interna */
  box-shadow: 
    0 4px 8px rgba(0,150,136,0.2),
    inset 0 1px 3px rgba(255,255,255,0.8),
    inset 0 -2px 3px rgba(0,0,0,0.05);
}

.project-tabs .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.project-tabs .nav-link i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  /* Sombra sutil para el icono */
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.project-tabs .nav-link.active {
  background-image: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 15px rgba(0, 150, 136, 0.3);
  transform: translateY(-2px);
}

.project-tabs .nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.project-tabs .nav-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 150, 136, 0.2);
  color: var(--white);
}

.project-tabs .nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.project-tabs .nav-link:hover i {
  transform: scale(1.2);
}

/* Tarjeta destacada */
.project-highlight-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  background-color: var(--white);
  border: 1px solid var(--medium-gray);
}

.project-highlight-image {
  position: relative;
  overflow: hidden;
}

.project-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-highlight-card:hover .project-highlight-image img {
  transform: scale(1.05);
}

.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-yellow);
  color: var(--dark-gray);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.project-highlight-content {
  padding: 0;
}

.content-wrapper {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-badge {
  display: inline-block;
  background-color: rgba(0, 150, 136, 0.1);
  color: var(--primary-teal);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 30px;
  margin-bottom: 15px;
}

.project-highlight-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.project-highlight-content p {
  font-size: 1rem;
  color: var(--dark-gray);
  opacity: 0.8;
  margin-bottom: 20px;
}

.project-features {
  margin-top: auto;
}

/* Tarjetas de proyectos */
.project-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  background-color: var(--white);
  border: 1px solid var(--medium-gray);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 25px;
  position: relative;
}

.project-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.project-content p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  opacity: 0.8;
  margin-bottom: 20px;
}

.project-tag {
  display: inline-block;
  background-color: var(--accent-yellow);
  color: var(--dark-gray);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Estilos para Próximos Proyectos */
.coming-soon-banner {
  background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
  border-radius: var(--border-radius);
  padding: 40px;
  margin-bottom: 30px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 150, 136, 0.2);
}

.coming-soon-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.banner-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.banner-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: pulse 2s infinite;
}

.coming-soon-banner h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.coming-soon-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Tarjetas de proyectos futuros */
.future-project-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
  position: relative;
  overflow: hidden;
}

.future-project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-teal), var(--secondary-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.future-project-card:hover::after {
  transform: scaleX(1);
}

.future-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 150, 136, 0.1);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.future-project-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.future-project-card p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  opacity: 0.8;
  margin-bottom: 20px;
}

.progress {
  height: 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  background-color: var(--medium-gray);
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-teal), var(--secondary-teal));
  border-radius: 4px;
}

.status-text {
  font-size: 0.8rem;
  color: var(--primary-teal);
  font-weight: 600;
}

/* Sección de visión de futuro */
.future-vision-section {
  margin-top: 60px;
  padding: 30px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
}

.vision-content {
  padding: 20px;
}

.vision-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.vision-content p {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.vision-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.vision-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.vision-list li i {
  color: var(--primary-teal);
  margin-right: 10px;
  font-size: 1.1rem;
}

.vision-list li span {
  font-size: 1rem;
  color: var(--dark-gray);
}

.vision-cta {
  background-color: var(--accent-yellow);
  color: var(--dark-gray);
  text-align: center;
  padding: 15px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .project-highlight-card .row {
    flex-direction: column;
  }

  .project-highlight-image {
    height: 300px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .coming-soon-banner {
    padding: 30px;
  }

  .coming-soon-banner h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .projects-section {
    padding: 60px 0;
  }

  .project-tabs {
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .project-tabs .nav-item {
    width: 100%;
  }

  .project-tabs .nav-link {
    justify-content: center;
  }

  .future-project-card {
    margin-bottom: 20px;
  }

  .vision-content {
    margin-top: 30px;
    padding: 0;
  }

  .future-vision-section .row {
    flex-direction: column-reverse;
  }
}

@media (max-width: 576px) {
  .section-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
  }

  .section-title {
    font-size: 2rem;
  }

  .project-highlight-image {
    height: 220px;
  }

  .content-wrapper {
    padding: 20px;
  }

  .project-highlight-content h3 {
    font-size: 1.5rem;
  }

  .coming-soon-banner {
    padding: 25px 15px;
  }

  .coming-soon-banner h3 {
    font-size: 1.5rem;
  }

  .vision-content h3 {
    font-size: 1.5rem;
  }
}

  /* Estilos para el botón de regreso dentro de la sección */
  .return-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 10px;
  }

  .return-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(4, 76, 140, 0.2);
    border: 2px solid transparent;
  }

  .return-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .return-button:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(4, 76, 140, 0.3);
  }

  .return-button:hover i {
    transform: translateX(-5px);
  }

  /* Estilos responsivos para el botón */
  @media (max-width: 576px) {
    .return-button {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }

/* Estilos para el botón flotante de WhatsApp - Watsi */
/* Botón flotante principal */
.watsi__button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.watsi__button.watsi-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.watsi__button.watsi__button--hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    pointer-events: none;
}

.watsi__button__open {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2 0%, #4caf50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.watsi__button:hover .watsi__button__open {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1565c0 0%, #388e3c 100%);
    box-shadow: 0 6px 25px rgba(21, 101, 192, 0.6);
}

.watsi__button__sendtext {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1565c0 0%, #388e3c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    user-select: none;
}

.watsi__button:hover .watsi__button__sendtext {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}

.watsi__button__sendtext::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 8px solid #1565c0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.watsi__button__send {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.watsi__button__send i {
    font-size: 26px;
    color: white;
    transition: all 0.3s ease;
    line-height: 1;
}

.watsi__tooltip {
    position: absolute;
    bottom: 75px;
    left: 0;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    user-select: none;
}

.watsi__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
}

.watsi__button:hover .watsi__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chat box */
.watsi__box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transform-origin: bottom left;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    overflow: hidden;
}

.watsi__box.watsi__box--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.watsi__header {
    background: linear-gradient(135deg, #1565c0 0%, #00695c 100%);
    padding: 20px;
    position: relative;
    color: white;
}

.watsi__powered {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.watsi__powered svg {
    width: 60px;
    height: 12px;
    fill: white;
}

.watsi__close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.watsi__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.watsi__close::before,
.watsi__close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.watsi__close::before {
    transform: rotate(45deg);
}

.watsi__close::after {
    transform: rotate(-45deg);
}

.watsi__box__scroll {
    max-height: 300px;
    overflow-y: auto;
}

.watsi__box__content {
    padding: 25px;
}

.watsi__message {
    background: linear-gradient(135deg, #e3f2fd 0%, #e0f2f1 100%);
    padding: 18px;
    border-radius: 15px;
    border-left: 4px solid #1e88e5;
    font-size: 16px;
    line-height: 1.5;
    color: #0d47a1;
    position: relative;
    animation: watsiFadeInMessage 0.5s ease-out;
}

@keyframes watsiFadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.watsi__message::before {
    content: '💬';
    position: absolute;
    top: -8px;
    left: 15px;
    background: #1e88e5;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Botón de acción en el chat */
.watsi__action {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
    display: flex;
    gap: 10px;
}

.watsi__action__button {
    flex: 1;
    background: linear-gradient(135deg, #1e88e5 0%, #26a69a 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    animation: watsiGentlePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.watsi__action__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: watsiShimmer 2.5s infinite;
}

.watsi__action__button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #00695c 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.4);
    animation-play-state: paused;
}

.watsi__action__button--blue {
    background: #2196f3;
    animation-delay: 1.5s;
}

.watsi__action__button--blue::before {
    animation-delay: 1.2s;
}

.watsi__action__button--blue:hover {
    background: #1976d2;
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

@keyframes watsiGentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }
}

@keyframes watsiShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Animaciones */
@keyframes watsiPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    }
}

.watsi__button__open {
    animation: watsiPulse 2s infinite;
}

/* Responsive */
@media (max-width: 480px) {
    .watsi__box {
        width: calc(100vw - 20px);
        left: 10px;
        bottom: 15px;
    }

    .watsi__button {
        bottom: 15px;
        left: 15px;
    }

    .watsi__action {
        flex-direction: column;
    }

    .watsi__action__button {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* Ocultar en dispositivos móviles si deseas */
@media (max-width: 768px) {
    .watsi__button,
    .watsi__box {
        display: none !important;
    }
}

:root {
  /* Colores del Hero (originales) */
  --primary-blue: #044c8c;
  --secondary-blue: #04a4dc;
  --dark-blue: #044090;
  --medium-blue: #3a74a6;
  --light-green: #74b42c;
  --medium-green: #7cbc34;
  --dark-green: #307c68;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e1e5eb;
  --dark-gray: #444444;
}

/* Estilos para la sección Hero */

.hero-text-container {
  width: 55%;
  padding-right: 40px;
}

/* Animaciones del Hero */
@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}

/* Estilos para la sección de Servicios */

/* Estilos para las pestañas */

/* Estilos para el contenido de las pestañas */

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature i {
  color: var(--light-green);
  font-size: 1.2rem;
  margin-right: 10px;
}

.feature span {
  font-size: 1rem;
  color: var(--dark-gray);
}

/* Estilos para la información adicional */

/* Estilos responsivos */

@media (max-width: 991px) {

  .hero-text-container {
      width: 100%;
      padding-right: 0;
  }

  .hero-text-container {
      margin-bottom: 50px;
  }
}

/* Estilos para el botón de volver arriba con ondas sutiles y periódicas (mismo diseño, nuevo nombre) */
.back-to-top-pulse {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(4, 76, 140, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99;
}

.back-to-top-pulse svg {
    transition: transform 0.3s ease;
}

.back-to-top-pulse:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    box-shadow: 0 6px 20px rgba(4, 76, 140, 0.4);
    transform: translateY(0) scale(1.05);
}

.back-to-top-pulse:hover svg {
    transform: translateY(-3px);
}

.back-to-top-pulse.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ondas más sutiles y periódicas */
.back-to-top-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--secondary-blue);
    opacity: 0;
    z-index: -1;
    animation: subtle-ripple 4s 2s ease-out infinite;
}

@keyframes subtle-ripple {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    15% {
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Brillo periódico para el botón */
.back-to-top-pulse.visible {
    animation: subtle-glow 6s ease infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(4, 76, 140, 0.3);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(4, 164, 220, 0.5);
    }
}

/* Ajustes responsivos */
@media screen and (max-width: 768px) {
    .back-to-top-pulse {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .back-to-top-pulse {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

    .facebook-news-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #1877f2;
        color: white;
        padding: 10px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        width: 100%;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
    }

    .facebook-news-btn:hover {
        background: #0a5dc3;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(24, 119, 242, 0.4);
        color: white;
    }

    .facebook-news-btn i {
        font-size: 1.2rem;
    }

    .newsletter-form {
        margin-top: 15px;
    }

/* ===================== Cambios de la revisión (Programas Ambientales) ===================== */

/* 7. Teléfonos que marcan al tocarlos: se ven igual */
a.tel { color: inherit; text-decoration: none; }
a.tel:hover { text-decoration: underline; }
@media (hover: none) { a.tel { text-decoration: underline dotted; text-underline-offset: 3px; } }

/* 17. La sección no queda debajo del encabezado fijo al entrar con #proximos */
#proyectos { scroll-margin-top: 80px; }

/* 18. Fotos que se abren en grande */
img[data-ampliar] { cursor: zoom-in; }
img[data-ampliar]:focus-visible { outline: 3px solid #009688; outline-offset: -3px; }
.visor-fotos {
    position: fixed; inset: 0; z-index: 3000; background: rgba(10, 25, 30, 0.92);
    display: flex; align-items: center; justify-content: center; padding: 60px 70px;
}
.visor-fotos[hidden] { display: none !important; }
.visor-fotos figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.visor-fotos figure img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.visor-fotos figcaption { color: #fff; font-size: 1rem; text-align: center; line-height: 1.4; }
.visor-fotos .visor-cerrar {
    position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.visor-fotos .visor-flecha {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 1.4rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.visor-fotos .visor-flecha[hidden] { display: none; }
.visor-fotos .visor-flecha.anterior { left: 14px; }
.visor-fotos .visor-flecha.siguiente { right: 14px; }
.visor-fotos .visor-cerrar:hover, .visor-fotos .visor-flecha:hover { background: rgba(255, 255, 255, 0.3); }
.visor-fotos button:focus-visible { outline: 3px solid #4DB6AC; outline-offset: 2px; }
@media (max-width: 576px) {
    .visor-fotos { padding: 60px 10px; }
    .visor-fotos .visor-flecha { top: auto; bottom: 18px; transform: none; }
}

/* 10. Adornos en pausa fuera de pantalla y sin movimiento si el celular lo pide */
.anim-pausada .leaf, .anim-pausada .water-drop, .anim-pausada .ripple, .anim-pausada .banner-icon { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
    .leaf, .water-drop, .ripple, .banner-icon, .capas-bubble,
    .watsi__button__open, .watsi__action__button, .watsi__action__button::before,
    .back-to-top-pulse::before, .back-to-top-pulse.visible { animation: none !important; }
}
