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

/* CSS Custom Properties */
:root {
    /* Colors */
    --primary: 14 70% 48%; /* #C41E3A - Polish red */
    --primary-light: 14 70% 60%;
    --primary-dark: 14 70% 35%;
    --secondary: 210 40% 30%; /* #3B5673 - Navy blue */
    --secondary-light: 210 40% 45%;
    --accent: 40 80% 52%; /* #D4AF37 - Gold */
    --background: 210 11% 98%; /* #F5F7FA */
    --background-alt: 210 11% 95%; /* #EEF2F6 */
    --text: 210 20% 15%; /* #1F2937 */
    --text-light: 210 15% 35%; /* #4B5563 */
    --text-muted: 210 10% 55%; /* #6B7280 */
    --border: 210 10% 85%; /* #D1D5DB */
    --border-light: 210 10% 90%; /* #E5E7EB */
    --white: 0 0% 100%; /* #FFFFFF */
    --black: 0 0% 0%; /* #000000 */
    --success: 142 76% 36%; /* #059669 */
    --warning: 45 93% 47%; /* #D97706 */
    --error: 0 84% 60%; /* #DC2626 */

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-5xl: 48px;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing */
    --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;

    /* Borders */
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-width: 1px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;

    /* Container */
    --container-max-width: 1200px;
    --container-padding: var(--space-6);
}

/* Base Styles */
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-normal);
    color: hsl(var(--text));
    background-color: hsl(var(--background));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: hsl(var(--text));
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-4);
    color: hsl(var(--text-light));
}

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

a:hover {
    color: hsl(var(--primary-dark));
    text-decoration: underline;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border: var(--border-width) solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--white));
    border-color: hsl(var(--primary));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
    color: hsl(var(--white));
    text-decoration: none;
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--white));
    border-color: hsl(var(--secondary));
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary-light));
    border-color: hsl(var(--secondary-light));
    color: hsl(var(--white));
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--white));
    text-decoration: none;
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

/* Cards */
.card {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

/* Header */
.header {
    background-color: hsl(var(--white));
    border-bottom: var(--border-width) solid hsl(var(--border-light));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-weight: 500;
    color: hsl(var(--text));
    padding: var(--space-2) 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--primary));
    text-decoration: none;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -var(--space-1);
    left: 0;
    right: 0;
    height: 2px;
    background-color: hsl(var(--primary));
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: var(--space-1);
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text));
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.9), hsl(var(--secondary) / 0.8));
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: hsl(var(--white));
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    color: hsl(var(--white));
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-8);
    color: hsl(var(--white) / 0.9);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    color: hsl(var(--white));
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
}

.page-header h1 {
    color: hsl(var(--white));
    margin-bottom: var(--space-4);
}

.page-header p {
    font-size: var(--font-size-lg);
    color: hsl(var(--white) / 0.9);
}

/* Sections */
.section {
    padding: var(--space-20) 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header .section-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: hsl(var(--primary));
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: hsl(var(--text-light));
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.service-card {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-4);
}

/* Service Detail */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-16);
}

.service-detail:nth-child(even) {
    grid-template-columns: 200px 1fr;
}

.service-detail:nth-child(even) .service-detail-content {
    order: 2;
}

.service-detail:nth-child(even) .service-detail-image {
    order: 1;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    max-width: 150px;
}

.service-pricing {
    background-color: hsl(var(--background-alt));
    padding: var(--space-4);
    border-radius: var(--border-radius);
    margin-top: var(--space-6);
}

.service-price {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: hsl(var(--primary));
    margin-top: var(--space-4);
}

/* Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.destination-card {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    transition: var(--transition);
}

.destination-card:hover {
    box-shadow: var(--shadow-md);
}

.destination-card h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-3);
}

.destination-card ul {
    list-style: none;
    margin-top: var(--space-4);
}

.destination-card li {
    padding: var(--space-1) 0;
    color: hsl(var(--text-light));
}

.destination-card li::before {
    content: '✓';
    color: hsl(var(--success));
    font-weight: bold;
    margin-right: var(--space-2);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.team-member {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    box-shadow: var(--shadow-md);
}

.member-avatar img {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-4);
}

.member-role {
    color: hsl(var(--primary));
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.member-bio {
    color: hsl(var(--text-light));
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
}

.member-skills {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.member-skills span {
    font-size: var(--font-size-sm);
    color: hsl(var(--text-muted));
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.team-preview {
    text-align: center;
    margin-top: var(--space-8);
}

/* Qualifications */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.qualification-card {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
}

.qualification-card h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-4);
}

.qualification-card ul {
    list-style: none;
}

.qualification-card li {
    padding: var(--space-2) 0;
    color: hsl(var(--text-light));
}

.qualification-card li::before {
    content: '•';
    color: hsl(var(--primary));
    font-weight: bold;
    margin-right: var(--space-2);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: hsl(var(--border));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-12);
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background-color: hsl(var(--primary));
    color: hsl(var(--white));
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius);
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    flex: 1;
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-3);
}

.timeline-content ul {
    list-style: none;
    margin-top: var(--space-4);
}

.timeline-content li {
    padding: var(--space-1) 0;
    color: hsl(var(--text-light));
}

.timeline-content li::before {
    content: '✓';
    color: hsl(var(--success));
    font-weight: bold;
    margin-right: var(--space-2);
}

/* Current Stats */
.current-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.stat-card {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-icon img {
    width: 48px;
    height: 48px;
}

.stat-growth {
    font-size: var(--font-size-sm);
    color: hsl(var(--success));
    font-weight: 600;
}

/* Future Plans */
.future-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.plan-card {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    transition: var(--transition);
}

.plan-card:hover {
    box-shadow: var(--shadow-md);
}

.plan-card h3 {
    background-color: hsl(var(--primary));
    color: hsl(var(--white));
    padding: var(--space-3);
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: var(--space-4);
}

.plan-card ul {
    list-style: none;
}

.plan-card li {
    padding: var(--space-2) 0;
    color: hsl(var(--text-light));
}

.plan-card li::before {
    content: '→';
    color: hsl(var(--primary));
    font-weight: bold;
    margin-right: var(--space-2);
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.award-item {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: var(--transition);
}

.award-item:hover {
    box-shadow: var(--shadow-md);
}

.award-year {
    background-color: hsl(var(--accent));
    color: hsl(var(--text));
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--space-3);
}

.award-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: var(--space-2);
}

.award-org {
    color: hsl(var(--text-light));
    font-size: var(--font-size-sm);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: flex-start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-method img {
    width: 24px;
    height: 24px;
    margin-top: var(--space-1);
}

.contact-method h3 {
    margin-bottom: var(--space-2);
    color: hsl(var(--primary));
}

.contact-method p {
    margin-bottom: var(--space-1);
}

.contact-method small {
    color: hsl(var(--text-muted));
    font-size: var(--font-size-sm);
}

.office-hours {
    background-color: hsl(var(--background-alt));
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
}

.office-hours h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-4);
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.hours-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
    border-bottom: var(--border-width) solid hsl(var(--border-light));
}

.hours-day:last-child {
    border-bottom: none;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: hsl(var(--text));
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3);
    border: var(--border-width) solid hsl(var(--border));
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Newsletter */
.section-newsletter {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    color: hsl(var(--white));
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: hsl(var(--white));
    margin-bottom: var(--space-4);
}

.newsletter-content p {
    color: hsl(var(--white) / 0.9);
    margin-bottom: var(--space-8);
}

.newsletter-form {
    display: flex;
    gap: var(--space-4);
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-3);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px hsl(var(--white) / 0.3);
}

/* Map */
.map-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-12);
    align-items: flex-start;
}

.map-placeholder {
    background-color: hsl(var(--background-alt));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-12);
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content img {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-4);
}

.directions h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-6);
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.transport-option h4 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-2);
}

.transport-option p {
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.faq-item {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
}

.faq-item h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-4);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    color: hsl(var(--white));
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: hsl(var(--white));
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: hsl(var(--white) / 0.9);
    margin-bottom: var(--space-8);
}

/* Thank You Page */
.thank-you-section {
    padding: var(--space-24) 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-6);
}

.thank-you-message {
    font-size: var(--font-size-lg);
    color: hsl(var(--text-light));
    margin-bottom: var(--space-12);
}

.next-steps {
    margin: var(--space-12) 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    text-align: left;
}

.step-number {
    background-color: hsl(var(--primary));
    color: hsl(var(--white));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-2);
}

.contact-reminder {
    background-color: hsl(var(--background-alt));
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    margin: var(--space-12) 0;
}

.thank-you-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Content */
.legal-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--space-12);
    align-items: flex-start;
}

.legal-toc {
    background-color: hsl(var(--background-alt));
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    position: sticky;
    top: 100px;
}

.legal-toc h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-4);
}

.legal-toc ul {
    list-style: none;
}

.legal-toc li {
    margin-bottom: var(--space-2);
}

.legal-toc a {
    color: hsl(var(--text-light));
    font-size: var(--font-size-sm);
    text-decoration: none;
}

.legal-toc a:hover {
    color: hsl(var(--primary));
}

.legal-text {
    background-color: hsl(var(--white));
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    border: var(--border-width) solid hsl(var(--border-light));
}

.legal-text section {
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-8);
    border-bottom: var(--border-width) solid hsl(var(--border-light));
}

.legal-text section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-text h2 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-6);
}

.legal-text ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.legal-text li {
    margin-bottom: var(--space-2);
    color: hsl(var(--text-light));
}

.contact-details {
    background-color: hsl(var(--background-alt));
    padding: var(--space-6);
    border-radius: var(--border-radius);
    margin: var(--space-6) 0;
}

.values-list {
    list-style: none;
    margin: var(--space-6) 0;
}

.values-list li {
    margin-bottom: var(--space-4);
    padding-left: var(--space-8);
    position: relative;
}

.values-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: hsl(var(--accent));
    font-size: var(--font-size-lg);
}

/* Cookies Table */
.cookies-table {
    margin: var(--space-6) 0;
}

.cookies-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-4);
}

.cookies-table th,
.cookies-table td {
    padding: var(--space-3);
    text-align: left;
    border-bottom: var(--border-width) solid hsl(var(--border-light));
}

.cookies-table th {
    background-color: hsl(var(--background-alt));
    font-weight: 600;
    color: hsl(var(--text));
}

.cookies-table td {
    color: hsl(var(--text-light));
}

.cookie-preferences-section {
    background-color: hsl(var(--background-alt));
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: var(--space-12);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-12);
    align-items: flex-start;
}

.content-main {
    background-color: hsl(var(--white));
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    border: var(--border-width) solid hsl(var(--border-light));
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.sidebar-card {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
}

.sidebar-card h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-4);
}

.achievement {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) 0;
    border-bottom: var(--border-width) solid hsl(var(--border-light));
}

.achievement:last-child {
    border-bottom: none;
}

.achievement strong {
    color: hsl(var(--primary));
    min-width: 60px;
}

.progress-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

/* Footer */
.footer {
    background-color: hsl(var(--text));
    color: hsl(var(--white));
    padding: var(--space-16) 0 var(--space-8);
}

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

.footer-section h3,
.footer-section h4 {
    color: hsl(var(--white));
    margin-bottom: var(--space-4);
}

.footer-section p {
    color: hsl(var(--white) / 0.8);
    margin-bottom: var(--space-4);
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-links a {
    display: inline-block;
    transition: var(--transition-fast);
}

.social-links a:hover {
    transform: translateY(-2px);
}

.social-links img {
    width: 24px;
    height: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin: 0;
    color: hsl(var(--white) / 0.8);
}

.contact-info img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: hsl(var(--white) / 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: hsl(var(--white));
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: var(--border-width) solid hsl(var(--white) / 0.2);
}

.footer-bottom p {
    color: hsl(var(--white) / 0.6);
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--white));
    border-top: var(--border-width) solid hsl(var(--border-light));
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    padding: var(--space-6);
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.cookie-content h3 {
    color: hsl(var(--text));
    margin-bottom: var(--space-3);
}

.cookie-content p {
    color: hsl(var(--text-light));
    margin-bottom: var(--space-6);
}

.cookie-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background-color: hsl(var(--white));
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: hsl(var(--text));
    margin-bottom: var(--space-6);
}

.cookie-category {
    padding: var(--space-4) 0;
    border-bottom: var(--border-width) solid hsl(var(--border-light));
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category h4 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-2);
}

.cookie-category p {
    color: hsl(var(--text-light));
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
}

.cookie-category input[type="checkbox"] {
    width: auto;
}

.cookie-modal-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: flex-end;
    margin-top: var(--space-8);
}

/* Feature */
.feature {
    background-color: hsl(var(--white));
    border: var(--border-width) solid hsl(var(--border-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    transition: var(--transition);
}

.feature:hover {
    box-shadow: var(--shadow-md);
}

.feature h3 {
    color: hsl(var(--primary));
    margin-bottom: var(--space-3);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-4);
        --font-size-5xl: 32px;
        --font-size-4xl: 28px;
        --font-size-3xl: 24px;
        --font-size-2xl: 20px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: hsl(var(--white));
        border-top: var(--border-width) solid hsl(var(--border-light));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-4);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-link {
        padding: var(--space-3) var(--space-4);
        border-bottom: var(--border-width) solid hsl(var(--border-light));
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-detail:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-detail-content,
    .service-detail:nth-child(even) .service-detail-image {
        order: initial;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .legal-toc {
        position: static;
    }

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

    .map-info {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .steps {
        gap: var(--space-6);
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .current-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-12) 0;
    }

    .hero {
        min-height: 400px;
    }

    .page-header {
        padding: var(--space-12) 0 var(--space-8);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }

    .section {
        padding: 1rem 0;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    a {
        text-decoration: underline;
        color: black;
    }

    .card,
    .service-card,
    .team-member {
        border: 1pt solid #ccc;
        break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border: 0 0% 0%;
        --border-light: 0 0% 20%;
        --text-muted: 0 0% 30%;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background-color: hsl(var(--primary));
    color: hsl(var(--white));
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}
