/* =================================== */
/*           VARIABLES & RESET           */
/* =================================== */
:root {
    --primary-green: #0E4F30;
    --light-green: #90EE90;
    --accent-green: #2ECC71;
    --white: #ffffff;
    --dark-text: #2C3E50;
    --light-text: #95A5A6;
    --gradient-primary: linear-gradient(135deg, var(--light-green), var(--primary-green));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =================================== */
/*           NAVIGATION BAR            */
/* =================================== */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(14, 79, 48, 0.08);
    padding: 0.5rem 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(14, 79, 48, 0.08);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

nav:hover {
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    position: relative;
    padding: 0 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-container img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-container img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-right: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nav-links a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary-green);
    background: rgba(14, 79, 48, 0.05);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* =================================== */
/*           HAMBURGER MENU            */
/* =================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    margin-left: auto;
}

.hamburger span {
    width: 2rem;
    height: 0.25rem;
    background: var(--primary-green);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* =================================== */
/*           MEDIA QUERIES             */
/* =================================== */

@media (max-width: 768px) {
    /* Navigation & Hamburger */
    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 80px 40px;
        transition: right 0.3s ease-in-out;
        gap: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 2rem;
        margin: 0;
        align-items: center;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .user-profile-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hamburger Menu Animations */
    .hamburger.active span:first-child {
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
    }
}

/* =================================== */
/*           BUTTON STYLES             */
/* =================================== */
.btn, .user-points-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: 2px solid var(--primary-green);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(14, 79, 48, 0.15);
}

.btn:hover, .user-points-btn:hover {
    background: #0a3922;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 79, 48, 0.2);
    border-color: #0a3922;
}

/* =================================== */
/*           USER DROPDOWN             */
/* =================================== */
.user-profile-wrapper {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(14, 79, 48, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(14, 79, 48, 0.15);
    width: 250px;
    padding: 1rem;
    z-index: 200;
    display: none;
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: scale(0.95);
}

.user-dropdown.show {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(14, 79, 48, 0.1);
    padding-bottom: 1rem;
}

.user-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(14, 79, 48, 0.2);
}

.user-details .full-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.user-details .biocoins {
    font-size: 0.9rem;
    color: #2D5C45;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: #2D5C45;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.logout-option:hover {
    background: rgba(14, 79, 48, 0.05);
    color: var(--primary-green);
}

/* =================================== */
/*              FOOTER                 */
/* =================================== */

.footer {
    background: linear-gradient(135deg, #0D452C 0%, #083D25 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer::before {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: rgba(152, 231, 144, 0.05);
    top: -500px;
    right: -500px;
    z-index: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Sección de contacto */
.footer-contact {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-contact a {
    color: #98E790;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.footer-contact a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-contact a:active {
    transform: scale(0.98);
}

/* Tooltip para copiado */
.copy-tooltip {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: rgba(46, 204, 113, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Enlaces de navegación */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.footer-links a:hover {
    color: #98E790;
    background: rgba(255, 255, 255, 0.1);
}

/* Sección de redes sociales */
.footer-social-section {
    margin-bottom: 2rem;
    position: relative;
    z-index: 5;
}

.footer-social-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.social-icon i {
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: #98E790;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.3);
}

/* Sección inferior */
.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        padding: 0 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-links a {
        display: block;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        margin: 0 1rem;
    }

    .social-icon {
        width: 48px;
        height: 48px;
    }

    .social-icon i {
        font-size: 1.3rem;
    }

    .footer-social {
        padding: 10px 0;
        gap: 1.25rem;
    }

    .footer-social-text {
        padding: 0 1.5rem;
        margin-bottom: 1rem;
    }

    .copy-tooltip {
        width: auto;
        max-width: 90%;
        white-space: normal;
        padding: 10px 20px;
        bottom: 30px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-contact a {
        display: block;
        margin: 0 auto;
        width: auto;
        max-width: 280px;
    }

    .footer-social {
        gap: 1rem;
    }

    .social-icon {
        width: 46px;
        height: 46px;
    }

    .social-icon i {
        font-size: 1.2rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* Soporte para modo oscuro */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #083D25 0%, #052817 100%);
    }

    .social-icon {
        background: rgba(255, 255, 255, 0.15);
    }

    .copy-tooltip {
        background: rgba(46, 204, 113, 0.98);
    }
}

/* Soporte para alto contraste */
@media (prefers-contrast: high) {
    .footer-contact a,
    .footer-links a,
    .social-icon {
        border: 1px solid #ffffff;
    }

    .copy-tooltip {
        border: 2px solid #ffffff;
    }
}

/* Soporte para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .footer-contact a,
    .footer-links a,
    .social-icon,
    .copy-tooltip {
        transition: none;
    }

    .social-icon:hover,
    .social-icon:active {
        transform: none;
    }
}

/* =================================== */
/*            HERO SECTION             */
/* =================================== */
.hero {
    background: var(--gradient-primary);
    padding: 10rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Hero Buttons */
.hero .button-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero .btn {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    min-width: 180px;
    justify-content: center;
    white-space: nowrap;
    font-weight: 600;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--white);
}

.hero .btn-primary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.hero .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Animación del botón Guía de Reciclaje */
@keyframes pulseButton {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Aplicar animación solo en móvil */
@media (max-width: 768px) {
    .hero .btn-outline {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
        border: 2px solid rgba(255, 255, 255, 0.8);
        padding: 1rem 1.5rem;
        border-radius: 999px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        font-size: 0.95rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
                    inset 0 1px 1px rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        width: 100%;
        text-align: center;
        position: relative;
        overflow: hidden;
        animation: pulseButton 2s ease-in-out infinite;
    }

    .hero .btn-outline::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
        );
        transition: 0.5s;
    }

    .hero .btn-outline:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3));
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3),
                    inset 0 1px 1px rgba(255, 255, 255, 0.3);
        animation: none;
    }

    .hero .btn-outline:hover::before {
        left: 100%;
    }

    .hero .btn-outline:active {
        transform: translateY(1px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
}



/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card {
    background: rgba(144, 238, 144, 0.2);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* =================================== */
/*         HOW IT WORKS SECTION        */
/* =================================== */
.how-it-works {
    padding: 5rem 0;
    background: var(--white);
}

.how-it-works h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(144, 238, 144, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card .icon-container {
    width: 4rem;
    height: 4rem;
    background: rgba(144, 238, 144, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-container i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.feature-card h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.feature-list li:hover {
    background: rgba(144, 238, 144, 0.1);
    color: var(--primary-green);
}

.feature-list li i {
    margin-right: 0.75rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.feature-list li:hover i {
    transform: translateX(5px);
}

/* =================================== */
/*         SECTION HEADERS             */
/* =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(14, 79, 48, 0.1);
    color: var(--primary-green);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header.light h2,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* =================================== */
/*        RECYCLING GUIDE SECTION       */
/* =================================== */

/* Base section styles */
.recycling-guide {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fefa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.recycling-guide .container {
    padding: 0 2rem;
}

/* Decorative circles */
.recycling-guide::before,
.recycling-guide::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.recycling-guide::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(144, 238, 144, 0.15), transparent 70%);
    top: -200px;
    right: -200px;
}

.recycling-guide::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 79, 48, 0.1), transparent 70%);
    bottom: -150px;
    left: -150px;
}

/* Materials grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Material category */
.material-category {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(14, 79, 48, 0.08);
    border: 1px solid rgba(14, 79, 48, 0.05);
}

.material-category h3 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.75rem;
    text-align: center;
}

.material-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* Material items grid */
.material-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Individual material cards */
.material-card {
    background: rgba(144, 238, 144, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid rgba(14, 79, 48, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    width: 100%;
}

.material-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(14, 79, 48, 0.12);
}

.material-card:hover::before {
    opacity: 1;
}

/* Material icon */
.material-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem; /* Reducido de 1.5rem a 0.75rem */
    box-shadow: 0 8px 24px rgba(14, 79, 48, 0.08);
    padding: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.material-card:hover .material-icon {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(14, 79, 48, 0.15);
}

.material-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

/* Material text content */
.material-card h4 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin: 0 0 0.15rem 0; /* Mantener el espacio reducido entre título y descripción */
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: 1.2; /* Reducido de 1.3 para compactar más */
}

.material-card p {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Loading spinner */
.loading-spinner {
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 4px solid rgba(14, 79, 48, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-green);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive breakpoints */
@media (min-width: 1200px) {
    .materials-grid {
        gap: 2.5rem;
    }

    .material-items {
        gap: 2rem;
    }

    .material-card {
        padding: 2.5rem;
        gap: 2rem;
    }

    .material-icon {
        width: 120px;
        height: 120px;
        min-width: 120px;
        min-height: 120px;
    }
}

@media (max-width: 992px) {
    .recycling-guide {
        padding: 2.5rem 0;
    }
    
    .recycling-guide .container {
        padding: 0 1.5rem;
    }

    .materials-grid {
        gap: 2rem;
    }

    .material-category {
        padding: 1.75rem;
    }

    .material-category h3 {
        font-size: 2rem;
        margin-bottom: 1.75rem;
    }

    .material-items {
        gap: 1.25rem;
    }

    .material-card {
        padding: 1.75rem;
        gap: 1.25rem;
    }

    .material-icon {
        margin-bottom: 0.75rem;
    }

    .material-card h4 {
        font-size: 1.3rem;
        margin-bottom: 0.15rem;
    }
}

@media (max-width: 768px) {
    .recycling-guide {
        padding: 2rem 0;
    }

    .recycling-guide .container {
        padding: 0 1rem;
    }

    .materials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .material-category {
        padding: 1.5rem;
    }

    .material-category h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .material-items {
        gap: 1rem;
    }

    .material-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .material-icon {
        margin-bottom: 0.75rem;
    }

    .material-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.15rem;
    }

    .material-card p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .recycling-guide {
        padding: 1.5rem 0;
    }

    .recycling-guide .container {
        padding: 0 0.5rem;
    }

    .materials-grid {
        gap: 1.25rem;
    }

    .material-category {
        padding: 1.25rem;
    }

    .material-category h3 {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }

    .material-items {
        gap: 0.75rem;
    }

    .material-card {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .material-icon {
        margin-bottom: 0.5rem;
    }

    .material-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.15rem;
    }

    .material-card p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* =================================== */
/*           CRISIS SECTION            */
/* =================================== */
.crisis {
    position: relative;
    padding: 7rem 0;
    color: #ffffff;
    background: linear-gradient(-45deg, #2a2a2a, #3b3b3b, #2a2a2a, #3b3b3b);
    background-size: 400% 400%;
    animation: crisisBackground 12s ease-in-out infinite;
    overflow: hidden;
}

@keyframes crisisBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.decorative-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: -80px;
    right: -80px;
    z-index: 1;
    opacity: 0.3;
}

.crisis .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.crisis .section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd8b0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crisis .section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    position: relative;
}

@keyframes quake {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 1px); }
    80% { transform: translate(2px, -1px); }
    100% { transform: translate(0, 0); }
}

.crisis .section-header h2:hover {
    animation: quake 0.3s linear 1;
}

.crisis .section-subtitle {
    font-size: 1.1rem;
    color: #ffdab8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.crisis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.crisis-card {
    position: relative;
    border-radius: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crisis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.crisis-stat {
    position: relative;
    margin-bottom: 1.5rem;
}

.stat-wrapper {
    position: relative;
    z-index: 2;
}

.stat-circle {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-circle i {
    font-size: 1.6rem;
    color: #ffb36c;
}

.crisis-stat h3 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 0.3rem 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.stat-unit {
    font-size: 1rem;
    color: #ffb37a;
    display: block;
    margin-top: 0.2rem;
}

.crisis-stat p {
    font-size: 1rem;
    color: #ffe3d2;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.source {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #ffcca0;
}

.crisis-content {
    margin-top: 1rem;
}

.highlight-box {
    background: rgba(255, 140, 0, 0.15);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-bottom: 1rem;
}

.highlight-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff9d4d;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.crisis-detail {
    font-size: 0.95rem;
    color: #ffdcca;
    line-height: 1.5;
}

/* =================================== */
/*         HUMAN IMPACT SECTION        */
/* =================================== */
@keyframes gradientBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.human-impact {
    background: linear-gradient(135deg, #0a3d26, #1a5e3c, #0a3d26, #1a5e3c);
    background-size: 400% 400%;
    animation: gradientBg 18s ease infinite;
    color: var(--white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 6rem;
    z-index: 2;
}

.human-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L30,122.7C60,117,120,107,180,128C240,149,300,203,360,224C420,245,480,235,540,224C600,213,660,203,720,176C780,149,840,107,900,128C960,149,1020,235,1080,250.7C1140,267,1200,213,1260,176C1320,139,1380,117,1410,106.7L1440,96L1440,0L1410,0C1380,0,1320,0,1260,0C1200,0,1140,0,1080,0C1020,0,960,0,900,0C840,0,780,0,720,0C660,0,600,0,540,0C480,0,420,0,360,0C300,0,240,0,180,0C120,0,60,0,30,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
    pointer-events: none;
}

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 80%);
    z-index: 1;
}

.story-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-highlight {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 2rem;
    position: relative;
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.1);
}

.stat-range {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-green), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.impact-points {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.impact-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 2rem;
    border-radius: 1.5rem;
    position: relative;
}

.point-icon {
    position: relative;
    min-width: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-green);
    font-size: 2rem;
    border-radius: 50%;
}

.point-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.point-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 600;
}

.point-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* =================================== */
/*       RESPONSIBILITY SECTION        */
/* =================================== */

/* Layer Intro */
.layer-intro {
    position: relative;
    padding: 8rem 0 6rem;
    background: var(--gradient-primary);
}

.layer-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(
        to bottom,
        #1a5e3c 0%,
        #1a5e3c90 20%,
        transparent 100%
    );
    z-index: 1;
}

.floating-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: #fff;
}

.circle-1 {
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
}

.circle-2 {
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
}

.circle-3 {
    top: 40%;
    right: 20%;
    width: 300px;
    height: 300px;
}

.responsibility-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.responsibility-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.015em;
}

.responsibility-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    margin: 0 auto 1rem;
    line-height: 1.5;
    font-weight: 400;
    padding: 0 1rem;
}

/* Layer World */
.layer-world {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f5faf5, #e8f7e8);
    color: var(--dark-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-radius: 1rem;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.particle:nth-child(1) {
    top: 15%;
    left: 20%;
    width: 80px;
    height: 80px;
    animation-duration: 16s;
}

.particle:nth-child(2) {
    top: 45%;
    right: 30%;
    width: 120px;
    height: 120px;
    animation-duration: 20s;
}

.particle:nth-child(3) {
    bottom: 10%;
    left: 40%;
    width: 100px;
    height: 100px;
    animation-duration: 14s;
}

/* Layer World - Sección específica */
.layer-world-section {
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(145deg, #ffffff, #f8fff8);
    color: var(--dark-text);
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fondos animados */
.layer-world-section .animated-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.layer-world-section .gradient-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.layer-world-section .circle-1 {
    top: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(14, 79, 48, 0.15), transparent 70%);
    animation: layerWorldFloat 20s infinite alternate ease-in-out;
}

.layer-world-section .circle-2 {
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(144, 238, 144, 0.15), transparent 70%);
    animation: layerWorldFloat 15s infinite alternate-reverse ease-in-out;
}

@keyframes layerWorldFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.layer-world-section .animated-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-green) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: layerWorldDots 50s linear infinite;
}

@keyframes layerWorldDots {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

/* Container principal y grid layout */
.layer-world-section .world-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-areas: 
        "main main"
        "stats stats"
        "highlight highlight";
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Estadísticas */
.layer-world-section .stats-row {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem auto;
    max-width: 900px;
    width: 100%;
}

.layer-world-section .stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(14, 79, 48, 0.1);
    transition: all 0.3s ease;
}

.layer-world-section .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(14, 79, 48, 0.15);
}

.layer-world-section .stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.layer-world-section .stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.layer-world-section .stat-content h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
    line-height: 1.2;
}

.layer-world-section .stat-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Estilo especial para el bajo porcentaje de reciclaje */
.layer-world-section .stat-card.low-recycling .stat-content h4 {
    color: #dc3545;
    font-weight: 800;
}

.layer-world-section .stat-card.low-recycling .stat-icon {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.layer-world-section .stat-card.low-recycling:hover {
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2);
}

/* Tarjetas de contenido */
.layer-world-section .main-card {
    grid-area: main;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.layer-world-section .highlight-card {
    grid-area: highlight;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.layer-world-section .content-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.layer-world-section .main-card h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.layer-world-section .card-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.layer-world-section .highlight-card {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    position: relative;
    overflow: hidden;
}

.layer-world-section .highlight-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.layer-world-section .highlight-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.layer-world-section .highlight-card h4 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.layer-world-section .highlight-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.layer-world-section .action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.layer-world-section .action-link:hover {
    gap: 1rem;
}

.layer-world-section .action-link i {
    transition: transform 0.3s ease;
}

.layer-world-section .action-link:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .layer-world-section {
        padding: 1.5rem 0;
        min-height: auto;
    }

    .layer-world-section .world-container {
        padding: 1rem;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .layer-world-section .world-container {
        grid-template-areas: 
            "main"
            "stats"
            "highlight";
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .layer-world-section .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        margin: 1.5rem auto;
    }

    .layer-world-section .stat-card {
        padding: 1rem;
        gap: 0.5rem;
    }

    .layer-world-section .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .layer-world-section .stat-content h4 {
        font-size: 1.5rem;
    }

    .layer-world-section .stat-content p {
        font-size: 0.8rem;
    }

    .layer-world-section .main-card h3 {
        font-size: 1.75rem;
    }

    .layer-world-section .content-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .layer-world-section {
        padding: 1rem 0;
    }

    .layer-world-section .world-container {
        padding: 0.75rem;
        gap: 1rem;
    }

    .layer-world-section .stats-row {
        gap: 0.5rem;
    }

    .layer-world-section .stat-card {
        padding: 0.75rem;
    }

    .layer-world-section .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .layer-world-section .stat-content h4 {
        font-size: 1.25rem;
        margin-bottom: 0.15rem;
    }

    .layer-world-section .stat-content p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .layer-world-section .content-card {
        padding: 1.25rem;
    }

    .layer-world-section .main-card h3 {
        font-size: 1.5rem;
    }

    .layer-world-section .highlight-card h4 {
        font-size: 1.2rem;
    }

    .layer-world-section .highlight-card p {
        font-size: 1rem;
    }
}

/* Layer 3: BioWay Connection */
.layer-bioway {
    position: relative;
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.15), rgba(14, 79, 48, 0.05));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6rem 0;
    overflow: hidden;
}

/* Efectos decorativos de fondo */
.layer-bioway::before,
.layer-bioway::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.layer-bioway::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(144, 238, 144, 0.2), transparent 70%);
    top: -200px;
    right: -200px;
    animation: floatBubble 20s infinite alternate ease-in-out;
}

.layer-bioway::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 79, 48, 0.15), transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: floatBubble 15s infinite alternate-reverse ease-in-out;
}

@keyframes floatBubble {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Contenedor principal */
.resp-block.resp-bioway {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Título y descripción */
.resp-bioway h3 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1.5rem;
}

.resp-bioway h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.resp-bioway p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-text);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* Grid de soluciones */
.resp-solution-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

/* Tarjetas de solución */
.solution-point {
    background: rgba(255, 255, 255, 0.98);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(14, 79, 48, 0.08);
    border: 1px solid rgba(144, 238, 144, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Efecto hover en las tarjetas */
.solution-point:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(14, 79, 48, 0.15);
}

/* Efecto de resplandor en hover */
.solution-point::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(144, 238, 144, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.solution-point:hover::after {
    transform: translateX(100%);
}

/* Barra de progreso superior */
.solution-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-point:hover::before {
    transform: scaleX(1);
}

/* Iconos */
.solution-point i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.solution-point:hover i {
    transform: scale(1.1);
}

/* Títulos y texto */
.solution-point h4 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.solution-point:hover h4 {
    color: var(--accent-green);
}

.solution-point p {
    font-size: 1.125rem;
    color: var(--dark-text);
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

/* Media Queries */
@media (max-width: 1200px) {
    .resp-bioway h3 {
        font-size: 2.4rem;
    }
    
    .resp-solution-points {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .layer-bioway {
        padding: 4rem 0;
    }
    
    .resp-bioway h3 {
        font-size: 2rem;
    }
    
    .resp-bioway p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .solution-point {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .layer-bioway {
        padding: 3rem 0;
    }
    
    .resp-bioway h3 {
        font-size: 1.8rem;
        padding-bottom: 1rem;
    }
    
    .resp-bioway p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .resp-solution-points {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .solution-point {
        padding: 1.8rem;
    }
    
    .solution-point i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .solution-point h4 {
        font-size: 1.3rem;
    }
    
    .solution-point p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .layer-bioway {
        padding: 2rem 0;
    }
    
    .resp-block.resp-bioway {
        padding: 0 1rem;
    }
    
    .resp-bioway h3 {
        font-size: 1.6rem;
    }
    
    .solution-point {
        padding: 1.5rem;
    }
}

/* Soporte para modo oscuro */
@media (prefers-color-scheme: dark) {
    .layer-bioway {
        background: linear-gradient(135deg, rgba(144, 238, 144, 0.05), rgba(14, 79, 48, 0.1));
    }
    
    .solution-point {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(144, 238, 144, 0.1);
    }
    
    .solution-point p {
        color: var(--dark-text);
    }

    .resp-bioway p {
        color: var(--dark-text);
    }
}

/* Soporte para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .layer-bioway::before,
    .layer-bioway::after,
    .solution-point,
    .solution-point i,
    .solution-point::after {
        animation: none;
        transition: none;
    }
    
    .solution-point:hover {
        transform: none;
    }
}

/* Layer CTA */
.layer-cta {
    position: relative;
    background: var(--gradient-primary);
    padding: 6rem 0;
    color: var(--white);
    overflow: hidden;
}

/* Efectos de fondo */
.layer-cta::before,
.layer-cta::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: 1;
}

.layer-cta::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation: floatCTA 20s infinite alternate ease-in-out;
}

.layer-cta::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    bottom: -300px;
    left: -200px;
    animation: floatCTA 15s infinite alternate-reverse ease-in-out;
}

@keyframes floatCTA {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Ola decorativa inferior */
.bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,234.7C672,235,768,213,864,202.7C960,192,1056,192,1152,170.7C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

/* Contenedor principal */
.resp-block.resp-cta {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Título */
.resp-cta h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Texto descriptivo */
.resp-cta p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.resp-cta p strong {
    color: var(--white);
    font-weight: 700;
}

.resp-cta p em {
    font-style: italic;
    color: var(--white);
    display: block;
    margin-top: 1.5rem;
    font-size: 1.35rem;
}

/* Botón de acción */
.btn-action {
    position: relative;
    background: var(--white);
    color: var(--primary-green);
    border: none;
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    isolation: isolate;
}

/* Efecto de hover del botón */
.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn-action:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.btn-action:hover::before {
    transform: translateX(100%);
}

.btn-action:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Media Queries */
@media (max-width: 1200px) {
    .resp-cta h3 {
        font-size: 2.5rem;
    }

    .resp-cta p {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .layer-cta {
        padding: 5rem 0;
    }

    .resp-cta h3 {
        font-size: 2.2rem;
    }

    .resp-cta p {
        font-size: 1.1rem;
    }

    .btn-action {
        padding: 1.1rem 3rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .layer-cta {
        padding: 4rem 0;
    }

    .resp-block.resp-cta {
        padding: 0 1.5rem;
    }

    .resp-cta h3 {
        font-size: 2rem;
    }

    .resp-cta p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .resp-cta p em {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    .btn-action {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .bottom-wave {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .layer-cta {
        padding: 3rem 0;
    }

    .resp-block.resp-cta {
        padding: 0 1rem;
    }

    .resp-cta h3 {
        font-size: 1.8rem;
    }

    .bottom-wave {
        height: 60px;
    }
}

/* Soporte para modo oscuro */
@media (prefers-color-scheme: dark) {
    .btn-action {
        background: #f8f9fa;
        color: var(--primary-green);
    }

    .btn-action:hover {
        background: #ffffff;
    }
}

/* Soporte para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .layer-cta::before,
    .layer-cta::after,
    .btn-action,
    .btn-action::before {
        animation: none;
        transition: none;
    }

    .btn-action:hover {
        transform: none;
    }
}

/* =================================== */
/*           MODAL STYLES             */
/* =================================== */
.modal-open {
    overflow: hidden;
    padding-right: 15px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    width: fit-content;
    min-width: 300px;
    max-width: 600px;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: auto;
    padding: 1.5rem;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(14, 79, 48, 0.1);
    color: var(--primary-green);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 0;
}

.close:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: rotate(90deg);
}

.modal .bg-highlight {
    background: rgba(14, 79, 48, 0.08);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

.modal p {
    color: var(--dark-text);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.modal .info-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.modal .info-list li {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(14, 79, 48, 0.1);
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.modal .info-list li:last-child {
    border-bottom: none;
}

.modal .info-list li::before {
    content: "•";
    color: var(--primary-green);
    font-size: 1.25rem;
}

.modal h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================== */
/*          MEDIA QUERIES              */
/* =================================== */

/* Desktop (1200px and down) */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .responsibility-title {
        font-size: 3rem;
    }

    .resp-block h3 {
        font-size: 2.2rem;
    }
}

/* Tablet Landscape (992px and down) */
@media (max-width: 992px) {
    /* Navigation */
    .nav-links {
        gap: 2rem;
    }

    /* Hero Section */
    .hero {
        padding: 8rem 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    /* Crisis Section */
    .crisis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .crisis-card {
        padding: 2rem;
    }

    .crisis-stat h3 {
        font-size: 3rem;
    }

    /* Human Impact Section */
    .impact-story {
        padding: 0 1rem;
    }

    .impact-points {
        gap: 1.5rem;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        padding: 2rem;
        margin: 20px auto;
    }

    #modalTitle {
        font-size: 1.75rem;
    }

    .modal .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal p {
        font-size: 1rem;
    }

    .modal .info-list li {
        padding: 0.875rem 1rem;
    }

    /* Responsibility Section */
    .layer {
        padding: 5rem 0;
    }

    .responsibility-title {
        font-size: 2.5rem;
    }

    .resp-block h3 {
        font-size: 2rem;
    }

    .highlight-title {
        font-size: 2rem;
    }
}

/* Tablet Portrait (768px and down) */
@media (max-width: 768px) {
    /* Hero Section */

    .hero {
        padding: 6rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .button-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }

    .hero .btn {
        width: 100%;
    }

    .features-grid {
        padding: 0; 
    }
    
    .feature-card {
        margin: 0 auto;
    }
    

    /* Crisis Section */
    .crisis {
        padding: 4rem 0;
    }

    .crisis .section-header h2 {
        font-size: 2rem;
    }

    .crisis-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .highlight-box {
        padding: 1rem;
    }

    .highlight-number {
        font-size: 1.8rem;
    }

    /* Human Impact Section */
    .human-impact {
        padding: 4rem 0;
    }

    .story-content {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .section-header.light h2 {
        font-size: 1.8rem;
    }

    .section-header.light .section-subtitle {
        font-size: 0.95rem;
    }

    .stat-highlight {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .stat-range {
        font-size: 2.2rem;
    }

    .impact-points {
        gap: 1rem;
    }

    .impact-point {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .point-icon {
        margin-bottom: 1rem;
    }

    /* Responsibility Section */
    .responsibility-title {
        font-size: 2rem;
    }

    .responsibility-subtitle {
        font-size: 1.1rem;
    }

    .resp-block {
        padding: 2rem 1.5rem;
    }

    .resp-highlight-box,
    .solution-point {
        padding: 2rem;
    }

    .resp-cta h3 {
        font-size: 2rem;
    }

    .btn-action {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
}

/* Mobile (576px and down) */
@media (max-width: 576px) {
    /* Common Elements */
    .section-header {
        margin-bottom: 1.5rem;
        padding-top: 1.5rem;
    }

    /* Hero Section */
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }

    /* Crisis Section */
    .stat-circle {
        width: 60px;
        height: 60px;
    }

    .stat-circle i {
        font-size: 1.4rem;
    }

    .crisis-stat h3 {
        font-size: 2rem;
    }

    .highlight-number {
        font-size: 1.6rem;
    }

    .crisis-detail {
        font-size: 0.9rem;
    }

    /* Human Impact Section */
    .story-content {
        padding: 1rem;
    }

    .stat-range {
        font-size: 1.8rem;
    }

    .point-icon {
        min-width: 50px;
        min-height: 50px;
        font-size: 1.5rem;
    }

    .point-content h4 {
        font-size: 1.2rem;
    }

    .point-content p {
        font-size: 0.95rem;
    }

    /* Modal */
    .modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    #modalTitle {
        font-size: 1.25rem;
        padding-right: 2rem;
    }

    .modal .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Responsibility Section */
    .layer {
        padding: 4rem 0;
    }

    .resp-block h3 {
        font-size: 1.75rem;
    }

    .highlight-title {
        font-size: 1.75rem;
    }

    .btn-action {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
}

/* Mobile Small (480px and down) */
@media (max-width: 480px) {
    /* Crisis Section */
    .crisis-card {
        margin: 0 0.5rem;
    }

    .stat-circle {
        width: 80px;
        height: 80px;
    }

    /* Human Impact Section */
    .impact-point {
        margin: 0 0.5rem;
    }

    .stat-highlight {
        margin: 1rem 0.5rem;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .crisis,
    .human-impact,
    .responsibility {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
        padding-top: 1.5rem;
    }

    .impact-point {
        padding: 1rem;
    }

    .stat-highlight {
        margin: 1.5rem 1rem;
    }
}

/* Print Styles */
@media print {
    .crisis,
    .human-impact,
    .responsibility {
        padding: 2rem 0;
        page-break-inside: avoid;
    }

    .decorative-circle,
    .impact-overlay,
    .bg-shapes {
        display: none;
    }

    .crisis-card,
    .impact-point,
    .r-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .stat-highlight,
    .impact-metric {
        background: none;
        border: 1px solid #ddd;
    }

    .indicator {
        border: 1px solid #ddd;
        background: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .crisis-card,
    .impact-point,
    .r-card {
        border: 2px solid var(--primary-green);
    }

    .stat-highlight,
    .impact-metric {
        border: 2px solid var(--primary-green);
    }

    .indicator {
        border: 1px solid var(--primary-green);
    }

    .section-tag,
    .responsibility-tag {
        border: 1px solid var(--primary-green);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .crisis-card,
    .impact-point,
    .r-card,
    .action-list li {
        transition: none;
    }

    .crisis-card:hover,
    .impact-point:hover,
    .r-card:hover,
    .action-list li:hover {
        transform: none;
    }

    .modal-content {
        animation: none;
    }
}
