/* ============================================
   PANA FOODS — Design System
   Minimalist white + Venezuelan tricolor accents
   ============================================ */

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

/* ---------- Design Tokens ---------- */
:root {
    /* Venezuelan Tricolor */
    --color-yellow: #FFD700;
    --color-blue: #003893;
    --color-red: #CF142B;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-bg: #FFFFFF;
    --color-bg-alt: #FAFAFA;
    --color-border: #E5E5E5;
    --color-text-muted: #737373;
    --color-text: #1C1C1C;
    --color-text-heading: #003893;

    /* Functional */
    --color-success: #16a34a;
    --color-warning: #FFD700;
    --color-error: #CF142B;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-heading: 'Montserrat', 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-price: 'DM Sans', 'Inter', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Sizing */
    --container-max: 1200px;
    --container-narrow: 960px;
    --border-radius: 8px;
    --border-radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ---------- Base ---------- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    min-height: 100vh;
}

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

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

a:hover {
    color: var(--color-red);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--color-text-muted);
    max-width: 65ch;
}

/* ---------- Utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-4xl) 0;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section__title {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: var(--space-md) auto 0;
    background: linear-gradient(
        to right,
        var(--color-yellow) 33%,
        var(--color-blue) 33% 66%,
        var(--color-red) 66%
    );
    border-radius: 2px;
}

.section__cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* Tricolor top stripe */
.tricolor-stripe {
    height: 4px;
    background: linear-gradient(
        to right,
        var(--color-yellow) 33.33%,
        var(--color-blue) 33.33% 66.66%,
        var(--color-red) 66.66%
    );
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

/* Tricolor divider */
.tricolor-divider {
    height: 2px;
    background: linear-gradient(
        to right,
        var(--color-yellow) 33.33%,
        var(--color-blue) 33.33% 66.66%,
        var(--color-red) 66.66%
    );
    border: none;
    margin: 0;
}

/* Visually hidden (accessible) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
