/* =====================================================
   Consultora Jagatv – Estilos personalizados
   Paleta: Verde agrícola · Tierra · Blanco · Azul
   Mobile-first · Bootstrap 5
   ===================================================== */

:root {
    /* Verdes agrícolas */
    --jv-green-900: #1a3a0d;
    --jv-green-800: #2d5016;
    --jv-green-700: #3d6b1f;
    --jv-green-600: #4a7c2c;
    --jv-green-500: #6ba83a;
    --jv-green-400: #8bc34a;
    --jv-green-300: #aed581;
    --jv-green-100: #e8f5e9;

    /* Tierra / marrones */
    --jv-earth-700: #6b4423;
    --jv-earth-600: #8b5a2b;
    --jv-earth-500: #a67c52;
    --jv-earth-400: #c49968;
    --jv-earth-300: #d4a574;
    --jv-earth-100: #f5ebe0;

    /* Azules */
    --jv-blue-900: #1e3a8a;
    --jv-blue-700: #1d4ed8;
    --jv-blue-500: #3b82f6;
    --jv-blue-400: #60a5fa;
    --jv-blue-100: #dbeafe;

    /* Neutros */
    --jv-white: #ffffff;
    --jv-cream: #fafaf7;
    --jv-gray-50: #f8f9fa;
    --jv-gray-100: #f1f3f5;
    --jv-gray-200: #e9ecef;
    --jv-gray-400: #adb5bd;
    --jv-gray-600: #6c757d;
    --jv-gray-800: #343a40;
    --jv-dark: #1a1d1a;

    /* Sombras */
    --jv-shadow-sm: 0 2px 8px rgba(45, 80, 22, 0.06);
    --jv-shadow:    0 6px 20px rgba(45, 80, 22, 0.10);
    --jv-shadow-lg: 0 20px 50px rgba(45, 80, 22, 0.18);

    /* Transiciones */
    --jv-transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

/* =====================================================
   Base
   ===================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--jv-gray-800);
    background: var(--jv-cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--jv-green-900);
    line-height: 1.2;
}

a { color: var(--jv-green-700); text-decoration: none; transition: color var(--jv-transition); }
a:hover { color: var(--jv-green-500); }

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

::selection { background: var(--jv-green-500); color: white; }

/* =====================================================
   Botones personalizados
   ===================================================== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    transition: all var(--jv-transition);
    border: 2px solid transparent;
    text-transform: none;
    letter-spacing: 0.2px;
}

.btn-jv-primary {
    background: linear-gradient(135deg, var(--jv-green-700), var(--jv-green-500));
    color: var(--jv-white);
    border-color: var(--jv-green-600);
    box-shadow: 0 4px 14px rgba(74, 124, 44, 0.3);
}
.btn-jv-primary:hover {
    background: linear-gradient(135deg, var(--jv-green-800), var(--jv-green-600));
    color: var(--jv-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 124, 44, 0.4);
}

.btn-jv-secondary {
    background: var(--jv-white);
    color: var(--jv-green-800);
    border-color: var(--jv-green-600);
}
.btn-jv-secondary:hover {
    background: var(--jv-green-100);
    color: var(--jv-green-900);
    transform: translateY(-2px);
}

.btn-jv-earth {
    background: linear-gradient(135deg, var(--jv-earth-600), var(--jv-earth-500));
    color: var(--jv-white);
    border-color: var(--jv-earth-600);
}
.btn-jv-earth:hover {
    background: linear-gradient(135deg, var(--jv-earth-700), var(--jv-earth-600));
    color: var(--jv-white);
    transform: translateY(-2px);
}

.btn-jv-outline {
    background: transparent;
    color: var(--jv-white);
    border-color: var(--jv-white);
}
.btn-jv-outline:hover {
    background: var(--jv-white);
    color: var(--jv-green-800);
}

.btn-jv-whatsapp {
    background: #25d366;
    color: var(--jv-white);
    border-color: #25d366;
}
.btn-jv-whatsapp:hover {
    background: #1ebe57;
    color: var(--jv-white);
    transform: translateY(-2px);
}

/* =====================================================
   Navbar
   ===================================================== */
.jv-navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--jv-shadow-sm);
    padding: 0.75rem 0;
    transition: all var(--jv-transition);
    z-index: 1030;
}
.jv-navbar.scrolled {
    box-shadow: var(--jv-shadow);
    padding: 0.4rem 0;
}

.jv-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--jv-green-800);
    letter-spacing: -0.5px;
}
.jv-logo i {
    font-size: 1.9rem;
    color: var(--jv-green-600);
    background: var(--jv-green-100);
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.jv-logo small {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--jv-gray-600);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: -2px;
}

.navbar-nav .nav-link {
    color: var(--jv-gray-800);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    position: relative;
    transition: all var(--jv-transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--jv-green-700);
    background: var(--jv-green-100);
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 3px;
    background: var(--jv-green-500);
    border-radius: 2px;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { color: var(--jv-green-800); font-size: 1.5rem; }

/* =====================================================
   HERO
   ===================================================== */
.jv-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: var(--jv-white);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(26, 58, 13, 0.92) 0%, rgba(45, 80, 22, 0.85) 50%, rgba(74, 124, 44, 0.78) 100%),
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.jv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0L100 100' stroke='%23ffffff' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.jv-hero h1 {
    color: var(--jv-white);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.jv-hero .lead {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    max-width: 640px;
}

.jv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--jv-white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.jv-hero-badge i { color: var(--jv-green-300); }

.jv-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.jv-hero-image {
    position: relative;
    z-index: 2;
}
.jv-hero-image img {
    border-radius: 24px;
    box-shadow: var(--jv-shadow-lg);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}
.jv-hero-image img:hover { transform: rotate(0deg) scale(1.02); }

.jv-hero-stats {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: var(--jv-white);
    color: var(--jv-green-900);
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    box-shadow: var(--jv-shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
}
.jv-hero-stats .stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--jv-green-600);
    line-height: 1;
}
.jv-hero-stats .stat-lbl {
    font-size: 0.8rem;
    color: var(--jv-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Floating shapes */
.jv-hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}
.jv-hero-shape.shape-1 {
    width: 300px; height: 300px;
    background: var(--jv-green-300);
    top: -100px; left: -100px;
    animation: float 8s ease-in-out infinite;
}
.jv-hero-shape.shape-2 {
    width: 200px; height: 200px;
    background: var(--jv-earth-300);
    bottom: -50px; right: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* =====================================================
   Secciones
   ===================================================== */
section { padding: 5rem 0; }
@media (max-width: 768px) { section { padding: 3rem 0; } }

.jv-section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.jv-section-title .eyebrow {
    display: inline-block;
    color: var(--jv-green-600);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}
.jv-section-title h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1rem;
}
.jv-section-title p {
    color: var(--jv-gray-600);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* =====================================================
   Tarjetas de servicios
   ===================================================== */
.jv-service-card {
    background: var(--jv-white);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--jv-gray-200);
    transition: all var(--jv-transition);
    position: relative;
    overflow: hidden;
}
.jv-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--jv-green-500), var(--jv-earth-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--jv-transition);
}
.jv-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--jv-shadow-lg);
    border-color: transparent;
}
.jv-service-card:hover::before { transform: scaleX(1); }

.jv-service-card .icon-wrap {
    width: 72px; height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--jv-green-100);
    color: var(--jv-green-700);
    font-size: 2rem;
    transition: all var(--jv-transition);
}
.jv-service-card:hover .icon-wrap {
    background: var(--jv-green-600);
    color: var(--jv-white);
    transform: scale(1.1) rotate(-5deg);
}
.jv-service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.jv-service-card p {
    color: var(--jv-gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}
.jv-service-card .jv-link {
    color: var(--jv-green-700);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.jv-service-card .jv-link i { transition: transform var(--jv-transition); }
.jv-service-card:hover .jv-link i { transform: translateX(4px); }

/* =====================================================
   Stats / About
   ===================================================== */
.jv-about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--jv-shadow-lg);
}
.jv-about-image img { width: 100%; }
.jv-about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.3), transparent 50%);
}

.jv-about-content h2 { margin-bottom: 1.5rem; }
.jv-about-content .jv-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: var(--jv-gray-800);
}
.jv-about-content .jv-check i {
    color: var(--jv-green-500);
    background: var(--jv-green-100);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.jv-stats-row {
    background: linear-gradient(135deg, var(--jv-green-800), var(--jv-green-600));
    color: var(--jv-white);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-top: 4rem;
}
.jv-stat-item { text-align: center; }
.jv-stat-item .num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--jv-green-300);
    line-height: 1;
    display: block;
}
.jv-stat-item .lbl {
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* =====================================================
   Marketplace preview cards
   ===================================================== */
.jv-product-card {
    background: var(--jv-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--jv-shadow-sm);
    transition: all var(--jv-transition);
    height: 100%;
    border: 1px solid var(--jv-gray-200);
}
.jv-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jv-shadow-lg);
}
.jv-product-card .image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--jv-green-100);
}
.jv-product-card .image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jv-product-card:hover .image-wrap img { transform: scale(1.08); }
.jv-product-card .badge-organic {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--jv-green-500);
    color: var(--jv-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.jv-product-card .body { padding: 1.25rem; }
.jv-product-card .body .cat {
    color: var(--jv-green-600);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}
.jv-product-card .body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--jv-green-900);
    line-height: 1.3;
}
.jv-product-card .body .price {
    color: var(--jv-earth-700);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0.5rem 0;
}
.jv-product-card .body .price small {
    color: var(--jv-gray-600);
    font-size: 0.85rem;
    font-weight: 500;
}
.jv-product-card .body .location {
    color: var(--jv-gray-600);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* =====================================================
   CTA Section
   ===================================================== */
.jv-cta {
    background: linear-gradient(135deg, var(--jv-earth-600), var(--jv-earth-700));
    color: var(--jv-white);
    padding: 4.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.jv-cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}
.jv-cta h2 { color: var(--jv-white); margin-bottom: 1rem; }
.jv-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* =====================================================
   Footer
   ===================================================== */
.jv-footer {
    background: var(--jv-green-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
    margin-top: 5rem;
}
.jv-footer h5 {
    color: var(--jv-white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.jv-footer p, .jv-footer li { font-size: 0.92rem; line-height: 1.85; }
.jv-footer a { color: rgba(255, 255, 255, 0.75); }
.jv-footer a:hover { color: var(--jv-green-300); }

.jv-footer .jv-logo { color: var(--jv-white); }
.jv-footer .jv-logo i { background: rgba(255,255,255,0.1); color: var(--jv-green-300); }

.jv-footer-list { list-style: none; padding: 0; }
.jv-footer-list li { margin-bottom: 0.5rem; }
.jv-footer-list i { color: var(--jv-green-300); margin-right: 0.4rem; font-size: 0.8rem; }

.jv-footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}
.jv-footer-social a {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--jv-white);
    transition: all var(--jv-transition);
}
.jv-footer-social a:hover {
    background: var(--jv-green-500);
    color: var(--jv-white);
    transform: translateY(-3px);
}

.jv-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    margin-top: 3rem;
    font-size: 0.85rem;
    text-align: center;
}

/* =====================================================
   WhatsApp flotante
   ===================================================== */
.jv-whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    background: #25d366;
    color: var(--jv-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1020;
    transition: all var(--jv-transition);
    text-decoration: none;
}
.jv-whatsapp-float:hover {
    background: #1ebe57;
    color: var(--jv-white);
    transform: scale(1.1);
}
.jv-whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: #25d366;
    border-radius: 50%;
    opacity: 0.4;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0; }
}

/* =====================================================
   Page Hero (interno, con breadcrumb)
   ===================================================== */
.jv-page-hero {
    background: linear-gradient(135deg, rgba(26, 58, 13, 0.95), rgba(45, 80, 22, 0.85)),
                url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--jv-white);
    padding: 5rem 0 4rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
.jv-page-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.jv-page-hero h1 {
    color: var(--jv-white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0;
    position: relative;
    z-index: 1;
}
.jv-page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}
.jv-page-hero .breadcrumb-item.active {
    color: var(--jv-white) !important;
}

/* =====================================================
   Valores / Cards con icono lateral
   ===================================================== */
.jv-value-card {
    background: var(--jv-white);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--jv-gray-200);
    transition: all var(--jv-transition);
    text-align: center;
}
.jv-value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--jv-shadow-lg);
    border-color: var(--jv-green-300);
}
.jv-value-card .icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--jv-green-100), var(--jv-green-300));
    color: var(--jv-green-800);
    font-size: 1.75rem;
}
.jv-value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.jv-value-card p { color: var(--jv-gray-600); font-size: 0.95rem; margin: 0; }

/* =====================================================
   Equipo
   ===================================================== */
.jv-team-card {
    background: var(--jv-white);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--jv-gray-200);
    transition: all var(--jv-transition);
}
.jv-team-card:hover { transform: translateY(-4px); box-shadow: var(--jv-shadow); }
.jv-team-avatar {
    width: 110px; height: 110px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--jv-green-100);
    padding: 3px;
    background: linear-gradient(135deg, var(--jv-green-500), var(--jv-earth-500));
}
.jv-team-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--jv-white);
}
.jv-team-card h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.jv-team-card .role {
    color: var(--jv-green-600);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}
.jv-team-card p { color: var(--jv-gray-600); font-size: 0.9rem; margin-bottom: 1rem; }
.jv-team-card .socials {
    display: flex; justify-content: center; gap: 0.5rem;
}
.jv-team-card .socials a {
    width: 36px; height: 36px;
    background: var(--jv-green-100);
    color: var(--jv-green-700);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--jv-transition);
}
.jv-team-card .socials a:hover {
    background: var(--jv-green-600);
    color: var(--jv-white);
    transform: translateY(-2px);
}

/* =====================================================
   Servicios detallados
   ===================================================== */
.jv-service-detail {
    padding: 4rem 0;
    border-bottom: 1px solid var(--jv-gray-200);
}
.jv-service-detail:nth-child(even) { background: var(--jv-cream); }
.jv-service-detail:last-child { border-bottom: none; }
.jv-service-detail .badge-num {
    display: inline-block;
    background: var(--jv-green-100);
    color: var(--jv-green-700);
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.jv-service-detail h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1.25rem;
}
.jv-service-detail p { color: var(--jv-gray-600); margin-bottom: 1.25rem; }
.jv-service-detail .features { list-style: none; padding: 0; margin: 1.5rem 0; }
.jv-service-detail .features li {
    padding: 0.5rem 0;
    display: flex; align-items: flex-start; gap: 0.6rem;
    color: var(--jv-gray-800);
}
.jv-service-detail .features i {
    color: var(--jv-green-500);
    background: var(--jv-green-100);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 3px;
}
.jv-service-detail .image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--jv-shadow-lg);
    aspect-ratio: 4/3;
}
.jv-service-detail .image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.jv-service-detail .image-wrap:hover img { transform: scale(1.05); }

/* Proceso de trabajo */
.jv-process-step {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}
.jv-process-step .num {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--jv-green-600), var(--jv-green-500));
    color: var(--jv-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(74,124,44,0.3);
}
.jv-process-step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.jv-process-step p { color: var(--jv-gray-600); font-size: 0.9rem; margin: 0; }

/* FAQ */
.jv-faq-item {
    background: var(--jv-white);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--jv-gray-200);
    overflow: hidden;
    transition: all var(--jv-transition);
}
.jv-faq-item:hover { border-color: var(--jv-green-300); }
.jv-faq-question {
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600;
    color: var(--jv-green-900);
    background: none; border: none; width: 100%;
    text-align: left;
}
.jv-faq-question i { color: var(--jv-green-600); transition: transform var(--jv-transition); }
.jv-faq-item.open .jv-faq-question i { transform: rotate(180deg); }
.jv-faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--jv-gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}
.jv-faq-item.open .jv-faq-answer { max-height: 400px; padding: 0 1.5rem 1.25rem; }

/* =====================================================
   Proyectos
   ===================================================== */
.jv-project-card {
    background: var(--jv-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--jv-shadow-sm);
    transition: all var(--jv-transition);
    height: 100%;
    border: 1px solid var(--jv-gray-200);
}
.jv-project-card:hover { transform: translateY(-6px); box-shadow: var(--jv-shadow-lg); }
.jv-project-card .image-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.jv-project-card .image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jv-project-card:hover .image-wrap img { transform: scale(1.08); }
.jv-project-card .year-badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,0.6);
    color: var(--jv-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.jv-project-card .body { padding: 1.5rem; }
.jv-project-card .body .meta {
    color: var(--jv-green-600);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.jv-project-card .body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.jv-project-card .body p {
    color: var(--jv-gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.jv-filter-btn {
    background: var(--jv-white);
    color: var(--jv-green-800);
    border: 2px solid var(--jv-gray-200);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.25rem;
    transition: all var(--jv-transition);
    cursor: pointer;
}
.jv-filter-btn:hover, .jv-filter-btn.active {
    background: var(--jv-green-600);
    color: var(--jv-white);
    border-color: var(--jv-green-600);
}

/* =====================================================
   Alianzas
   ===================================================== */
.jv-alliance-card {
    background: var(--jv-white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--jv-gray-200);
    transition: all var(--jv-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.jv-alliance-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jv-shadow);
    border-color: var(--jv-green-300);
}
.jv-alliance-logo {
    width: 120px; height: 120px;
    margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--jv-green-100);
    border-radius: 16px;
    overflow: hidden;
    color: var(--jv-green-700);
    font-size: 2.5rem;
}
.jv-alliance-logo img {
    width: 100%; height: 100%; object-fit: contain; padding: 0.5rem;
}
.jv-alliance-card h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.jv-alliance-card p { color: var(--jv-gray-600); font-size: 0.85rem; margin-bottom: 0.75rem; }
.jv-alliance-card a { color: var(--jv-green-700); font-size: 0.85rem; font-weight: 600; }

/* =====================================================
   Blog
   ===================================================== */
.jv-blog-card {
    background: var(--jv-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--jv-shadow-sm);
    transition: all var(--jv-transition);
    height: 100%;
    border: 1px solid var(--jv-gray-200);
    display: flex; flex-direction: column;
}
.jv-blog-card:hover { transform: translateY(-4px); box-shadow: var(--jv-shadow-lg); }
.jv-blog-card .image-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}
.jv-blog-card .image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jv-blog-card:hover .image-wrap img { transform: scale(1.08); }
.jv-blog-card .cat-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--jv-green-600);
    color: var(--jv-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.jv-blog-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.jv-blog-card .meta {
    color: var(--jv-gray-600);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.jv-blog-card .meta i { color: var(--jv-green-600); }
.jv-blog-card h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}
.jv-blog-card h3 a { color: var(--jv-green-900); text-decoration: none; }
.jv-blog-card h3 a:hover { color: var(--jv-green-600); }
.jv-blog-card p {
    color: var(--jv-gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}
.jv-blog-card .read-more {
    color: var(--jv-green-700);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 0.3rem;
    margin-top: auto;
}

.jv-sidebar {
    background: var(--jv-white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--jv-gray-200);
    margin-bottom: 1.5rem;
}
.jv-sidebar h5 {
    font-size: 1rem;
    color: var(--jv-green-900);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--jv-green-100);
}
.jv-sidebar-list { list-style: none; padding: 0; margin: 0; }
.jv-sidebar-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--jv-gray-100);
}
.jv-sidebar-list li:last-child { border-bottom: none; }
.jv-sidebar-list a {
    color: var(--jv-gray-800);
    display: flex; justify-content: space-between; align-items: center;
    text-decoration: none;
    font-size: 0.92rem;
}
.jv-sidebar-list a:hover { color: var(--jv-green-700); }
.jv-sidebar-list .count {
    background: var(--jv-green-100);
    color: var(--jv-green-700);
    border-radius: 50px;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.jv-recent-post {
    display: flex; gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--jv-gray-100);
}
.jv-recent-post:last-child { border-bottom: none; }
.jv-recent-post img {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.jv-recent-post .info h6 {
    font-size: 0.85rem;
    margin: 0 0 0.2rem;
    line-height: 1.3;
}
.jv-recent-post .info h6 a { color: var(--jv-green-900); text-decoration: none; }
.jv-recent-post .info h6 a:hover { color: var(--jv-green-600); }
.jv-recent-post .info small { color: var(--jv-gray-600); font-size: 0.75rem; }

/* =====================================================
   Contacto
   ===================================================== */
.jv-contact-card {
    background: var(--jv-white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--jv-gray-200);
    transition: all var(--jv-transition);
}
.jv-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jv-shadow);
    border-color: var(--jv-green-300);
}
.jv-contact-card .icon {
    width: 60px; height: 60px;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--jv-green-100);
    color: var(--jv-green-700);
    border-radius: 50%;
    font-size: 1.5rem;
}
.jv-contact-card h5 { font-size: 1rem; margin-bottom: 0.5rem; }
.jv-contact-card p { color: var(--jv-gray-600); font-size: 0.9rem; margin: 0; }
.jv-contact-card a { color: var(--jv-green-700); font-weight: 600; }

.jv-form-card {
    background: var(--jv-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--jv-shadow);
    border: 1px solid var(--jv-gray-200);
}
.jv-form-card .form-label {
    font-weight: 600;
    color: var(--jv-green-900);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}
.jv-form-card .form-control,
.jv-form-card .form-select {
    border: 1.5px solid var(--jv-gray-200);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    transition: all var(--jv-transition);
}
.jv-form-card .form-control:focus,
.jv-form-card .form-select:focus {
    border-color: var(--jv-green-500);
    box-shadow: 0 0 0 4px rgba(107,168,58,0.12);
}
.jv-form-card textarea.form-control { min-height: 140px; resize: vertical; }

/* =====================================================
   Utilidades
   ===================================================== */
.jv-divider {
    width: 60px; height: 4px;
    background: var(--jv-green-500);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.bg-jv-cream { background: var(--jv-cream); }
.bg-jv-green-light { background: var(--jv-green-100); }

.text-jv-green { color: var(--jv-green-700) !important; }
.text-jv-earth { color: var(--jv-earth-600) !important; }

.jv-flash-messages {
    position: fixed;
    top: 90px; right: 20px;
    z-index: 1050;
    max-width: 360px;
}
.jv-flash-messages .alert {
    box-shadow: var(--jv-shadow-lg);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
    animation: slideInRight 0.4s ease;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* =====================================================
   Animaciones
   ===================================================== */
.jv-fade-in {
    animation: fadeInUp 0.8s ease both;
}
.jv-fade-in-delay-1 { animation-delay: 0.15s; }
.jv-fade-in-delay-2 { animation-delay: 0.3s; }
.jv-fade-in-delay-3 { animation-delay: 0.45s; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Páginas de error
   ===================================================== */
.jv-error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--jv-green-800), var(--jv-green-500));
    color: var(--jv-white);
    text-align: center;
}
.jv-error-page .error-code {
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 900;
    line-height: 1;
    color: var(--jv-white);
    opacity: 0.9;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.jv-error-page h1 {
    color: var(--jv-white);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin: 1rem 0;
}
.jv-error-page p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--jv-white);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: var(--jv-shadow);
    }
    .jv-hero { min-height: auto; padding: 5rem 0 6rem; text-align: center; }
    .jv-hero .lead { margin-left: auto; margin-right: auto; }
    .jv-hero-actions { justify-content: center; }
    .jv-hero-stats { position: static; margin: 2rem auto 0; display: inline-flex; }
    .jv-hero-image { margin-top: 3rem; }
}

@media (max-width: 575.98px) {
    .jv-logo { font-size: 1.1rem; }
    .jv-logo i { width: 36px; height: 36px; font-size: 1.4rem; }
    .btn { padding: 0.65rem 1.3rem; font-size: 0.9rem; }
    .jv-whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 16px; right: 16px; }
}

/* ============================================
   MARKETPLACE
   ============================================ */
.jv-marketplace-search .form-control:focus {
    box-shadow: none;
    border-color: var(--jv-green-500);
}

.jv-hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}
.jv-hero-stat {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    min-width: 120px;
}
.jv-hero-stat strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.jv-hero-stat span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CHIPS (categorías) */
.jv-chip {
    padding: 0.4rem 1rem;
    background: var(--jv-gray-100);
    color: var(--jv-gray-700);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--jv-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}
.jv-chip:hover {
    background: var(--jv-green-50);
    color: var(--jv-green-800);
}
.jv-chip.active {
    background: var(--jv-green-500);
    color: white;
}

/* PRODUCT CARD */
.jv-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: var(--jv-transition);
    display: flex;
    flex-direction: column;
}
.jv-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.jv-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.jv-product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--jv-gray-100);
}
.jv-product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.jv-product-card:hover .jv-product-image img {
    transform: scale(1.05);
}
.jv-product-image-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--jv-gray-300);
    font-size: 3rem;
}
.jv-product-badge {
    position: absolute;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.jv-badge-organic {
    top: 12px; left: 12px;
    background: #D1FAE5; color: #065F46;
}
.jv-badge-location {
    top: 12px; right: 12px;
    background: white; color: var(--jv-gray-700);
}
.jv-product-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.jv-product-category {
    color: var(--jv-green-600);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.jv-product-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--jv-gray-800);
    margin-bottom: 0.5rem;
}
.jv-product-desc {
    font-size: 0.85rem;
    color: var(--jv-gray-600);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.jv-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid var(--jv-gray-100);
}
.jv-product-price strong {
    display: block;
    font-size: 1.25rem;
    color: var(--jv-green-700);
    font-weight: 800;
}
.jv-product-price small {
    color: var(--jv-gray-500);
}
.jv-product-vendor {
    color: var(--jv-gray-500);
    text-align: right;
}

/* PRODUCT DETAIL */
.jv-product-detail-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--jv-gray-100);
}
.jv-product-detail-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.jv-related-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--jv-transition);
}
.jv-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.jv-related-image {
    aspect-ratio: 4/3;
    background: var(--jv-gray-100);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: var(--jv-gray-300);
}
.jv-related-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ============================================
   CURSOS Y CAPACITACIONES
   ============================================ */
.jv-course-card {
    background: var(--jv-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--jv-shadow-sm);
    border: 1px solid var(--jv-gray-200);
    transition: all var(--jv-transition);
    height: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.jv-course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--jv-shadow-lg);
    border-color: var(--jv-green-300);
}

.jv-course-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--jv-green-100), var(--jv-green-300));
}
.jv-course-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jv-course-card:hover .jv-course-image img {
    transform: scale(1.08);
}
.jv-course-image-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--jv-green-700);
    font-size: 4rem;
    opacity: 0.5;
}

.jv-course-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--jv-white);
    color: var(--jv-gray-800);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.jv-modality-online     { background: var(--jv-blue-100) !important; color: var(--jv-blue-700) !important; }
.jv-modality-presencial { background: #d1fae5 !important; color: #065f46 !important; }
.jv-modality-hibrido    { background: #fef3c7 !important; color: #92400e !important; }

.jv-course-featured {
    position: absolute;
    top: 12px; right: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.jv-course-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.jv-course-category {
    color: var(--jv-green-600);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}
.jv-course-body h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    color: var(--jv-green-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jv-course-body p {
    color: var(--jv-gray-600);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.jv-course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}
.jv-course-meta span {
    color: var(--jv-gray-600);
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.jv-course-meta i {
    color: var(--jv-green-600);
}

.jv-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid var(--jv-gray-100);
}
.jv-course-price strong {
    color: var(--jv-green-700);
    font-size: 1.4rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}
.jv-course-price small {
    color: var(--jv-gray-500);
    font-size: 0.75rem;
    display: block;
    margin-top: 0.2rem;
}
.jv-course-price .text-decoration-line-through {
    color: var(--jv-gray-400) !important;
}
.jv-course-price .consult-price,
.consult-price {
    color: #d97706;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.consult-price i {
    font-size: 1.1rem;
}
.jv-course-link {
    color: var(--jv-green-700);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap var(--jv-transition);
}
.jv-course-card:hover .jv-course-link {
    gap: 0.6rem;
}

/* ============================================
   MODAL FLOTANTE DE CURSO
   ============================================ */
.jv-course-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1080;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 2vh 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}
.jv-course-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.jv-course-modal {
    background: var(--jv-white);
    border-radius: 20px;
    max-width: 1100px;
    width: 100%;
    max-height: none;
    overflow: visible;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: jvModalSlideUp 0.35s cubic-bezier(.4, 0, .2, 1);
    margin: auto 0;
    flex-shrink: 0;
}

/* Prevenir que el body scrollee cuando el modal esta abierto */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}
@keyframes jvModalSlideUp {
    from { transform: translateY(40px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.jv-course-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--jv-white);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--jv-gray-800);
    cursor: pointer;
    z-index: 5;
    transition: all var(--jv-transition);
}
.jv-course-modal-close:hover {
    background: var(--jv-red, #dc2626);
    color: var(--jv-white);
    transform: rotate(90deg);
}

.jv-course-modal-header {
    position: relative;
    background: var(--jv-gray-100);
}

.jv-course-modal-gallery {
    position: relative;
}
.jv-course-modal-main-image {
    aspect-ratio: 21/9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--jv-green-100), var(--jv-green-300));
}
.jv-course-modal-main-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.jv-course-modal-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    overflow-x: auto;
    background: var(--jv-white);
    border-top: 1px solid var(--jv-gray-100);
}
.jv-course-modal-thumb {
    flex-shrink: 0;
    width: 80px; height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--jv-transition);
    opacity: 0.7;
}
.jv-course-modal-thumb:hover { opacity: 1; }
.jv-course-modal-thumb.active {
    border-color: var(--jv-green-500);
    opacity: 1;
}
.jv-course-modal-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.jv-course-modal-content {
    padding: 2rem;
}
@media (max-width: 768px) {
    .jv-course-modal-content { padding: 1.25rem; }
}

.jv-course-modal-category {
    display: inline-block;
    background: var(--jv-green-100);
    color: var(--jv-green-700);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}
.jv-course-modal-content > .row > .col-lg-8 > h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--jv-green-900);
}

.jv-course-modal-quick-info {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--jv-gray-100);
}
.jv-course-modal-quick-info span {
    color: var(--jv-gray-600);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.jv-course-modal-quick-info i {
    color: var(--jv-green-600);
    font-size: 1rem;
}

.jv-course-modal-section {
    margin-bottom: 1.75rem;
}
.jv-course-modal-section h4 {
    font-size: 1.1rem;
    color: var(--jv-green-900);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.jv-course-modal-section h4 i {
    color: var(--jv-green-600);
}
.jv-course-modal-section > div {
    color: var(--jv-gray-700);
    line-height: 1.7;
    font-size: 0.95rem;
}
.jv-course-modal-section ul, .jv-course-modal-section ol {
    padding-left: 1.25rem;
}
.jv-course-modal-section li {
    margin-bottom: 0.4rem;
}

.jv-course-instructor {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--jv-green-100);
    padding: 1.25rem;
    border-radius: 12px;
}
.jv-course-instructor-photo {
    width: 80px; height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--jv-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jv-green-600);
    font-size: 2rem;
    flex-shrink: 0;
    border: 3px solid var(--jv-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.jv-course-instructor-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.jv-course-instructor h5 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--jv-green-900);
}
.jv-course-instructor p {
    color: var(--jv-gray-700);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.jv-course-sidebar {
    background: var(--jv-white);
    border: 2px solid var(--jv-green-100);
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
    box-shadow: var(--jv-shadow-sm);
}
.jv-course-price-box {
    text-align: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--jv-gray-100);
}
.jv-course-price-box .lbl {
    color: var(--jv-gray-600);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.4rem;
}
.jv-course-price-box .price {
    color: var(--jv-green-700);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}
.jv-course-price-box .price .free {
    color: var(--jv-green-500);
}
.jv-course-price-box .original-price {
    color: var(--jv-gray-400);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.jv-course-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.jv-course-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    color: var(--jv-gray-700);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--jv-gray-100);
}
.jv-course-features li:last-child {
    border-bottom: none;
}
.jv-course-features i {
    color: var(--jv-green-600);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.jv-course-actions .btn {
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    border-radius: 10px;
}

.btn-jv-moodle {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--jv-white);
    border: 2px solid #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.btn-jv-moodle:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: var(--jv-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

@media (max-width: 991.98px) {
    .jv-course-sidebar {
        position: static;
        margin-top: 1.5rem;
    }
    .jv-course-modal-main-image {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 575.98px) {
    .jv-course-modal-overlay {
        padding: 0;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .jv-course-modal {
        max-height: none;
        border-radius: 0;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .jv-course-modal-content {
        padding: 1rem;
    }
    .jv-course-modal-close {
        top: 10px; right: 10px;
        width: 36px; height: 36px;
    }
}

/* =====================================================
   ESTILOS MODERNOS
   ===================================================== */

/* Cards con efecto glassmorphism */
.jv-course-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(22, 163, 74, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}
.jv-course-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(22, 163, 74, 0.15);
}

/* Imagen con overlay moderno */
.jv-course-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}
.jv-course-image img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.jv-course-card:hover .jv-course-image img {
    transform: scale(1.08);
}

/* Botones modernos con gradiente */
.btn-jv-primary {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
    position: relative;
    overflow: hidden;
}
.btn-jv-primary:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
    color: #fff;
}
.btn-jv-primary:active {
    transform: translateY(0);
}

/* Stat cards modernas */
.jv-stat-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,253,244,0.9) 100%);
    border: 1px solid rgba(22, 163, 74, 0.1);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}
.jv-stat-card:hover {
    transform: translateY(-3px);
}
.jv-stat-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.jv-stat-card .num {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}
.jv-stat-card .lbl {
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: 0.25rem;
    display: block;
}

/* Tablas modernas */
.jv-table {
    width: 100%;
    border-collapse: collapse;
}
.jv-table thead th {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 0.75rem;
    border-bottom: 2px solid #bbf7d0;
}
.jv-table tbody td {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.jv-table tbody tr {
    transition: background 0.2s ease;
}
.jv-table tbody tr:hover {
    background: rgba(22, 163, 74, 0.04);
}

/* Cards modernas */
.jv-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Badges modernas */
.badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 8px;
    font-size: 0.78em;
}
.bg-success { background: linear-gradient(135deg, #16a34a, #15803d) !important; }
.bg-danger { background: linear-gradient(135deg, #dc2626, #b91c1c) !important; }
.bg-warning { background: linear-gradient(135deg, #f59e0b, #d97706) !important; }
.bg-info { background: linear-gradient(135deg, #0ea5e9, #0284c7) !important; }
.bg-secondary { background: linear-gradient(135deg, #6b7280, #4b5563) !important; }

/* Page header moderno */
.jv-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}
.jv-page-header h2 {
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

/* Forms modernos */
.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    padding: 0.55rem 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* Animacion de brillo en botones */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.btn-jv-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-jv-primary:hover::after {
    opacity: 1;
    animation: shimmer 1.5s infinite;
}

/* Modales modernos */
.jv-course-modal-overlay {
    transition: opacity 0.3s ease;
}
.jv-course-modal {
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    border: none;
    overflow: visible;
}

/* Tooltip moderno */
.tooltip {
    --bs-tooltip-bg: #1a1a2e;
    border-radius: 8px;
    font-size: 0.8rem;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-radius: 10px;
}

/* Efecto de carga suave */
.jv-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Floating WhatsApp con efecto */
.jv-whatsapp-float {
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Badge pendiente con pulso */
.badge.bg-warning {
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
