/* ==========================================================================
   Variables Globales y Reseteo Base
   ========================================================================== */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --whatsapp-color: #25d366;
    --whatsapp-hover: #20ba5a;
    --text-color: #1f2937;
    --text-muted: #4b5563;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --accent-badge: #ef4444;
    --max-width: 1140px;
    --font-stack: Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Componentes de Estructura Reutilizables */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.025em;

    line-height: 1.1;
    font-family: "DM Sans", sans-serif;
    letter-spacing: -1.3px;
    font-weight: 900;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 40px;

    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

/* Botones Base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

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

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--bg-white);
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
}

/* ==========================================================================
   Maquetación del Header
   ========================================================================== */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 15px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bg-dark);
}

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

.main-nav {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

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

/* ==========================================================================
   Sección Hero (Vista Móvil por Defecto)
   ========================================================================== */
.hero-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 2.25rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: var(--bg-dark);

    line-height: 1.1;
    font-family: "DM Sans", sans-serif;
    letter-spacing: -1.3px;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;

    font-family: 'Inter', sans-serif;line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   Sección Características / Cómo Funciona
   ========================================================================== */
.features-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin: 0 auto 15px auto;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;

    font-family: "DM Sans", sans-serif;
    letter-spacing: -1.3px;
    font-weight: 900;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);

    font-family: 'Inter', sans-serif;line-height: 1.5;
}

/* ==========================================================================
   Sección Catálogo y Tarjetas de Producto
   ========================================================================== */
.catalog-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-badge);
    color: var(--bg-white);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
}

.product-image {
    background-color: #eaeaea;
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--bg-dark);
}

.price-old {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ==========================================================================
   Sección Corporativa
   ========================================================================== */
.about-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.about-content {
    max-width: 700px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
    text-align: justify;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--bg-dark);
    color: #9ca3af;
    padding: 30px 0;
    font-size: 0.85rem;
    border-top: 1px solid #1f2937;
}

.footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.admin-access {
    color: #6b7280;
    font-size: 0.8rem;
    border: 1px solid #374151;
    padding: 4px 10px;
    border-radius: 4px;
}

.admin-access:hover {
    color: #f3f4f6;
    background-color: #1f2937;
}

/* ==========================================================================
   Media Queries para Interfaces de Escritorio (Escalabilidad Layout)
   ========================================================================== */
@media (min-width: 768px) {
    .container {
        max-width: var(--max-width);
    }
    
    .header-flex {
        flex-direction: row;
        justify-content: space-between;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .hero-section {
        padding: 100px 0;
        text-align: left;
    }
    
    .hero-content {
        max-width: 650px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .features-grid {
        flex-direction: row;
    }
    
    .feature-card {
        flex: 1;
    }
    
    .products-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .product-card {
        width: calc(33.333% - 20px);
    }
    
    .footer-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}









.--div-btn-explorar-catalogo {
    display: flex;justify-content: center;align-items: center;margin-top: 20px;
}
.--div-btn-explorar-catalogo .--btn-explorar-catalogo {
    margin-bottom: 0;letter-spacing: 0;width: max-content;display: flex;justify-content: center;transition: all 0.2s ease;
    line-height: 1;align-items: center;height: 44px;border-radius: 7px;font-size: 13px;font-weight: 500;padding: 0 16px;
    font-family: 'Inter', sans-serif;user-select: none;cursor: pointer;
    
    background: #fff;border: 2px solid #d3d5d8;border-bottom: 3px solid #cfcfd8;color: #1c1d20;
    
    font-size: 14px;font-weight: 600;
    
    background: #2734ed;border: 2px solid #1a25bc;
    border-bottom-width: 2px;border-bottom-style: solid;border-bottom-color: rgb(26, 37, 188);
    border-bottom: 3px solid #0c104e;color: #f8f8ff;border-color: #0f1010;background: transparent;color: #222126;
    width: 320px;max-width: 100%;
    &:hover {
        background: #fff;
    }
}
















