/* Reducir distancia entre título y círculos */
.why-choose-intro {
    margin-bottom: 0.5rem !important;
}

.why-choose-intro h2 {
    margin-bottom: 0.5rem !important;
}

.why-choose-layout {
    gap: 1rem !important;
}

/* Para desktop específicamente */
@media (min-width: 992px) {
    .why-choose-layout {
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .why-choose-text {
        align-self: center !important;
        margin-top: -2rem !important;
    }
}

/* Aumentar tamaño del número central 20% */
.central-number {
    font-size: clamp(2.4rem, 6vw, 3rem) !important;
}

/* Móvil - reducir círculos 30% y quitar card del texto */
@media (max-width: 768px) {
    /* FORZAR reducir círculos exteriores 30% */
    .quadrant {
        width: clamp(141px, 20vmin, 181px) !important;
        height: clamp(141px, 20vmin, 181px) !important;
        position: static !important;
        margin: 0 auto !important;
    }
    
    /* FORZAR reducir círculo central 30% */
    .central-circle {
        width: clamp(200px, 28vmin, 250px) !important;
        height: clamp(200px, 28vmin, 250px) !important;
        grid-area: cc !important;
        margin: 1rem auto !important;
        padding: 1rem !important;
    }
    
    /* FORZAR reducir distancia entre círculos exteriores y central 20% */
    .quadrants-container {
        gap: 0.88rem !important;  /* 20% menos que 1.1rem original */
        position: static !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        margin-top: 1rem !important;  /* 50% menos que 2rem original */
        display: grid !important;
        grid-template-areas: "tl tr" "cc cc" "bl br" !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto !important;
        align-items: center !important;
        justify-items: center !important;
    }
    
    /* FORZAR reducir distancia texto-círculos superiores 50% */
    .why-choose-layout {
        gap: 1rem !important;  /* 50% menos que 2rem original */
    }
    
    /* FORZAR altura del contenido más compacta */
    .why-choose-content {
        height: auto !important;
        padding: 0.5rem 0 !important;  /* 50% menos padding */
    }
    
    /* Mejorar centrado y adaptación al ancho en móvil */
    .why-choose-section {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        overflow-x: hidden !important;
    }
    
    .why-choose-container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .why-choose-layout {
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .why-choose-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .why-choose-text p {
        margin: 0 !important;
        max-width: 100% !important;
        padding: 1.5rem 0.5rem !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    
    .why-choose-visual {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .quadrants-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.25rem !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    .quadrant {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Asegurar altura suficiente en desktop */
    @media (min-width: 769px) {
        .why-choose-content {
            height: clamp(850px, 95vh, 1100px) !important;
        }
    }
    
    /* FORZAR reducir distancia círculos inferiores-final sección 50% */
    .why-choose-section {
        padding-bottom: clamp(2.25rem, 4.25vh, 5rem) !important;  /* 50% menos del padding original */
        padding-top: clamp(2.25rem, 4.25vh, 5rem) !important;  /* También reducir el top para consistencia */
    }
    
    /* Quitar estilos de card del texto - solo texto plano */
    .why-choose-text p {
        background: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    /* Paleta natural y agrícola */
    --forest-green: #1e3a2b;
    --sage-green: #87a96b;
    --olive-green: #6b8e23;
    --earth-brown: #8b4513;
    --warm-brown: #a0522d;
    --cream: #f5f5dc;
    --soft-green: #90ee90;
    --dark-forest: #0f1f16;
    --golden-yellow: #daa520;
    --terracotta: #cd853f;
    
    /* Tonos de tierra y naturaleza */
    --primary: #1e3a2b;
    --secondary: #87a96b;
    --accent: #daa520;
    --success: #6b8e23;
    --earth: #8b4513;
    
    /* Grises naturales */
    --gray-50: #faf9f7;
    --gray-100: #f4f3f0;
    --gray-200: #e8e5e1;
    --gray-300: #d1ccc4;
    --gray-400: #a8a199;
    --gray-500: #7a7269;
    --gray-600: #5c5449;
    --gray-700: #3d3529;
    --gray-800: #2a251a;
    --gray-900: #1a160e;
    
    /* Gradientes naturales */
    --gradient-earth: linear-gradient(135deg, #1e3a2b 0%, #2d5a3d 50%, #87a96b 100%);
    --gradient-forest: linear-gradient(135deg, #0f1f16 0%, #1e3a2b 100%);
    --gradient-golden: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
    --gradient-sage: linear-gradient(135deg, #87a96b 0%, #6b8e23 100%);
    
    /* Sombras suaves */
    --shadow-soft: 0 2px 8px rgba(30, 58, 43, 0.1);
    --shadow-medium: 0 4px 12px rgba(30, 58, 43, 0.15);
    --shadow-large: 0 8px 25px rgba(30, 58, 43, 0.2);
    --shadow-xl: 0 15px 35px rgba(30, 58, 43, 0.25);
}

html {
    scroll-behavior: smooth; /* Restaurar smooth para navegación general */
    scroll-restoration: manual; /* Prevenir restauración automática de scroll */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--cream);
}

/* Background con parallax sutil */
.bg-nature {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    z-index: -1;
    background: var(--gradient-earth);
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M30 30c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10zm20 20c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10zm-40 0c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Header natural */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 58, 43, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(135, 169, 107, 0.2);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(30, 58, 43, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cream);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent);
}

.logo:active,
.logo:focus,
.logo:visited {
    color: var(--cream);
    text-decoration: none;
    outline: none;
}

.logo-icon {
    color: var(--accent);
    font-size: 2rem;
}

/* Estilos para cuando logo-icon es una imagen */
.logo-icon img,
.logo img.logo-icon {
    width: auto;
    height: 2.5rem;
    max-height: 2.5rem;
    object-fit: contain;
}

/* Alternativa: selector directo para img con clase logo-icon */
img.logo-icon {
    width: auto;
    height: 2.5rem;
    max-height: 2.5rem;
    object-fit: contain;
    display: block;
}

/* Logo más grande en móvil cuando el texto se envuelve */
@media (max-width: 480px) {
    img.logo-icon {
        height: 3.5rem;
        max-height: 3.5rem;
        min-height: 3.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
        line-height: 1.2;
    }
}

/* Tamaño intermedio para tablets pequeños */
@media (min-width: 481px) and (max-width: 640px) {
    img.logo-icon {
        height: 3rem;
        max-height: 3rem;
        min-height: 3rem;
    }
}

/* Logo más grande cuando navbar está expandido pero items se envuelven (768px - 1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
    img.logo-icon {
        height: 3.5rem;
        max-height: 3.5rem;
        min-height: 3.5rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    /* Asegurar que el nav-container tenga suficiente altura */
    .nav-container {
        min-height: 60px;
        align-items: center;
    }
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(135, 169, 107, 0.2);
    color: var(--accent);
}

.nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--gradient-forest);
    transition: left 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.nav-menu.active {
    left: 0;
}

.nav-menu a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(135, 169, 107, 0.2);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Mobile dropdown styles - moved to prevent conflicts */

/* Dropdown Menu Styles - moved to specific media queries */

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover i {
    transform: rotate(180deg);
}

/* Desktop dropdown styles - consolidated */

/* Hero Section Natural con imagen de fondo */
.hero {
    /* Imagen de fondo optimizada - actualizada de PNG a JPG */
    background-image: url('../images/huerto-avellano-europeo-corylus-avellana.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 1.5rem 4rem;
}

/* Hero para artículos - altura reducida */
.hero.article-hero {
    min-height: 50vh;
    padding: 8rem 2rem 2rem;
}

/* Mobile-specific hero background fix */
@media (max-width: 768px) {
    .hero {
        background-size: auto 100%;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .hero.article-hero {
        min-height: 40vh;
        padding: 6rem 1rem 1.5rem;
    }
    
    .hero-title-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-logo {
        height: clamp(80px, 20vw, 120px);
    }
    
    .hero-title-text {
        height: clamp(80px, 20vw, 120px);
    }
    
    .hero-title-line {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Overlay más oscuro para mejor contraste con el texto */
    background: linear-gradient(135deg, rgba(30, 58, 43, 0.7) 0%, rgba(15, 31, 22, 0.6) 50%, rgba(30, 58, 43, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.8);
    background: linear-gradient(135deg, #f5f5dc 0%, #ffffff 50%, #f5f5dc 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-number {
    font-size: 1.5em;
    font-weight: 800;
    color: #f5f5dc;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.8);
}

/* Hero Title con Logo */
.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.hero-logo {
    height: clamp(120px, 15vw, 180px);
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-title-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: clamp(120px, 15vw, 180px);
}

.hero-title-line {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.8);
    background: linear-gradient(135deg, #f5f5dc 0%, #ffffff 50%, #f5f5dc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    display: flex;
    align-items: center;
    height: 50%;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--gray-100);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.8);
    font-weight: 500;
}

.hero-subtitle p {
    margin: 0;
    color: var(--gray-100);
    text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.8);
}

.hero-subtitle[data-hero-rotator] {
    position: relative;
}

.hero-rotator-text {
    display: block;
    min-height: 3.2em;
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.hero-rotator-text.is-fading-out {
    opacity: 0;
    transform: translateY(0.5rem);
}

.hero-rotator-text.is-fading-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Botones naturales */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-golden);
    color: var(--primary);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background: rgba(245, 245, 220, 0.1);
    color: var(--cream);
    border: 2px solid var(--accent);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 5rem 1.5rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.gallery-section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 2.5rem;
    margin-top: 0;
}

.gallery-section {
    margin-top: 4rem;
}

.gallery-section:first-of-type {
    margin-top: 0;
}

@media (max-width: 768px) {
    .gallery-section {
        margin-top: 3rem;
    }
    
    .gallery-section-title {
        margin-top: 0;
        margin-bottom: 2rem;
    }
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats naturales */
.stats-section {
    background: var(--cream);
    padding: 2rem 1.5rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-large);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-sage);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    margin-left: 1rem;
}

.stat-top-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: left;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.3;
    text-align: left;
}

/* Ajuste específico para desktop */
@media (min-width: 768px) {
    .stat-label {
        margin-top: 0.1rem;
    }
}

/* Ajuste específico para móvil */
@media (max-width: 767px) {
    .stat-label {
        padding-top: 0.3rem;
    }
}

.stat-icon {
    font-size: 3.4rem;
    color: var(--success);
}

/* Estilo para números de teléfono - mantener funcionalidad pero cambiar color */
a[href^="tel:"] {
    color: var(--gray-300) !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

a[href^="tel:"]:visited,
a[href^="tel:"]:active,
a[href^="tel:"]:hover {
    color: var(--gray-300) !important;
    text-decoration: none !important;
}





/* Cards naturales con imágenes */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Contenedor del carrusel */
.carousel-container {
    position: relative;
}

/* Indicadores del carrusel */
.carousel-indicators {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--success);
    transform: scale(1.2);
}

/* Carrusel para móvil */
@media (max-width: 767px) {
    .cards-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 7.5%;
        margin: 0 -1.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth; /* Smooth para transiciones suaves del scroll-snap */
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y pan-x;
        overscroll-behavior-x: contain;
        scroll-padding: 0 7.5%;
        position: relative;
    }
    
    .cards-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin: 0;
        scroll-margin: 0 7.5%;
        touch-action: pan-y pan-x; /* Permitir ambos */
    }

    /* Desactivar animaciones fade-in para cards del carrusel */
    .cards-grid .card.fade-in {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }

    .carousel-indicators {
        display: flex;
    }
}

.card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(135, 169, 107, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-sage);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--success);
}

.card-image {
    width: calc(100% + 5rem);
    height: 250px;
    object-fit: cover;
    border-radius: 1.5rem 1.5rem 0 0;
    margin: -2.5rem -2.5rem 1rem -2.5rem;
    box-shadow: var(--shadow-soft);
}

.card-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Bio cards con imágenes reales */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.bio-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-large);
    text-align: center;
    transition: all 0.3s ease;
}

.bio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.bio-avatar {
    width: 225px;
    height: 225px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    box-shadow: var(--shadow-medium);
    border: 4px solid var(--success);
}

.bio-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.bio-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.bio-name a:hover {
    color: var(--success);
    transform: translateY(-2px);
}

.bio-name a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--success);
    transition: width 0.3s ease;
}

.bio-name a:hover::after {
    width: 100%;
}

.bio-role {
    font-size: 1rem;
    color: var(--success);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.bio-description {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Imagen destacada de avellanos */
.featured-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 2rem;
    margin: 2rem auto;
    display: block;
    box-shadow: var(--shadow-large);
    transition: all 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Galería de imágenes */
.image-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
    overflow-y: hidden;
    height: auto;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    aspect-ratio: 4 / 4;
    min-height: 322px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-grid .form-container {
    max-width: none;
    margin: 0;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 30px;
}

.contact-item strong {
    display: block;
    color: var(--cream);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-300);
    margin: 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

/* Para móvil: mostrar overlay por defecto */
@media (max-width: 768px) {
    .gallery-item {
        cursor: default;
    }
    
    .gallery-item:hover {
        transform: none;
        box-shadow: var(--shadow-medium);
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        padding: 1.5rem 1rem 1rem;
        pointer-events: none;
    }
    
    .gallery-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
        opacity: 0.95;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        display: none;
    }
    
    .contact-grid .form-container {
        max-width: 600px;
        margin: 0 auto;
        padding: 3rem;
    }
}

/* Sections con fondos */
.bg-sage {
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(135, 169, 107, 0.1) 100%);
}

.bg-forest {
    background: var(--gradient-forest);
    color: var(--cream);
}

.bg-forest .section-title {
    color: var(--cream);
}

.bg-forest .section-subtitle {
    color: var(--gray-300);
}

/* Form natural */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-300);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--cream);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.9rem;
    margin-bottom: 0.9rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(135, 169, 107, 0.2);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background: rgba(135, 169, 107, 0.1);
}

.faq-answer {
    padding: 0 1.75rem 0;
    color: var(--gray-700);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    line-height: 1.55;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 300px;
    opacity: 1;
    padding: 0 1.75rem 1.5rem;
}

/* WhatsApp Button Floating Animation */
@keyframes whatsappFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.9rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35), 0 0 18px rgba(37, 211, 102, 0.25);
    z-index: 1001;
    transition: all 0.3s ease;
    animation: whatsappFloat 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(0);
    animation-play-state: paused;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45), 0 0 25px rgba(37, 211, 102, 0.35);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--cream);
    padding: 3rem 1.5rem 2rem;
    text-align: center;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: var(--gray-300);
}

.footer-divider {
    height: 1px;
    background: rgba(135, 169, 107, 0.3);
    margin: 2rem 0;
}

.footer-bottom {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Animaciones simples */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        display: flex;
        gap: 2rem;
        align-items: center;
        overflow: visible !important;
    }
    
    .nav-menu a {
        display: inline;
        border-bottom: none;
        padding: 0;
        font-size: 1rem;
    }
    
    /* Desktop dropdown styles */
    .nav-menu .nav-dropdown {
        position: relative !important;
    }
    
    .nav-menu .nav-dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: rgba(30, 58, 43, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 8px !important;
        box-shadow: var(--shadow-medium) !important;
        min-width: 200px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
        z-index: 1002 !important;
        padding: 0.5rem 0 !important;
        margin-top: 0.5rem !important;
        display: block !important;
    }

    .nav-menu .nav-dropdown .dropdown-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .dropdown-menu a {
        display: block;
        padding: 0.75rem 1.5rem;
        color: var(--cream);
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .dropdown-menu a:hover {
        color: var(--accent);
    }
    
    .nav-menu .nav-dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .nav-menu .nav-dropdown:hover .dropdown-toggle i {
        transform: rotate(180deg) !important;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .bio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile dropdown styles - AFTER desktop to ensure proper override */
@media (max-width: 767px) {
    .nav-dropdown {
        position: static;
        width: 100%;
    }
    
    .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(0, 0, 0, 0.1);
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .dropdown-menu.show {
        max-height: 500px !important;
    }
    
    .dropdown-menu a {
        padding: 1rem 0 1rem 3rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(135, 169, 107, 0.2);
        position: relative;
        color: var(--cream);
        display: block;
    }
    
    .dropdown-menu a::before {
        content: '→';
        position: absolute;
        left: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--accent);
        font-size: 0.9rem;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent);
    }
    
    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    
    .dropdown-toggle.active i {
        transform: rotate(180deg);
    }
    
    .dropdown-toggle:not(.active) i {
        transform: rotate(0deg);
    }
    
    .dropdown-toggle:not(.active) {
        color: var(--cream) !important;
        background: none !important;
    }
    
    .dropdown-toggle:not(.active):hover {
        color: var(--accent) !important;
        background: none !important;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive para stats */
@media (max-width: 1023px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
    }
    
    .stat-icon {
        font-size: 2.975rem;
    }
    
    .stat-content {
        margin-left: 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-right: 0.75rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    .stats-section {
        padding: 1.5rem 1rem;
    }
    
    .stats-container {
        padding: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
        max-width: 100%;
    }
    
    .stat-icon {
        font-size: 2.55rem;
    }
    
    .stat-content {
        margin-left: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
        margin-right: 0.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
        margin-top: 0;
        line-height: 1.4;
    }
    
    .stat-description {
        font-size: 0.85rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 0;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .faq-answer.active {
        padding: 0 1.25rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 1rem 0.75rem;
    }
    
    .stats-container {
        padding: 0;
    }
    
    .stats-grid {
        gap: 0.5rem;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .stat-item {
        padding: 0.75rem 0.5rem;
        max-width: 100%;
    }
    
    .stat-icon {
        font-size: 2.125rem;
    }
    
    .stat-content {
        margin-left: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
        margin-top: 0;
        line-height: 1.4;
    }
    
    .stat-description {
        font-size: 0.8rem;
        line-height: 1.1;
    }
    
    .faq-question {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 0 1rem 0;
        font-size: 0.85rem;
        line-height: 1.45;
    }
    
    .faq-answer.active {
        padding: 0 1rem 1rem;
    }
}

@media (min-width: 768px) {
    .why-choose-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Carrusel de galería para móvil - Debe ir al final para sobrescribir grid */
@media (max-width: 767px) {
    .image-gallery {
        display: flex !important;
        overflow-x: auto;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 7.5%;
        margin: 0 -1.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth; /* Smooth para transiciones suaves del scroll-snap */
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y pan-x;
        overscroll-behavior-x: contain;
        scroll-padding: 0 7.5%;
        grid-template-columns: none !important;
        height: auto;
        max-height: none;
        position: relative;
    }
    
    .image-gallery::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .gallery-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin: 0;
        aspect-ratio: 4 / 4;
        min-height: 322px;
        overflow: hidden;
        scroll-margin: 0 7.5%;
        touch-action: pan-y pan-x; /* Permitir ambos */
        position: relative;
    }

    /* Desactivar animaciones fade-in para gallery items del carrusel */
    .image-gallery .gallery-item.fade-in {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    /* Permitir scroll vertical de página en imágenes */
    .image-gallery .gallery-item img {
        touch-action: pan-y pan-x; /* Permitir ambos */
        pointer-events: auto;
    }
}

/* Estilos para el modal de galería */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    width: auto;
    min-width: 400px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Botones de navegación - Posicionados fuera del modal */
.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-nav:hover {
    background: #f8f8f8;
    color: #333;
    border-color: #ccc;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.modal-prev {
    left: 2rem;
}

.modal-next {
    right: 2rem;
}

.modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #ccc;
}

.modal-nav:disabled:hover {
    background: #f5f5f5;
    color: #ccc;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-image-container {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.modal-info {
    padding: 2rem;
    background: white;
    flex: 1 1 auto;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.modal-description {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 1rem;
}

/* Cursor pointer para imágenes clickeables */
.gallery-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-clickable:hover {
    transform: scale(1.02);
}

.gallery-clickable img {
    transition: all 0.3s ease;
}

.gallery-clickable:hover img {
    transform: scale(1.05);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Contenedores específicos por dispositivo */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Estilos para móvil */
.modal-mobile-container {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    max-height: 60vh;
    overflow: hidden;
}

.mobile-image-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.mobile-image-track {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.mobile-image-item {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mobile-image-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
}

.mobile-nav-indicator {
    text-align: center;
    padding: 1rem;
    color: var(--gray-600);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
        min-width: auto;
        display: flex;
        flex-direction: column;
    }

    .modal-image-container {
        flex: 0 0 auto;
    }

    .modal-info {
        padding: 1.5rem;
        overflow-y: auto;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-description {
        font-size: 0.9rem;
    }

    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
    }

    /* Ocultar botones de navegación en móvil */
    .modal-nav {
        display: none;
    }

    /* Ocultar flechas de galería en móvil */
    .gallery-nav-arrow {
        display: none !important;
    }

    /* Mostrar versión móvil */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

/* Desktop: mejor ajuste del modal al contenido */
@media (min-width: 769px) {
    .modal-content {
        width: auto;
        max-width: 90vw;
        display: flex;
        flex-direction: row;
        height: 95vh;
        min-height: 95vh;
        max-height: 95vh;
    }
    
    .modal-image-container {
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .modal-info {
        flex: 0 0 auto;
        width: 350px;
        padding: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        min-height: 200px;
        box-sizing: border-box;
    }
    
    .modal-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .modal-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Carrusel estilo móvil para desktop */
    .carousel-container {
        position: relative;
    }

    .image-gallery {
        display: flex !important;
        overflow-x: auto;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding: 1rem 0;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        height: auto;
        max-height: none;
    }
    
    .image-gallery::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-item {
        flex: 0 0 300px;
        scroll-snap-align: center;
        transition: transform 0.3s ease;
        aspect-ratio: 4 / 4;
        min-height: 322px;
        overflow: hidden;
    }

    /* Flechas de navegación para desktop */
    .gallery-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--success);
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        /* Prevenir scroll cuando se hace click o focus */
        scroll-margin: 0;
        scroll-snap-align: none;
    }

    .gallery-nav-arrow:hover {
        background: var(--primary);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
    
    .gallery-nav-arrow:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
        /* NO hacer scroll cuando recibe focus */
        scroll-margin: 0;
    }
    
    .gallery-nav-arrow:active {
        /* Prevenir comportamiento de scroll en click */
        transform: translateY(-50%) scale(0.95);
    }

    .gallery-nav-arrow.prev {
        left: -25px;
    }

    .gallery-nav-arrow.next {
        right: -25px;
    }

    .gallery-nav-arrow:disabled {
        display: none !important;
    }

    .gallery-nav-arrow:disabled:hover {
        display: none !important;
    }

.gallery-nav-arrow.disabled {
    display: none !important;
}

.gallery-nav-arrow.disabled:hover {
    display: none !important;
    }

    /* Ocultar indicadores en desktop */
    .carousel-indicators {
        display: none !important;
    }

    /* Carrusel para cards de variedades en desktop */
    .cards-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding: 1rem 0;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .cards-grid::-webkit-scrollbar {
        display: none;
    }
    
    .card {
        flex: 0 0 350px;
        scroll-snap-align: center;
        transition: transform 0.3s ease;
    }
}

/* Proceso de cultivo */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

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

.process-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--success);
    line-height: 1;
    min-width: 80px;
}

.process-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.process-content p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Responsive para proceso */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .process-number {
        min-width: auto;
    }
}
