/* === Google Fonts === */
/* Ładowane przez functions.php przez wp_head preconnect */

/* === Zmienne CSS === */
:root {
    --color-primary:          #337ab7;
    --color-primary-dark:     #235a8a;
    --color-primary-darker:   #1a4570;
    --color-primary-light:    #a8cce8;
    --color-primary-lightest: #d6e8f7;
    --color-white:            #ffffff;
    --color-surface:          #f8f9ff;
    --color-text:             #191c20;
    --color-text-muted:       #414750;
    --color-border:           #c1c7d1;

    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --fs-display:      clamp(40px, 5vw, 64px);
    --fs-headline-lg:  clamp(28px, 3.5vw, 40px);
    --fs-headline-md:  24px;
    --fs-body-lg:      18px;
    --fs-body-md:      16px;
    --fs-label:        14px;

    --lh-tight:  1.2;
    --lh-normal: 1.6;
    --lh-loose:  1.7;

    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-pill: 999px;

    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.12);

    --container-max: 1200px;
    --container-padding: clamp(16px, 4vw, 48px);
    --section-gap: 80px;
    --grid-gap: 24px;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body-md);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background-color: var(--color-white);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

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

/* === Typografia === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--lh-tight);
    color: var(--color-text);
}

h1 { font-size: var(--fs-display); font-weight: 700; }
h2 { font-size: var(--fs-headline-lg); font-weight: 700; }
h3 { font-size: var(--fs-headline-md); font-weight: 600; }

p { line-height: var(--lh-normal); }

.text-muted { color: var(--color-text-muted); }
.text-label {
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* === Screen reader only === */
.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;
}

/* === Skip link === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: 9999;
}
.skip-link:focus { top: 0; }
