/* cards Page Styles */


/* Hero Section */
.cards-hero {
    background: #13AE71;
    min-height: 886px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cards-hero .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1;
    padding-top: 8.81rem;
    padding-bottom: 80px;
}

.cards-hero-content {
    max-width: 648px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.cards-hero-title {
    font-size: 56px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    line-height: 61.6px;
    margin-bottom: 24px;
}

.cards-hero-title-white {
    color: white;
}

.cards-hero-title-black {
    color: #121212;
}

.cards-hero-subtitle {
    font-size: 20px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    line-height: 22px;
    color: #121212;
    margin-bottom: 32px;
    max-width: 374px;
}

.cards-hero-image {
    position: absolute;
    top: 13.4rem;
    right: 10.5rem;
    z-index: 1;
}

.cards-hero-image img {
    width: 48.5rem;
    height: 48.5rem;
    object-fit: contain;
}

.cta-button-mobile {
    display: none;
}

.cta-button-desktop {
    display: block;
}

/* Mobile Styles Hero */
@media (max-width: 768px) {
    .cards-hero {
        min-height: auto;
        padding: 2rem 0;
        overflow: visible;
    }
    
    .cards-hero .container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding-top: 6.5rem;
        padding-bottom: 2rem;
        overflow: visible;
    }
    
    .cards-hero-content {
        max-width: 100%;
        text-align: left;
        order: 1;
    }
    
    .cards-hero-title {
        font-size: 2rem;
        line-height: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .cards-hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.375rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .cta-button-desktop {
        display: none;
    }
    
    .cta-button-mobile {
        order: 3;
        display: block;
        text-align: center;
    }
    
    .cards-hero-image {
        position: relative;
        order: 2;
        display: block;
        text-align: center;
        top: 0;
        left: -2rem; 
    }
    
    .cards-hero-image img {
        width: 27.5rem;
        height: 27.5rem;
    }
    
    .cta-button-mobile {
        order: 3;
        display: block;
        text-align: center;
    }
}

/* Steps Section */
.cards-steps {
    padding: 80px 0;
    background: white;
}

.cards-steps-title {
    text-align: center;
    font-size: 40px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    line-height: 44px;
    margin-bottom: 80px;
}

.cards-steps-title-green {
    color: #13AE71;
}

.cards-steps-title-black {
    color: #121212;
}

.cards-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1008px;
    margin: 0 auto;
}

.cards-step-card {
    background: #F5F5F5;
    border-radius: 40px;
    padding: 26px;
    text-align: left;
    position: relative;
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cards-step-number {
    font-size: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    line-height: 34.8px;
    color: #121212;
    margin-bottom: 12px;
}

.cards-step-image {
    width: 100%;
    height: 242px;
    margin-bottom: 20px;
    border-radius: 24px;
    overflow: hidden;
}

.cards-step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cards-step-title {
    font-size: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    line-height: 34.8px;
    color: #121212;
    margin-bottom: 12px;
    text-align: left;
}

.cards-step-description {
    color: var(--Negro, #121212);
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.025rem;
    opacity: 0.6;
    flex: 1;
    text-align: left;
}

/* Features Section */
.cards-features {
    background: #FFC402;
    min-height: 800px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
}

.cards-features .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.cards-features-content {
    max-width: 453px;
}

.cards-features-title {
    font-size: 40px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    line-height: 44px;
    margin-bottom: 40px;
}

.cards-features-title-white {
    color: white;
}

.cards-features-title-black {
    color: #121212;
}

.cards-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cards-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cards-feature-check {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 100px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-feature-check img {
    width: 2.125rem;
    height: 2.125rem;
    object-fit: contain;
}

.cards-feature-item span {
    font-size: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    line-height: 34.8px;
    color: #121212;
}

.cards-features-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: stretch;
    height: 100%;
    width: 44.375rem;
}

.cards-features-image img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    aspect-ratio: 2/3;
    object-fit: cover;
}

/* Products Section */
.cards-products {
    padding: 80px 0;
    background: white;
}

.cards-products-title {
    text-align: center;
    font-size: 40px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    line-height: 44px;
    margin-bottom: 24px;
}

.cards-products-title-green {
    color: #13AE71;
}

.cards-products-title-black {
    color: #121212;
}

.cards-products-description {
    text-align: center;
    font-size: 1.25rem;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    line-height: 22px;
    color: #121212;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cards-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* Mobile Styles for Products */
@media (max-width: 768px) {
    .cards-products {
        padding: 2rem 0;
    }
    
    .cards-products-title {
        font-size: 1.75rem;
        line-height: 1.925rem;
        margin-bottom: 1rem;
    }
    
    .cards-products-description {
        font-size: 1.25rem;
        line-height: 1.375rem;
        margin-bottom: 2rem;
    }
    
    .cards-products-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        max-width: none;
        margin: 0 1rem;
    }
    
    .product-card {
        width: 100%;
        max-width: 380px;
    }
}

/* CTA Section */
.cards-cta-section {
    background: #13AE71;
    min-height: 428px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cards-cta-image {
    width: 50%;
    height: 428px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.cards-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cards-cta-content {
    width: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 80px;
    z-index: 2;
}

.cards-cta-title {
    width: 24.6rem;
    font-size: 40px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    line-height: 44px;
    margin-bottom: 32px;
}

.cards-cta-title-white {
    color: white;
}

.cards-cta-title-black {
    color: #121212;
}

.cards-cta-description {
    font-size: 20px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    line-height: 22px;
    color: white;
    margin-bottom: 32px;
    width: 27.6rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Products Section Mobile */
    .cards-products {
        padding: 3rem 1rem;
    }

    .cards-products-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .cards-products-description {
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .cards-products-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .product-card {
        width: 100%;
    }
    /* Steps Section Mobile */
    .cards-steps {
        padding: 2rem 0;
    }
    
    .cards-steps-title {
        font-size: 1.75rem;
        line-height: 1.925rem;
        margin-bottom: 2rem;
    }
    
    .cards-steps-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 0 1rem 1.5rem 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .cards-step-card {
        width: 16.42238rem;
        height: 24.40475rem;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 1.5rem;
        background: #F5F5F5;
        border-radius: 1rem;
        text-align: left;
    }
    
    .cards-step-number {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .cards-step-image {
        margin-bottom: 1rem;
    }
    
    .cards-step-image img {
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
    }
    
    .cards-step-title {
        font-size: 1.25rem;
        line-height: 1.375rem;
        margin-bottom: 0.5rem;
    }
    
    .cards-step-description {
        font-size: 1rem;
        line-height: 1.1rem;
    }

    /* Features Section Mobile */
    .cards-features {
        padding: 0;
        background: #FFC402;
        flex-direction: column;
        min-height: auto;
        display: block;
    }
    
    .cards-features .container {
        display: block;
        padding: 0 !important;
        margin: 0;
        max-width: none;
    }
    
    .cards-features-image {
        position: static;
        width: 100%;
        height: 50vh;
        z-index: 1;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .cards-features-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .cards-features-content {
        max-width: none;
        padding: 2rem 1rem;
        z-index: 2;
        display: block;
    }
    
    .cards-features-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        text-align: center;
        line-height: 1.925rem;
    }
    
    .cards-feature-check {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .cards-feature-check img {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .cards-feature-item span {
        font-size: 1.25rem;
        line-height: 1.375rem;
    }

    /* CTA Section Mobile */
    .cards-cta-section {
        padding: 0;
        display: block;
        min-height: auto;
    }
    
    .cards-cta-image {
        position: static;
        width: 100%;
        height: 50vh;
        display: block;
        margin: 0;
        padding: 0;
        left: auto;
        top: auto;
        z-index: 1;
    }
    
    .cards-cta-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .cards-cta-content {
        position: static;
        width: 100%;
        padding: 2.5rem 1rem 2rem 1rem;
        background: #13AE71;
        display: block;
        text-align: left;
        right: auto;
        top: auto;
        transform: none;
        z-index: 2;
    }
    
    .cards-cta-title {
        font-size: 1.75rem;
        line-height: 1.925rem;
        margin-bottom: 1.5rem;
        width: 21.4rem;
    }
    
    .cards-cta-description {
        font-size: 1.25rem;
        line-height: 1.375rem;
        margin-bottom: 3.5rem;
        width: 16.3rem;
    }
}

/* Cards page mobile header styles */
body.cards-page .mobile-nav-link.active {
    color: #E5E5E5 !important;
    text-decoration: underline !important;
}

body.cards-page .mobile-nav-link.active::after {
    display: none;
}
