
:root {
    --primary-dark: #101A33;
    --text-black: #000000;
    --bg-white: #ffffff;
    --transition-smooth: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f9; 
}


.main-header {
    width: 95%;               
    margin: 0.5% auto;        
    background-color: var(--bg-white);
    border-radius: 8px;       
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: fixed !important;
    top: 1.5%;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-container {
    width: 100%;
    padding: 1% 3%;           
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header-logo-link {
    display: flex;
    align-items: center;
    max-width: 15%;           
}

.header-logo {
    width: 35%;
    height: auto;
    object-fit: contain;
}


.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;              
}

.nav-link {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-dark);
    opacity: 0.8;
}


.nav-btn-contact {
    text-decoration: none;
    background-color: var(--primary-dark);
    color: var(--bg-white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: var(--transition-smooth);
}

.nav-btn-contact:hover {
    background-color: #2d54d3;
}


.mobile-actions, .mobile-drawer, .drawer-overlay {
    display: none;
}


@media (max-width: 992px) {
    .desktop-nav {
        display: none; 
    }

    .header-logo-link {
        max-width: 40%; 
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 1.2rem;
    }

    
    .burger-menu-btn {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 5px;
    }

    .burger-line {
        width: 25px;
        height: 3px;
        background-color: var(--text-black);
        border-radius: 2px;
    }

    
    .mobile-drawer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        top: 0;
        right: -70%;           
        width: 70%;            
        height: 100vh;         
        background-color: var(--bg-white);
        z-index: 200;
        padding: 6% 5%;
        transition: right 0.4s ease-in-out;
        box-shadow: -4px 0 15px rgba(0,0,0,0.1);
        visibility: hidden;
    }

    

    .mobile-drawer.is-active {
        right: 0;
        visibility: visible;            
    }

    .drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 5%;
    }

    .close-menu-btn {
        background: none;
        border: none;
        font-size: 2.5rem;
        cursor: pointer;
        line-height: 1;
        color: var(--text-black);
    }

    .mobile-nav {
        margin: 15% 0 auto 0;  
    }

    .mobile-nav-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .mobile-link {
        text-decoration: none;
        color: var(--text-black);
        font-size: 1.3rem;
        font-weight: 500;
        display: block;
    }

    .drawer-footer {
        padding-top: 5%;
        border-top: 1px solid #eee;
    }

    .dynamic-width-btn {
        width: 100%;
        text-align: center;
    }

    
    .drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(3px);
        z-index: 150;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        display: block;
    }

    .drawer-overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }
}


.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    background-color: #101A33; 
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    z-index: 3;
}


.slide-container.align-left {
    justify-content: flex-start;
}


.slide-text-box {
    max-width: 50%; 
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative; 
    z-index: 2;         
}

.slide-container.align-right .slide-text-box {
    align-items: flex-start; 
}

.slide-title {
    font-size: clamp(1.8rem, 3.5vw, 3.5rem); 
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.slide-btn {
    text-decoration: none;
    background-color: #2B99CC;
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(43, 153, 204, 0.3);
}

.slide-btn:hover {
    background-color: #227fa9;
    transform: translateY(-2px);
}


.slide-fg {
    position: absolute;
    bottom: -50px; 
    width: auto;
    opacity: 0;
    transition: transform 1s cubic-bezier(0.1, 1, 0.1, 1), opacity 0.8s ease;
    pointer-events: none;
    z-index: 1; 
}

.slide-fg img {
    height: 100%;
    width: auto;
    object-fit: contain;
}


.align-left .slide-fg {
    left: 45%; 
    top: 25%;    
    height: 110%;   
}


.align-right .slide-fg {
    left: 10%; 
    top: 25%; 
    height: 90%;   
}


.carousel-slide.active .slide-fg {
    transform: translateY(-50px); 
    opacity: 1;
}


.carousel-indicators {
    position: absolute;
    bottom: 4%; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator-dot {
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.4s ease, background-color 0.4s ease;
}


.indicator-dot.active {
    width: 38px;
    border-radius: 20px;
    background-color: #2B99CC;
}


@media (max-width: 768px) {
    .slide-container {
        flex-direction: column;
        justify-content: top !important; 
        padding-top: 40%; 
    }

    .slide-text-box {
        max-width: 100%;
        z-index: 4;
        text-align: center;
        align-items: center !important;
        margin-top: -10%; 
    }

    .slide-title {
        margin-bottom: 1rem;
    }

    .slide-subtitle {
        margin-bottom: 1.8rem;
    }

    
    .slide-fg {
        height: 45%; 
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(0) !important;
        bottom: 0;
    }

    .align-left .slide-fg {
    top: 5%;    
    }

    .align-right .slide-fg {
    top: 20%; 
    }

    .carousel-slide.active .slide-fg {
        transform: translateX(-50%) translateY(0) !important;
    }
    
    .carousel-indicators {
        bottom: 3%; 
    }
}


.specialized-services {
    width: 100%;
    background-color: #f8f9fa; 
    padding: 4% 0;             
}

.services-section-container {
    width: 100%;
    max-width: 90%;            
    margin: 0 auto;
}


.services-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4%;         
}

.services-main-title {
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    color: var(--primary-dark);
    font-weight: 700;
}


.btn-more-services {
    text-decoration: none;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    padding: 0.7rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    font-size: 1rem;
    white-space: nowrap;
}

.btn-more-services:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2%; 
}


.service-card {
    position: relative;
    aspect-ratio: 3 / 4;        
    border-radius: 8px;
    overflow: hidden;           
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


.card-bg-picture {
    width: 100%;
    height: 100%;
    display: block;
}

.card-bg-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; 
}


.card-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: linear-gradient(to top, rgba(16, 26, 51, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;  
    padding: 10% 8%;            
    z-index: 2;
}


.card-service-title {
    color: var(--bg-white);
    font-size: clamp(1.1rem, 1.4vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}


.btn-view-service {
    text-decoration: none;
    color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px); 
    text-align: center;
    padding: 0.6rem 0;
    width: 100%;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-view-service:hover {
    background-color: var(--bg-white);
    color: var(--text-black);
}


.service-card:hover .card-bg-picture img {
    transform: scale(1.08); 
}


@media (max-width: 768px) {
    .services-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 8%;
    }

    .btn-more-services {
        width: 100%;
        text-align: center;
    }

    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem; 
    }

    .service-card {
        aspect-ratio: 4 / 3; 
    }
    
    .card-overlay-content {
        padding: 6% 6%;
    }
}






.stats-section {
    width: 100%;
    background-color: #e8f0fa; /*tono prueba #e7f1fc*/
    padding: 4% 0;
    overflow: hidden;
    contain: content; 
}

.stats-container {
    width: 100%;
    max-width: 90%; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: 30% 35% 30%;
    gap: 2.5%;
    align-items: center;
}


.stats-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stats-main-heading {
    font-size: clamp(1.4rem, 2vw, 2.2rem);
    color: black;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.stats-action-btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}


.stats-gallery-cascade {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    position: relative;
    padding: 20px;
}

.cascade-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(16, 26, 51, 0.12);
    background-color: #ddd;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity; 
    backface-visibility: hidden;     
}

.stats-section.es-visible .cascade-item {
    animation-name: fadeUpCascade;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    animation-fill-mode: forwards;
}

.cascade-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.cascade-item.item-1 { animation-delay: 0.1s; }
.cascade-item.item-2 { animation-delay: 0.2s; margin-top: 10%; margin-left: -20%; }
.cascade-item.item-3 { animation-delay: 0.3s; margin-top: -10%; margin-left: 10%; }
.cascade-item.item-4 { animation-delay: 0.4s; margin-top: 1%; margin-left: -15px; }
.cascade-item.item-5 { animation-delay: 0.5s; margin-top: -10%; }
.cascade-item.item-6 { animation-delay: 0.6s; margin-top: 1%; margin-left: -20%; }


.stats-metrics-block {
    width: 100%;
}

.metrics-list {
    display: flex;
    flex-direction: column;
}

.metric-row {
    padding: 1.8rem 0;
    border-bottom: 1px solid #d0d7de; 
}

.metric-row:last-child {
    border-bottom: none; 
}

.metric-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
}

.metric-label {
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    color: black;
    font-weight: 500;
    margin-top: 0.3rem;
}





@keyframes fadeUpCascade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: 1fr; 
        gap: 3rem;
    }

    .stats-text-block {
        align-items: center;
        text-align: center;
    }

    .stats-gallery-cascade {
        max-width: 80%;
        margin: 0 auto;
        gap: 10px;
    }
    
    
    .cascade-item { margin: 0 !important; }

    .metric-row {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


.trust-bar-section {
    width: 100%;
    background-color: #d3e3f1; 
    min-height: 30vh;          
    display: flex;
    align-items: center;       
    padding: 4% 0;             
}

.trust-container {
    width: 100%;
    max-width: 90%;            
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4%;
}


.trust-title-block {
    flex: 0 0 30%;             
}

.trust-main-title {
    font-size: clamp(1.3rem, 1.8vw, 2rem);
    color: var(--text-black);  
    font-weight: 500;
    line-height: 1.3;
}


.trust-benefits-block {
    flex: 1;
}

.benefits-flex-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.benefit-flex-item {
    display: flex;
    align-items: center;       
    gap: 12px;
    flex: 1;
}


.benefit-icon-circle {
    width: 30%;
    aspect-ratio: 1 / 1;
    background-color: var(--primary-dark); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;            
    box-shadow: 0 4px 10px rgba(16, 26, 51, 0.15);
}

.benefit-icon-circle img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}


.benefit-item-text {
    color: var(--text-black);  
    font-size: clamp(0.85rem, 1vw, 1.05rem);
    font-weight: 400;
    line-height: 1.4;
}


@media (max-width: 992px) {
    .trust-container {
        flex-direction: column;  
        align-items: flex-start;
        gap: 2rem;
    }

    .trust-title-block {
        width: 100%;
    }

    
    .benefits-flex-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
        width: 100%;
    }

    .benefit-icon-circle{
        width: 15%;
        aspect-ratio: 1 / 1;
    }

    .benefit-flex-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .benefit-item-text {
        font-size: 1.1rem;      
    }
}


.slogan-section {
    width: 100%;
    background-color: var(--primary-dark); 
    min-height: 100vh; 
    display: flex;
    align-items: center; 
    padding: 4% 0; 
}

.slogan-container {
    width: 100%;
    max-width: 90%; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.7fr 1fr; 
    gap: 3%;
    align-items: stretch;
}


.slogan-left-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slogan-main-title {
    color: var(--bg-white);
    font-size: clamp(1.8rem, 2.5vw, 3.5rem); 
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 5%; 
}

.slogan-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 4%;
    flex-grow: 1; 
}


.slogan-center-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.slogan-description {
    color: var(--bg-white);
    text-align: center;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    line-height: 1.5;
    font-weight: 400;
    opacity: 0.9;
}


.slogan-img-box {
    width: 100%;
    height: 100%;
    border-radius: 8px; 
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05); 
}


.center-img-box {
    flex-grow: 1; 
    min-height: 180px; 
}

.right-img-box {
    min-height: 100%;
}


.slogan-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


@media (max-width: 992px) {
    .slogan-section {
        min-height: auto; 
        padding: 10% 0;
    }

    .slogan-container {
        grid-template-columns: 1fr; 
        gap: 3rem;
    }

    .desktop-only {
        display: none; 
    }

    .slogan-main-title {
        text-align: center;
        margin-bottom: 2rem;
    }

    .slogan-sub-grid {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }

    .slogan-img-box {
        aspect-ratio: 4 / 3; 
        height: auto;
    }
    
    .slogan-description {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .right-img-box {
        aspect-ratio: 3 / 4; 
    }
}


.trust-logos-section {
    width: 100%;
    background-color: #d3e3f1; 
    min-height: 35vh;          
    display: flex;
    flex-direction: column;
    justify-content: center;   
    padding: 4% 0;
    overflow: hidden;
}

.logos-container {
    width: 100%;
    max-width: 90%;            
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;                 
}

.logos-main-title {
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    color: var(--text-black);
    font-weight: 500;
    line-height: 1.3;
}


.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}


.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 1rem; 
    
    animation: scrollTicker 40s linear infinite;
}


.ticker-track:hover {
    animation-play-state: paused;
}


.logo-box {
    width: 180px;              
    height: 100px;             
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;       
    filter: grayscale(100%) opacity(0.6); 
    transition: var(--transition-smooth);
}


.logo-box:hover {
    background-color: #d2dceb; 
    box-shadow: 0 8px 25px rgba(16, 26, 51, 0.15); 
    transform: translateY(-5px); 
}

.logo-box:hover img {
    filter: grayscale(0%) opacity(1); 
}


@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        
        transform: translateX(-50%);
    }
}


@media (max-width: 992px) {
    .logos-container {
        gap: 2rem;
    }
    
    .ticker-track {
        gap: 2rem; 
    }

    .logo-box {
        width: 140px; 
        height: 80px;
    }
}


.main-footer {
    width: 100%;
    background-color: var(--primary-dark); 
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
}

.footer-top-container {
    width: 100%;
    max-width: 90%; 
    margin: 0 auto;
    padding: 4% 0 3% 0; 
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}


.footer-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-brand-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    width: 150px; 
    height: auto;
    object-fit: contain;
}

.vertical-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3); 
}

.footer-slogan {
    font-size: clamp(1.2rem, 2.5vw, 3rem);
    font-weight: 500;
    line-height: 1.3;
}

.btn-outline-white {
    text-decoration: none;
    color: var(--bg-white);
    border: 2px solid var(--bg-white); 
    background-color: transparent;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-outline-white:hover {
    background-color: var(--bg-white); 
    color: var(--primary-dark);        
}


.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr; 
    gap: 2rem;
    font-style: normal; 
}

.contact-card-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--bg-white);
    transition: transform 0.3s ease;
}



.contact-icon-circle {
    width: 55px;
    height: 55px;
    background-color: #1a2a4f; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-circle img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.contact-text-box {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-title {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.8;
}

.contact-value {
    color: var(--bg-white);
    text-decoration: none;
    font-size: clamp(0.95rem, 1.4vw, 1.4rem);
    font-weight: 500;
}


.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
    margin: 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem; 
}

.footer-link {
    text-decoration: none;
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}


.footer-bottom-bar {
    width: 100%;
    background-color: #0b1224; 
    padding: 1.5% 0;
}

.footer-bottom-container {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.footer-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1; 
}

.social-circle {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5); 
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-circle img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.social-circle:hover {
    background-color: var(--bg-white);
}


.social-circle:hover img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}


.footer-copy-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 2;
}

.copy-text {
    font-size: 0.95rem;
    font-weight: 300;
}

.copy-subtext {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 300;
}

.spacer-flex {
    flex: 1; 
}


@media (max-width: 992px) {
    .footer-top-container {
        padding: 12% 0 8% 0;
        gap: 2.5rem;
    }

    .footer-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-brand-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    
    .vertical-divider {
        width: 50px;
        height: 2px;
    }

    .btn-outline-white {
        width: 100%;
        text-align: center;
    }

    
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-nav-list {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 5% 0;
    }

    .footer-socials {
        justify-content: center;
        width: 100%;
    }

    .spacer-flex {
        display: none;
    }
}


.nosotros-hero-section {
    --bg-nosotros-blue: #d3e3f1; 
    background-color: var(--bg-nosotros-blue);
    padding: 10rem 0 3rem 0;
    overflow: hidden;
}

.nosotros-container {
    width: 90%;        
    margin: 0 auto;
}


.nosotros-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.nosotros-title {
    font-size: 3rem;
    color: var(--text-black);
    line-height: 1.1;
    font-weight: 800;
}

.nosotros-desc {
    font-size: 1.1rem;
    color: var(--text-black);
    line-height: 1.6;
}


.nosotros-metrics-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.nosotros-metric-item {
    flex: 1;
    text-align: center;
}

.metric-number {
    font-size: 3.5rem;
    color: var(--primary-dark); 
    font-weight: 800;
    margin-bottom: 0.5rem;
}


@property --num {
    syntax: '<integer>';
    initial-value: 0;
    inherits: false;
}


.count-up {
    animation: animarContador 4s cubic-bezier(0.1, 1, 0.1, 1) forwards;
    counter-reset: num var(--num);
}


.count-up::after {
    content: counter(num);
}


@keyframes animarContador {
    from {
        --num: 0;
    }
    to {
        --num: var(--target);
    }
}

.metric-text {
    font-size: 1.1rem;
    color: var(--text-black);
    font-weight: 500;
}


.nosotros-media-showcase {
    margin-top: -7rem;
    position: relative;
    width: 100%;
    min-height: auto; 
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    padding: 6rem 2rem 0 2rem;
}


.media-bg-container {
    position: absolute;
    top: 30%;           
    left: 0;
    width: 100%;
    height: 65%;
    border-radius: 30px;
    overflow: hidden;
    z-index: 1;
}

.media-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.media-fg-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px; 
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.media-fg-img {
    width: 100%;
    height: auto;
    max-height: 650px; 
    object-fit: contain;
    display: block;
}


@media (max-width: 992px) {
    .nosotros-text-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: -4rem;
    }

    .nosotros-title {
        font-size: 2.5rem;
        font-weight: 800;
    }

    .nosotros-desc {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .nosotros-metrics-row {
        flex-wrap: wrap;
    }
    
    .nosotros-metric-item {
        flex: 1 1 40%;
        margin-bottom: 2rem;
    }

    
    .nosotros-media-showcase {
        margin-top: -6rem; 
        padding: 2rem 1rem 0 1rem; 
        min-height: 280px; 
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    
    .media-bg-container {
        top: 40%;      
        height: 60%;   
        border-radius: 20px; 
    }

    
    .media-fg-container {
        width: 100%;
        max-width: 360px; 
        margin: 0 auto;
        display: block; 
    }

    
    .media-fg-container picture {
        display: block;
        width: 100%;
    }

    
    .media-fg-img {
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
        display: block;
    }
}


.mision-vision-section {
    width: 100%;
    background-color: var(--primary-dark); 
    padding: 6% 0;             
}

.mv-container {
    width: 100%;
    max-width: 90%;            
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 5%;                   
}


.mv-block {
    display: flex;
    align-items: flex-start;   
    gap: 1.5rem;               
}


.mv-header {
    display: flex;
    flex-direction: column;    
    align-items: center;   
    gap: 0.8rem;               
    flex-shrink: 0;            
}


.mv-icon {
    width: 50px;               
    height: 50px;
    object-fit: contain;
}


.mv-title {
    font-size: clamp(2rem, 3vw, 3.2rem); 
    font-weight: 800;
    color: var(--bg-white);  
    line-height: 1.1;
    margin: 0;
    
    flex-shrink: 0; 
}


.mv-text {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: var(--bg-white);  
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}


@media (max-width: 992px) {
    .mision-vision-section {
        padding: 12% 0;
    }

    .mv-container {
        grid-template-columns: 1fr; 
        gap: 4rem;                  
    }

    .mv-block {
        
        flex-direction: column; 
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    
    .mv-header {
        align-items: center;
    }

    .mv-icon {
    width: 48px;               
    height: 48px;
    object-fit: contain;
}
}


.page-services-catalog {
    width: 100%;
    background-color: #F8F9FA; 
    min-height: 100vh;
    padding: 11rem 0 7rem 0;   
}


.services-catalog-header {
    width: 100%;
    margin-bottom: 5rem;
}

.catalog-header-container {
    width: 100%;
    max-width: 90%;            
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr; 
    gap: 5%;
    align-items: flex-end;     
}

.catalog-section-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2B99CC;            
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.catalog-main-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.15;
}

.catalog-description {
    font-size: clamp(1rem, 1.05vw, 1.15rem);
    color: #4a5568;            
    font-weight: 400;
    line-height: 1.6;
}


.services-catalog-grid-section {
    width: 100%;
}

.catalog-grid-container {
    width: 100%;
    max-width: 70%;            
    margin: 0 auto;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.8rem;               
}


.catalog-service-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;     
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(16, 26, 51, 0.06); 
    background-color: var(--primary-dark);
}


.catalog-card-number {
    position: absolute;
    top: 6%;
    right: 5%;
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Segoe UI', sans-serif;
    z-index: 3;
    transition: var(--transition-smooth);
}


.catalog-card-picture {
    width: 100%;
    height: 100%;
    display: block;
}

.catalog-card-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}


.catalog-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;               
    
    background: linear-gradient(to top, rgba(16, 26, 51, 0.95) 0%, rgba(16, 26, 51, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 6% 7%;            
    z-index: 2;
    transition: var(--transition-smooth);
}

.catalog-card-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.catalog-card-title {
    color: var(--bg-white);
    font-size: clamp(1.2rem, 1.6vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    transition: transform 0.4s ease;
}


.catalog-card-link-text {
    color: #2B99CC;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px); 
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.catalog-card-arrow {
    transition: transform 0.3s ease;
}


.catalog-service-card:hover .catalog-card-picture img {
    transform: scale(1.06);     
}

.catalog-service-card:hover .catalog-card-number {
    color: var(--bg-white);     
    transform: scale(1.05);
}

.catalog-service-card:hover .catalog-card-link-text {
    opacity: 1;
    transform: translateY(0);    
}

.catalog-service-card:hover .catalog-card-arrow {
    transform: translateX(5px); 
}


@media (max-width: 992px) {
    .page-services-catalog {
        padding: 9rem 0 4rem 0;
    }

    
    .catalog-header-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .catalog-main-title {
        text-align: left;
    }

    .catalog-description {
        max-width: 100%;
    }

    
    .catalog-grid-container {
        max-width: 90%;
    }

    .catalog-grid {
        grid-template-columns: 1fr; 
        gap: 1.8rem;
    }

    .catalog-service-card {
        aspect-ratio: 4 / 3;   
    }

    
    .catalog-card-link-text {
        opacity: 1;
        transform: translateY(0);
    }
}


.section-beneficios {
    width: 100%;
    background-color: #F8F9FA; 
    min-height: 30vh;
    display: flex;
    align-items: center;
    padding: 2% 0;             
    overflow: hidden;
}


.beneficios-container {
    width: 100%;
    max-width: 90%;            
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4%;
    
    
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    
    padding: 3.5% 0;           
}


.beneficios-title-block {
    flex: 0 0 30%;
}

.beneficios-main-title {
    font-size: clamp(1.3rem, 1.8vw, 2rem);
    color: var(--primary-dark, #101A33); 
    font-weight: 600;
    line-height: 1.3;
}


.beneficios-list-block {
    flex: 1;
}

.beneficios-flex-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
}

.beneficio-flex-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;                   
    transition: transform 0.3s ease;
}


.beneficio-icon-circle {
    width: 48px;               
    height: 48px;
    aspect-ratio: 1 / 1;
    background-color: #cfe1f7; 
    border: 1px solid rgba(255, 255, 255, 0.7); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;            
    box-shadow: 0 4px 12px rgba(16, 26, 51, 0.05); 
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.beneficio-icon-circle img {
    width: 55%;
    height: 55%;
    object-fit: contain;
}


.beneficio-flex-item:hover .beneficio-icon-circle {
    background-color: #bee0ff;
    transform: scale(1.05);
}

.beneficio-item-text {
    color: var(--text-black, #000000);
    font-size: clamp(0.88rem, 0.98vw, 1.05rem);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}


@media (max-width: 992px) {
    .section-beneficios {
        padding: 4% 0;
    }

    .beneficios-container {
        flex-direction: column;  
        align-items: flex-start;
        gap: 2.2rem;
        padding: 7% 0;           
    }

    .beneficios-title-block {
        width: 100%;
    }

    .beneficios-main-title {
        text-align: left;
    }

    
    .beneficios-flex-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
        width: 100%;
    }

    .beneficio-flex-item {
        width: 100%;
        justify-content: flex-start;
    }

    .beneficio-icon-circle {
        width: 50px;             
        height: 50px;
    }

    .beneficio-item-text {
        font-size: 1.05rem;      
    }
}


.section-contacto-reciclable {
    width: 100%;
    background-color: #F8F9FA; 
    padding: 5% 0;
    overflow: hidden;
    position: relative;
}


.contacto-container-90 {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 4%;
    align-items: center;
}


.contacto-col-izq {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacto-header-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contacto-main-title {
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    color: var(--text-black);
    font-weight: 800;
    line-height: 1.15;
}

.contacto-subtitle {
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    color: #334155; 
    line-height: 1.5;
}


.contacto-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    position: relative;
}

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }


.robocopia-secreta {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}


.form-floating-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-floating-group input,
.form-floating-group select,
.form-floating-group textarea {
    width: 100%;
    
    padding: 1.4rem 1rem 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: var(--bg-white);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-black);
    transition: var(--transition-smooth);
    outline: none;
}

.form-floating-group textarea {
    resize: vertical;
    min-height: 120px;
}


.form-floating-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #64748b;
    pointer-events: none; 
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    margin: 0;
}


.form-floating-group textarea + label {
    top: 1rem;
    transform: none;
}


.form-floating-group .req { color: var(--primary-dark); font-weight: bold; }
.form-floating-group .opc { font-size: 0.8rem; font-weight: normal; }


.form-floating-group input:focus,
.form-floating-group select:focus,
.form-floating-group textarea:focus {
    border-color: #2B99CC;
    box-shadow: 0 0 0 3px rgba(43, 153, 204, 0.15);
}


.form-floating-group input:focus + label,
.form-floating-group input:not(:placeholder-shown) + label,
.form-floating-group textarea:focus + label,
.form-floating-group textarea:not(:placeholder-shown) + label,
.form-floating-group select:focus + label,
.form-floating-group select:valid + label {
    top: 0.4rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: #2B99CC;
    font-weight: 600;
}


.form-floating-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B99CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem; 
}



.form-action {
    margin-top: 1rem;
}

.btn-submit-andsyl {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(16, 26, 51, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-andsyl:hover {
    background-color: #1e305e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 26, 51, 0.3);
}

.btn-submit-andsyl:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}


.contacto-col-der {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 0.8rem;
    height: 100%;
}

.contacto-features {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    width: 100%;
    max-width: 400px;
    justify-content: space-between;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-white);
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    flex: 1;
    min-width: 0;
}

.feature-svg {
    width: 25px;
    height: 25px;
    color: #101A33; 
    flex-shrink: 0; 
}

.feature-item span {
    font-size: 0.8rem;
    color: var(--text-black);
    line-height: 1.25;
    white-space: normal;
}

.imagen-wrapper-flotante {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
    margin-bottom: -5px;
}

.imagen-wrapper-flotante img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}


.modal-overlay-andsyl {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 26, 51, 0.65);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.modal-overlay-andsyl.es-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card-exito {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.modal-overlay-andsyl.es-visible .modal-card-exito {
    transform: scale(1) translateY(0);
}


.check-container-animado {
    width: 80px;
    height: 80px;
}

.check-svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #22c55e; 
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #22c55e;
    animation: fill-green .4s ease-in-out .4s forwards, scale-check .3s ease-in-out .9s both;
}

.check-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #22c55e;
    fill: none;
    animation: stroke-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.check-tick {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke-tick 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke-circle { 100% { stroke-dashoffset: 0; } }
@keyframes stroke-tick { 100% { stroke-dashoffset: 0; } }
@keyframes scale-check { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }

.modal-titulo {
    font-size: 1.6rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 0;
}

.modal-texto {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.btn-modal-ok {
    background-color: #2B99CC;
    color: var(--bg-white);
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
    width: 100%;
}

.btn-modal-ok:hover {
    background-color: #1f78a0;
}


@media (max-width: 992px) {
    .contacto-container-90 {
        margin-top: 5rem;
        max-width: 80%;
        grid-template-columns: 1fr; 
        gap: 3rem;
    }

    .contacto-col-der {
        justify-content: center;
        margin-top: 2rem;
    }

    .contacto-grid-form {
        grid-template-columns: 1fr; 
    }

    .col-span-1, .col-span-2 {
        grid-column: span 1;
    }

    .btn-submit-andsyl {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 576px) {
    
    .contacto-features {
        flex-direction: column; 
        gap: 0.5rem;
    }
}


.seccion-relleno-contacto {
    padding-top: 5%; 
    background-color: #F8F9FA;
}


.page-detalle-servicio {
    width: 100%;
    
}

.bg-light-gray {
    background-color: #F8F9FA;
}

.detalle-container-90 {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
}


.detalle-hero-banner {
    position: relative;
    width: 100%;
    height: 70vh; 
    overflow: hidden;
}

.detalle-banner-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.detalle-banner-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.detalle-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 5%; 
    z-index: 2;
}

.detalle-banner-content {
    text-align: center;
    width: 90%;
    max-width: 900px;
}

.detalle-banner-subtitle {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.detalle-banner-title {
    color: var(--bg-white);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}


.detalle-descripcion-bloque {
    padding: 6% 0;
}

.detalle-bloque-titulo {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    color: var(--text-black);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.detalle-bloque-texto {
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}


.grid-textos-2col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5%;
    align-items: flex-start; 
}


.grid-texto-imagen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    align-items: center;
}

.col-texto {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detalle-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
}

.detalle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.detalle-servicios-sugeridos {
    margin-top: 0%;
    margin-bottom: 5%;
}

.sugeridos-titulo {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    color: var(--text-black);
    font-weight: 500;
    text-align: left;
}


@media (max-width: 992px) {
    .detalle-hero-banner {
        height: 60vh; 
        margin-top: 15%; 
    }

    .detalle-banner-overlay {
        height: 80%; 
        padding-bottom: 10%;
    }

    .grid-textos-2col,
    .grid-texto-imagen {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }

    .detalle-bloque-titulo {
        text-align: center;
    }

    .detalle-bloque-texto {
        text-align: center;
    }
}


.page-productos {
    padding-top: 0; 
    padding-bottom: 5%;
}

.bg-light-gray {
    background-color: #F8F9FA;
}


.productos-hero-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.productos-banner-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.productos-banner-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.productos-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(16,26,51,0.95) 0%, rgba(16,26,51,0.5) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 4%;
    z-index: 2;
}


.productos-banner-content {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
}

.banner-title-left {
    color: var(--bg-white);
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 800px;
}

.banner-subtitle-left {
    color: var(--bg-white);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.6;
    max-width: 700px;
    opacity: 0.9;
}


.productos-container-90 {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding-top: 4rem;
}


.productos-categorias-section {
    margin-bottom: 5rem;
}

.section-title-dark {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-desc-dark {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
}


.categorias-pills-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 12px;
    margin-bottom: 3rem;
}

.pill-btn {
    background-color: var(--bg-white);
    color: var(--text-black);
    border: 1px solid #cbd5e1;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pill-btn:hover, .pill-btn.active {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border-color: var(--primary-dark);
}


.catalogos-pdf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}

.pdf-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    background-color: var(--bg-white);
    aspect-ratio: 3 / 4; 
}

.pdf-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}


.catalogo-interactivo-layout {
    display: grid;
    grid-template-columns: 300px 1fr; 
    gap: 3%;
    align-items: start;
    padding-bottom: 5rem; 
}


.catalogo-sidebar {
    height: 100%; 
}


.sidebar-box {
    background-color: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(16,26,51,0.04);
    position: -webkit-sticky; 
    position: sticky;
    top: 150px; 
    z-index: 90; 
}

.sidebar-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 1.2rem;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.btn-outline-dark:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}

.w-100 { width: 100%; }


.catalogo-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.catalogo-main-title {
    font-size: 2rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.catalogo-count {
    font-size: 0.95rem;
    color: #64748b;
}

.sort-select {
    padding: 0.6rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
}


.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.producto-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.producto-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.badge-marca {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    z-index: 2;
}

.producto-img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f1f5f9; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.producto-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; 
}

.producto-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.producto-titulo {
    font-size: 1.1rem;
    color: var(--text-black);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.producto-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.producto-specs li strong {
    color: var(--primary-dark);
}

.nota-dispensador {
    font-size: 0.8rem;
    color: #059669; 
    font-weight: 600;
    margin-top: auto; 
}

.producto-action {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.btn-cotizar {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #2B99CC;
    color: var(--bg-white);
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.btn-cotizar:hover {
    background-color: #1a78a6;
}

.oculto { display: none !important; }

.no-resultados {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    color: #64748b;
    font-size: 1.1rem;
}


@media (max-width: 992px) {
    .productos-hero-banner {
        height: 55vh; 
        margin-top: 12%; 
    }

    .productos-banner-overlay {
        height: 80%; 
        padding-bottom: 10%;
    }
    
    .productos-container-90 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .catalogo-interactivo-layout {
        display: block; 
        height: auto;
    }

    .catalogo-sidebar {
        height: auto; 
        margin-bottom: 2rem;
    }

    .sidebar-box {
        position: relative !important; 
        top: 0 !important;
        z-index: 1;
    }

    .catalogo-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .top-bar-sort, .sort-select {
        width: 100%;
    }
}


@media (max-width: 768px) {
    
    
    .catalogos-pdf-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    
    .productos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px; 
    }

    
    .producto-card {
        border-radius: 8px; 
    }
    
    .badge-marca {
        top: 8px;
        left: 8px;
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    .producto-img-box {
        padding: 0.5rem;
        aspect-ratio: 1 / 1; 
    }
    
    .producto-info {
        padding: 0.8rem 0.6rem; 
    }
    
    .producto-titulo {
        font-size: 0.85rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .producto-specs {
        font-size: 0.75rem;
        gap: 0.2rem;
    }
    
    .nota-dispensador {
        font-size: 0.7rem;
        margin-top: 0.5rem;
        line-height: 1.2;
    }
    
    .producto-action {
        padding: 0 0.6rem 0.8rem 0.6rem;
    }
    
    .btn-cotizar {
        padding: 0.6rem;
        font-size: 0.85rem;
        border-radius: 4px;
    }
}


.btn-flotante-wsp {
    position: fixed;
    bottom: 30px;              
    right: 30px;               
    width: 60px;
    height: 60px;
    background-color: #25D366; 
    border-radius: 16px;       
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); 
    z-index: 9999;             
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}


.btn-flotante-wsp img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}


.btn-flotante-wsp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}


@media (max-width: 768px) {
    .btn-flotante-wsp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .btn-flotante-wsp img {
        width: 30px;
        height: 30px;
    }
}
      