/* ================================================
   AVICRIOLLOFUSAGASUGÁ — ESTILO CAMPO CÁLIDO V4
   Paleta: Crema Huevo · Tierra Corral · Verde Campo · Ocre Yema
   Tipografía: Playfair Display + DM Sans
   ================================================ */

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

:root {
    /* ── Verde Campo ── */
    --primary:        #527a28;
    --primary-light:  #6a9e35;
    --primary-dark:   #3d5c1e;
    --primary-glow:   rgba(82, 122, 40, 0.15);

    /* ── Ocre Yema ── */
    --accent:         #C8820A;
    --accent-light:   #E09A1A;
    --accent-pale:    #FFF3CC;
    --accent-glow:    rgba(200, 130, 10, 0.18);

    /* ── Oro para precios ── */
    --gold:           #D4920A;

    /* ── Fondos ── */
    --bg:             #FBF6E6;
    --surface:        #FFFFFF;
    --surface-2:      #F6F0DC;
    --surface-3:      #EDE5C8;

    /* ── Bordes ── */
    --border:         rgba(139, 94, 60, 0.14);
    --border-accent:  rgba(200, 130, 10, 0.28);

    /* ── Texto ── */
    --text:           #2E1A0E;
    --text-muted:     #6B4828;
    --text-subtle:    #A07850;

    /* ── Sombras ── */
    --shadow-sm:      0 2px 8px  rgba(100, 60, 10, 0.10);
    --shadow-md:      0 6px 24px rgba(100, 60, 10, 0.13);
    --shadow-lg:      0 16px 48px rgba(100, 60, 10, 0.18);
    --shadow-green:   0 8px 28px rgba(82, 122, 40, 0.18);
    --shadow-gold:    0 8px 28px rgba(200, 130, 10, 0.22);

    --whatsapp:       #25D366;
    --whatsapp-dark:  #128C7E;
    --facebook-color: #1877f2;
    --instagram-color: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    --white:          #ffffff;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ================================================
   HEADER
   ================================================ */
header {
    background: rgba(251, 246, 230, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo { display: flex; align-items: center; text-decoration: none; gap: 12px; transition: opacity 0.3s ease; }
.logo:hover { opacity: 0.8; }
.logo img { height: 52px; width: auto; object-fit: contain; transition: transform 0.4s ease; }
.logo:hover img { transform: rotate(8deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; }
.logo-main { font-family: 'Playfair Display', Georgia, serif; font-size: 1.8rem; font-weight: 700; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.logo-sub { font-size: 0.7rem; color: var(--accent); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.03em; transition: color 0.3s ease; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--gold); transition: width 0.3s ease; border-radius: 2px; }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.menu-toggle { display: none; font-size: 1.4rem; cursor: pointer; color: var(--accent); }

/* ================================================
   SLIDER
   ================================================ */
.slider-container { position: relative; height: 72vh; margin-top: 77px; overflow: hidden; }
.slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease-in-out; display: flex; align-items: center; justify-content: center; }
.slide.active { opacity: 1; }
.slide-content { text-align: center; color: #fff; z-index: 2; padding: 2rem; animation: slideInUp 0.9s cubic-bezier(0.22,1,0.36,1); max-width: 680px; }

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

.slide-content::before {
    content: '🌿 Fusagasugá, Cundinamarca';
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff5c0;
    background: rgba(200, 130, 10, 0.38);
    border: 1px solid rgba(255, 230, 100, 0.45);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.slide h1, .slide h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; text-shadow: 0 3px 20px rgba(0,0,0,0.6); line-height: 1.1; letter-spacing: -0.02em; }
.slide p { font-size: 1.1rem; margin-bottom: 2.2rem; text-shadow: 0 2px 8px rgba(0,0,0,0.55); color: rgba(255,255,255,0.9); font-weight: 300; }

.btn-primary { display: inline-block; padding: 14px 36px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(200, 130, 10, 0.38); position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,255,255,0.15),transparent); pointer-events: none; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200, 130, 10, 0.5); }

.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.5) saturate(0.85); transform: scale(1.03); transition: transform 8s ease; }
.slide.active .slide-bg { transform: scale(1); }
.slider-container::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(to top, var(--bg), transparent); z-index: 1; pointer-events: none; }

.slider-nav { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.slider-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s ease; }
.slider-dot.active { background: #FFE566; width: 22px; border-radius: 3px; }

/* ================================================
   SECTION TITLE
   ================================================ */
.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.4rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; letter-spacing: -0.02em; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 48px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent-light)); border-radius: 2px; margin: 10px auto 0; }
.section-title p { font-size: 1rem; color: var(--text-muted); font-weight: 300; margin-top: 0.5rem; }

/* ================================================
   PRODUCTOS
   ================================================ */
.products { padding: 90px 5%; background: var(--bg); min-height: 400px; position: relative; z-index: 1; }

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    flex: 0 1 320px;
    min-width: 280px;
}

@media (min-width: 1200px) {
    .product-card { flex: 0 1 360px; }
}

@media (min-width: 1400px) {
    .product-card { flex: 0 1 400px; }
}

.product-card { background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); transition: all 0.35s cubic-bezier(0.22,1,0.36,1); cursor: pointer; box-shadow: var(--shadow-sm); }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-gold), var(--shadow-md); border-color: var(--accent-light); }

.product-image { position: relative; height: 230px; overflow: hidden; background: var(--surface-2); }

@media (min-width: 1200px) {
    .product-image { height: 260px; }
}

@media (min-width: 1400px) {
    .product-image { height: 290px; }
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.07); }
.product-image::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--accent-light)); opacity: 0; transition: opacity 0.3s ease; }
.product-card:hover .product-image::after { opacity: 1; }

.product-info { padding: 1.4rem; }
.product-info h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--text); margin-bottom: 0.45rem; font-size: 1.15rem; font-weight: 600; }
.product-info p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.product-price { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; color: var(--gold); font-weight: 700; margin-bottom: 1rem; min-height: 1.35rem; }

.btn-product { width: 100%; padding: 10px; background: transparent; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; transition: all 0.3s ease; font-family: 'DM Sans', sans-serif; }
.btn-product:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-gold); }

/* ================================================
   MODAL
   ================================================ */
.modal { display: none; position: fixed; inset: 0; background: rgba(46, 26, 14, 0.78); z-index: 2000; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.active { display: flex; }

.modal-content { background: var(--surface); border-radius: 18px; max-width: 980px; width: 100%; max-height: 92vh; overflow: hidden; position: relative; animation: modalSlideIn 0.4s cubic-bezier(0.22,1,0.36,1); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

@keyframes modalSlideIn {
    from { transform: translateY(-30px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* Botón cerrar — más visible, prominente */
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 1.3rem;
    cursor: pointer;
    color: #fff;
    background: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2010;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 12px rgba(200, 130, 10, 0.45);
    line-height: 1;
}
.modal-close:hover {
    background: #a06008;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(200, 130, 10, 0.65);
    border-color: rgba(255,255,255,0.5);
}
.modal-close:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.modal-layout { display: grid; grid-template-columns: 55% 45%; height: 88vh; max-height: 580px; }

.modal-left { display: flex; flex-direction: column; background: var(--surface-2); border-radius: 18px 0 0 18px; overflow: hidden; }
.modal-image-container { position: relative; flex: 1; overflow: hidden; background: var(--surface-3); }
.modal-main-image { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; display: block; }
.modal-main-image.fade { opacity: 0; }

.modal-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(251, 246, 230, 0.9); border: 1px solid var(--border); color: var(--text); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; z-index: 5; font-size: 0.85rem; box-shadow: var(--shadow-sm); }
.modal-arrow-prev { left: 12px; }
.modal-arrow-next { right: 12px; }
.modal-arrow:hover { background: var(--accent); color: #fff; border-color: transparent; transform: translateY(-50%) scale(1.08); }
.modal-arrow.hidden { display: none; }

.modal-counter { position: absolute; bottom: 10px; right: 12px; background: rgba(251, 246, 230, 0.88); color: var(--text-muted); font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; z-index: 5; letter-spacing: 0.06em; border: 1px solid var(--border); }
.modal-counter.hidden { display: none; }

.modal-gallery { display: flex; gap: 8px; padding: 10px 12px; background: var(--surface-3); border-top: 1px solid var(--border); overflow-x: auto; scrollbar-width: thin; min-height: 68px; align-items: center; }
.modal-gallery:empty { display: none; }
.modal-thumbnail { min-width: 60px; height: 46px; object-fit: cover; border-radius: 7px; cursor: pointer; transition: all 0.25s ease; border: 2px solid transparent; opacity: 0.55; flex-shrink: 0; }
.modal-thumbnail:hover { opacity: 0.85; transform: scale(1.06); }
.modal-thumbnail.active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 10px var(--accent-glow); }

.modal-right { display: flex; flex-direction: column; padding: 2rem 2rem 1.75rem; overflow-y: auto; border-radius: 0 18px 18px 0; background: var(--surface); scrollbar-width: thin; }
.modal-header { margin-bottom: 0.5rem; }
.modal-title { font-family: 'Playfair Display', Georgia, serif; color: var(--text); font-size: 1.6rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; }
.modal-price { font-family: 'Playfair Display', Georgia, serif; font-size: 1.8rem; color: var(--gold); font-weight: 700; line-height: 1; }
.modal-description { color: var(--text-muted); line-height: 1.85; font-size: 0.91rem; white-space: pre-line; text-align: left; hyphens: auto; flex: 1; margin: 1rem 0 1.5rem; }
.modal-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: auto; }

/* Único botón en modal-actions: WhatsApp */
.modal-btn { width: 100%; padding: 13px 20px; border: none; border-radius: 10px; font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: all 0.3s ease; text-decoration: none; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: 'DM Sans', sans-serif; letter-spacing: 0.02em; }
.modal-btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,0.25); }
.modal-btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }

/* ================================================
   SOBRE NOSOTROS
   ================================================ */
.about { padding: 90px 5%; background: var(--surface-2); position: relative; z-index: 1; }
.about::before { content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-accent), transparent); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-image { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.about-image::after { content: ''; position: absolute; inset: -8px; border: 1.5px solid var(--border-accent); border-radius: 22px; z-index: -1; }
.about-image img { width: 100%; height: 460px; object-fit: cover; display: block; }
.about-text h2 { font-family: 'Playfair Display', Georgia, serif; color: var(--text); font-size: 2.2rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; }
.about-text p { color: var(--text-muted); margin-bottom: 1.4rem; line-height: 1.85; font-size: 0.97rem; }

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.5rem; }
.stat-item { text-align: center; padding: 1.4rem 1rem; background: var(--surface); border-radius: 14px; border: 1px solid var(--border); transition: all 0.3s ease; position: relative; overflow: hidden; }
.stat-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent-light)); opacity: 0; transition: opacity 0.3s ease; }
.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); border-color: var(--accent-light); }
.stat-item:hover::before { opacity: 1; }
.stat-number { font-family: 'Playfair Display', Georgia, serif; font-size: 2.1rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { color: var(--text-muted); margin-top: 0.5rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* ================================================
   SERVICIOS
   ================================================ */
.services { padding: 90px 5%; background: var(--bg); position: relative; z-index: 1; }
.services::before { content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-accent), transparent); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.service-card { background: var(--surface); padding: 2rem 1.75rem; border-radius: 14px; text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all 0.35s cubic-bezier(0.22,1,0.36,1); position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent-light)); transform: scaleX(0); transition: transform 0.35s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-gold); border-color: var(--accent-light); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon, .chicken-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 1.2rem; display: block; transition: all 0.3s ease; }
.chicken-icon { display: inline-block; width: 2.2rem; height: 2.2rem; }
.service-card:hover .service-icon, .service-card:hover .chicken-icon { color: var(--accent-light); transform: scale(1.1) rotate(-5deg); }
.service-card h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--text); margin-bottom: 0.75rem; font-size: 1.1rem; font-weight: 600; }
.service-card p { color: var(--text-muted); line-height: 1.6; font-size: 0.88rem; }

/* ================================================
   CONTACTO
   ================================================ */
.contact { padding: 90px 5%; background: var(--surface-2); position: relative; z-index: 1; }
.contact::before { content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-accent), transparent); }
.contact-content { max-width: 900px; margin: 0 auto; text-align: center; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.contact-item { padding: 2rem 1.5rem; background: var(--surface); border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all 0.35s ease; }
.contact-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); border-color: var(--accent-light); }
.contact-item i { font-size: 1.7rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.contact-item h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--text); margin-bottom: 0.5rem; font-size: 1rem; font-weight: 600; }
.contact-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ================================================
   FOOTER
   ================================================ */
footer { background: #1C0F06; color: #a08060; padding: 3.5rem 5%; position: relative; z-index: 1; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent)); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.footer-section h3 { font-family: 'Playfair Display', Georgia, serif; color: #f0e0b0; margin-bottom: 1rem; font-size: 1.1rem; font-weight: 600; }
.footer-section p { color: #8a7060; line-height: 1.7; font-size: 0.9rem; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); text-decoration: none; border: 1px solid rgba(255,255,255,0.08); }
.social-link i { font-size: 1.15rem; color: #fff; }
.social-link.facebook { background: var(--facebook-color); border-color: transparent; }
.social-link.instagram { background: var(--instagram-color); border-color: transparent; }
.social-link.tiktok { background: #111; }
.social-link:hover { transform: translateY(-4px) scale(1.1); }
.footer-bottom { text-align: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.07); color: #6a5545; font-size: 0.85rem; }

/* ================================================
   WHATSAPP FLOTANTE
   ================================================ */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; background: var(--whatsapp); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4); cursor: pointer; transition: all 0.3s ease; z-index: 999; animation: pulse 2.5s infinite; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); background: var(--whatsapp-dark); }

@keyframes pulse {
    0%  { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-share-vertical { position: fixed; left: 0; top: 50%; transform: translateY(-50%); background: var(--whatsapp); color: #fff; padding: 16px 6px; border-radius: 0 10px 10px 0; text-decoration: none; writing-mode: vertical-rl; text-orientation: mixed; font-weight: 600; font-size: 0.76rem; z-index: 999; box-shadow: 2px 0 12px rgba(0,0,0,0.15); transition: all 0.3s ease; letter-spacing: 0.08em; display: flex; align-items: center; justify-content: center; gap: 8px; }
.whatsapp-share-vertical:hover { background: var(--whatsapp-dark); padding-left: 10px; }
.whatsapp-share-vertical i { transform: rotate(90deg); font-size: 1.1rem; margin-bottom: 4px; }

/* ================================================
   SCROLLBAR
   ================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ================================================
   UTILIDADES
   ================================================ */
.clean-link { color: inherit; text-decoration: none; }
.clean-link:hover { text-decoration: underline; }
.footer-credit { color: #e1ff00; text-decoration: none; font-weight: bold; }
.footer-credit:hover { color: #c0d600; text-decoration: underline; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(251, 246, 230, 0.98); flex-direction: column; padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .logo-main { font-size: 1.5rem; }
    .logo-sub  { font-size: 0.65rem; }
    nav { padding: 0.65rem 4%; }
    .menu-toggle { font-size: 1.3rem; }
    .theme-toggle { width: 34px; height: 34px; font-size: 0.9rem; }
    .slide h1, .slide h2 { font-size: 2.1rem; }
    .slide-content::before { font-size: 0.65rem; }
    .about-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image::after { display: none; }
    .stats { grid-template-columns: repeat(3,1fr); gap: 0.75rem; }
    .stat-number { font-size: 1.7rem; }
    .modal-content { margin: 8px; max-height: 96vh; overflow-y: auto; }
    .modal-layout { grid-template-columns: 1fr; height: auto; max-height: none; }
    .modal-left  { border-radius: 18px 18px 0 0; }
    .modal-image-container { height: 240px; }
    .modal-gallery { border-radius: 0; }
    .modal-right { border-radius: 0 0 18px 18px; overflow-y: visible; padding: 1.5rem; }
    .modal-title { font-size: 1.4rem; }
    .modal-price { font-size: 1.5rem; }
    /* En móvil el botón de cerrar queda siempre visible sobre la imagen */
    .modal-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 1.1rem; }
    .whatsapp-share-vertical { padding: 10px 5px; font-size: 0.68rem; }
}

@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; }
    .product-grid { flex-direction: column; align-items: center; }
    .product-card { flex: 1 1 100%; min-width: unset; width: 100%; }
}

/* ================================================
   MODO OSCURO
   ================================================ */
body.dark {
    --primary:        #6a9e35;
    --primary-light:  #82c244;
    --primary-dark:   #4e7228;
    --primary-glow:   rgba(106, 158, 53, 0.22);

    --accent:         #E09A1A;
    --accent-light:   #F0B030;
    --accent-pale:    #3A2E10;
    --accent-glow:    rgba(224, 154, 26, 0.25);
    --gold:           #F0B030;

    --bg:             #0F0C06;
    --surface:        #1A1510;
    --surface-2:      #221C12;
    --surface-3:      #2C2418;

    --border:         rgba(255, 220, 100, 0.09);
    --border-accent:  rgba(224, 154, 26, 0.28);

    --text:           #F0E8D0;
    --text-muted:     #A09070;
    --text-subtle:    #6A5A38;

    --shadow-sm:      0 2px 8px  rgba(0,0,0,0.50);
    --shadow-md:      0 6px 24px rgba(0,0,0,0.60);
    --shadow-lg:      0 16px 48px rgba(0,0,0,0.70);
    --shadow-green:   0 8px 28px rgba(106,158,53,0.22);
    --shadow-gold:    0 8px 28px rgba(224,154,26,0.28);
}

body.dark header { background: rgba(15, 12, 6, 0.96) !important; border-bottom-color: var(--border); }
body.dark .nav-links a { color: var(--text-muted); }
body.dark .nav-links a:hover { color: var(--text); }
body.dark .slider-container::after { background: linear-gradient(to top, var(--bg), transparent); }
body.dark footer { background: #080502; }
body.dark .modal-content  { background: var(--surface); border-color: var(--border); }
body.dark .modal-left     { background: var(--surface-2); }
body.dark .modal-right    { background: var(--surface); }
body.dark .modal-gallery  { background: var(--surface-3); }
body.dark .modal-arrow    { background: rgba(15,12,6,0.85); color: var(--text); }
body.dark .modal-counter  { background: rgba(15,12,6,0.80); color: var(--text-muted); }

@media (max-width: 768px) {
    body.dark .nav-links { background: rgba(15,12,6,0.99); }
}

/* ================================================
   BOTÓN TOGGLE TEMA
   ================================================ */
.theme-toggle {
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: rotate(20deg);
}

/* ================================================
   TRANSICIÓN SUAVE AL CAMBIAR TEMA
   ================================================ */
body, header, footer, .product-card, .service-card,
.stat-item, .contact-item, .modal-content, .modal-left,
.modal-right, .modal-gallery, .about, .services, .contact,
.products, nav, .nav-links, .btn-product {
    transition:
        background-color 0.35s ease,
        border-color     0.35s ease,
        color            0.25s ease,
        box-shadow       0.35s ease !important;
}

/* ================================================
   NAV CONTROLS
   ================================================ */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}