/* ════════════════════════════════════════
   RESET + VARIABLES - RepararFácil.com.co
   ════════════════════════════════════════ */

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

:root {
    /* ─── Colores ─── */
    --color-primary:      #0a2463;
    --color-primary-alt:  #0f2d7a;
    --color-accent:       #1e96fc;
    --color-accent-dark:  #0d7de0;
    --color-warm:         #ff6b35;
    --color-warm-dark:    #e85a2a;

    --color-bg:           #f8fafc;
    --color-bg-alt:       #f1f5f9;
    --color-surface:      #ffffff;
    --color-dark:         #0b1121;
    --color-dark-alt:     #111827;
    --color-dark-surface: #1e293b;

    --color-text:         #1e293b;
    --color-text-secondary: #64748b;
    --color-text-light:   #94a3b8;
    --color-text-inverse: #f1f5f9;

    --color-border:       #e2e8f0;
    --color-border-light: #f1f5f9;

    --color-success:      #22c55e;
    --color-warning:      #f59e0b;
    --color-error:        #ef4444;

    --color-white:        #ffffff;

    /* ─── Tipografía ─── */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  2rem;
    --text-4xl:  2.5rem;
    --text-5xl:  3.5rem;
    --text-6xl:  4.5rem;

    /* ─── Espaciado ─── */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* ─── Radios ─── */
    --radius-sm:   0.375rem;
    --radius-md:   0.5rem;
    --radius-lg:   0.75rem;
    --radius-xl:   1rem;
    --radius-2xl:  1.5rem;
    --radius-full: 9999px;

    /* ─── Sombras ─── */
    --shadow-sm:   0 1px 2px rgba(0,0,0,0.05);
    --shadow-md:   0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl:   0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-2xl:  0 30px 60px -10px rgba(0,0,0,0.12);
    --shadow-accent: 0 8px 30px rgba(30,150,252,0.25);

    /* ─── Transiciones ─── */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition:  300ms var(--ease-out);

    /* ─── Layout ─── */
    --container: 1200px;
    --header-height: 72px;
}

/* ─── Reset base ─── */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-dark);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

input, select, textarea {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
}

::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-text-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
}
