/* ========================================
   RVENTAS - Base Styles
   Reset, Typography, Global Elements
   ======================================== */

/* === CSS Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gray-900);
    overflow-x: hidden;
    background: var(--white);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-extrabold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-blue);
}

/* === Lists === */
ul, ol {
    list-style: none;
}

/* === Images === */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Buttons === */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* === Focus Styles === */
*:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* === Selection === */
::selection {
    background: var(--primary-blue);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-blue);
    color: var(--white);
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius-full);
    border: 3px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* === Layout Utilities === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-2xl);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* === Visually Hidden === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}