
:root {
  --azul-rey: #003399;
  --verde-ripe: #00b050;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #00000096;
}
/* Welcome Screen */
#welcome-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #fff; 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease-in-out;
}

.welcome-content {
  text-align: center;
  animation: fadeInUp 1.5s ease forwards;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--verde-ripe);
  margin-bottom: 20px;
}

.welcome-subtitle {
  font-size: 1.3rem;
  color: var(--verde-ripe);
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.welcome-img {
  width: 120px; /* tamaño pequeño */
  margin-top: 15px;
  border-radius: 8px;

}
.top-bar {
  background-color:#4caf50; 
  height: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  gap: 10px;
}

.top-bar a {
  font-size: 0.7rem;
  color: white;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: #003399; 
}

.separator {
  color: white;
  font-weight: bold;
}

.whatsapp-link i {
  font-size: 1.2rem;
  color: white;
  transition: color 0.3s ease;
}

.whatsapp-link i:hover {
  color: #003399;
}


.top-bar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: yellow;
}

.separator {
  color: #fff;
}

/* Ajustar navbar debajo del top-bar */
.navbar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  position: fixed;
  top: 30px; /* deja espacio para el top-bar */
  left: 0;
  width: 100%;
  z-index: 9999;
}


.brand {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight:600;
  font-style: oblique;
 
}

.brand .green {
  color: #00b04f88;
}

.brand .blue {
  color: #003399;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  font-size:0.8rem;
  text-decoration: none;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  color: #003399;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00b050;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}


.video-header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 0; 
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height:100vh;
  object-fit: cover;
  filter: brightness(0.2);
  z-index: 0;
}


.overlay-left {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box {
  position: relative;
  text-align: center;
}

.logo-box img {
  width:20rem;
  z-index: 2;
  position: relative;
}

.diagonal-bar {
  position: absolute;
  top: 0;
  left: -30px;
  width: 15rem;
  height: 100%;
  background: rgba(0, 0, 0, 0.016);
  transform: skew(-20deg);
  z-index: 1;
}


.overlay-right {
  position: relative;
  z-index: 1;
  flex: 1;
  color: white;
  text-align: left;
  padding: 40px;
}

.overlay-right h1 {
  font-size: 2.5rem;
  color: #00b050; 
  font-weight: 400;
  font-style: oblique;
}

.overlay-right h2 {
  font-size: 2rem;
  color:#0e55e4; 
  font-weight: 600;
  font-style: oblique;
}

.overlay-right p {
  margin-top: 15px;
  font-size: 1.2rem;
  font-style: italic;
}

.btn-header {
  margin-top: 25px;
  background-color: #00b050;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-header:hover {
  background-color: #003399;
}

@media (max-width: 768px) {
  .video-header {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .overlay-left, .overlay-right {
    flex: none;
    width: 100%;
    padding: 20px;
  }
  .diagonal-bar {
    display: none;
  }
  .overlay-right{
    text-align: center;
  }
}
.nosotros {
  padding: 100px 40px 120px 40px;
  background:url("../IMG/vecteezy_light-gray-abstract-with-white-and-gray-diagonal-rounded_7718244.jpg");
}

.nosotros-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin:  auto;
}

.nosotros-texto {
  flex: 1 1 45%;
  text-align: left;
}

.nosotros-texto h2 {
  font-size: 2.8em;
  padding-top: 1rem;
  margin-bottom: 30px;
  font-weight: 700;
        border-right: .15em dashed var(--verde-ripe);
          border-TOP: .15em solid var(--azul-rey);
}

.nosotros-texto p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

.nosotros-imagen {
  flex: 1 1 40%;
  text-align: center;
}

.nosotros-imagen img {
  width: 100%;
    border-right: 1rem solid var(--verde-ripe);
   border-bottom:  1rem solid var(--azul-rey);
  transition: transform 0.8s ease;
 border-radius: 1rem;
}

.nosotros-imagen img:hover {
  transform: scale(2);
}
.ver-mas-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  color: var(--verde-ripe); /* verde corporativo */
  position: relative;
  transition: color 0.3s ease;
}

.ver-mas-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: rgb(163, 163, 38); /* azul corporativo */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.ver-mas-link:hover {
  color:rgb(117, 194, 117); /* cambia a azul al pasar el mouse */
}

.ver-mas-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Estado inicial de todas las imágenes con efecto */
.img-zoom {
  transform: scale(0.95);       /* un poco más pequeña al inicio */
  transition: transform 0.8s ease;
  opacity: 0.8;                 /* opcional: un poco más tenue */
}

/* Estado visible cuando entran en pantalla */
.img-zoom.visible {
  transform: scale(1);          /* zoom sutil */
  opacity: 1;
}

.btn-verde {
  background-color: var(--verde-ripe);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-verde:hover {
  background-color: #009040;
}
.nosotros-extra {
  display: none; 
  margin-top: 20px;
}

.nosotros-extra p {
  font-size: 1.3em;
  line-height: 1.9;
  color: #333;
  margin-bottom: 20px;
  text-align: center;

}

.nosotros-img-extra {
  margin-top: 20px;
  text-align: center;
}

.nosotros-img-extra img {
  max-width: 100%;
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding-bottom: 5rem;
}

@media (max-width: 900px) {
  
  .nosotros{padding: auto;}
  
  .nosotros-container {
 
    text-align: center;
  }

  .nosotros-texto {
    flex: 1 1 100%;
    text-align: center;
  }

  .nosotros-imagen {
    margin-top: 30px;
  
  }

  .nosotros-texto h2 {
    font-size: 2.2em;
  }

  .nosotros-texto p {
    font-size: 1.1em;
  }
}

.servicios-carrusel {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--azul-rey) 40%, var(--verde-ripe) 100%);
  color: black;
}

.servicios-carrusel-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.servicios-col {
  flex: 1 1 100%;
}
.servicios-col h2{
  font-size: 2.5rem;
  border-right: .15em dotted var(--verde-ripe);
  text-align: center;
   
}

.servicio {
  margin-bottom: 25px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.servicio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 5px;
  transition: background 0.3s;
}

.servicio-header:hover {
  background: #eef5ff;
}

.servicio-header i {
  color: var(--verde-ripe);
  margin-right: 15px;
  font-size: 1.5em;
}

.servicios-carrusel-container h2 {
  font-size: 2.8em;
  margin-bottom:5px;
  font-weight: 700;
  padding-right: 15px;
  border-right: 10px dotted green;
  text-align: center;
  justify-content: center;
  align-items: end;
}

.servicios-texto{
   font-size: 1.3em;
  line-height: 1.9;
  color:whitesmoke;
  text-align:left;
}

.flecha {
  font-size: 1.2em;
  transition: transform 0.3s;
}

.servicio-detalle {
  display: none;
  padding: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color:whitesmoke;
}

.servicio-detalle.show {
  display: block;
}
.carrusel-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.carrusel-item {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carrusel-item.active {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  z-index: 10;
}
.servicio-img {
  text-align: center;
  margin: 15px 0;
}

.servicio-img img {
  width: 12rem;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.servicio-img img:hover {
  transform: scale(1.05);
}
.servicio-detalle {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: whitesmoke;
}

.servicio-detalle.show {
  max-height: 2000px; /* suficiente para textos extensos */
}



@media (max-width: 900px) {
  .servicios-carrusel-container {
    flex-direction: column;
  }
  .carrusel-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .carrusel-container {
    grid-template-columns: 1fr;
  }
}
.servicios-cards {
  display: grid;
  grid-template-columns: repeat(1, 4fr);
  gap: 35px;
  margin-top: 50px;
}

.card {
  background-color: #fdfcfc; /* fondo limpio y profesional */
  border: 1px solid #e0e0e0; /* borde sutil */
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  text-align: center;
  padding: 0 0 25px 0  ;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.card h3 {
  font-size: 1.4rem;
  margin: 15px 0;
  font-weight: 600;
  color: var(--azul-rey); /* título en azul corporativo */
}

.btn-card {
  display: inline-block;
  background-color: var(--verde-ripe);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-card:hover {
  background-color: var(--azul-rey);
}

/* Responsivo */
@media (max-width: 1200px) {
  .servicios-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .servicios-cards {
    grid-template-columns: 1fr;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow-y: auto; /* permite scroll si el modal es más alto que la pantalla */
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh; /* límite de altura relativo a la pantalla */
  overflow-y: auto; /* scroll interno si el contenido es muy largo */
  text-align: left;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  position: relative;
}

.modal-content h2 {
  color: var(--azul-rey);
  margin-bottom: 15px;
}

.modal-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.close {
  position: absolute;
  top: 15px; right: 25px;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
.reciclar {
  background-color:white;
  padding: 60px;
}

.reciclar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.reciclar-img {
  flex: 0 0 50%;
}

.reciclar-img img {
  width: 100%;
  max-width:300px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;

}

.reciclar-texto {
  flex: 0 0 50%;
  text-align: left;
}

.reciclar-texto h2 {
  font-size: 2rem;
  font-weight: bold;
  text-align: left;
  color: var(--verde-ripe);
}
.reciclar-img {
  flex: 0 0 50%;
  display: flex;              /* activa flexbox */
  justify-content: center;    /* centra horizontalmente */
  align-items: center;        /* centra verticalmente */
}

.reciclar-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
}


/* Responsivo */
@media (max-width: 900px) {
  .reciclar-container {
    flex-direction: column;
    text-align: center;
  }
  .reciclar-img, .reciclar-texto {
    flex: 100%;
  }
}
.mision-vision {
  background:url("../IMG/roadlight-tree-5591461.jpg");
  background-position:top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment:fixed;
  padding: 100px 60px;
}

.mision-vision-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* dos columnas iguales */
  gap: 40px;
}

.mision, .vision {
  background-color: #222222bb;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.486);
  text-align: center;
  max-width: 100%; /* evita desbordes */
  word-wrap: break-word; /* corta palabras largas si es necesario */
}

.mision h2, .vision h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.mision p, .vision p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: whitesmoke;
}

/* Responsivo */
@media (max-width: 900px) {
  .mision-vision-container {
    grid-template-columns: 1fr; /* se apilan en móviles */
  }
}
.serviciosbanner{
    background:url("../IMG/roadlight-tree-5591461.jpg");
  background-position:top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment:fixed;
  padding: 100px 60px;
}
.acordeon-item {
  border: 1px solid #ccc;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.acordeon-header {
  
  width: 100%;
  background-color: var(--azul-rey);
  color: #fff;
  text-align: left;
  padding: 15px 900px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  outline: none;
}

.acordeon-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #f9f9f9;
  padding: 0 20px;
}

.acordeon-content img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 15px 20px 15px 0;
  float: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.acordeon-content p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 15px 0;
}
.nav-links a {
  font-size:0.8rem;
  text-decoration: none;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  color: #003399;
  position: relative; 
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; 
  width: 0%;
  height: 3px;
  background-color: rgb(192, 192, 25);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00b050; 
}

.nav-links a:hover::after {
  width: 100%; 
}

