html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Lato', Arial, sans-serif;
    scroll-behavior: smooth;
}
    
*,
*::after,
*::before {
   box-sizing: inherit;
}
    
body {
   margin: 0;
   padding: 0;
   overflow-x: hidden;
}

ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p{
    padding: 0;
    margin: 0;
}

section, main, header{
    position: relative;
}

/* === NAVBAR GENERAL === */
.navbar {
  width: 100%;
  background: linear-gradient(to bottom, #023602c7, #05c2058c);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
  padding: 10px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
}

/* === LINKS === */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  font-weight: 700;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;  
  font-weight: 700;
}

.nav-links li a:hover {
  color: #07549c;
}

/* === DROPDOWN === */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 15px;
  left: 0;
  background: #03ac03f2;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: none;
  border-radius: 6px;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu li a {
  color: #fff;
  font-size: 15px;
  display: block;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.arrow {
  font-size: 12px;
  margin-left: 5px;
}

/* === LOGO === */
.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* === HAMBURGER MENU === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: relative;
  z-index: 2000;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  margin-bottom: 5px;
  transition: all 0.4s ease;
}

/* Animación de X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(0, 100, 0, 0.9), rgba(0, 180, 0, 0.7));
    width: 100%;
    height: calc(100vh - 70px);
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: left 0.5s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown-menu {
    position: static;
    background: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
}

/* Imagen de fondo */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/bg-hero-ambientamex\ .jpg') center/cover no-repeat;
  opacity: 0;
  animation: heroBgFade 2s ease forwards;
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeUp 1.2s ease forwards;
}

/* Título */
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px #000000b2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards 0.3s;
}

.hero-title span {
  color: #1ccf1c;
}

/* Subtítulo */
.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 30px;
  color: #1ccf1c;
  text-shadow: 2px 2px 5px #000000b2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards 0.6s;
}

/* Prueba social */
.hero-social-proof {
  margin-bottom: 35px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards 0.9s;
}

.hero-social-proof p {
  font-weight: 500;
  margin-bottom: 10px;
}

.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-logos span {
  font-weight: 700;
  text-shadow: 2px 2px 5px #000000b2;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* CTA */
.hero-cta {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards 1.2s;
}

.hero-cta-text {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #1ccf1c;
}

.hero-btn {
  background: linear-gradient(90deg, #00b300, #33cc33);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background: linear-gradient(90deg, #33cc33, #00b300);
  transform: scale(1.05);
}

/* Animaciones */
@keyframes heroBgFade {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logos img {
    height: 28px;
  }
}

/*presentacion*/

.presentacion {
  position: relative;
  width: 100%;
  padding: 80px 5%;
  color: #5e5e5e;
  overflow: hidden;
}

.presentacion-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/ambientamex-presentacion.png') center/cover no-repeat;
  opacity: 0.4;
  z-index: 1;
}

.presentacion-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #006400b3;
  z-index: 2;
}

.presentacion-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.presentacion-title {
  font-size: 2.5rem;
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
  color: #006400b3;
}

.presentacion-text {
  width: 100%;
}

.presentacion-parrafo {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.presentacion-subtitle {
  font-size: 1.5rem;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #1ccf1c;
}

.presentacion-bullets {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 25px;
}

.presentacion-bullets li {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .presentacion {
    padding: 60px 5%;
  }

  .presentacion-title {
    font-size: 2rem;
  }

  .presentacion-parrafo, .presentacion-bullets li {
    font-size: 1rem;
  }

  .presentacion-subtitle {
    font-size: 1.3rem;
  }
}

.ecocir {
  position: relative;
  width: 100%;
  padding: 80px 8%;
  color: #003300;
  background: linear-gradient(100deg, #ffffff 40%, #c8f7c5 80%, #2ca02c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ecocir-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
}

/* Imagen */
.ecocir-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecocir-img-placeholder {
  width: 100%;
  height: 350px;
  background: rgba(0, 100, 0, 0.1);
  display: flex;
  justify-content: center;
  border: 2px dashed rgba(0, 100, 0, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ecocir-img-placeholder img{
  height: 100%;
}

.ecocir-img-placeholder:hover {
  background: rgba(0, 100, 0, 0.15);
  transform: scale(1.02);
}

/* Contenido */
.ecocir-content {
  flex: 1 1 50%;
  animation: slideRight 1.2s ease forwards;
  opacity: 0;
  transform: translateX(50px);
}

.ecocir-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #004d00;
}

.ecocir-parrafo {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #003300;
}

/* Animaciones */
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .ecocir {
    padding: 60px 5%;
  }

  .ecocir-container {
    flex-direction: column;
    text-align: center;
  }

  .ecocir-image {
    order: 1;
    width: 100%;
  }

  .ecocir-content {
    order: 2;
    transform: translateY(50px);
    animation: slideUp 1.2s ease forwards;
  }

  .ecocir-title {
    font-size: 2rem;
  }

  .ecocir-parrafo {
    font-size: 1rem;
  }
}

/* Animación móvil */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*prioridad*/

.prioridad {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 0 8%;
}

/* Fondo */
.prioridad-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/prioridad.webp') center/cover no-repeat;
  opacity: 0.8;
  z-index: 1;
  transform: scale(1.05);
  animation: prioridadFade 2s ease forwards;
}

/* Overlay verde */
.prioridad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 80, 0, 0.6);
  z-index: 2;
}

/* Contenido */

/* Título */
.prioridad-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #eaffea;
  animation: fadeDown 1.2s ease forwards;
}

.prioridad-title span {
  color: #aaffaa;
}

.prioridad-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  animation: fadeUp 1.5s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

.prioridad-text {
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 400;
}

.prioridad-text strong {
  color: #aaffaa;
  font-weight: 600;
}

.prioridad-text em {
  color: #e6ffe6;
  font-style: normal;
  font-weight: 500;
  text-decoration: underline;
}

/* Animaciones */
@keyframes prioridadFade {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 0.8;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .prioridad {
    height: auto;
    padding: 60px 6%;
  }

  .prioridad-text {
    font-size: 1rem;
    text-align: left;
  }
}

/*nuestroserv*/

.nuestroserv {
  width: 100%;
  padding: 100px 8%;
  background: linear-gradient(135deg, #ffffff 0%, #e8f8e8 100%);
  color: #1a1a1a;
  position: relative;
}

.nuestroserv-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeDown 1.2s ease forwards;
}

.nuestroserv-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #004d00;
  margin-bottom: 1rem;
}

.nuestroserv-title span {
  color: #2ecc71;
}

.nuestroserv-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.nuestroserv-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.nuestroserv-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 420px;
  max-width: 500px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeUp 1.5s ease forwards;
  opacity: 0;
}

.nuestroserv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 100, 0, 0.2);
}

.nuestroserv-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.nuestroserv-content {
  padding: 25px;
}

.nuestroserv-subtitle {
  font-size: 1.5rem;
  color: #006400;
  margin-bottom: 10px;
  font-weight: 600;
}

.nuestroserv-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
}

.nuestroserv-list {
  list-style: disc;
  margin-left: 20px;
  color: #333;
  line-height: 1.6;
}

.nuestroserv-list strong {
  color: #00994d;
}

/* Animaciones */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .nuestroserv {
    padding: 60px 5%;
  }

  .nuestroserv-title {
    font-size: 2rem;
  }

  .nuestroserv-card {
    max-width: 100%;
  }

  .nuestroserv-img {
    height: 200px;
  }
}

.footer {
  position: relative;
  background: linear-gradient(to top, #004d00ab, #2ecc7091);
  color: #fff;
  padding: 60px 8% 20px 8%;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

/* Textura de fondo */
.footer-bg-texture {
  position: absolute;
  inset: 0;
  background: url('../img/hojas-textura.jpg') center/cover repeat;
  opacity: 0.08;
  z-index: 0;
  mix-blend-mode: overlay;
  animation: textureMove 60s linear infinite;
}

@keyframes textureMove {
  from { background-position: 0 0; }
  to { background-position: 500px 500px; }
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  text-align: center;
}

/* Redes sociales */
.footer-social {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 200px;
}

.footer-social-icons {
  display: flex;
  gap: 15px;
}

.footer-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.5);
}

/* Política de privacidad */
.footer-privacy {
  font-size: 0.9rem;
  color: #e6ffe6;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.footer-privacy:hover {
  color: #aaffaa;
  text-decoration: underline;
}

/* Logo y agradecimiento */
.footer-logo {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.footer-logo-img {
  height: 140px;
  margin-bottom: 10px;
  animation: fadeIn 1.5s ease forwards;
}

.footer-thanks {
  font-size: 0.95rem;
  color: #eaffea;
  margin-top: 10px;
  opacity: 0.9;
  line-height: 1.5;
  animation: fadeInText 2s ease forwards;
}

/* Contacto */
.footer-contact {
  flex: 1;
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.7;
  min-width: 240px;
}

.footer-contact a {
  color: #e0ffe0;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact strong {
  color: #aaffaa;
}

/* Copy */
.footer-copy {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 15px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-logo-img {
    width: 120px;
  }
}

/*contacto*/

.contacto {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('../img/fondo-contacto.jpg') center/cover no-repeat;
  font-family: 'Poppins', sans-serif;
}

.contacto-overlay {
  position: absolute;
  inset: 0;
  background: #58585844;
  backdrop-filter: blur(2px);
  z-index: 0;
}

.contacto-container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1100px;
}

.contacto-card {
  display: flex;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: fadeUp 1.2s ease forwards;
}

/* FORMULARIO */
.contacto-form {
  flex: 1;
  padding: 40px;
  min-width: 300px;
  color: #fff;
}

.contacto-form-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #eaffea;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.formulario .form-group {
  margin-bottom: 15px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.85);
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formulario input:focus,
.formulario textarea:focus {
  transform: scale(1.02);
  box-shadow: 0 0 8px rgba(0,255,100,0.5);
}

.btn-enviar {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #2ecc71, #27ae60);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-enviar:hover {
  background: linear-gradient(to right, #27ae60, #1e8449);
  transform: scale(1.03);
}

/* INFORMACIÓN */
.contacto-info {
  flex: 1;
  padding: 40px;
  color: #fff;
  background: rgba(0, 77, 0, 0.25);
  min-width: 300px;
}

.contacto-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #aaffaa;
}

.contacto-info p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.contacto-info a {
  color: #e0ffe0;
  text-decoration: none;
}

.contacto-info a:hover {
  text-decoration: underline;
}

.contacto-redes {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.contacto-redes img {
  width: 35px;
  transition: transform 0.3s ease;
}

.contacto-redes img:hover {
  transform: scale(1.1);
}

/* ANIMACIÓN */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contacto-card {
    flex-direction: column;
    align-items: center;
  }
  .contacto-info {
    text-align: center;
  }
  .contacto-form {
    text-align: center;
  }
}


/*economia-circular*/

/* HERO */
.hero-economia {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-economia-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-economia.jpg') center/cover no-repeat;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}
.hero-economia-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.377), rgba(0, 80, 0, 0.377));
  z-index: 2;
}
.hero-economia-content {
  position: relative;
  z-index: 3;
  animation: riseUp 1.2s ease forwards;
}
.hero-economia h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-economia h1 span { color: #a8ffaf; }
.hero-economia p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-economia .btn-wsp {
  background: #25d366;
  color: #fff;
  padding: 14px 35px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.hero-economia .btn-wsp:hover { transform: scale(1.08); }

/* FUNDAMENTOS */
.fundamentos {
  background: linear-gradient(135deg, #f0fff0, #ccffcc);
  padding: 80px 10%;
  text-align: center;
}
.fundamentos h2 span { color: #009900; }
.pilares-container {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.pilar-card {
  background: #fff;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url('../img/pilares_ec.jpg');
  background-position: center;
  background-attachment: fixed;
  opacity: .2;
  background-size: cover;
  transition: transform 0.3s;
  animation: floatUp 0.6s ease both;
}
.pilar-card:hover { transform: scale(1.1); }
.pilar-num {
  background: #009900;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-weight: bold;
}
.pilar-icon { 
  font-size: 1.8rem; 
  margin-bottom: 8px; 
}

/* COMPARATIVA */
.comparativa {
  background: url('../img/bg-comparativa.jpg') center/cover no-repeat;
  padding: 90px 10%;
  color: #009900;
  text-align: center;
}
.comparativa-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 50px;
}
.modelo {
  background: rgba(0,0,0,0.6);
  border-radius: 15px;
  padding: 30px;
  width: 320px;
  transition: transform 0.3s;
}
.modelo:hover { transform: scale(1.05); }
.modelo img {
  width: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}
.modelo h3 { color: #aaffaa; margin-bottom: 15px; }
.modelo li { margin-bottom: 8px; font-size: 1rem; }

/* CASOS DE ÉXITO */
.casos {
  background: linear-gradient(135deg, #eaffea, #c8ffce);
  padding: 80px 10%;
  text-align: center;
}
.casos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.caso {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
.caso:hover { transform: translateY(-5px); }

/* CTA FINAL */
.cta-final {
  background: url('../img/cta-economia-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 8%;
  position: relative;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,60,0,0.6);
  z-index: 1;
}
.cta-content {
  position: relative;
  z-index: 2;
  animation: riseUp 1s ease forwards;
}
.cta-final span { color: #a8ffaf; }
.cta-botones {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btn-cta, .btn-wsp {
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-cta { background: #009900; color: #fff; }
.btn-wsp { background: #25d366; color: #fff; }
.btn-cta:hover, .btn-wsp:hover { transform: scale(1.05); }

/* ANIMACIONES */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes riseUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-economia h1 { font-size: 2rem; }
  .comparativa-grid { flex-direction: column; align-items: center; }
  .pilar-card { width: 260px; height: 260px; }
  .casos-grid { grid-template-columns: 1fr; }
}

/* ===== EFECTO PARALLAX ===== */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: background-position;
  transition: background-position 0.2s ease-out;
}

/* Ajustes responsivos: desactiva parallax en móviles (mejor rendimiento) */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}


/* HERO */
.hero-destruccionf {
  position: relative;
  height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-destruccionf-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-destruccionf.jpg') center/cover no-repeat;
  z-index: 1;
}
.hero-destruccionf-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 0, 0.6);
  z-index: 2;
}
.hero-destruccionf-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  animation: fadeUp 1.2s ease;
}
.hero-destruccionf h1 span {
  color: #b0ffb0;
}
.btn-hero-cta {
  display: inline-block;
  margin-top: 20px;
  background: #25d366;
  color: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-hero-cta:hover {
  transform: scale(1.05);
  background: #1eb854;
}

/* CONCEPTO */
.concepto {
  background: url('../img/papel-arrugado.jpg') center/cover no-repeat;
  color: #222;
  padding: 80px 10%;
}
.concepto-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.concepto-text {
  flex: 1;
}
.concepto h2 span {
  color: #007f00;
}
.concepto p {
  font-size: 1.2rem;
  line-height: 1.7;
}
.concepto-img {
  flex: 1;
  text-align: right;
}
.concepto-img img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* DOCUMENTOS */
.documentos {
  background: linear-gradient(135deg, #ffffff, #dfffdc);
  padding: 80px 10%;
  text-align: center;
}
.documentos-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}
.doc-card {
  background: #fff;
  border-radius: 15px;
  width: 250px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.doc-card:hover {
  transform: scale(1.05);
}
.doc-card img {
  width: 60px;
  margin-bottom: 15px;
}
.documentos-cta {
  margin-top: 50px;
}
.btn-doc-cta {
  background: #007f00;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 15px;
  transition: all 0.3s;
}
.btn-doc-cta:hover {
  background: #00aa00;
  transform: scale(1.05);
}

/* IDENTIFICACIÓN */
.identificaciondf {
  background: url('../img/identificacion-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 10%;
  text-align: center;
}
.tabla-comparativa {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
}
.col {
  flex: 1;
}
.col ul {
  list-style: none;
  padding: 0;
}
.col li {
  background: rgba(0, 0, 0, 0.5);
  margin: 10px 0;
  padding: 12px 20px;
  border-radius: 10px;
}
.flechas img {
  display: block;
  margin: 18px auto;
  width: 75px;
}

/* ANIMACIONES */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .concepto-content {
    flex-direction: column;
  }
  .tabla-comparativa {
    flex-direction: column;
  }
  .flechas img {
    transform: rotate(90deg);
  }
}
