/* =========================================================
   RESET & ESTRUCTURA BASE
========================================================= */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ font-family:'Poppins',sans-serif; background:#fff; color:#222; overflow-x:hidden; }
.container{ width:90%; max-width:1280px; margin:auto; }

/* RESTRICCIÓN FRONT-END COPIA */
body, img, h1, h2, h3, p, span, strong, a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* =========================================================
   HEADER & MENÚS
========================================================= */
.header{ position:sticky; top:0; z-index:999; background:#fff; box-shadow:0 2px 15px rgba(0,0,0,.05); }
.nav{ height:95px; display:flex; align-items:center; justify-content:space-between; }
.logo img{ width:100px; }
.menu ul{ display:flex; align-items:center; gap:40px; list-style:none; }
.menu a{ color:#111; text-decoration:none; font-size:14px; font-weight:600; text-transform:uppercase; transition:.3s; }
.menu a:hover{ color:#79b52f; }

/* =========================================================
   BOTONES
========================================================= */
.btn-whatsapp, .btn-primary, .btn-secondary {
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:12px 24px; background:#0c7a20; color:#fff; border:none; border-radius:50px;
    text-decoration:none; font-size:14px; font-weight:600; transition:.3s ease; cursor: pointer;
}
.btn-whatsapp:hover, .btn-primary:hover, .btn-secondary:hover {
    transform:translateY(-3px); background:#095d18; box-shadow: 0 5px 15px rgba(12, 122, 32, 0.3);
}
.btn-secondary{ background:#8ac53f; }

.btn-product {
    display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:12px 24px; 
    background:#0c7a20; color:#fff; border:none; text-decoration:none; font-size:14px; font-weight:600; 
    cursor: pointer; width: 100%; margin-top: auto; border-radius: 12px; transition: .3s ease;
    position: relative; z-index: 10;
}
.btn-product:hover { background:#095d18; box-shadow: 0 5px 15px rgba(12, 122, 32, 0.2); }
.btn-primary i, .btn-product i, .btn-whatsapp i { font-size: 18px; line-height: 1; display: inline-block; }

/* =========================================================
   HERO
========================================================= */
.hero{
    position:relative; min-height:440px; padding: 40px 0; display:flex; align-items:center; overflow:hidden;
    background-image:url('../assets/images/hero-lechugas.jpg'); background-size: 65% auto; background-position: right center; background-repeat:no-repeat; background-color: #f5f7ed; 
}
.hero-overlay{
    position:absolute; inset:0; background: linear-gradient(90deg, rgba(245,247,237,0.98) 0%, rgba(245,247,237,0.95) 35%, rgba(245,247,237,0.85) 50%, rgba(245,247,237,0.20) 65%, rgba(255,255,255,0) 85%); z-index:1;
}
.hero-container{ position:relative; z-index:2; width:100%; }
.hero-content{ width:520px; }
.hero-content h1{ margin-bottom:10px; color:#0a4f18; font-size:36px; line-height:1.15; font-weight:800; text-transform:uppercase; }
.hero-content h2{ margin-bottom:15px; color:#7ab62d; font-size:20px; line-height:1.3; font-weight:600; }
.hero-content p{ margin-bottom:25px; max-width:500px; font-size:13px; line-height:1.6; color:#444; }
.hero-icons{ display:flex; gap:25px; margin-top:25px; }
.hero-icon{ width:90px; text-align:center; }
.hero-icon img{ width:70px; margin-bottom:5px; }
.hero-icon span{ display:block; font-size:12px; line-height:1.3; font-weight:500; }
.hero-badge{
    position:absolute; right:40px; bottom:25px; width:130px; height:130px; display:flex; flex-direction:column; align-items:center; justify-content:center;
    background:#fff; border:5px solid #79b52f; border-radius:50%; text-align:center; box-shadow:0 10px 25px rgba(0,0,0,.12);
}
.hero-badge span{ font-size:9px; font-weight:700; }
.hero-badge h3{ margin:2px 0; color:#0a4f18; font-size:24px; font-weight:800; }
.hero-badge p{ font-size:10px; font-weight:600; }

/* =========================================================
   SECCIÓN PRODUCTOS
========================================================= */
.products{ padding:30px 0; background:#fff; }
.products-title{ display:flex; align-items:center; justify-content:center; gap:15px; margin-bottom:10px; }
.products-title span{ width:60px; height:2px; background:#8bc53f; }
.products-title h2{ color:#0a4f18; font-size:42px; font-weight:800; }
.products-subtitle{ margin-bottom:30px; text-align:center; color:#555; font-size:16px; }
.products-grid{ display:grid; grid-template-columns:repeat(5, 1fr); gap:25px; }

.product-card{
    display: flex; flex-direction: column; background:#fff; border-radius:20px; border: 1px solid #eaeaea;
    padding: 14px; text-align:center; box-shadow: 0 4px 18px rgba(0,0,0,0.03); transition: transform .3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow .3s ease;
}
.product-card:hover{ transform:translateY(-6px); box-shadow: 0 12px 30px rgba(10, 79, 24, 0.08); }
.product-img-wrapper { width: 100%; height: 220px; overflow: hidden; position: relative; background-color: #f9f9f9; border-radius: 20px; cursor: pointer; }
.product-card img{ width: 100%; height: 100%; border-radius: 20px; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover img { transform: scale(1.05); }

.product-info { padding: 5px; display: flex; flex-direction: column; flex-grow: 1; }
.product-card h3{ margin-top: 15px; margin-bottom: 6px; color:#0a4f18; font-size:16px; font-weight:700; line-height:1.3; text-transform: uppercase; cursor: pointer; }
.product-card h3:hover{ color: #79b52f; }
.product-card span{ display:block; margin-bottom:15px; color:#666; font-size:13px; font-weight: 500; }

.qty-box { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 15px; background: #f9f9f9; padding: 6px; border-radius: 10px; }
.btn-qty { width: 28px; height: 28px; background: #fff; border: 1px solid #ddd; font-weight: bold; border-radius: 50%; cursor: pointer; color: #0a4f18; transition: .2s; position: relative; z-index: 10; }
.btn-qty:hover { background: #0c7a20; color: #fff; border-color: #0c7a20; }
.input-qty { width: 35px; text-align: center; border: none; background: transparent; font-size: 14px; font-weight: 700; color: #222; }

/* =========================================================
   NUTRITION
========================================================= */
.nutrition{ padding:90px 0; background:#f8f8f5; }
.nutrition-grid{ display:grid; grid-template-columns:350px 1fr; gap:60px; align-items:center; }
.nutrition-content h2{ margin-bottom:25px; color:#0a4f18; font-size:35px; line-height:1; font-weight:800; }
.nutrition-content h2 span{ display:block; color:#86bd35; font-style:italic; font-family:cursive; font-weight:500; }
.nutrition-content p{ margin-bottom:35px; color:#444; font-size:16px; line-height:1.9; }
.nutrition-card{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; padding:45px; background:#fff; border-radius:28px; box-shadow:0 10px 40px rgba(0,0,0,.06); }
.nutrition-item{ display:flex; align-items:flex-start; gap:14px; }
.nutrition-item img{ width:38px; }
.nutrition-item strong{ display:block; margin-bottom:4px; color:#1d4f1e; font-size:15px; }
.nutrition-item span{ color:#444; font-size:14px; }

/* =========================================================
   WHY US & PROCESS
========================================================= */
.why-us{ padding:60px 0; background: linear-gradient(rgba(0,80,20,.82), rgba(0,80,20,.82)), url('../assets/images/hero-lechugas.jpg'); background-size:cover; background-position:center; }
.why-grid{ display:grid; grid-template-columns:2fr repeat(4,1fr); gap:30px; align-items:center; }
.why-title h2{ color:#fff; font-size:40px; line-height:1.2; }
.why-item{ text-align:center; color:#fff; }
.why-item img{ width:70px; margin-bottom:18px; filter:brightness(0) invert(1); }
.why-item h3{ margin-bottom:12px; font-size:18px; }
.why-item p{ font-size:14px; line-height:1.7; }

.process{ padding:90px 0; background:#fff; }
.process-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:25px; margin-top:60px; }
.process-card{ text-align:center; }
.process-card img{ width:80px; margin-bottom:20px; }
.process-card h3{ margin-bottom:15px; color:#0a4f18; font-size:20px; }
.process-card p{ color:#555; line-height:1.7; font-size:14px; }

/* =========================================================
   FOOTER
========================================================= */
.footer { padding: 60px 0 30px 0; background: #fff; }
.footer-banner { background-color: #f5f7ed; border-radius: 20px; position: relative; padding: 35px 40px; box-shadow: 0 4px 20px rgba(10, 79, 24, 0.04); margin-bottom: 30px; }
.footer-banner-grid { display: flex; align-items: center; justify-content: flex-start; width: 100%; }
.banner-whatsapp-box { display: flex; align-items: center; padding-right: 40px; border-right: 1px solid #dce2cd; margin-right: 40px; }
.banner-instagram-box { display: flex; align-items: center; }
.whatsapp-icon-main, .instagram-icon-main { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 16px; color: #fff; }
.whatsapp-icon-main { background-color: #25d366; font-size: 30px; }
.instagram-icon-main { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); font-size: 28px; }
.whatsapp-text-info h3, .instagram-text-info h3 { color: #0a4f18; font-size: 16px; font-weight: 800; margin-bottom: 2px; letter-spacing: 0.3px; }
.whatsapp-text-info p, .instagram-text-info p { font-size: 13px; color: #555; margin-bottom: 5px; }
.phones-numbers { font-size: 14px; color: #0c7a20; font-weight: 600; }
.instagram-text-info a { color: #0c7a20; text-decoration: none; font-weight: 700; font-size: 15px; transition: color 0.3s ease; }
.instagram-text-info a:hover { color: #7ab62d; }
.banner-image-corner { position: absolute; right: 0; bottom: -30px; z-index: 10; pointer-events: none; }
.banner-image-corner img { width: 320px; height: auto; display: block; }

/* SECCIÓN DISEÑADOR DE LA WEB */
.designer-credits { text-align: center; border-top: 1px solid #eeeeee; padding-top: 20px; margin-top: 10px; }
.designer-credits p { font-size: 12px; color: #777; font-weight: 400; }
.designer-credits a { color: #555; text-decoration: none; font-weight: 700; transition: .2s; }
.designer-credits a:hover { color: #0c7a20; text-decoration: underline; }

/* =========================================================
   WHATSAPP STICKY (FLOTANTE)
========================================================= */
.whatsapp-sticky {
    position: fixed; bottom: 25px; right: 25px; width: 56px; height: 56px;
    background-color: #25d366; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 998;
    text-decoration: none; transition: transform 0.3s ease;
}
.whatsapp-sticky:hover { transform: scale(1.1); }

/* =========================================================
   VENTANA MODAL EMERGENTE
========================================================= */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease; padding: 20px;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: #ffffff; width: 100%; max-width: 750px;
    border-radius: 24px; padding: 30px; position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
    position: absolute; right: 20px; top: 15px; font-size: 32px;
    font-weight: bold; color: #666; cursor: pointer; transition: color 0.2s; z-index: 10;
}
.modal-close:hover { color: #0a4f18; }
.modal-body-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.modal-img-container { width: 100%; height: 280px; overflow: hidden; border-radius: 18px; background: #f9f9f9; }
.modal-img-container img { width: 100%; height: 100%; object-fit: cover; }
.modal-info-container h2 { color: #0a4f18; font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.modal-info-container .modal-price { color: #7ab62d; font-size: 20px; font-weight: 700; margin-bottom: 15px; }
.modal-info-container hr { border: none; border-top: 1px solid #eaeaea; margin-bottom: 15px; }
.modal-info-container h3 { font-size: 14px; color: #222; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.modal-info-container .modal-desc { font-size: 13.5px; color: #555; line-height: 1.6; margin-bottom: 20px; text-align: justify; }
.modal-delivery-note { font-size: 11px; background: #f5f7ed; padding: 8px 12px; border-radius: 8px; color: #0c7a20; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

.menu-mobile { display: none; }

/* =========================================================
   MEDIA QUERIES RESPONSIVOS
========================================================= */
@media(max-width:1200px){ 
    .products-grid{ grid-template-columns: repeat(3, 1fr); gap: 20px; } 
}

@media(max-width:1100px){
    .hero{ min-height:auto; padding:60px 0; background-size: cover; } 
    .hero-content{ width:100%; } 
    .hero-badge{ display:none; }
    .nutrition-grid, .why-grid{ grid-template-columns:1fr; } 
    .nutrition-card{ grid-template-columns:repeat(2,1fr); }
    .process-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .footer { padding: 40px 0 20px 0; } 
    .footer-banner-grid { flex-direction: column; align-items: flex-start; }
    .banner-whatsapp-box { width: 100%; border-right: none; border-bottom: 1px solid #dce2cd; padding-right: 0; padding-bottom: 20px; margin-right: 0; margin-bottom: 15px; }
    .banner-instagram-box { width: 100%; padding-bottom: 40px; } 
    .banner-image-corner { bottom: -20px; } 
    .banner-image-corner img { width: 200px; }
}

@media(max-width:768px){
    .container { width: 92%; }
    .nav { height: 75px; display: flex; align-items: center; justify-content: space-between; position: relative; }
    .logo img { width: 75px; }
    
    .menu-mobile { display: flex; align-items: center; gap: 8px; cursor: pointer; order: 1; }
    .hamburger-lines { display: flex; flex-direction: column; gap: 4px; }
    .hamburger-lines span { width: 20px; height: 2.5px; background: #0a4f18; border-radius: 2px; }
    .menu-text-label { font-size: 13px; font-weight: 700; color: #0a4f18; text-transform: uppercase; }

    .logo { order: 2; transform: translateX(-10px); }
    
    .btn-whatsapp { 
        display: inline-flex !important; order: 3; padding: 8px 14px; font-size: 11px; 
        border-radius: 30px; font-weight: 700; background: #0c7a20; box-shadow: none;
    }
    .btn-whatsapp i { font-size: 13px; }
    
    .menu { 
        display: none; position: absolute; top: 75px; left: -4%; 
        width: 108%; background: #ffffff; padding: 20px 0; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.08); z-index: 990; 
    }
    .menu ul { flex-direction: column; gap: 18px; width: 100%; text-align: center; }
    .menu.show { display: block !important; animation: slideDown 0.25s ease forwards; }
    
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .product-card { padding: 10px; border-radius: 14px; }
    .product-img-wrapper { height: 135px; border-radius: 10px; }
    .product-card img { border-radius: 10px; }
    .product-card h3 { font-size: 13px; margin-top: 10px; }
    .product-card span { font-size: 11px; margin-bottom: 10px; }
    .qty-box { gap: 5px; padding: 4px; margin-bottom: 10px; border-radius: 6px; }
    .btn-qty { width: 24px; height: 24px; font-size: 12px; }
    .input-qty { width: 25px; font-size: 12px; }
    .btn-product { padding: 8px 12px; font-size: 11px; border-radius: 8px; }
    
    .nutrition-card { grid-template-columns: repeat(2, 1fr) !important; gap: 18px; padding: 25px 20px; }
    .nutrition-item { gap: 10px; }
    .nutrition-item img { width: 28px; }
    .nutrition-item strong { font-size: 12px; margin-bottom: 1px; }
    .nutrition-item span { font-size: 11px; }
    
    .process-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px; margin-top: 40px; }
    .process-card img { width: 60px; margin-bottom: 10px; }
    .process-card h3 { font-size: 16px; margin-bottom: 8px; }
    .process-card p { font-size: 12.5px; line-height: 1.5; }

    .hero-content h1 { font-size: 26px; }
    .hero-icons { grid-template-columns: repeat(2, 1fr); display: grid; gap: 15px; }
    .hero-icon { width: 100%; }
    .why-title h2 { font-size: 28px; text-align: center; }
    
    .modal-content { padding: 20px; border-radius: 20px; max-height: 85vh; overflow-y: auto; }
    .modal-body-grid { grid-template-columns: 1fr; gap: 15px; }
    .modal-img-container { height: 170px; }
    .modal-info-container h2 { font-size: 19px; }
    .modal-info-container .modal-price { font-size: 17px; margin-bottom: 10px; }
    .modal-info-container .modal-desc { font-size: 12px; margin-bottom: 15px; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
/* =========================================================
   ESTILOS COMPLEMENTARIOS FORMULARIO CHECKOUT
========================================================= */
.modal-checkout-box { max-width: 550px !important; }
.modal-checkout-box h2 { color: #0a4f18; font-size: 24px; font-weight: 800; margin-bottom: 4px; text-transform: uppercase; }
.checkout-subtitle { font-size: 13px; color: #666; margin-bottom: 20px; }

#form-checkout { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 700; color: #333; text-transform: uppercase; }
.form-group input, .form-group select {
    padding: 11px 14px; border: 1px solid #dcdcdc; background: #fafafa;
    border-radius: 10px; font-family: inherit; font-size: 13.5px; color: #222; outline: none; transition: .2s;
}
.form-group input:focus, .form-group select:focus { border-color: #0c7a20; background: #fff; box-shadow: 0 0 0 3px rgba(12,122,32,0.08); }
.form-grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.checkout-summary-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: #f5f7ed; padding: 12px 18px; border-radius: 12px; margin-top: 5px; border-left: 4px solid #7ab62d;
}
.checkout-summary-bar span { font-size: 13px; color: #444; }
.checkout-summary-bar strong { color: #0a4f18; font-size: 15px; font-weight: 700; }

.btn-submit-checkout {
    margin-top: 10px; padding: 14px; background: #0c7a20; color: #fff; border: none;
    border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; transition: .3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit-checkout:hover { background: #095d18; box-shadow: 0 5px 15px rgba(12,122,32,0.25); }

@media (max-width: 576px) {
    .form-grid-fields { grid-template-columns: 1fr; gap: 14px; }
    .checkout-summary-bar { flex-direction: column; align-items: flex-start; gap: 5px; }
}
