/* Estilos Generales y Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

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

/* Cabecera y Navegación */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Logo de Pazam - Tamaño ampliado al doble en escritorio (130px) */
.logo-brand .logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #1b5e20;
}

/* Sección Hero / Inicio */
.hero-section {
    background: linear-gradient(rgba(27, 94, 32, 0.85), rgba(15, 60, 20, 0.9)), url('img/aristides paez.jpg') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 90px 20px;
}

.hero-content h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 30px auto;
    color: #f3f4f6;
}

.btn-primary {
    display: inline-block;
    background-color: #fbc02d;
    color: #1f2937;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(251, 192, 45, 0.3);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: #f9a825;
    transform: translateY(-1px);
}

.btn-secondary-outline {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #fbc02d;
    padding: 10px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary-outline:hover {
    background-color: #fbc02d;
    color: #1f2937;
}

/* Sección de Catálogo de Productos */
.catalog-section {
    padding: 70px 20px;
    background-color: #ffffff;
}

.catalog-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #1b5e20;
    margin-bottom: 10px;
}

.catalog-section > .container > p {
    text-align: center;
    color: #6b7280;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 5px solid #1b5e20;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.product-card h3 {
    font-size: 1.4rem;
    color: #1b5e20;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 15px;
    min-height: 45px;
}

.presentations {
    list-style: none;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

.presentations li {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
}

.presentations li::before {
    content: "•";
    color: #fbc02d;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Efecto Hover para Tarjetas de Co-packing */
#copacking .container > div > div {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#copacking .container > div > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Sección de Contacto y Formulario */
.contact-section {
    padding: 70px 20px;
    background-color: #f8fafc;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.1rem;
    color: #1b5e20;
    margin-bottom: 10px;
}

.contact-section > .container > p {
    text-align: center;
    color: #6b7280;
    margin-bottom: 35px;
}

.contact-form {
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    color: #1f2937;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1b5e20;
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

/* Pie de Página */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* --- ADAPTABILIDAD MÓVIL BLINDADA (iPhone / iPad) --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 12px;
    }

    /* Logo adaptado para móviles: elegante pero sin ocupar media pantalla */
    .logo-brand .logo-img {
        height: 90px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-section {
        padding: 60px 15px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .product-card {
        padding: 20px;
    }

    .product-card img {
        max-height: 165px !important;
        object-fit: contain;
    }

    .contact-form {
        padding: 20px;
    }
}