/* CSS Variables - Paleta Light-Tech (Estilo Notion/Line-art) */
:root {
    /* Fondos Claros y Limpios */
    --bg-main: #ffffff;
    --bg-secondary: #fcfcfd;
    --bg-card: #ffffff;
    --bg-footer: #050508;
    /* Footer oscuro para contraste */

    /* Bordes y Sombras Suaves */
    --border-color: #e2e8f0;
    --border-dark: #cbd5e1;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);

    /* Colores de Marca */
    --accent-yellow: #f2be1a;
    --accent-blue: #5c6bc0;
    --accent-dark: #0f172a;

    /* Variants */

    --pale-blue:#929ddf;

    /* Textos Oscuros para legibilidad tipo papel */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Tipografías */
    --font-tech: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition-smooth: all 0.3s ease;

    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Barra decorativa superior */
.top-glow-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--accent-blue) 100%);
}

/* Cabecera Limpia */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo span {
    color: var(--accent-yellow);
}

.social-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.social-chip:hover {
    color: var(--accent-blue);
    background: rgba(92, 107, 192, 0.08);
}

.social-chip svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

main {
    padding: 2rem 0 5rem 0;
}

/* =========================================
           HERO SECTION: ESTILO NOTION (Humano + Tech)
           ========================================= */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem 0 6rem 0;
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 0;
    }

    .hero-text {
        margin: 0 auto;
    }

    .trusted-by {
        justify-content: center;
    }

    .hero-ctas {
        justify-content: center;
    }
}

.hero-text {
    max-width: 550px;
}

.hero-text h1 {
    font-family: var(--font-tech);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    display: block;
    color: var(--accent-blue);
}

.hero-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--text-primary);
    color: #ffffff;
    border: 2px solid var(--text-primary);
}

.btn-primary:hover {
    background: #ffffff;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-dark);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(15, 23, 42, 0.03);
    transform: translateY(-2px);
}

/* Distribuidores (Social Proof) */
.trusted-by {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trusted-by p {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: 0;
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.brand-logo {
    height: 40px;
    width: auto;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

/* Ilustración de Arte Lineal (Right Column) */
.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 100%;

    span a {
        font-size: 0.75rem;
        color: var(--text-muted);
    }
}

.line-art-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    /* Pequeña animación de flotación para elementos internos */
}

@keyframes float-element {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-1 {
    animation: float-element 4s ease-in-out infinite;
}

.float-2 {
    animation: float-element 5s ease-in-out infinite alternate-reverse;
}

/* =========================================
           SECCIONES DE CONTENIDO GENERAL
           ========================================= */
.section-header {
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-family: var(--font-tech);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* Carrusel de Productos (Versión Clara) */
.carousel-section {
    margin-bottom: 6rem;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 2rem 0.5rem;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.card-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(92, 107, 192, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.product-card h3 {
    font-family: var(--font-tech);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.card-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.card-link:hover {
    color: var(--accent-blue);
}

/* Cotizador Interactivo (Light Dashboard) */
.quote-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem;
    margin-bottom: 6rem;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
}

@media (max-width: 992px) {
    .quote-section {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

.quote-info h2 {
    font-family: var(--font-tech);
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.quote-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.category-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.tab-btn.active {
    background: var(--text-primary);
    color: #ffffff;
    border-color: var(--text-primary);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.check-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.check-card:hover {
    border-color: var(--border-dark);
}

.check-card.checked {
    border-color: var(--accent-blue);
    background: rgba(92, 107, 192, 0.04);
}

.check-card input {
    accent-color: var(--accent-blue);
}

.check-card span {
    font-size: 0.85rem;
    font-weight: 500;
}

.notes-input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    resize: none;
    background: var(--bg-secondary);
    margin-bottom: 1.5rem;
}

.btn-whatsapp-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #25d366;
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-whatsapp-quote:hover {
    background: #1ebd54;
    transform: translateY(-2px);
}

/* Footer Oscuro para Contraste */
footer {
    background: var(--bg-footer);
    color: #cbd5e1;
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-contact h5 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: var(--font-tech);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
}

.shop-soon {
    border: var(--accent-blue) 1.5px solid;
    background-color: var(--pale-blue);
    padding: 1.5rem;
    margin-bottom: 3rem;
    border-radius: 8px;
    box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.25);

    .section-header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin: 0;
    }
}