/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0a4d68;
    --color-primary-light: #0d6b8f;
    --color-primary-dark: #083d52;
    --color-secondary: #2d8659;
    --color-secondary-light: #3da372;
    --color-accent: #1e88e5;
    --color-text: #1a1f2e;
    --color-text-light: #4a5568;
    --color-text-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    --color-warning: #f59e0b;
    --color-warning-bg: #fef3c7;
    --color-danger: #dc2626;
    --color-danger-bg: #fee2e2;
    --color-info: #2563eb;
    --color-info-bg: #dbeafe;
    --color-success: #16a34a;
    --color-success-bg: #dcfce7;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(10, 77, 104, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 77, 104, 0.12);
    --shadow-lg: 0 12px 32px rgba(10, 77, 104, 0.16);
    --shadow-button: 0 4px 12px rgba(10, 77, 104, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #0a4d68 0%, #0d6b8f 100%);
    --gradient-secondary: linear-gradient(135deg, #2d8659 0%, #3da372 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2rem);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    color: var(--color-primary);
}

h3 {
    font-size: clamp(1.375rem, 3vw, 1.5rem);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
    line-height: 1.8;
}

.lead {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--color-text-light);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

a:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: var(--spacing-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav li::before {
    display: none;
}

.nav a {
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--color-text);
    font-size: 0.9375rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    display: block;
    position: relative;
}

.nav a:hover {
    background: var(--color-bg-light);
    text-decoration: none;
    color: var(--color-primary);
    transform: translateY(-1px);
}

.nav a.active {
    color: var(--color-primary);
    background: var(--color-bg-light);
    font-weight: 600;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    color: var(--color-primary);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.menu-icon {
    font-size: 2rem;
    line-height: 1;
    font-weight: 400;
    display: block;
}

.menu-toggle:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05);
}

.menu-toggle:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.menu-toggle[aria-expanded="true"] {
    background: var(--color-primary);
    color: white;
}

/* Main Content */
.main {
    padding: var(--spacing-xl) 0;
    min-height: calc(100vh - 200px);
}

/* Cards */
.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 1;
}

.card-title {
    font-size: clamp(1.25rem, 2.5vw, 1.375rem);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    font-weight: 600;
}

/* Info Blocks */
.info-block {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border-left: 5px solid;
    box-shadow: var(--shadow-sm);
}

.info-block.wazne {
    background: linear-gradient(to right, var(--color-warning-bg) 0%, rgba(254, 243, 199, 0.5) 100%);
    border-color: var(--color-warning);
    color: #78350f;
}

.info-block.ryzyko {
    background: linear-gradient(to right, var(--color-danger-bg) 0%, rgba(254, 226, 226, 0.5) 100%);
    border-color: var(--color-danger);
    color: #991b1b;
}

.info-block.przyklad {
    background: linear-gradient(to right, var(--color-info-bg) 0%, rgba(219, 234, 254, 0.5) 100%);
    border-color: var(--color-info);
    color: #1e40af;
}

.info-block-title {
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    font-size: 1.0625rem;
}

.info-block p {
    margin-bottom: 0;
    color: inherit;
}

/* Lists */
ul, ol {
    margin-left: 0;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: var(--color-text);
}

ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

ol {
    counter-reset: list-counter;
    list-style: none;
    padding-left: 0;
}

ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: var(--color-text);
    counter-increment: list-counter;
}

ol li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 2rem;
}

/* Image with Text Layout */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

.content-with-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    transition: var(--transition);
}

.content-with-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.content-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    background: var(--color-bg);
}

th, td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: var(--color-bg-light);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.form-label .required {
    color: var(--color-danger);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--color-bg);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(10, 77, 104, 0.1);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    cursor: pointer;
    line-height: 1.6;
}

.form-submit {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-button);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.form-submit:hover {
    background: var(--gradient-secondary);
    box-shadow: 0 6px 20px rgba(10, 77, 104, 0.3);
    transform: translateY(-2px);
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-error {
    color: var(--color-danger);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, var(--color-bg-alt) 0%, var(--color-bg-light) 100%);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) 0 0.5rem;
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
    padding-left: 0;
}

.footer-section ul li::before {
    display: none;
}

.footer-section ul li a {
    color: var(--color-text-light);
    font-weight: 400;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: var(--spacing-md);
    margin-bottom: 0.25rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 2px solid var(--color-border);
    padding: var(--spacing-md);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin-bottom: 0;
    color: var(--color-text);
}

.cookie-banner-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    width: 100%;
}

.cookie-button {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-bg);
    color: var(--color-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    flex: 1 1 auto;
    min-width: 140px;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.cookie-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transition: left 0.3s;
    z-index: -1;
}

.cookie-button:hover {
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}

.cookie-button:hover::before {
    left: 0;
}

.cookie-button.primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.cookie-button.primary::before {
    background: var(--gradient-secondary);
}

.cookie-button.primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 77, 104, 0.3);
}

.cookie-button:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.cookie-button:active {
    transform: translateY(0);
}

.cookie-settings {
    display: none;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.cookie-settings.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-settings-group {
    margin-bottom: var(--spacing-md);
}

.cookie-settings-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: 500;
}

.cookie-settings-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Toast Notification */
.toast {
    position: fixed;
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--color-text);
    color: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    max-width: 400px;
    animation: slideIn 0.3s ease;
    font-weight: 500;
}

.toast.active {
    display: block;
}

.toast.success {
    background: var(--gradient-secondary);
}

.toast.error {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Blocks */
.contact-block {
    background: var(--color-bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.contact-block h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.contact-field {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.contact-field:last-child {
    border-bottom: none;
}

.contact-field-label {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-field-value {
    color: var(--color-text);
    margin-top: var(--spacing-xs);
    font-size: 1rem;
}

.contact-field-value a {
    color: var(--color-primary);
    font-weight: 500;
}

/* Checklist */
.checklist {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.checklist li {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    color: var(--color-success);
    font-weight: 700;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-success-bg);
    border-radius: 50%;
    font-size: 0.875rem;
}

/* Section Styling */
section {
    margin-bottom: var(--spacing-xl);
}

section:last-child {
    margin-bottom: 0;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        border-top: 1px solid var(--color-border);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.active {
        max-height: 100vh;
        padding: var(--spacing-md) 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        overflow-y: auto;
    }

    .nav li {
        width: 100%;
        margin: 0;
        padding: 0;
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0s;
    }

    .nav.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav.active li:nth-child(7) { transition-delay: 0.35s; }

    .nav a {
        display: block;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--color-border-light);
        width: 100%;
        border-radius: 0;
        text-align: left;
        white-space: nowrap;
    }

    .nav a.active::after {
        display: none;
    }

    .nav a.active {
        border-left: 4px solid var(--color-primary);
        padding-left: calc(var(--spacing-md) - 4px);
        background: var(--color-bg-light);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-button {
        width: 100%;
        min-width: 100%;
    }

    .toast {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        top: auto;
        max-width: calc(100% - 40px);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .content-with-image {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .content-with-image.reverse {
        direction: ltr;
    }

    .content-with-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    .lead {
        font-size: 1.125rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cookie-banner-buttons {
        flex-wrap: wrap;
    }

    .cookie-button {
        flex: 1 1 calc(50% - var(--spacing-sm));
        min-width: calc(50% - var(--spacing-sm));
    }

    .nav {
        gap: var(--spacing-xs);
    }

    .nav a {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.875rem;
    }

    .content-with-image {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .content-with-image.reverse {
        direction: ltr;
    }
}

@media (min-width: 769px) {
    .toast {
        top: 20px;
        right: 20px;
    }

    .menu-toggle {
        display: none;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.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;
}
