.root-dummy{}
:root{
  --primary:#01274b; /* color base solicitado */
  --accent:#2e8b33; /* color para CTAs/indicador */
  --primary-strong-rgba: 1,39,75; /* helper for rgba use */
  --base-url: '/humedal/'; /* ruta base del sitio */
}
body{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; opacity:0; transition:opacity .35s ease;}
body.page-loaded{opacity:1;}
body.page-exiting{opacity:0;}
.brand-text{font-weight:700; color:var(--primary);}

/* Navbar / menú superior */
.navbar{background:#fff}
.navbar .navbar-nav .nav-link{color:var(--primary); font-weight:600; padding:0.6rem 0.9rem; text-transform:uppercase; letter-spacing:0.6px}
.navbar .navbar-nav .nav-link:hover{color:var(--primary); opacity:0.85}
.navbar .navbar-nav .nav-link.active::after{content:""; display:block; width:44px; height:3px; background:var(--accent); margin:6px auto 0; border-radius:2px}
.btn-success{background:var(--accent); border-color:var(--accent)}
.btn-success:hover{background:#246d28; border-color:#246d28}
.hero{position:relative; color:#fff; padding:72px 0; min-height:380px; display:flex; align-items:center; background-color:var(--primary);}
.hero:before{content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(var(--primary-strong-rgba),0.92) 0%, rgba(var(--primary-strong-rgba),0.65) 35%, rgba(0,0,0,0.3) 100%); z-index:0}

.hero-slider{position:relative; overflow:hidden;}
.hero-slider .slider-content{background-size:cover; background-position:center; min-height:480px; display:flex; align-items:center; color:#fff;}
.hero-slider .slider-content:before{content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(var(--primary-strong-rgba),0.85) 0%, rgba(var(--primary-strong-rgba),0.5) 35%, rgba(0,0,0,0.25) 100%); z-index:0;}
.hero-slider .slider-text{position:relative; z-index:2; max-width:600px;}
.hero-slider .slider-text h2{font-size:2.2rem; margin-bottom:12px;}
.hero-slider .slider-text .lead{font-size:1.1rem; margin-bottom:20px;}

.carousel-control-prev, .carousel-control-next{width:5%;}
.carousel-control-prev-icon, .carousel-control-next-icon{background-color:rgba(0,0,0,0.5); border-radius:50%; padding:12px;}

@media(max-width:768px){
  .hero-slider .slider-text h2{font-size:1.6rem;}
  .hero-slider .slider-text .lead{font-size:0.95rem;}
  .hero-slider .slider-content{min-height:360px;}
}
.hero-inner{display:flex; align-items:center; gap:30px; position:relative; z-index:2}
.hero-left{max-width:720px}
.hero-left h1{font-size:2.2rem; margin-bottom:12px; line-height:1.05}
.hero-left h1 span{color:var(--accent)}
.hero-sub{color:rgba(255,255,255,0.9); margin-bottom:18px}
.hero-ctas .btn{margin-right:12px}
.hero-right{flex:1}

.hero-features{display:flex; gap:18px; margin-top:18px}
.feature{display:flex; gap:12px; align-items:center; background:transparent}
.feature-icon{width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; color:var(--accent); font-size:18px}
.feature-text{color:#fff}
.feature-text .small{color:rgba(255,255,255,0.85)}

/* Buttons */
.btn-outline-light{color:#fff; border:1px solid rgba(255,255,255,0.9); background:transparent}
.btn-outline-light:hover{background:rgba(255,255,255,0.06)}
.services{padding:60px 0;}
.services h2{text-align:center; margin-bottom:8px}
.services .lead{text-align:center; color:#555}
.services-grid{display:flex; gap:18px; margin-top:24px}
.services-carousel{position:relative; overflow:visible}
.services-carousel .carousel-track{overflow-x:auto; scroll-behavior:smooth; -webkit-overflow-scrolling:touch; padding-bottom:6px}
.services-carousel .carousel-track::-webkit-scrollbar{display:none}

/* show 5 items on large screens */
.service-card{flex:0 0 calc((100% - 72px)/5);}

@media(max-width:1200px){
  .service-card{flex:0 0 calc((100% - 54px)/4);} /* 4 items */
}
@media(max-width:992px){
  .service-card{flex:0 0 calc((100% - 36px)/3);} /* 3 items */
}
@media(max-width:768px){
  .service-card{flex:0 0 calc((100% - 18px)/2);} /* 2 items */
}
@media(max-width:480px){
  .service-card{flex:0 0 100%;} /* 1 item */
}
.service-card{padding:22px; border:1px solid #e9ecef; background:#fff; text-align:center; border-radius:8px}
.service-icon{width:64px; height:64px; border-radius:50%; background:rgba(var(--primary-strong-rgba),0.08); display:flex; align-items:center; justify-content:center; color:var(--primary); margin:0 auto 12px}
.service-card h5{font-size:1rem; margin-bottom:6px}
.service-card p.small{margin:0; color:#6c757d}
.service-card:hover{transform:translateY(-6px); box-shadow:0 8px 24px rgba(var(--primary-strong-rgba),0.12)}

.carousel-btn{position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:8px; border:0; background:rgba(0,0,0,0.65); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:50; box-shadow:0 6px 18px rgba(0,0,0,0.28)}
.carousel-prev{left:10px}
.carousel-next{right:10px}
.carousel-btn:focus{outline:2px solid var(--primary)}
.carousel-btn:hover{background:rgba(0,0,0,0.8)}

/* ensure arrows remain visible on small screens */
@media(max-width:480px){
  .carousel-btn{width:36px;height:36px}
  .carousel-prev{left:6px}
  .carousel-next{right:6px}
}
.process{background:var(--primary); color:#fff; padding:40px 0}
.timeline{display:flex; gap:12px; justify-content:space-between; flex-wrap:wrap}
.step{background:rgba(255,255,255,0.06); padding:14px 18px; border-radius:8px; min-width:120px; text-align:center}
.contact-cta{padding:36px 0; text-align:center}
.contact-cta .btn{margin-top:12px}

/* Footer styling using primary color */
.site-footer{background:var(--primary); color:#fff}
.site-footer a{color:rgba(255,255,255,0.9)}

/* Process strip */
.process-strip{background:linear-gradient(90deg, rgba(var(--primary-strong-rgba),1) 0%, rgba(var(--primary-strong-rgba),0.95) 30%, rgba(10,36,60,0.9) 70%, rgba(var(--primary-strong-rgba),0.95) 100%); padding:34px 0; color:#fff}
.process-strip .steps-row{gap:8px; position:relative; padding:18px 40px; align-items:flex-start}

/* dotted connector line */
.process-strip .steps-row:before{content:''; position:absolute; left:40px; width:calc(100% - 80px); top:62px; height:0; border-top:3px dotted rgba(255,255,255,0.22); z-index:1}

.step-item{flex:1; padding:6px 18px; text-align:center}
.step-circle{width:40px; height:40px; border-radius:50%; background:linear-gradient(180deg,#39b54a,#1f8b2b); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; margin:0 auto 6px; box-shadow:0 4px 10px rgba(0,0,0,0.25); position:relative; z-index:3; border:3px solid rgba(255,255,255,0.06); font-size:14px}

.step-icon{width:36px; height:36px; border-radius:6px; background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; color:#fff; margin:6px auto 12px; font-size:16px; z-index:4}
.step-icon i{color:#fff}
.step-title{font-weight:800; margin-bottom:6px; color:#ffffff}
.text-muted-light{color:rgba(255,255,255,0.85)}
.process-right{min-width:260px; border-left:1px solid rgba(255,255,255,0.06); padding-left:28px}
.process-bullets{list-style:none;padding:0;margin:10px 0 0}
.process-bullets li{padding-left:22px; position:relative; margin-bottom:12px}
.process-bullets li:before{content:"\f00c"; font-family: 'Font Awesome 6 Free'; font-weight:900; position:absolute; left:0; top:0; color:var(--accent)}

@media(max-width:992px){
  .process-strip .container{flex-direction:column}
  .process-right{border-left:0;padding-left:0;margin-top:18px}
  .steps-row{overflow-x:auto}
  .process-strip .steps-row:before{left:4%; width:calc(100% - 8%)}
}

/* Franja blanca de contacto */
.contact-strip-white{background:#f8fafb; border-top:1px solid rgba(1,39,75,0.06); padding:40px 0;}

.badge-label{display:inline-block; background:rgba(46,139,51,0.12); color:var(--accent); padding:6px 14px; border-radius:20px; font-size:0.75rem; font-weight:700; letter-spacing:0.5px; margin-bottom:16px; text-transform:uppercase}
.contact-title{font-size:2rem; color:var(--primary); margin-bottom:16px; font-weight:800; line-height:1.2}
.contact-subtitle{color:#5a6c7a; margin-bottom:28px; line-height:1.7; font-size:1rem}

.partners-section{padding-left:100px;}

.contact-cta-group{background:#fff; padding:24px; border-radius:12px; box-shadow:0 4px 16px rgba(1,39,75,0.08); border-left:4px solid var(--accent); height:100%}
.cta-header{font-size:1.25rem; color:var(--primary); margin-bottom:8px; font-weight:700}
.cta-text{color:#6c7a83; font-size:0.95rem; margin-bottom:20px; line-height:1.5}

.contact-buttons{display:flex; flex-direction:column; gap:10px}
.contact-btn{display:flex; align-items:center; padding:12px 16px; border-radius:8px; text-decoration:none; transition:all 0.3s ease; border:1px solid transparent}
.contact-btn i{font-size:28px; margin-right:12px; min-width:32px}
.contact-btn .btn-content{display:flex; flex-direction:column; align-items:flex-start}
.contact-btn .btn-label{font-size:0.75rem; color:#6c7a83; font-weight:600}
.contact-btn .btn-value{font-size:0.95rem; font-weight:700; color:#0b2330}

.whatsapp-btn{background:rgba(37,211,102,0.08); border-color:rgba(37,211,102,0.2)}
.whatsapp-btn i{color:#25D366}
.whatsapp-btn:hover{background:rgba(37,211,102,0.15); transform:translateY(-2px); box-shadow:0 4px 12px rgba(37,211,102,0.2)}

.email-btn{background:rgba(43,111,179,0.06); border-color:rgba(43,111,179,0.15)}
.email-btn i{color:#2b6fb3}
.email-btn:hover{background:rgba(43,111,179,0.12); transform:translateY(-2px); box-shadow:0 4px 12px rgba(43,111,179,0.15)}

.partners-grid{display:flex; gap:24px; align-items:flex-start; justify-content:flex-start; flex-wrap:wrap; padding-top:20px}
.partner-item{display:flex; flex-direction:column; align-items:center; text-align:center; min-width:100px}
.partner-icon{width:64px; height:64px; border-radius:50%; background:#e8f4f0; border:2px solid #2e8b33; display:flex; align-items:center; justify-content:center; margin-bottom:12px; transition:all 0.3s ease}
.partner-icon i{font-size:28px; color:var(--primary)}
.partner-item:hover .partner-icon{transform:translateY(-4px); box-shadow:0 4px 12px rgba(46,139,51,0.2)}
.partner-label{font-size:0.85rem; color:#5a6c7a; font-weight:500; line-height:1.3}

@media(max-width:992px){
  .contact-cta-group{margin-bottom:32px; height:auto}
  .partners-section{padding-left:0}
  .contact-title{font-size:1.5rem}
  .partners-grid{justify-content:center; padding-top:16px}
  .partner-item{min-width:90px}
  .partner-icon{width:56px; height:56px}
  .partner-icon i{font-size:24px}
}

/* Residuos cards */
.residues-row{margin-top:18px}
.residue-card{min-width:320px; max-width:520px; border-radius:8px; border:2px solid transparent; background:#fff; color:#0b2330}
.residue-card .residue-icon{width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.03); color:var(--primary)}
.residue-card.green{border-color:rgba(46,139,51,0.25)}
.residue-card.green .residue-icon{background:rgba(46,139,51,0.12); color:#2e8b33}
.residue-card.red{border-color:rgba(200,40,40,0.12)}
.residue-card.red .residue-icon{background:rgba(200,40,40,0.08); color:#c82828}

@media(max-width:768px){
  .residues-row{flex-direction:column; align-items:center}
  .residue-card{width:100%; max-width:720px}
}

@media(max-width: 992px){
  .hero-left{max-width:100%}
  .hero-inner{flex-direction:column; align-items:flex-start}
  .hero{padding:48px 0}
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #1DA851;
    color: white;
}

@media (max-width: 767px) {
    .navbar .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
    }
    .navbar .navbar-nav .nav-link.active::after {
        margin: 4px auto 0;
    }
    .navbar-brand {
        margin-right: 0;
    }
    .hero-left h1 {
        font-size: 1.8rem;
    }
    .hero-sub {
        font-size: 0.9rem;
    }
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .process-strip .steps-row {
        flex-wrap: wrap;
        justify-content: center;
        padding: 18px 10px;
    }
    .process-strip .steps-row:before {
        display: none; /* Hide connector line on small screens */
    }
    .step-item {
        flex: 0 0 48%; /* Two items per row */
        margin-bottom: 20px;
    }
    .process-right {
        padding-left: 0;
        text-align: center;
    }
    .process-bullets {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px; /* Limit width for readability */
    }
    .contact-strip-white .row {
        flex-direction: column;
    }
    .contact-cta-group, .partners-section {
        padding-left: 0;
        padding-right: 0;
    }
    .partners-grid {
        justify-content: center;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 575px) {
    .hero-left h1 {
        font-size: 1.5rem;
    }
    .hero-sub {
        font-size: 0.85rem;
    }
    .hero-features {
        flex-direction: column;
    }
    .step-item {
        flex: 0 0 100%; /* One item per row */
    }
    .residue-card {
        min-width: unset;
    }
    .contact-buttons {
        flex-direction: column;
    }
    .contact-btn .btn-value {
        font-size: 0.85rem;
    }
    .contact-btn i {
        font-size: 24px;
    }
    .partners-grid {
        gap: 10px;
    }
    .partner-item {
        min-width: 80px;
    }
    .partner-icon {
        width: 50px;
        height: 50px;
    }
    .partner-icon i {
        font-size: 22px;
    }
}
