:root {
    /* Colores de marca según manual */
    --eco-green: #035E2C;      /* verde principal (Pantone 348 C) */
    --eco-green-soft: #0C7140; /* variante un poco más clara */
    --eco-yellow: #F7DB5C;     /* amarillo/dorado de apoyo */
    --eco-ochre: #CC9B2D;      /* tono terroso */
    --eco-beige: #ECEAE2;      /* fondos claros cálidos */
    --ink: #2A2A21;

    /* Neutros de apoyo (agrego los que estabas usando abajo) */
    --neutral-900: #1a1a1a;
    --neutral-700: #3f3f3f;
    --neutral-600: #5f6368;
    --neutral-500: #757575;
    --neutral-300: #d7d9dc;
    --neutral-200: #E5E2DA;
    --neutral-100: #F7F5F0;
    --white: #ffffff;

    /* Mapeo de tus antiguos "primary" al nuevo verde */
    --primary-600: var(--eco-green);
    --primary-500: var(--eco-green-soft);
    --primary-400: #3BA86A;    /* un verde intermedio para degradés */
    --primary-100: rgba(3, 94, 44, 0.12);

    /* Extras */
    --accent-amber: var(--eco-yellow);
    --accent-earth: var(--eco-ochre);

    /* Radios y sombras que ya usabas */
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 12px 30px rgba(3, 94, 44, .08);
    --shadow-md: 0 20px 50px rgba(3, 94, 44, .15);
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--neutral-100);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Bootstrap 5 Utilities (Vanilla) */
.d-none {
    display: none !important;
}

.d-md-none {
    display: block !important;
}

.d-md-flex {
    display: flex !important;
}

.d-md-block {
    display: block !important;
}

.bg-transparent {
    background: transparent !important;
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    
    .d-md-flex {
        display: flex !important;
    }
    
    .d-md-block {
        display: block !important;
    }
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(3, 94, 44, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 12px rgba(3, 94, 44, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.brand-logo {
    width: auto;
    height: 56px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.main-nav {
    margin-left: auto;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--neutral-900);
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-weight: 500;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: var(--eco-green);
    border: 1px solid var(--neutral-200);
}

.language-button {
    border: none;
    background: transparent;
    color: var(--neutral-600);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.language-button:hover,
.language-button:focus-visible {
    background: rgba(67, 160, 71, 0.12);
    color: var(--primary-600);
    outline: none;
}

.language-button.is-active {
    background: var(--eco-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.nav-links a {
    position: relative;
    padding-bottom: 0.3rem;
    color: var(--ink);
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--eco-green);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.85rem 1.9rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ghost-button {
    background: transparent;
    border: 1.5px solid rgba(3, 94, 44, .3);
    color: var(--eco-green);
}

.ghost-button:hover {
    transform: translateY(-2px);
    border-color: var(--primary-500);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero {
    padding: 8rem 0 5rem;
    min-height: 100vh;
    background-color: #e6e5d4a6;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    min-height: auto;
    position: relative;
    z-index: 10;
}

/* Desktop strategy >= 768px */
@media (min-width: 768px) {
    .hero {
        padding: 8rem 0 5rem;
        min-height: 100vh;
    }

    .hero-grid {
        grid-template-columns: 3fr 2fr;
        gap: clamp(2rem, 5vw, 5rem);
        align-items: center;
        min-height: calc(100vh - 8rem);
    }

    .hero-copy {
        padding-left: clamp(1rem, 4vw, 3rem);
    }

    .hero-media {
        order: unset;
    }
}

/* Mobile strategy < 768px */
@media (max-width: 767px) {
.hero {
        padding: 4rem 0 2rem; /* Espaciado superior para el header sticky */
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        background-color: #e6e5d4a6; /* Mantiene el color beige suave de desktop */
    }

    .hero-bg-mobile {
        width: 100%;
        overflow: hidden;
        order: 2;
    }

.hero-bg-mobile img {
        width: 90%; /* Ajuste de escala para que no sature la pantalla */
        max-width: 400px;
        height: auto;
        margin: 0 auto;
        /* Quitamos cualquier recorte para que la mano/agricultor se vea bien */
        object-fit: contain; 
    }

.hero-content {
        order: 1;
        z-index: 20;
        padding: 0 1.5rem 2rem; /* Quitamos el fondo verde y ajustamos padding */
        background: transparent !important; 
        color: var(--ink); /* Volvemos al color de texto oscuro */
        text-align: center;
    }
.hero-copy {
        background: transparent;
        padding: 0;
        color: var(--ink);
    }

.hero-media {
        display: none !important;
    }

    .hero-media .hero-image {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        /* border-radius: 0;
        box-shadow: none; */
        z-index: -1;
    }
}


.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy .eyebrow {
    color: var(--eco-green);
    text-shadow: none;
    font-weight: 700;
    letter-spacing: 0.08em;
}

@media (max-width: 767px) {
    .hero-copy .eyebrow {
        color: var(--eco-yellow);
    }
}

/* Estilos para los delays de animación */
.animate__delay-1s {
    animation-delay: 0.2s;
}

.animate__delay-2s {
    animation-delay: 0.4s;
}

.animate__delay-3s {
    animation-delay: 0.6s;
}

.animate__delay-4s {
    animation-delay: 0.8s;
}

.hero h1 {
    /* font-size: clamp(2.4rem, 4vw, 3.1rem); */
    margin-bottom: 1rem;
    /* line-height: 1.2; */
    color: var(--eco-green);
    /* text-shadow: none; */
}

@media (max-width: 767px) {
    .hero h1 {
        color: var(--eco-green);
    }
}

.lead {
    /* font-size: 1.05rem; */
    color: black;
    margin-bottom: 2rem;
    /* text-shadow: none; */
}

@media (max-width: 767px) {
    .lead {
        color: black;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.hero-stats strong {
    display: block;
    font-size: 1.9rem;
    color: var(--primary-600);
}

.hero-stats span {
    font-size: 0.95rem;
    color: var(--neutral-500);
}

.hero-media {
        position: relative !important;
        width: 100%;
        height: auto;
        display: flex !important;
        justify-content: center;
        margin-top: 2rem;
        z-index: 1;
        order: 2; /* Asegura que vaya debajo del texto */
    }

.hero-image {
        width: 90%;
        max-width: 500px;
        height: auto;
        max-height: none;
        box-shadow: none !important; /* Quitamos sombras pesadas en tablet */
        background: transparent !important;
    }

.hero-image img {
        position: relative !important;
        object-fit: contain !important;
    }

/* Mobile optimizations */
@media (max-width: 767px) {
    .hero-image {
        max-height: 350px;
        /* border-radius: var(--radius-md); */
    }

    .hero-media.d-md-none {
        display: flex !important;
    }

    .hero-media.d-md-none .hero-image {
        width: 100%;
        height: 100%;
        max-height: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .hero-media.d-md-none .hero-image img {
        object-fit: cover;
        object-position: center;
    }
}

/* ── Parallax Banner (apaisa) ── */
.parallax-banner {
    height: 420px;
    background-image: url('/img/apaisa.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* ── Parallax Banner (apaisa) ── */
.parallax-banner2 {
    height: 420px;
    background-image: url('/img/apaisado2.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

@media (max-width: 100px) {
    .parallax-banner,
    .parallax-banner2  {
        height: 260px;
        background-attachment: scroll;
    }
}

.media-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(26, 26, 26, 0.75);
    color: var(--white);
    padding: 1rem 1.3rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(6px);
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(67, 160, 71, 0.28);
}

.section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.section.muted {
     background: #F5F3ED;
}

/* Solutions Section with Tabs */
.solutions-section {
    background: var(--white);
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.solution-tab {
    background: var(--neutral-100);
    border: 2px solid var(--neutral-200);
    color: var(--neutral-700);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.solution-tab:hover {
    background: var(--neutral-200);
    transform: translateY(-2px);
}

.solution-tab.active {
    background: var(--eco-green);
    color: var(--white);
    border-color: var(--eco-green);
    box-shadow: var(--shadow-sm);
}

.solution-tab.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--eco-green);
}

.tab-content-container {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-grid.three {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Proposal List */
.proposal-list {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.proposal-item {
    background: var(--neutral-100);
    border-left: 4px solid var(--eco-green);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proposal-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.proposal-item i {
    color: var(--eco-green);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.proposal-item p {
    color: var(--neutral-700);
    line-height: 1.8;
    margin: 0;
}

.subtitle {
    font-weight: 600;
    color: var(--eco-green);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Organization Content */
.organization-content {
    display: grid;
    gap: 2.5rem;
}

.organization-content > p {
    color: var(--neutral-600);
    line-height: 1.8;
    text-align: justify;
    background: var(--neutral-100);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--eco-yellow);
}

.work-locations h3 {
    font-size: 1.8rem;
    color: var(--eco-green);
    margin-bottom: 1.5rem;
    text-align: center;
}

.location-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-item {
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--eco-green);
}

.location-item i {
    color: var(--eco-green);
    font-size: 1.5rem;
}

.location-item strong {
    color: var(--eco-green);
    margin-right: 0.5rem;
}

.location-item span {
    color: var(--neutral-700);
}

/* Interactive Map */
.interactive-map-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

#paraguay-map {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-sm);
    background: var(--neutral-100);
}

.map-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--neutral-600);
    font-style: italic;
    font-size: 0.95rem;
}

/* Commitments Content */
.commitments-content {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.commitment-block {
    background: var(--neutral-100);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--eco-green);
    box-shadow: var(--shadow-sm);
}

.commitment-block h3 {
    color: var(--eco-green);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.commitment-block p {
    color: var(--neutral-700);
    line-height: 1.8;
    text-align: justify;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
    display: grid;
    gap: 1.25rem;
}

.eyebrow.light {
    color: rgb(255, 255, 255);
}

.section .eyebrow,
.promo .eyebrow,
.contact .eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary-500);
    font-weight: 600;
}

.section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    line-height: 1.3;
}

.section-heading p {
    color: var(--neutral-600);
}

/* ========================================
   Galería Moderna - Diseño Premium
   ======================================== */

.gallery-section {
    background: linear-gradient(135deg, #f8faf8 0%, #f0f5f0 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--eco-green), transparent);
}

/* Masonry Grid */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
    margin: 4rem 0;
}

.masonry-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

/* Tamaños personalizados */
.masonry-item.small { grid-column: span 1; grid-row: span 1; }
.masonry-item.medium { grid-column: span 2; grid-row: span 1; }
.masonry-item.large { grid-column: span 2; grid-row: span 2; }
.masonry-item.horizontal { grid-column: span 2; grid-row: span 1; }
.masonry-item.vertical { grid-column: span 1; grid-row: span 2; }

.masonry-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.masonry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry-item:hover .masonry-image {
    transform: scale(1.1);
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-category {
    display: inline-block;
    background: var(--eco-yellow);
    color: var(--eco-green-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.masonry-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.15s;
}

.masonry-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.2s;
}

.masonry-actions {
    display: flex;
    gap: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.25s;
}

.masonry-item:hover .masonry-category,
.masonry-item:hover .masonry-title,
.masonry-item:hover .masonry-location,
.masonry-item:hover .masonry-actions {
    transform: translateY(0);
    opacity: 1;
}

.masonry-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.masonry-btn:hover {
    background: var(--eco-yellow);
    color: var(--eco-green-dark);
    border-color: var(--eco-yellow);
    transform: scale(1.1);
}

/* Processing Showcase */
.processing-showcase {
    background: white;
    border-radius: 40px;
    padding: 3rem;
    margin-top: 5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(3, 94, 44, 0.1);
}

.processing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.processing-header h3 {
    font-size: 2rem;
    color: var(--eco-green);
    font-weight: 700;
}

.processing-badge {
    background: linear-gradient(135deg, var(--eco-green), var(--eco-green-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.processing-description {
    max-width: 800px;
    margin-bottom: 3rem;
    color: var(--neutral-600);
    line-height: 1.8;
    font-size: 1.1rem;
}

.processing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.processing-card {
    background: linear-gradient(135deg, #f9fff9, #f0f8f0);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(3, 94, 44, 0.1);
    position: relative;
    overflow: hidden;
}

.processing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--eco-green), var(--eco-yellow));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.processing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(3, 94, 44, 0.1);
    border-color: transparent;
}

.processing-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(3, 94, 44, 0.1);
}

.card-icon i {
    font-size: 2rem;
    color: var(--eco-green);
}

.card-content h4 {
    font-size: 1.2rem;
    color: var(--eco-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-content p {
    color: var(--neutral-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .processing-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    
    .masonry-item.small,
    .masonry-item.medium,
    .masonry-item.large,
    .masonry-item.horizontal,
    .masonry-item.vertical {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .processing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .processing-showcase {
        padding: 2rem;
    }
}

/* ========================================
   Sección de Procesamiento
   ======================================== */

.processing-details {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(3, 94, 44, 0.05) 0%, rgba(247, 219, 92, 0.03) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--eco-green);
}

.processing-details h3 {
    font-size: 1.8rem;
    color: var(--eco-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.processing-details > p {
    color: var(--neutral-700);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.processing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.processing-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.processing-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.processing-icon {
    font-size: 2.5rem;
    color: var(--eco-green);
    margin-bottom: 1rem;
}

.processing-item h4 {
    font-size: 1.2rem;
    color: var(--eco-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.processing-item ul {
    list-style: none;
    padding: 0;
}

.processing-item li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--neutral-700);
    line-height: 1.7;
    font-size: 0.95rem;
}

.processing-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--eco-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.processing-item li:last-child {
    margin-bottom: 0;
}

.card-grid.three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.card-grid.four {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 18px;
    padding: 2.2rem;
    display: grid;
    gap: 1.25rem;
    box-shadow: 0 24px 50px rgba(0,0,0,.015);
    border: 1px solid rgba(3,94,44,0.05);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
   background: rgba(3,94,44,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--eco-green);
}

.card h3 {
    font-size: 1.3rem;
}

.card ul {
    display: grid;
    gap: 0.5rem;
    color: var(--neutral-600);
    font-size: 0.95rem;
}

.promo {
    background: linear-gradient(135deg, var(--primary-600), #205722);
    color: var(--white);
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 6vw, 4rem);
    align-items: start;
}

.promo-copy {
    will-change: transform;
}

.promo-logo-container {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.promo-logo {
    width: auto;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.promo-copy h2 {
    font-size: clamp(2.1rem, 4vw, 2.7rem);
    margin-bottom: 1.5rem;
}

.promo-copy p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2rem;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

.promo-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    backdrop-filter: blur(12px);
    display: grid;
    gap: 1.5rem;
}

.promo-card ul {
    display: grid;
    gap: 1.4rem;
}

.promo-card li {
    display: grid;
    gap: 0.45rem;
}

.promo-card strong {
    font-size: 1.1rem;
}

/* Estilos para categorías de productos */
.product-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.product-category:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-category h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.95);
}

.product-category h4 i {
    color: var(--eco-yellow);
    font-size: 1.3rem;
}

.product-category ul {
    display: grid;
    gap: 1rem;
}

.product-category li {
    display: grid;
    gap: 0.3rem;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(247, 219, 92, 0.4);
    transition: border-color 0.3s ease;
}

.product-category li:hover {
    border-left-color: var(--eco-yellow);
}

.product-category strong {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.product-category span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: inherit;
}

.link-arrow i {
    transition: transform 0.25s ease;
}

.link-arrow:hover i {
    transform: translateX(4px);
}

/* About Section - Nosotros */
.about-section {
    background: var(--neutral-100);
}

.vmo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vmo-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--eco-green);
    display: grid;
    gap: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vmo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.vmo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--eco-green), var(--eco-green-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.vmo-card h3 {
    font-size: 1.5rem;
    color: var(--eco-green);
}

.vmo-card p {
    color: var(--neutral-600);
    line-height: 1.8;
}

.history-section {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.history-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--eco-yellow);
}

.history-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(247, 219, 92, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--eco-ochre);
}

.history-header h3 {
    font-size: 1.8rem;
    color: var(--eco-green);
}

.history-content {
    display: grid;
    gap: 1.5rem;
}

.history-content p {
    color: var(--neutral-600);
    line-height: 1.8;
    text-align: justify;
}

.highlight-text {
    font-weight: 600;
    color: var(--eco-ochre);
    font-size: 1.05rem;
    text-align: center;
    padding: 1rem;
    background: rgba(247, 219, 92, 0.1);
    border-radius: var(--radius-sm);
}

.who-we-are {
    background: linear-gradient(135deg, var(--eco-green), #205722);
    border-radius: var(--radius-md);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.who-content {
    display: grid;
    gap: 1.5rem;
}

.who-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-align: justify;
}

.highlight-text-green {
    font-weight: 700;
    color: var(--eco-yellow);
    font-size: 1.15rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    border: 2px solid rgba(247, 219, 92, 0.3);
}

.company-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--eco-yellow);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-card i {
    font-size: 1.8rem;
    color: var(--eco-green);
    min-width: 30px;
}

.info-card div {
    display: grid;
    gap: 0.25rem;
}

.info-card strong {
    font-size: 0.9rem;
    color: var(--eco-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card span {
    color: var(--neutral-700);
    font-size: 1rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.impact-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(46, 125, 50, 0.08);
}

.metric {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-600);
}

.metric small {
    display: block;
    font-size: 0.85rem;
    color: var(--neutral-500);
    font-weight: 500;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-rows: auto 1fr;
}

.case-card img {
    height: 220px;
    object-fit: cover;
}

.case-body {
    padding: 2rem;
    display: grid;
    gap: 1rem;
}

.case-tag {
    display: inline-flex;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--primary-100);
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-grid {
    align-items: stretch;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.blog-card img {
    height: 210px;
    object-fit: cover;
}

.blog-content {
    padding: 1.9rem;
    display: grid;
    gap: 0.9rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--primary-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1.5rem;
}

.newsletter form {
    display: grid;
    gap: 1rem;
}

.subscribe-form input,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font: inherit;
    background: var(--white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.subscribe-form input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.18);
}

.resource-card ul {
    display: grid;
    gap: 1rem;
    color: var(--neutral-600);
}

.resource-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resource-card li i {
    color: var(--primary-500);
}

.cta-section {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.92), rgba(26, 95, 37, 0.95));
    color: var(--white);
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

.cta-section .ghost-button {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-info p {
    color: var(--neutral-600);
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-details div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.contact-details i {
    color: var(--primary-500);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--neutral-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    transition: transform 0.25s ease, background 0.25s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--primary-100);
}

.contact-form {
    background: var(--neutral-100);
    border-radius: var(--radius-md);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.6rem;
}

.form-field label {
    font-weight: 600;
    color: var(--neutral-700);
}

.form-disclaimer {
    font-size: 0.82rem;
    color: var(--neutral-500);
}

.site-footer {
     background: #02281A;
    color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
    padding: clamp(3rem, 6vw, 4rem) 0;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.76);
}

.site-footer h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: inherit;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--eco-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: inherit;
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: var(--eco-yellow);
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer-credit p {
    margin: 0;
    white-space: nowrap;
}

.footer-credit-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.footer-credit a {
    display: flex;
    align-items: center;
    color: inherit;
}

.footer-credit a:hover .footer-credit-logo {
    opacity: 0.8;
}

.footer-legal a:hover {
    color: var(--primary-400);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
    width: auto;
    padding: 0 1.5rem;
    border-radius: 50px;
}

.whatsapp-float i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: rotate(15deg);
}

.whatsapp-text {
    display: none;
    margin-left: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    animation: slideIn 0.3s ease;
}

.whatsapp-float:hover .whatsapp-text {
    display: inline;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse animation for WhatsApp button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (max-width: 1024px) {

    /* .hero-grid,
    .promo-grid,
    .cta-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    } */

    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

.hero {
        padding: 6rem 0 3rem;
        min-height: auto;
        display: flex;
        flex-direction: column;
        background-color: #ECEBDE; /* Fondo beige limpio */
    }


    /* OCULTAR IMAGEN DE ESCRITORIO PARA EVITAR DUPLICIDAD */
    .hero-media.d-none.d-md-flex {
        display: none !important;
    }

.hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        background: transparent !important; /* Quitamos el bloque verde o crema */
        padding: 2rem 1rem;
    }

    .hero-media {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        max-height: none;
    }

.hero-copy {
        padding-left: 0;
        text-align: center;
        background: transparent !important;
        box-shadow: none !important;
    }

    .hero-copy .hero-actions {
        justify-content: center;
        /* align-items: center; */
    }

    .card-grid.three,
    .card-grid.four,
    .impact-grid,
    .case-grid,
    .resources-grid,
    .footer-grid,
    .vmo-grid,
    .company-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-content {
        gap: 1rem;
    }

    .section {
        padding: clamp(3rem, 6vw, 4rem) 0;
    }

    .solutions-tabs {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .solution-tab {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .cta-actions {
        display: grid;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        margin-left: 0;
    }

    .nav-toggle {
        display: inline-flex;
        z-index: 100;
    }

    .header-actions {
        margin-left: auto;
        gap: 1rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 1rem;
        left: 1rem;
        background: var(--white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        padding: 1.5rem;
        display: grid;
        gap: 1rem;
        min-width: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        margin-top: 0.5rem;
        z-index: 99;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 0.75rem;
        border-radius: var(--radius-sm);
        transition: background 0.3s ease;
    }

    .nav-links a:hover {
        background: var(--neutral-100);
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        background: linear-gradient(135deg, var(--eco-green), #0C7140);
    }

    .ghost-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .card-grid.three,
    .card-grid.four,
    .impact-grid,
    .case-grid,
    .vmo-grid,
    .company-info {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .processing-details {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .processing-details h3 {
        font-size: 1.5rem;
    }

    .processing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .history-section,
    .who-we-are {
        padding: 2rem 1.5rem;
    }

    .vmo-card {
        padding: 2rem 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-credit {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 7vw, 2.4rem);
        line-height: 1.25;
    }

    .lead {
        font-size: 1rem;
    }

    .section-heading h2 {
        font-size: clamp(1.75rem, 6vw, 2.2rem);
    }

    .container {
        width: min(1120px, 90%);
    }

    .solutions-tabs {
        gap: 0.5rem;
        padding: 0;
    }

    .solution-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .solution-tab.active::after {
        display: none;
    }

    .tab-content-container {
        min-height: auto;
    }

    .card {
        padding: 1.75rem;
    }

    .promo-copy h2 {
        font-size: clamp(1.75rem, 6vw, 2.3rem);
    }

    .product-category h4 {
        font-size: 1.05rem;
    }

    .commitment-block,
    .proposal-item {
        padding: 1.5rem;
    }

    .location-item {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    #paraguay-map {
        height: 350px;
    }

    .blog-card img,
    .case-card img {
        height: 180px;
    }

    .blog-content,
    .case-body {
        padding: 1.5rem;
    }

    .cta-section h2 {
        font-size: clamp(1.75rem, 6vw, 2.3rem);
    }

    .cta-actions {
        width: 100%;
    }

    .contact-info h2 {
        font-size: clamp(1.75rem, 6vw, 2.2rem);
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-image-wrapper {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-wrap: wrap;
        padding: 0.75rem 0;
    }

    .brand-logo {
        height: 48px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.75rem;
    }

    .language-switcher {
        order: -1;
    }

    .language-button {
        padding: 0.3rem 0.65rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 5rem 0 3rem;
        min-height: 70vh;
    }

    .hero h1 {
        font-size: clamp(1.65rem, 6.5vw, 2rem);
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
    }

    .hero .eyebrow {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        position: relative;
        z-index: 2;
    }

    .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 2;
    }

    .hero-copy {
        padding: 2rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        position: relative;
        z-index: 2;
    }

    .hero-actions .cta-button,
    .hero-actions .ghost-button {
        min-width: 200px;
        text-align: center;
        justify-content: center;
    }

    .container {
        width: min(1120px, 92%);
    }

    .section {
        padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .section-heading h2 {
        font-size: clamp(1.5rem, 5.5vw, 1.9rem);
    }

    .section-heading p,
    .section .eyebrow {
        font-size: 0.9rem;
    }

    .solutions-tabs {
        flex-direction: column;
        gap: 0.6rem;
    }

    .solution-tab {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .card-grid.three {
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.15rem;
    }

    .promo {
        padding: clamp(3rem, 6vw, 4rem) 0;
    }

    .promo-logo {
        max-width: 180px;
    }

    .promo-logo-container {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .promo-copy h2 {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        margin-bottom: 1rem;
        text-align: center;
    }

    .promo-copy .eyebrow {
        text-align: center;
    }

    .promo-copy p {
        font-size: 0.95rem;
        text-align: center;
    }

    .promo-card {
        padding: 1.75rem;
    }

    .promo-card h3 {
        font-size: 1.25rem;
        text-align: center;
    }

    .product-category h4 {
        font-size: 1rem;
    }

    .product-category strong {
        font-size: 1rem;
    }

    .product-category span {
        font-size: 0.85rem;
    }

    .vmo-card {
        padding: 1.75rem;
    }

    .vmo-card h3 {
        font-size: 1.3rem;
    }

    .vmo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .history-section {
        padding: 1.75rem;
    }

    .history-header h3 {
        font-size: 1.5rem;
    }

    .who-we-are {
        padding: 1.75rem;
    }

    .commitment-block {
        padding: 1.5rem;
    }

    .commitment-block h3 {
        font-size: 1.2rem;
    }

    .proposal-item {
        padding: 1.25rem;
    }

    .location-item {
        padding: 1rem;
    }

    .interactive-map-container {
        padding: 1.5rem;
    }

    #paraguay-map {
        height: 300px;
    }

    .blog-grid {
        gap: 1.5rem;
    }

    .blog-card img {
        height: 160px;
    }

    .blog-content {
        padding: 1.25rem;
    }

    .blog-card h3 {
        font-size: 1.1rem;
    }

    .cta-section {
        padding: clamp(3rem, 6vw, 4rem) 0;
    }

    .cta-section h2 {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        margin-bottom: 1rem;
        text-align: center;
    }

    .cta-section .eyebrow {
        text-align: center;
    }

    .cta-section p {
        text-align: center;
        font-size: 0.95rem;
    }

    .cta-actions {
        margin-top: 1.5rem;
    }

    .contact-info h2 {
        font-size: clamp(1.5rem, 5.5vw, 1.9rem);
    }

    .contact-info .eyebrow {
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form .cta-button {
        width: 100%;
    }

    .footer-grid {
        gap: 2rem;
        padding: clamp(2.5rem, 5vw, 3rem) 0;
    }

    .site-footer h3 {
        font-size: 1rem;
    }

    .footer-links {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-bottom-content {
        font-size: 0.85rem;
        gap: 0.75rem;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* WhatsApp button responsive */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .whatsapp-float:hover {
        width: 55px;
        padding: 0;
        border-radius: 50%;
    }

    .whatsapp-text {
        display: none !important;
    }
}

/* Mejoras adicionales para muy pequeños screens */
@media (max-width: 400px) {
    .container {
        width: 95%;
    }

    .brand-logo {
        height: 42px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-copy {
        padding: 1.75rem 1.25rem;
        background: rgba(230, 229, 212, 0.77);
    }

    .section-heading h2 {
        font-size: 1.4rem;
    }

    .card,
    .vmo-card,
    .promo-card,
    .contact-form {
        padding: 1.25rem;
    }

    .solution-tab {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .cta-button,
    .ghost-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Organization Structure Styles */
.organization-structure {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.structure-section {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--eco-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.structure-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.structure-section h3 {
    color: var(--eco-green);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.structure-section h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--eco-yellow);
    border-radius: 50%;
    display: inline-block;
}

.structure-list {
    display: grid;
    gap: 1rem;
}

.structure-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--neutral-100);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--eco-yellow);
    transition: all 0.3s ease;
}

.structure-list li:hover {
    background: rgba(247, 219, 92, 0.1);
    transform: translateX(5px);
}

.structure-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--eco-green);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Work Locations Styles */
.work-locations {
    margin-top: 3rem;
}

.work-locations h3 {
    font-size: 1.8rem;
    color: var(--eco-green);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.work-locations h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--eco-yellow);
    border-radius: 2px;
}

.location-list {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.location-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(3, 94, 44, 0.1);
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--eco-green);
}

.location-item i {
    color: var(--eco-green);
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.location-item strong {
    color: var(--eco-green);
    margin-right: 0.5rem;
    font-weight: 600;
}

.location-item span {
    color: var(--neutral-700);
    font-weight: 500;
}

/* Map Styles */
#map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    background: var(--neutral-100);
    margin: 2rem 0 1rem;
    border: 2px solid rgba(3, 94, 44, 0.1);
}

.map-caption {
    text-align: center;
    color: var(--neutral-600);
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.map-caption:first-of-type {
    font-weight: 600;
    color: var(--eco-green);
    font-style: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .organization-structure {
        gap: 2rem;
    }
    
    .structure-section {
        padding: 2rem 1.5rem;
    }
    
    .structure-section h3 {
        font-size: 1.25rem;
    }
    
    .structure-list li {
        padding: 1rem;
    }
    
    .work-locations h3 {
        font-size: 1.5rem;
    }
    
    .location-item {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }
    
    .location-item i {
        align-self: flex-start;
    }
    
    #map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .structure-section {
        padding: 1.75rem 1.25rem;
    }
    
    .structure-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .structure-list {
        gap: 0.75rem;
    }
    
    .structure-list li {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .work-locations h3 {
        font-size: 1.3rem;
    }
    
    .location-item {
        padding: 1rem;
    }
    
    #map {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-info {
        padding: 1rem;
    }

    .gallery-info h3 {
        font-size: 1rem;
    }

    .gallery-info p {
        font-size: 0.9rem;
    }
}

.card-media img {
  width: 100%;
  height: 200px; /* Ajusta según tu diseño */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}