/*
 * ARCHIVO: style.css
 * RUTA: /public_html/css/style.css
 * VERSION: 21.0 (Extraído del index.php)
 * FECHA: 2026-01-27
 * DESCRIPCION: Estilos principales del homepage HUERTATEK
 */
/* ========================================
           VARIABLES CSS v21.0 - SOLO MODO CLARO
           ======================================== */
:root {
    /* Colores primarios */
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --primary-extra-light: #e8f5e9;

    /* Fondos y superficies */
    --bg-body: #f8fdf8;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);

    /* Textos */
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;

    /* Bordes y sombras */
    --border: rgba(0, 0, 0, 0.08);
    --border-glass: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(46, 125, 50, 0.15);

    /* Glassmorphism */
    --glass-blur: 20px;
    --glass-saturation: 180%;
}

/* Modo Oscuro eliminado en v21.0 */

/* Reset y base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Links globales */
a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Links en modo oscuro eliminados en v21.0 */

/* Prose para markdown */
.prose a:hover {
    color: var(--primary-dark);
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.prose strong {
    font-weight: 700;
    color: var(--text-primary);
}

.prose p {
    margin-bottom: 0.5rem;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Scrollbar dark mode eliminado en v21.0 */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-body);
}

/* Scrollbar oculta para contenedores específicos */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========================================
           GLASSMORPHISM UTILITIES
           ======================================== */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-md);
}

.glass-subtle {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* .dark .glass-subtle eliminado en v21.0 */

/* .theme-toggle eliminado en v21.0 - Sin modo oscuro */

/* ========================================
           HERO PARTICLES
           ======================================== */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: particleFloat 20s infinite ease-in-out;
}

.particle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.2) 0%, transparent 70%);
    animation-delay: 0s;
}

.particle-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
    animation-delay: -5s;
}

.particle-3 {
    width: 150px;
    height: 150px;
    bottom: 100px;
    left: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation-delay: -10s;
}

.particle-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 60%;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.15) 0%, transparent 70%);
    animation-delay: -15s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

/* ========================================
           ANIMACIONES MEJORADAS
           ======================================== */
.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ANIMACIONES --- */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }

    70% {
        box-shadow: 0 0 0 4px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes growPlant {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(0.9);
    }
}

@keyframes flowWater {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 0;
    }
}

@keyframes floatSlow {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* --- SPLASH SCREEN --- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

body.loaded #splash-screen {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splash-logo {
    max-width: 680px;
    width: 80%;
    height: auto;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: logoEntrance 1s ease-out forwards, float 3s ease-in-out 1s infinite;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-extra-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: spin 1s linear infinite, fadeInUp 0.5s ease-out 0.8s forwards;
}

/* --- HERO SECTION v21.0 con imagen de fondo --- */
.hero-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.88), rgba(27, 94, 32, 0.92)),
        url('../images/hero-vegetation-bg.png') center/cover no-repeat;
    color: white;
    padding: 4rem 2rem 8rem 2rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* NEW HERO GRID LAYOUT */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Slightly more space for text */
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero-image-container {
    position: relative;
    animation: floatSlow 6s ease-in-out infinite;
}

.hero-dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-dashboard-img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
        order: 1;
        /* Text first */
    }

    .hero-image-container {
        order: 2;
        /* Image second */
        margin-top: 0;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-dashboard-img {
        transform: none;
        /* Disable 3D effect on mobile for better fit */
    }
}

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

/* MODIFICACIÓN v18.2: Sombra fuerte en el título */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    /* Sombra más fuerte */
}

.hero-title2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    /* Sombra más fuerte */
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
}

body.loaded .hero-title {
    animation: slideDownFade 0.8s ease-out forwards;
}

body.loaded .hero-title2 {
    animation: slideDownFade 0.5s ease-out forwards;
}

body.loaded .hero-subtitle {
    animation: slideDownFade 0.8s ease-out 0.3s forwards;
}

body.loaded .cta-buttons {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-primary {
    background: white;
    color: var(--primary-dark);
}

.cta-button-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button-secondary {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-button-secondary:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: white;
}

/* --- GENERAL SECTIONS --- */
.section-wrapper {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.bg-white {
    background-color: white;
}

.bg-light {
    background-color: var(--primary-extra-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* --- FEATURES SECTION (LECHUGAS) --- */
.features-section {
    background: linear-gradient(180deg, transparent 49%, rgba(76, 175, 80, 0.1) 50%, transparent 51%), linear-gradient(90deg, transparent 98%, rgba(76, 175, 80, 0.05) 99%, transparent 100%);
    background-size: 100% 40px, 60px 100%;
    background-color: #ffffff;
    position: relative;
}

.lettuce-decor {
    position: absolute;
    color: rgba(102, 187, 106, 0.15);
    z-index: 1;
    pointer-events: none;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.lettuce-decor::before {
    content: '\f4d8';
}

.ld-1 {
    top: 10%;
    left: 5%;
    font-size: 8rem;
    transform: rotate(15deg);
}

.ld-2 {
    top: 15%;
    right: 8%;
    font-size: 10rem;
    transform: rotate(-10deg);
}

.ld-3 {
    bottom: 10%;
    left: 15%;
    font-size: 12rem;
    transform: rotate(-25deg);
}

.ld-4 {
    bottom: 5%;
    right: 20%;
    font-size: 6rem;
    transform: rotate(45deg);
}

.ld-5 {
    top: 50%;
    left: 50%;
    font-size: 20rem;
    transform: translate(-50%, -50%);
    opacity: 0.03;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* --- FEATURE CARDS v21.0 - DISEÑO PREMIUM --- */
.feature-card {
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8fdf8 100%);
    border: 1px solid rgba(76, 175, 80, 0.15);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark), var(--primary-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(46, 125, 50, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(76, 175, 80, 0.3) inset;
    border-color: rgba(76, 175, 80, 0.3);
}

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

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
    color: white;
    box-shadow:
        0 10px 30px rgba(46, 125, 50, 0.3),
        0 0 20px rgba(76, 175, 80, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow:
        0 15px 40px rgba(46, 125, 50, 0.4),
        0 0 30px rgba(76, 175, 80, 0.3);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Feature badges mejorados */
.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- BENEFICIOS (FONDO VERDE IGUAL A COMUNIDAD) --- */
.pattern-roots {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.88), rgba(27, 94, 32, 0.92)), url('../images/hero-vegetation-bg.png') center/cover no-repeat;
    position: relative;
}

.pattern-roots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.leaf-bg {
    position: absolute;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(76, 175, 80, 0.15);
    z-index: 1;
    pointer-events: none;
}

.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.edu-content {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.7), rgba(27, 94, 32, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.edu-content h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.edu-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.edu-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: white;
}

.edu-list i {
    color: rgba(255, 255, 255, 0.8);
}

.hydro-animation-container {
    position: relative;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hydro-showcase {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #1a1a1a;
}

.hydro-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 600px) {
    .hydro-showcase {
        border-radius: 12px;
    }
}



/* Responsive */
@media (max-width: 600px) {
    .hydro-animation-container {
        height: 300px;
    }

    .nutrient-tank {
        width: 60px;
        height: 90px;
    }

    .nft-channel {
        left: 90px;
        height: 40px;
    }

    .plant-leaves {
        font-size: 1.5rem;
    }

    .plant-leaves.large {
        font-size: 2rem;
    }

    .digital-indicators {
        top: 10px;
        right: 10px;
        gap: 5px;
    }

    .indicator {
        padding: 5px 8px;
    }
}

/* --- VIDEO SECTION --- */
.video-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-col-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 4px solid white;
}

.video-col-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-text-content h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* --- PRECIOS --- */
.pricing-section {
    background-color: #f8fdf8;
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.pricing-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--primary-light) 1px, transparent 1px),
        radial-gradient(var(--primary-light) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.2;
    z-index: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
    /* Center vertically for scaling effect */
    position: relative;
    z-index: 2;
    padding: 1rem;
}

/* --- PRICING CARDS REDESIGN (Green & Modern) --- */
.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    text-align: left;
    /* Alineación izquierda como referencia */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Identidad Visual Huertatek (Verde) */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
}

/* Professional Plan Highlight */
.pricing-card.professional {
    border: 2px solid #43a047;
    background: #ffffff;
    /* Mantener blanco puro para limpieza */
}

/* Gradient superior más intenso para el Pro */
.pricing-card.professional::before {
    background: linear-gradient(180deg, rgba(67, 160, 71, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
}

.pricing-card.professional:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(67, 160, 71, 0.25);
}

.pricing-card.professional::after {
    content: "RECOMENDADO";
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 2;
}

.pricing-header {
    padding: 2.5rem 2rem 1.5rem;
    background: transparent;
    /* Transparente para ver el gradiente del padre */
    border-bottom: none;
    position: relative;
    z-index: 1;
}

.pricing-card.professional .pricing-header {
    background: transparent;
    border-bottom: none;
}

.pricing-card h3 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    /* Normalizar texto */
    letter-spacing: 0;
}

.pricing-card.professional h3 {
    color: #2e7d32;
    font-weight: 700;
}

.pricing-card .price {
    font-size: 3.5rem;
    /* Más grande como referencia */
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    display: flex;
    justify-content: flex-start;
    /* Alineado izq */
    align-items: baseline;
    margin-bottom: 0.5rem;
    letter-spacing: -1.5px;
}

.pricing-card.professional .price {
    color: #2e7d32;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: #90a4ae;
    margin-left: 8px;
    letter-spacing: 0;
}

.pricing-body {
    padding: 0 2rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.plan-description {
    font-size: 0.95rem;
    color: #78909c;
    margin-bottom: 2rem;
    line-height: 1.6;
    min-height: auto;
    text-align: left;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    text-align: left;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.features-list li {
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #455a64;
    font-size: 0.95rem;
    font-weight: 500;
}

.features-list i {
    color: #43a047;
    /* Icono verde puro */
    font-size: 1rem;
    background: transparent;
    /* Sin fondo circular */
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0;
    flex-shrink: 0;
}

/* BOTONES */
.cta-button-card {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    color: #2e7d32;
    border: 2px solid #2e7d32;
    /* Borde verde fuerte */
    margin-bottom: 1rem;
    /* Botón antes de características si se reordena en HTML, pero aquí mantenemos orden */
}

.cta-button-card:hover {
    background: #e8f5e9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
}

/* Botón sólido para el Plan Pro */
.pricing-card.professional .cta-button-card {
    background: #2e7d32;
    color: white;
    border: 2px solid #2e7d32;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.25);
}

.pricing-card.professional .cta-button-card:hover {
    background: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(46, 125, 50, 0.35);
    filter: none;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--primary-extra-light);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.user-feedback {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-photo {
    width: 50px;
    height: 50px;
    background: #ddd;
    border-radius: 50%;
    object-fit: cover;
}

.user-meta h4 {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 700;
}

.user-meta span {
    font-size: 0.85rem;
    color: #888;
}

/* --- COMUNIDAD (CTA) - ESTILO VERDE --- */
.community-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.88), rgba(27, 94, 32, 0.92)), url('../images/hero-vegetation-bg.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.community-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light), var(--primary-dark));
    z-index: 1;
}

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

.community-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.community-desc {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.community-btn {
    background: white;
    color: var(--primary-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.community-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background-color: #f1f8e9;
}

/* --- CONTACTO FULLWIDTH (MODERN GLASS) --- */
.contact-section-fullwidth {
    background: #ffffff;
    background-image:
        linear-gradient(rgba(76, 175, 80, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 80, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-section-fullwidth::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-fullwidth-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.contact-title i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* MATCH FEATURE CARDS STYLE */
.contact-card {
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8fdf8 100%);
    border: 1px solid rgba(76, 175, 80, 0.15);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-dark);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark), var(--primary-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(46, 125, 50, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(76, 175, 80, 0.3) inset;
    border-color: rgba(76, 175, 80, 0.3);
}

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

.contact-card:hover::after {
    opacity: 1;
}

.contact-card-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
    color: white;
    box-shadow:
        0 10px 30px rgba(46, 125, 50, 0.3),
        0 0 20px rgba(76, 175, 80, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow:
        0 15px 40px rgba(46, 125, 50, 0.4),
        0 0 30px rgba(76, 175, 80, 0.3);
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: white;
}

.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.contact-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.contact-card-whatsapp .contact-card-icon {
    background: linear-gradient(145deg, #4caf50, #1b5e20);
    /* Greenish for Whatsapp */
}

.contact-card-whatsapp:hover .contact-card-icon {
    background: linear-gradient(145deg, #25d366, #128c7e);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.contact-hours {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-hours i {
    font-size: 1.2rem;
    color: var(--primary);
}

@media (max-width: 900px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: 2rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulseGlow 2s infinite;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* --- FOOTER MEJORADO --- */
.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #aaa;
    padding: 0;
    margin-top: 0;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #888;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-section ul li a i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 550px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

.logo {
    cursor: pointer;
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    body {
        padding-top: 0;
    }

    .edu-grid,
    .video-split-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-info-box {
        padding: 3rem 2rem;
    }

    .splash-logo {
        max-width: 220px;
    }

    .pricing-card.professional {
        transform: scale(1);
    }

    .pricing-card.professional:hover {
        transform: translateY(-5px);
    }

    .lettuce-decor {
        opacity: 0.08;
    }

    .ld-5 {
        display: none;
    }

    .crop-decor {
        opacity: 0.5;
        font-size: 5rem !important;
    }

    .crop-3 {
        display: none;
    }
}

/* ========================================
           NUEVAS SECCIONES UX v19.0 - ORIENTADO A VENTAS
           ======================================== */

/* --- ESTADÍSTICAS DE IMPACTO --- */
.stats-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(46, 125, 50, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(76, 175, 80, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4caf50, #81c784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    color: #81c784;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 550px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --- BADGES DE CONFIANZA --- */
.trust-badges-section {
    background: linear-gradient(180deg, #f8fdf8 0%, white 100%);
    padding: 2rem;
    border-bottom: 1px solid #e8f5e9;
}

.trust-badges-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-badge .stars {
    color: #ffc107;
}

/* --- SECCIÓN COMPARACIÓN DE VALOR --- */
.comparison-section {
    background: linear-gradient(180deg, white 0%, #fafafa 100%);
    padding: 6rem 2rem;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.comparison-column {
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.comparison-without {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
}

.comparison-without:hover {
    box-shadow: 0 10px 30px rgba(183, 28, 28, 0.05);
}

.comparison-with {
    background: #f1f8e9;
    border: 1px solid #c5e1a5;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
    transform: scale(1.02);
}

.comparison-with:hover {
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.15);
    transform: scale(1.03);
}

.comparison-header {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -0.5px;
}

.comparison-without .comparison-header {
    color: #d32f2f;
}

.comparison-with .comparison-header {
    color: #2e7d32;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-without .comparison-list li i {
    color: #e53935;
    font-size: 1.2rem;
    margin-top: 2px;
}

.comparison-with .comparison-list li i {
    color: #43a047;
    font-size: 1.2rem;
    margin-top: 2px;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.vs-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1b5e20;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 0 0 8px white, 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-vs {
        display: none;
    }

    .comparison-with {
        transform: none;
    }
}

width: 50px;
height: 50px;
}
}

/* --- FEATURE BADGES --- */
.feature-badge {
    position: absolute;
    top: -8px;
    right: 20px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-new {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.badge-popular {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.badge-ai {
    background: linear-gradient(135deg, #00c6fb, #005bea);
    color: white;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* --- PROMO BANNER --- */
.promo-banner-section {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.promo-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.promo-icon {
    font-size: 2.5rem;
    animation: bounce 1s ease infinite;
}

.promo-text {
    text-align: center;
    color: white;
}

.promo-text strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.promo-text p {
    margin: 0.25rem 0 0 0;
    font-size: 1rem;
    opacity: 0.95;
}

.promo-timer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
}

.promo-timer span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.countdown {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.promo-cta {
    background: white;
    color: #2e7d32;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 700px) {
    .promo-content {
        flex-direction: column;
        gap: 1rem;
    }

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

/* --- CTA FLOTANTE LATERAL --- */
.floating-side-cta {
    position: fixed;
    right: 15px;
    top: calc(50% - 150px);
    transform: translateY(-50%);
    z-index: 998;
}

.side-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px 12px 0 0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    position: absolute;
    right: 0;
    top: 50%;
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: right center;
    box-shadow: 0 3px 20px rgba(46, 125, 50, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.side-cta-btn:hover {
    padding-bottom: 1rem;
    box-shadow: 0 5px 30px rgba(46, 125, 50, 0.5);
    color: #ffeb3b !important;
}

.side-cta-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .floating-side-cta {
        display: none;
    }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* --- TESTIMONIAL ENHANCEMENTS --- */
.testimonial-rating {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #e8f5e9;
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.verified-badge i {
    color: var(--primary);
}

/* --- IMPROVED FEATURE CARDS HOVER --- */
.feature-card {
    position: relative;
    overflow: visible;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(46, 125, 50, 0.05) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* ========================================
           GALERÍA DE CULTIVOS v21.0
           ======================================== */
.crops-gallery-section {
    background: linear-gradient(180deg, #f8fdf8 0%, #ffffff 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.crops-gallery-section::before {
    content: '\f4d8';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 12rem;
    color: rgba(102, 187, 106, 0.08);
    transform: rotate(-15deg);
    z-index: 0;
    pointer-events: none;
}

.crops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.crop-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.crop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.crop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.2);
}

.crop-card:hover img {
    transform: scale(1.1);
}

.crop-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.crop-card:hover .crop-card-overlay {
    transform: translateY(0);
}

.crop-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.crop-card-desc {
    font-size: 0.85rem;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .crops-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .crops-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
           FIX FOOTER LOGO
           ======================================== */
.footer-logo {
    max-height: 50px !important;
    width: auto !important;
    filter: none !important;
    opacity: 1 !important;
    margin-bottom: 1.5rem;
    display: block;
    object-fit: contain;
    margin-left: 0 !important;
    /* Force left alignment */
    align-self: flex-start !important;
    /* Ensure flex parent respects it */
}