/* =========================================================
   VARIABLES GENERALES
   Más adelante cambiaremos estos colores por los definitivos.
   ========================================================= */

:root {
    --store-primary: #5f3dc4;
    --store-primary-dark: #4527a0;
    --store-primary-light: #ede9fe;

    --store-dark: #171717;
    --store-text: #404040;
    --store-muted: #737373;

    --store-background: #ffffff;
    --store-background-soft: #f7f7f8;
    --store-border: #e5e5e5;

    --store-radius-small: 10px;
    --store-radius-medium: 18px;
    --store-radius-large: 28px;

    --store-shadow:
        0 20px 50px rgba(23, 23, 23, 0.08);

    --store-container: 1200px;
}

/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--store-text);
    background: var(--store-background);
}

img {
    max-width: 100%;
    height: auto;
}

/*
 * Contenedor reutilizable para todas nuestras páginas.
 */
.store-container {
    width: min(
        calc(100% - 40px),
        var(--store-container)
    );

    margin-inline: auto;
}

/* =========================================================
   TÍTULOS Y TEXTOS
   ========================================================= */

.store-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 18px;
    padding: 8px 14px;

    color: var(--store-primary-dark);
    background: var(--store-primary-light);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.store-section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

.store-section-heading h2 {
    margin: 0 0 14px;

    color: var(--store-dark);

    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.store-section-heading p {
    margin: 0;

    color: var(--store-muted);

    font-size: 17px;
    line-height: 1.7;
}

/* =========================================================
   BOTONES
   ========================================================= */

.store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 13px 24px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.store-button-primary {
    color: #ffffff;
    background: var(--store-primary);

    box-shadow:
        0 12px 30px rgba(95, 61, 196, 0.28);
}

.store-button-primary:hover {
    color: #ffffff;
    background: var(--store-primary-dark);
}

.store-button-secondary {
    color: var(--store-dark);
    background: #ffffff;
    border-color: var(--store-border);
}

.store-button-secondary:hover {
    color: var(--store-primary-dark);
    border-color: var(--store-primary);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {
    .store-container {
        width: min(calc(100% - 28px), var(--store-container));
    }

    .store-button {
        min-height: 50px;
        padding-inline: 20px;
    }
}