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

:root {
    --primary-green: #5a7c4a;
    --primary-dark: #3a5a2a;
    --primary-light: #7c9c68;
    --accent-green: #e6f0e3;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 24px;
}

body {
    font-family: 'Inter', sans-serif;
    background-image: url('Imagenes/tu-imagen-jpg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(90, 124, 74, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo i {
    color: var(--primary-light);
    font-size: 1.8rem;
}

.logo .highlight {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 5% 5rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 90vh;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(90, 124, 74, 0.85);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .highlight {
    color: #b8e0a0;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 500;
    color: #e6f0e3;
    margin-bottom: 1rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b8e0a0;
    transition: all 0.3s ease;
    display: inline-block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Contenedor de imagen con overflow hidden para efecto zoom */
.hero-image,
.about-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-image img,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Secciones con fondo semi-transparente */
.products,
.about,
.benefits,
.contact,
.origin,
.trust {
    background: rgba(255, 250, 240, 0.88);
    backdrop-filter: blur(3px);
    margin: 2rem 0;
    border-radius: var(--border-radius);
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Estilos para producto único (Palta Fuerte) */
.single-product {
    max-width: 1000px;
    margin: 0 auto;
}

.single-product-card {
    display: flex;
    flex-wrap: wrap;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    cursor: pointer;
}

.single-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.product-image-single {
    flex: 1;
    min-width: 280px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
}

.product-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    mix-blend-mode: multiply;
}

.single-product-card:hover .product-image-single img {
    transform: scale(1.05);
    mix-blend-mode: normal;
}

.product-info-single {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info-single h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
}

.product-info-single p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-features-single {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.product-features-single span {
    font-size: 0.9rem;
    background: var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--primary-green);
}

.product-features-single i {
    margin-right: 0.5rem;
}

.product-cta {
    margin-top: 0.5rem;
}

.product-cta .btn-primary {
    display: inline-block;
    text-align: center;
}

/* Sección Origen */
.origin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.origin-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.origin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.origin-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.origin-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.origin-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.origin-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.origin-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.origin-stats span {
    font-size: 0.8rem;
    background: var(--accent-green);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    color: var(--primary-green);
}

.origin-stats i {
    margin-right: 0.3rem;
    font-size: 0.7rem;
}

.origin-badge {
    background: var(--primary-green);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 2rem;
}

.origin-badge i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.origin-badge p {
    margin: 0;
    font-size: 1rem;
}

.origin-badge strong {
    font-weight: 700;
}

/* Imagen de origen (Ayacucho y Arequipa) */
.origin-additional-image {
    width: 100%;
    max-width: 180px;
    margin: 0.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.origin-additional-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.origin-additional-image:hover img {
    transform: scale(1.1);
}

.origin-additional-image:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Ajuste para la tarjeta de Ayacucho (sin ícono) */
.origin-card.no-icon {
    padding-top: 2rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
}

.about-content > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-green);
    background: var(--accent-green);
    padding: 0.8rem;
    border-radius: 16px;
}

.feature h4 {
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.feature p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    background: rgba(0, 0, 0, 0.1);
}

.about-image img {
    mix-blend-mode: multiply;
    transition: all 0.5s ease;
}

.about-image:hover img {
    mix-blend-mode: normal;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.benefit-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--text-light);
}

/* Sección Trust (confianza) */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.trust-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.trust-item p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.trust-item span {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--primary-green);
    background: var(--accent-green);
    padding: 0.8rem;
    border-radius: 16px;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e8e0d5;
    border-radius: 16px;
    font-family: inherit;
    background: #fefaf0;
}

.contact-form .btn-primary {
    width: 100%;
    text-align: center;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-newsletter form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 50px;
    font-family: inherit;
}

.footer-newsletter button {
    background: var(--primary-green);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Galería estilo Apple */
.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.gallery-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gallery-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-close:hover {
    transform: scale(1.1);
}

.gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.gallery-nav {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin: 0 20px;
    transition: all 0.2s;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.gallery-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-caption {
    text-align: center;
    color: white;
    margin-top: 24px;
    font-size: 1rem;
    font-weight: 500;
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-green);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-location {
        margin: 0 auto 1.5rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

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

    .about-image {
        order: -1;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transition: 0.3s;
    }

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

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin: 0 10px;
    }

    .gallery-thumb {
        width: 50px;
        height: 50px;
    }

    .gallery-container {
        padding: 60px 20px 20px;
    }

    .gallery-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
    }

    /* Responsive para producto único */
    .single-product-card {
        flex-direction: column;
    }

    .product-image-single {
        min-width: auto;
        height: 300px;
    }

    .product-info-single {
        padding: 1.5rem;
    }

    .product-info-single h3 {
        font-size: 1.6rem;
    }

    .product-features-single span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Responsive para origen */
    .origin-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .origin-badge {
        padding: 1rem;
    }

    /* Botón flotante responsive */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        margin: 0 5px;
    }

    .gallery-thumb {
        width: 45px;
        height: 45px;
    }
}
