/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d5016;
    background-color: #fefefe;
}

/* Aplicar texto justificado globalmente */
p, .text-content, .description, .content-text {
    text-align: justify;
}

/* Mantener centrado para elementos específicos que deben permanecer centrados */
h1, h2, h3, h4, h5, h6, 
.hero-text h1, 
.hero-text .hero-tagline,
.hero-tagline-block .hero-tagline,
.quote-form h2,
.quote-form p,
.btn-primary, .btn-secondary, .btn-whatsapp,
.value-item,
.hero-image-overlay,
.hero-image-overlay h3,
.hero-image-overlay p {
    text-align: center;
}

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

/* Variables CSS para colores */
:root {
    --primary-green: #4a7c59;
    --secondary-green: #6b8e6b;
    --light-green: #a8d5a8;
    --accent-yellow: #f4d03f;
    --warm-yellow: #f7dc6f;
    --cream-white: #fefefe;
    --soft-white: #f8f9fa;
    --text-dark: #2d5016;
    --text-medium: #4a7c59;
    --text-light: #6b8e6b;
    --shadow: rgba(74, 124, 89, 0.15);
    --shadow-hover: rgba(74, 124, 89, 0.25);
}

/* Header y Navegación */
.header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    box-shadow: 0 2px 15px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--cream-white);
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--cream-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover {
    color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Sección Hero */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--warm-yellow) 50%, var(--soft-white) 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Tipografía especial para la frase del hero */
.hero-text .hero-tagline {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 1.5rem;
    line-height: 1.25;
    background: linear-gradient(180deg, transparent 65%, rgba(244, 208, 63, 0.35) 0);
    padding: 0 4px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}


.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
    transition: transform 0.3s ease;
    width: 100%;
}

.hero-image-container:hover {
    transform: scale(1.02);
}

.hero-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--cream-white);
    padding: 2rem;
    text-align: center;
}

.hero-image-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-image-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Bloque para tagline debajo de la imagen del hero */
.hero-tagline-block {
    margin-top: 1.25rem;
    text-align: center;
    width: 100%;
    padding: 0 40px;
}

.hero-tagline-block .hero-tagline {
    display: inline-block;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    font-size: 1.6rem;
    line-height: 1.25;
    padding: 0 6px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

@media (max-width: 1024px) {
    .hero-tagline-block .hero-tagline { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .hero-tagline-block { margin-top: 1rem; }
    .hero-tagline-block .hero-tagline { font-size: 1.35rem; }
}

@media (max-width: 600px) {
    .hero-tagline-block .hero-tagline { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .hero-tagline-block .hero-tagline { font-size: 1.15rem; }
}

/* Botones */
.btn-primary, .btn-secondary, .btn-whatsapp {
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--cream-white);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--cream-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--cream-white);
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-email {
    background: #25D366;
    color: var(--cream-white);
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.3);
    border-radius: 50px;
    padding: 14px 35px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-email:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 106, 99, 0.4);
}

.btn-email::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-email:hover::before {
    left: 100%;
}

.btn-instagram {
    background: #25D366;
    color: var(--cream-white);
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
    border-radius: 50px;
    padding: 14px 35px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-instagram:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.btn-instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-instagram:hover::before {
    left: 100%;
}

.btn-facebook {
    background: #25D366;
    color: var(--cream-white);
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    border-radius: 50px;
    padding: 14px 35px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-facebook:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.btn-facebook::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-facebook:hover::before {
    left: 100%;
}

/* Enlaces de contacto */
.contact-link {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--warm-yellow);
    text-decoration: underline;
}

/* Estilos para páginas de productos */
.product-detail {
    padding: 120px 0 80px;
    background: var(--soft-white);
    min-height: 100vh;
}

.product-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-style: italic;
}

.product-variants {
    margin-bottom: 3rem;
}

.variant {
    background: var(--cream-white);
    padding: 0;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px var(--shadow);
    border-left: 4px solid var(--primary-green);
    overflow: hidden;
    max-width: 100%;
}

.variant-content {
    display: flex;
    align-items: center;
    min-height: 200px;
    max-width: 100%;
    overflow: hidden;
}

.variant-image {
    flex: 0 0 300px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 0 0 0 15px;
    position: relative;
}

.variant-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

/* Posición específica para eventos sociales */
.variant-image:has(img[alt*="Eventossociales"]) .variant-img,
.variant-image:has(img[alt*="Eventos Sociales"]) .variant-img {
    object-position: bottom;
}


/* Clase específica para posicionar imagen en la parte inferior */
.img-bottom {
    object-position: bottom !important;
}

.variant:hover .variant-img {
    transform: scale(1.05);
}

.variant-details {
    flex: 1;
    padding: 2rem;
}

.variant h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.variant-details p {
    margin-bottom: 0.8rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.ingredient-list {
    list-style: none;
    padding: 0;
}

.ingredient-list li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    line-height: 1.6;
}

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

.product-actions .btn-whatsapp,
.product-actions .btn-secondary {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* Responsive para páginas de productos */
@media (max-width: 768px) {
    .product-detail-content {
        padding: 0 20px;
    }
    
    .variant-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .variant-image {
        flex: none;
        width: 100%;
        aspect-ratio: 3/4;
        border-radius: 15px 15px 0 0;
    }
    
    .variant-details {
        padding: 1.5rem;
    }
    
    .product-detail-info h1 {
        font-size: 2rem;
    }
    
    .product-subtitle {
        font-size: 1.1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn-whatsapp,
    .product-actions .btn-secondary {
        flex: none;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .variant-image {
        aspect-ratio: 3/4;
    }
    
    .variant-details {
        padding: 1rem;
    }
    
    .variant h3 {
        font-size: 1.2rem;
    }
    
    .variant-details p {
        font-size: 0.9rem;
    }
}

/* Sección Destacados */
.featured {
    padding: 100px 0;
    background: var(--soft-white);
    position: relative;
}

.featured h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Centrar la tarjeta de Nuez Mística cuando está sola en una nueva fila */
/* En pantallas grandes, forzar 3 columnas y centrar la 4ta tarjeta */
@media (min-width: 1025px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-card-centered {
        grid-column: 2;
        justify-self: center;
    }
}

/* En pantallas medianas, mantener auto-fit pero centrar la tarjeta */
@media (min-width: 768px) and (max-width: 1023px) {
    .featured-card-centered {
        justify-self: center;
    }
}

/* Para videos en product-image */
.product-image video.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* Botón Cotizar en Destacados: mejorar legibilidad del texto */
.featured .product-card .btn-secondary, .btn-secondary a  {
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: none;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-width: 2px;
    margin-top: 0.5rem;
    text-decoration: none;
    color: var(--primary-green);
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 600px) {
    .featured .product-card .btn-secondary {
        font-size: 0.9rem;
        padding: 12px 24px;
        letter-spacing: 0.25px;
    }
}

/* Catálogo */
.catalog {
    padding: 100px 0;
    background: var(--cream-white);
    position: relative;
}

.catalog h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.catalog-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    padding: 0 20px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Tarjetas de Producto */
.product-card {
    background: var(--cream-white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(74, 124, 89, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow));
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.product-image {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--warm-yellow) 100%);
    border-radius: 15px;
    padding: 0;
    margin-bottom: 2rem;
    color: var(--primary-green);
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
}

.product-image:hover .product-img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-card p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Contenedor de botones para alineación */
.product-card .btn-secondary,
.product-card .btn-whatsapp {
    margin-top: auto;
}

/* Espaciado específico para botones en catálogo */
.catalog .product-card .btn-secondary {
    margin-bottom: 1rem;
}

/* Formulario de Cotización */
.quote-form {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--cream-white);
    position: relative;
    overflow: hidden;
}

.quote-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.quote-form h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.quote-form p {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 4rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.15);
    padding: 4rem;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--cream-white);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255,255,255,1);
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.3);
}

.checkbox-group,
.radio-group {
    margin-top: 1rem;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: var(--cream-white);
}

.checkbox-group input,
.radio-group input {
    width: auto;
    margin-right: 10px;
}

.radio-options {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.checkbox-group a {
    color: var(--accent-yellow);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-group a:hover {
    color: var(--warm-yellow);
    text-decoration: none;
}

/* Sección Sobre Nosotros */
.about {
    padding: 100px 0;
    background: var(--soft-white);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.about h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.about h3 {
    font-size: 1.8rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-weight: 600;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.values {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.value-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 1.5rem;
    background: var(--cream-white);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.value-item:hover {
    transform: translateY(-5px);
}

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

.value-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    word-break: break-word;
    line-height: 1.3;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
    transition: transform 0.3s ease;
    border: 4px solid var(--primary-green);
    padding: 8px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-yellow) 50%, var(--primary-green) 100%);
}

.about-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.about-main-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Ensure video fills like the image */
.about-image-container video.about-main-image {
    background: #000;
}

@media (max-width: 1024px) {
    .about-main-image { height: 400px; }
}

@media (max-width: 768px) {
    .about-main-image { height: 320px; }
    
}

@media (max-width: 480px) {
    .about-main-image { height: 240px; }
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--cream-white);
    padding: 2rem;
    text-align: center;
}

.about-image-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-image-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Sección Contacto */
.contact {
    padding: 100px 0;
    background: var(--cream-white);
    position: relative;
}

/* Botones de contacto uniformes - Solo WhatsApp y Email */
.contact-item .btn-whatsapp,
.contact-item .btn-email {
    width: 360px;
    text-align: center;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
}

.contact h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 4rem;
    font-weight: 700;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    background: var(--soft-white);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-green);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-right: 2.5rem;
    min-width: 80px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-green) 100%);
    color: var(--cream-white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-yellow);
    font-weight: 600;
    text-align: center;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
    text-align: center;
}

.footer-section a {
    color: var(--cream-white);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--accent-yellow);
    opacity: 1;
    transform: translateX(5px);
}

.footer-section p {
    text-align: justify;
    text-align-last: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--accent-yellow);
    color: var(--text-dark);
    transform: translateY(-3px);
    border-color: var(--warm-yellow);
}

.footer-bottom {
    text-align: justify;
    text-align-last: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream-white);
    opacity: 0.8;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* Responsive Design */

/* Tablets grandes y laptops pequeñas */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .featured-grid,
    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

/* Tablets grandes */
@media (max-width: 900px) and (min-width: 769px) {
    .value-item {
        min-width: 140px;
        max-width: 180px;
        padding: 1.3rem;
    }
    
    .value-item span {
        font-size: 1rem;
        line-height: 1.2;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    
    .nav-container {
        padding: 0 25px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px var(--shadow);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        border-radius: 10px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    .hero-text .hero-tagline { font-size: 1.4rem; }
    
    .hero-main-image {
        height: 300px;
    }
    
    .about-main-image {
        height: 250px;
    }
    
    .product-image {
        aspect-ratio: 3/4;
    }
    
    .product-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .featured,
    .catalog,
    .about,
    .contact {
        padding: 80px 0;
    }
    
    .featured h2,
    .catalog h2,
    .about h2,
    .contact h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .values {
        justify-content: center;
        gap: 2rem;
    }
    
    .value-item {
        min-width: 100px;
        padding: 1.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .value-item span {
        word-break: break-word;
        line-height: 1.3;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .form {
        padding: 3rem 2rem;
        margin: 0 20px;
    }
    
    .radio-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        padding: 0 25px;
    }
}

/* Móviles grandes */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    .hero-text .hero-tagline { font-size: 1.25rem; }
    
    .hero-main-image {
        height: 250px;
    }
    
    .about-main-image {
        height: 200px;
    }
    
    .product-image {
        aspect-ratio: 3/4;
    }
    
    .product-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .featured-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 2rem;
    }
    
    .form {
        padding: 2.5rem 1.5rem;
        margin: 0 15px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Dispositivos con altura grande (landscape móviles, tablets portrait) */
@media (max-height: 500px) and (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-text .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* Tablets en portrait (altura específica) */
@media (max-height: 600px) and (min-width: 768px) and (max-width: 1024px) {
    .hero {
        padding: 80px 0 50px;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-text .hero-tagline {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
}

/* Dispositivos con altura muy pequeña (landscape móviles) */
@media (max-height: 400px) {
    .hero {
        padding: 40px 0 30px;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }
    
    .hero-text .hero-tagline {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
}

/*Móviles de tipo  Iphone 12*/
@media (max-width: 390px ){
    .hero {
        padding: 20px 0 50px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    .hero-text .hero-tagline { 
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .hero-main-image {
        height: 200px;
    }
    
    .about-main-image {
        height: 180px;
    }
    
    .product-image {
        aspect-ratio: 3/4;
    }
    
    .product-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-image-overlay,
    .about-image-overlay {
        padding: 1rem;
    }
    
    .hero-image-overlay h3,
    .about-image-overlay h4 {
        font-size: 1.2rem;
    }
    
    .hero-image-overlay p,
    .about-image-overlay p {
        font-size: 0.85rem;
    }
    
    .featured,
    .catalog,
    .about,
    .contact,
    .quote-form {
        padding: 60px 0;
    }
    
    .featured h2,
    .catalog h2,
    .about h2,
    .contact h2,
    .quote-form h2 {
        font-size: 2.2rem;
    }
    
    .catalog-subtitle {
        font-size: 1.1rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-image {
        padding: 0;
        aspect-ratio: 3/4;
    }
    
    .product-image i {
        font-size: 3rem;
    }
    
    .form {
        padding: 2rem 1rem;
        margin: 0 10px;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .values {
        flex-direction: column;
        align-items: center;
    }
    
    .value-item {
        width: 100%;
        max-width: 250px;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .contact-item i {
        font-size: 2.5rem;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Responsive para botones de contacto - Solo WhatsApp y Email */
@media (max-width: 768px) {
    .contact-item .btn-whatsapp,
    .contact-item .btn-email {
        width: 320px;
        font-size: 0.9rem;
    }
}

/* pantallas medianas*/
@media (max-width: 480px) {
    .contact-item .btn-whatsapp,
    .contact-item .btn-email {
        width: 220px;
        font-size: 0.85rem;
        padding: 12px 20px;
    }
}

/* iPhone y pantallas pequeñas */
@media (max-width: 414px) {
    .hero {
        padding: 110px 0 70px;
    }
    
    .hero-text h1 {
        font-size: 1.9rem;
        line-height: 1.3;
        margin-bottom: 0.9rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.3rem;
    }
    
    .hero-text .hero-tagline {
        font-size: 1.05rem;
        line-height: 1.4;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .hero-text p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .hero-text .hero-tagline {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .featured h2,
    .catalog h2,
    .about h2,
    .contact h2,
    .quote-form h2 {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 1.2rem;
    }
    
    .form {
        padding: 1.5rem 0.8rem;
        margin: 0 5px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-item .btn-whatsapp,
    .contact-item .btn-email {
        width: 180px;
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}

/* Específico para pantallas muy estrechas como Galaxy Z Fold 5 */
@media (max-width: 344px) {
    .contact-item .btn-whatsapp,
    .contact-item .btn-email {
        width: 160px;
        font-size: 0.75rem;
        padding: 12px 10px;
        gap: 6px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        white-space: normal;
    }
    
    .contact-item .btn-whatsapp i,
    .contact-item .btn-email i {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    /* Texto del email más pequeño */
    .contact-item:nth-child(2) p {
        font-size: 0.8rem;
    }
}
