/* =========================
   PALETA DE COLORES ECO360
   =========================
   Verde oscuro: #1b4332
   Verde medio:  #2d6a4f
   Verde claro:  #52b788
   Verde suave:  #95d5b2
   Blanco:       #ffffff
   Gris suave:   #f5f7f6
========================= */

/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1b4332;
  scroll-behavior: smooth;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================
   NAVBAR MODERNA ECO360
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #2d6a4f, #40916c, #52b788);
  background-size: 200% 200%;
  animation: gradientMove 10s ease infinite;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  padding: 14px 0;
  z-index: 1000;
}

/* Efecto de animación en el degradado */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Marca */
.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  width: 42px;
  height: 42px;
  margin-right: 10px;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2));
}

.navbar-brand span {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Enlaces */
.nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 16px !important;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

/* Subrayado animado */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #b7e4c7;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover {
  color: #d8f3dc !important;
}

/* Navbar cuando haces scroll */
.navbar.scrolled {
  background: rgba(45, 106, 79, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  padding: 10px 0;
  transition: all 0.4s ease;
}

/* Modo responsive */
.navbar-toggler {
  border: none;
  background: none;
}

.navbar-toggler-icon {
  filter: invert(100%);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(45, 106, 79, 0.98);
    padding: 15px;
    border-radius: 0 0 12px 12px;
  }
  .nav-link {
    display: block;
    text-align: center;
    padding: 12px 0 !important;
    border-radius: 6px;
  }
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* =========================
   HERO (CAROUSEL)
========================= */

.hero .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55));
  color: #fff;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.hero .btn {
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-green {
  background-color: #52b788;
  color: #fff;
}

.btn-green:hover {
  background-color: #40916c;
  transform: translateY(-2px);
}

.btn-outline-green {
  border: 2px solid #95d5b2;
  color: #fff;
}

.btn-outline-green:hover {
  background-color: #95d5b2;
  color: #1b4332;
  transform: translateY(-2px);
}

/* =========================
   SECCIONES GENERALES
========================= */
section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

h2 {
  font-weight: 700;
  color: #2d6a4f;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================
   PROPUESTA DE VALOR
========================= */
.value-section img {
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform .3s ease;
}
.value-section img:hover {
  transform: scale(1.03);
}

/* =========================
   TARJETAS (CARDS)
========================= */
.card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
  background-color: #fff;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.card h5 {
  font-weight: 700;
  color: #1b4332;
}

.card p {
  color: #2d6a4f;
  font-size: 0.95rem;
}

.card ul {
  margin-top: 10px;
  list-style-type: disc;
  padding-left: 20px;
  color: #2d6a4f;
}

details summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary h5 {
  color: #52b788;
}

details summary::after {
  content: "➕";
  position: absolute;
  right: 0;
  top: 0;
  color: #52b788;
  transition: transform .3s ease;
}

details[open] summary::after {
  content: "➖";
  transform: rotate(180deg);
}

/* =========================
   GALERÍA FINAL
========================= */
.gallery {
  background-color: #f5f7f6;
}

.gallery img {
  border-radius: 10px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* =========================
   FOOTER MODERNO ECO360 — Versión Mejorada
========================= */
footer {
  --bg1: #0a7a4a;
  --bg2: #076c42;
  --text: #d8f3dc;
  --title: #b7e4c7;
  --chip: #2d6a4f;
  --chip-hover: #40916c;

  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
  color: #fff;
  padding: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: 'Inter', sans-serif;
}
/* --- Enlaces del footer --- */
footer a {
  color: #e9fff1;           /* verde claro suave */
  text-decoration: none;    /* elimina subrayado */
  transition: color 0.25s ease, transform 0.2s ease;
}

footer a:hover {
  color: #caffda;           /* verde más brillante al pasar el cursor */
  text-decoration: none;    /* asegura que no vuelva a subrayarse */
  transform: translateY(-1px);
}

/* --- Contenedor principal --- */
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Marca ECO360 --- */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
}

.footer-brand h4 {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  margin: 0;
}

.footer-description {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* --- Títulos de sección --- */
footer h5 {
  color: var(--title);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 1rem;
}

/* --- Listas --- */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li,
.footer-contact li + li {
  margin-top: 10px;
}

.footer-links a,
.footer-contact a {
  color: #e9fff1;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #caffda;
  padding-left: 4px;
}

/* --- Redes sociales --- */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--chip);
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  background: var(--chip-hover);
  transform: translateY(-3px);
}

.socials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: none;
}

/* --- Separador --- */
.footer-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  max-width: 1200px;
  margin: 0 auto 10px;
  opacity: 0.8;
}

/* --- Texto inferior centrado --- */
.footer-bottom {
  text-align: center;
  padding: 18px;
  font-size: 0.95rem;
  color: #d8f3dc;
  border-top: 1px solid rgba(255,255,255,0.15);
  opacity: 0.9;
}

/* --- Responsivo --- */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .socials {
    justify-content: center;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }
}



/* =========================
   EFECTOS Y ANIMACIONES
========================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 90vh;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .btn {
    padding: 10px 22px;
  }
  footer {
    text-align: center;
  }
  .socials a {
    margin-bottom: 10px;
  }
}
/* Indicadores del carrusel con paleta ECO360 */
.carousel-indicators [data-bs-target] {
  background-color: #95d5b2;
  width: 10px; height: 10px; border-radius: 50%;
}
.carousel-indicators .active {
  background-color: #52b788;
}

/* Iconos de control visibles sobre el overlay */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* Título del hero por slide */
.hero-title {
  font-weight: 800;
  letter-spacing: -0.5px;
}
/* =========================
   HERO (carousel full-bleed)
========================= */
.hero {
  position: relative;
  padding: 0; /* el alto lo da el slide */
}
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 78vh;
  min-height: 520px;
}
.hero .carousel-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity .6s ease-in-out;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  padding: 0 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.45) 100%);
  color: #fff;
  text-align: center;
}
.hero .hero-title {
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* =========================
   VENTAJAS plegables (adv-card)
========================= */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}
@media (max-width: 992px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .adv-grid { grid-template-columns: 1fr; }
}

.adv-card {
  background: #f1faf4; /* verde muy suave */
  border: 1px solid #d2f0df; /* borde suave */
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  padding: 16px 18px;
  cursor: pointer;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.adv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  background: #ecf8f0;
}
.adv-card .adv-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #1b4332;
  font-weight: 700;
}
.adv-card .adv-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #52b788; flex: 0 0 auto;
}
.adv-card .adv-toggle {
  margin-left: auto;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: #dff3e7;
  display: grid; place-items: center;
  font-weight: 800; color: #2d6a4f;
  transition: transform .18s ease, background-color .18s ease;
}
.adv-card.open .adv-toggle {
  transform: rotate(180deg);
  background: #cfe9da;
}
.adv-card .adv-body {
  grid-column: 1 / -1;
  color: #2d6a4f;
  font-size: .98rem;
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .2s ease, margin-top .2s ease;
  opacity: 0;
  margin-top: 0;
}
.adv-card.open .adv-body {
  max-height: 220px; /* suficiente para 2–3 líneas */
  opacity: 1;
  margin-top: .5rem;
}
/* === Tarjetas Flip 3D — versión modernizada === */
.flip-card {
  perspective: 1200px;
  height: 340px;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flip-card:hover {
  transform: translateY(-4px);
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
  border-radius: 18px;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

/* === Caras del flip === */
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease, transform 0.4s ease;
}

/* --- Frente --- */
.flip-front {
  background: linear-gradient(180deg, #f4faf6, #e6f7eb);
  color: #1b4332;
  border: 1px solid rgba(45, 106, 79, 0.15);
}

.flip-front:hover {
  background: linear-gradient(180deg, #ebfbef, #dff6e6);
}

/* --- Reverso --- */
.flip-back {
  background: linear-gradient(180deg, #c7f1d4, #a9e8b9);
  color: #081c15;
  transform: rotateY(180deg);
  font-size: 0.97rem;
  line-height: 1.6;
  text-align: center;
  padding: 2.2rem;
  border: 1px solid rgba(45, 106, 79, 0.15);
}

/* --- Imagen del frente --- */
.flip-icon { 
  width: 75%;
  max-width: 250px;
  height: auto;
  object-fit: cover; /* mejora el encuadre visual */
  border-radius: 14px; /* <<< esquinas redondeadas */
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
  margin-bottom: 15px;
  transition: transform 0.4s ease, filter 0.4s ease, border-radius 0.3s ease;
}

/* Efecto más marcado al pasar el cursor */
.flip-front:hover .flip-icon {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  border-radius: 20px; /* bordes más suaves al hover */
}

/* --- Título --- */
.flip-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1b4332;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-align: center;
  margin-top: 8px;
}

/* --- Responsivo --- */
@media (max-width: 992px) {
  .flip-card {
    height: 300px;
  }

  .flip-icon {
    width: 70%;
    max-width: 220px;
  }

  .flip-card h5 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .flip-card {
    height: 280px;
  }

  .flip-icon {
    width: 80%;
    max-width: none;
  }

  .flip-front,
  .flip-back {
    padding: 1.4rem;
  }
}

/* ======== Sección Ventajas con video ======== */
.ventajas-section {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.ventajas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ventajas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ventajas-section .container {
  position: relative;
  z-index: 2;
}

/* Tarjetas sobre el video */
.ventajas-card {
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  color: #1b4332;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ventajas-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ventajas-card img {
  max-height: 80px;
  transition: transform 0.4s ease;
}

.ventajas-card:hover img {
  transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
  .ventajas-bg {
    object-position: center;
  }
  .ventajas-card {
    background-color: rgba(255, 255, 255, 0.95);
  }
}
/* ===== PILARES ECO360 ===== */
.pilares {
  position: relative;
  background: linear-gradient(135deg, #e8f5ee 0%, #d8f3dc 50%, #c7f9cc 100%);
  padding: 90px 20px;
  overflow: hidden;
}

/* fondo decorativo tipo hojas translúcidas */
.pilares::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'>\<path fill='%23ffffff15' d='M0,200 C60,120 160,60 260,30 C340,5 400,40 400,0 L400,400 L0,400 Z'/>\<path fill='%23ffffff10' d='M400,100 C300,150 200,250 100,280 C60,300 0,330 0,400 L400,400 Z'/>\</svg>") no-repeat center/cover;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.pilares .row {
  position: relative;
  z-index: 2;
}

/* --- Tarjetas individuales --- */
.pillar-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.4s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 28px rgba(0,0,0,0.15);
}

/* Imagen superior */
.pillar-media {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-media {
  transform: scale(1.08);
}

/* Contenido */
.pillar-body {
  padding: 25px 20px 35px;
}

.pillar-badge {
  display: inline-block;
  background: #1bae47;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  border-radius: 30px;
  padding: 5px 14px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.pillar-title {
  font-weight: 800;
  color: #1b4332;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.pillar-text {
  color: #3c6e47;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.pillar-cta {
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  background-color: #2d6a4f;
  color: #fff;
}

.pillar-cta:hover {
  background-color: #95d5b2;
  color: #1b4332;
}

/* Responsivo */
@media (max-width: 768px) {
  .pillar-media {
    height: 180px;
  }
  .pillar-title {
    font-size: 1.15rem;
  }
  .pilares {
    padding: 60px 10px;
  }
}


/* ===== Franja Ventajas (hero fino) ===== */
.band-ventajas {
  position: relative;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(149,213,178,.45), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
  overflow: hidden;
  border-top: 1px solid #e3efe8;
  border-bottom: 1px solid #e3efe8;
}

/* hojitas decorativas en el fondo (SVG embebido) */
.band-ventajas::before,
.band-ventajas::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 100 100'><path d='M10,60 C25,40 45,35 65,20 C75,13 88,8 95,10 C88,22 78,33 70,45 C55,68 35,88 15,92 C12,82 12,72 10,60Z' fill='%2395d5b2' opacity='0.15'/></svg>") no-repeat center/contain;
  filter: blur(0.5px);
}
.band-ventajas::before { left:-40px; top:-30px; transform: rotate(-10deg); }
.band-ventajas::after  { right:-30px; bottom:-40px; transform: rotate(20deg); }

.band-chip {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1b4332;
  background: #e8f6ee;
  border: 1px solid #cfe8da;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.band-title {
  font-weight: 900;
  letter-spacing: .02em;
  margin: 0;
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.6rem);
  color: #1b4332;
}

.band-title .accent-360 {
  background: linear-gradient(90deg, #2d6a4f, #52b788 55%, #95d5b2);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.band-subtitle {
  max-width: 900px;
  margin: 12px auto 0;
  color: #2d6a4f;
  font-size: clamp(1rem, .95rem + .5vw, 1.25rem);
}

.band-divider {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 8px;
}
.band-divider span {
  display: inline-block;
  width: 80px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #95d5b2, #52b788);
  opacity: .9;
}
.band-divider i {
  font-style: normal;
  font-size: 1rem;
  color: #2d6a4f;
  transform: translateY(-1px);
}

/* Bullets compactos (opcionales) */
.band-bullets {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 16px;
  margin: 10px 0 0; padding: 0;
}
.band-bullets li {
  font-weight: 600;
  color: #1b4332;
  background: #ffffffcc;
  border: 1px solid #d8efe3;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,.03);
}

/* Entrada suave al hacer scroll (si ya usas .show) */
.band-ventajas {
  padding: 60px 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.band-ventajas.show {
  opacity: 1; transform: translateY(0);
}

/* Pequeños ajustes responsive */
@media (max-width: 576px) {
  .band-divider span { width: 56px; }
  .band-bullets li { font-size: .95rem; }
}

.band-ventajas {
  padding: 60px 0;
}
.hero {
  margin-bottom: 0;
  padding-bottom: 0;
}
/* ===== CTA moderna ECO360 ===== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2d6a4f 0%, #52b788 50%, #95d5b2 100%);
  color: #fff;
  padding: 90px 20px;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

/* Título */
.cta-title {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.cta-highlight {
  background: linear-gradient(90deg, #ffffff 0%, #d8f3dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subtítulo */
.cta-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #e6f4ec;
  margin-bottom: 40px;
}

/* Botón principal */
.btn-cta {
  background: #ffffff;
  color: #1b4332;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 40px;
  padding: 14px 36px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: all 0.35s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta:hover {
  background: #d8f3dc;
  color: #1b4332;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* Decoración de hojas al fondo */
.cta-bg-leaf {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'>\<path fill='%23ffffff0d' d='M0,200 C50,120 130,90 200,40 C280,-20 360,40 400,0 L400,400 L0,400 Z'/>\</svg>") no-repeat bottom center / cover;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

/* Animación de entrada (ya compatible con .show) */
.cta-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.cta-section.show {
  opacity: 1;
  transform: translateY(0);
}
/* === Fondo sección SERVICIOS COMPLEMENTARIOS === */
.bg-complementarios {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
  background-blend-mode: multiply;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

/* textura ligera en el fondo */
.bg-complementarios::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/polished-metal.png");
  opacity: 0.05;
  pointer-events: none;
}

/* que el contenido no quede pegado a los bordes */
.bg-complementarios .container {
  position: relative;
  z-index: 1;
}

/* títulos blancos y brillantes */
.bg-complementarios h2 {
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

/* animación sutil al cargar */
.bg-complementarios .flip-card {
  animation: fadeUp 0.8s ease both;
}
.bg-complementarios .flip-card:nth-child(2) {
  animation-delay: 0.2s;
}
.bg-complementarios .flip-card:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== Filtros Propuesta de Valor: hover y activo en verde ===== */
#pv-filtros [role="tab"] {
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
  border: 1px solid #d8efe3;
}
#pv-filtros [role="tab"]:hover {
  background: #2d6a4f;         /* verde medio */
  color: #ffffff;
  border-color: #2d6a4f;
  transform: translateY(-1px);
}
#pv-filtros [role="tab"][aria-selected="true"] {
  background: #52b788;          /* verde claro activo */
  color: #0b2b1f;
  border-color: #52b788;
  font-weight: 800;
}
#pv-filtros [role="tab"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(82,183,136,.35);
  border-color: #52b788;
}
/* ===== MISIÓN / VISIÓN / RSE: tarjetas fijas con fondo visible ===== */
.mv-card {
  position: relative;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transition: transform .35s ease, box-shadow .35s ease;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mv-card:hover {
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  transform: scale(1.02);
}

/* Fondo */
.mv-card .mv-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.1) contrast(1.05) saturate(1.1);
  transition: transform .4s ease, filter .4s ease;
}
.mv-card:hover .mv-bg {
  transform: scale(1.08);
}

/* Gradiente más suave */
.mv-card .mv-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
}

/* Encabezado */
.mv-head {
  position: absolute; top: 14px; left: 14px;
  z-index: 2;
}
.mv-chip {
  background: rgba(45,106,79,.9);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

/* Texto */
.mv-body {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 20px;
  text-align: left;
}
.mv-title {
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.mv-body p {
  margin: 0;
  color: #f1fff5;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

/* Responsivo */
@media (max-width: 992px) {
  .mv-card { height: 380px; }
}
@media (max-width: 576px) {
  .mv-card { height: 340px; }
}
/* ===== HERO CON VIDEO DE FONDO ===== */
.hero-video {
  position: relative;
  height: 80vh;
  min-height: 480px;
  overflow: hidden;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-video .hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7) contrast(1.1) saturate(1.1);
}
.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 80, 40, 0.45),
    rgba(0, 60, 30, 0.75)
  );
  z-index: 1;
}
.hero-video .container {
  z-index: 2;
}
.hero-video .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 1px;
  font-weight: 800;
}
.hero-video .hero-subtitle {
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Animaciones suaves */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
.animate-fade-up:nth-child(1){ animation-delay: .1s; }
.animate-fade-up:nth-child(2){ animation-delay: .25s; }

/* Responsive */
@media (max-width: 768px) {
  .hero-video { height: 60vh; }
  .hero-video .hero-title { font-size: 2.2rem; }
  .hero-video .hero-subtitle { font-size: 1rem; }
}
/* ===== HISTORIA ECO360 ===== */
#historia .band-chip{ margin-bottom:10px; }

.hist-bullets{
  list-style:none; padding:0; margin:8px 0 0;
  display:flex; gap:10px; flex-wrap:wrap;
}
.hist-bullets li{
  background:#e8f6ee; border:1px solid #cfe8da; color:#1b4332;
  padding:6px 10px; border-radius:10px; font-weight:600; font-size:.95rem;
}

.hist-stat{
  background:#f5f7f6; border:1px solid #e3efe8; border-radius:14px;
  text-align:center; padding:14px 8px;
  box-shadow:0 4px 10px rgba(0,0,0,.04);
}
.hist-stat .num{
  font-weight:900; font-size:1.6rem; color:#2d6a4f; line-height:1;
}
.hist-stat small{ color:#3c6e47; }

.hist-media{
  position:relative; border-radius:18px; overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}
.hist-img{
  width:100%; height:100%; display:block; object-fit:cover;
  transform:scale(1.02); transition:transform .5s ease, filter .5s ease;
  filter:contrast(1.05) saturate(1.08);
}
.hist-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 100%);
  pointer-events:none;
}
.hist-media:hover .hist-img{ transform:scale(1.06); }

.hist-chip{
  position:absolute; background:rgba(45,106,79,.92); color:#fff;
  font-weight:800; font-size:.85rem; padding:8px 12px; border-radius:999px;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
  backdrop-filter:blur(4px);
}

/* ===== HISTORIA con fondo degradado verde ===== */
#historia {
  position: relative;
  width: 100vw; /* ✅ cubre todo el ancho visible */
  left: 50%;
  right: 50%;
  margin-left: -50vw; /* ✅ truco para romper el límite del container padre */
  margin-right: -50vw;
  background: linear-gradient(135deg, #eaf8ef 0%, #d8f3dc 50%, #ccebd4 100%);
  padding: 70px 0;
}


/* Ajuste timeline: línea y puntos correctamente alineados */
.hist-timeline {
  position: relative;
  padding-left: 32px;   /* más espacio para la línea */
  margin-top: 24px;
}
.hist-tl-line {
  position: absolute;
  left: 10px;           /* fija la línea más a la izquierda */
  top: 0;
  bottom: 0;
  width: 3px;
  background: #379461;
  border-radius: 3px;
}
.hist-tl-item {
  position: relative;
  margin-bottom: 18px;
  padding-left: 14px;   /* separa texto de los puntos */
  color: #1b4332;
}
.hist-tl-item strong {
  display: inline-block;
  font-weight: 800;
  color: #2d6a4f;
  margin-bottom: 2px;
}
.hist-tl-item .dot {
  position: absolute;
  left: -26px;          /* mueve el punto fuera del texto */
  top: 7px;             /* ✅ alinea verticalmente con el texto */
  width: 12px;
  height: 12px;
  background: #52b788;
  border: 2px solid #d8f3dc;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(82,183,136,0.2);
}

/* Estilo general */
.hist-tl-item div {
  font-size: 1rem;
  line-height: 1.4;
}


/* Responsive */
@media (max-width: 992px){
  .hist-media{ margin-top:6px; }
}
/* ===== PROCESO ECO360 — Stepper ===== */
.process-section{
  position:relative;
  background:
    radial-gradient(1400px 400px at 50% -10%, rgba(66, 255, 151, 0.25), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
  border-top:1px solid #e3efe8;
  border-bottom:1px solid #e3efe8;
}

.process-rail{
  position:relative;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  margin: 22px 0 28px;
}
.process-rail-line{
  position:absolute; left:0; right:0; top:36px; height:4px;
  background:#d8efe3; border-radius:4px;
}
.process-rail-fill{
  position:absolute; left:0; top:0; height:100%;
  width:0%;
  background: linear-gradient(90deg, #52b788, #2d6a4f);
  border-radius:4px;
  transition: width .45s ease;
}

/* Nodos */
.process-node{
  position:relative;
  z-index:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:.35rem;
  background:#f1faf4;
  border:1px solid #d2f0df;
  border-radius:16px;
  padding:10px 8px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  outline: none;
}
.process-node img{ width:28px; height:28px; object-fit:contain; }
.process-node span{
  text-align:center; font-weight:700; color:#1b4332; font-size:.86rem; line-height:1.1;
}
.process-node:hover{ transform: translateY(-2px); box-shadow:0 10px 18px rgba(0,0,0,.06); background:#ecf8f0; }
.process-node:focus-visible{ box-shadow:0 0 0 4px rgba(82,183,136,.35); }

.process-node.active{
  background:linear-gradient(180deg, #ebfbef, #dff6e6);
  border-color:#95d5b2;
  box-shadow: 0 12px 24px rgba(82,183,136,.18);
}
.process-node.active span{ color:#2d6a4f; }

/* Tarjeta de contenido */
.process-card{
  background:#fff; border:1px solid #e3efe8; border-radius:16px;
  padding:22px 20px;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
  min-height: 220px;
}
.process-card h3{ font-weight:800; color:#1b4332; margin-bottom:6px; }
.process-card p{ color:#2d6a4f; margin-bottom:10px; }
.process-card ul{ margin: 6px 0 0 18px; color:#2d6a4f; }

/* Media */
.process-media{
  position:relative; border-radius:18px; overflow:hidden;
  box-shadow:0 16px 32px rgba(0,0,0,.12);
}
.process-media img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform: scale(1.02);
  transition: transform .6s ease, filter .6s ease, opacity .35s ease;
  filter: contrast(1.05) saturate(1.08);
}
.process-media-grad{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.25) 100%);
  pointer-events:none;
}
.process-media:hover img{ transform: scale(1.06); }

/* Responsivo */
@media (max-width: 992px){
  .process-rail-line{ top:34px; }
  .process-node span{ font-size:.8rem; }
}
@media (max-width: 576px){
  .process-rail{ grid-template-columns: repeat(3, 1fr); }
  .process-rail-line{ display:none; } /* en móvil no mostramos riel continuo */
}
/* ======= Propuesta de valor · BG vídeo y layout ======= */
.pv-section {
  position: relative;
  padding: 72px 0;
  overflow: clip; /* evita desbordes del video en iOS */
}
.pv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.9);
  z-index: 0;
}
.pv-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(41, 171, 135, .35), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.65) 100%);
  z-index: 1;
}
#propuesta-valor .container { position: relative; z-index: 2; }

/* ======= Filtros (verde en hover/activo) ======= */
.pv-filtros[role="tablist"] { display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; padding:0; }
.pv-filtros [role="tab"]{
  list-style:none; padding:.45rem .85rem; border-radius:999px; 
  cursor:pointer; user-select:none; outline:none;
  background: rgba(255,255,255,.06);
  color:#e6fff4; border:1px solid rgba(255,255,255,.22);
  transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
  backdrop-filter: blur(6px);
}
.pv-filtros [role="tab"]:hover{
  background:#2d6a4f; color:#fff; border-color:#2d6a4f; transform:translateY(-1px);
}
.pv-filtros [role="tab"][aria-selected="true"]{
  background:#52b788; color:#0b2b1f; border-color:#52b788; font-weight:800;
}
.pv-filtros [role="tab"]:focus-visible{
  box-shadow:0 0 0 3px rgba(82,183,136,.35); border-color:#52b788;
}

/* ======= Grid tarjetas ======= */
.pv-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.pv-grid .adv-card{
  grid-column: span 6;
  min-height: 170px;
}
@media (max-width: 991.98px){
  .pv-grid .adv-card{ grid-column: span 12; }
}

/* ======= Tarjeta “glass” ======= */
.adv-card {
  position: relative;
  border-radius: 18px;
  padding: 18px 18px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0,0,0,.20);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .3s ease;
}

/* 💚 Hover verde translúcido */
.adv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  border-color: rgba(82,183,136,.8);
  background: linear-gradient(180deg, rgba(82,183,136,.28), rgba(82,183,136,.18));
}

/* Texto e íconos permanecen blancos */
.adv-card:hover .adv-title,
.adv-card:hover .adv-body,
.adv-card:hover .adv-toggle {
  color: #ffffff !important;
}
.adv-card:hover .adv-icon-wrap {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.35);
}

/* ===== Ajuste de contraste en tarjetas de propuesta de valor ===== */
#propuesta-valor .adv-card,
#propuesta-valor .adv-card .adv-body,
#propuesta-valor .adv-card .adv-title {
  color: #fff !important;
}

#propuesta-valor .adv-body strong {
  color: #ffffff;
  font-weight: 700;
}

#propuesta-valor .adv-card .adv-toggle {
  color: rgba(255,255,255,.7);
}

#propuesta-valor .adv-card:hover .adv-title {
  color: #b6ffd5; /* un toque verde claro al hover */
}

#propuesta-valor .adv-icon-wrap {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
}
