/* ============================================
   MODERN CSS FOR OSK WILK
   - CSS Custom Properties
   - Modern Grid & Flexbox layouts
   - Smooth animations & transitions
   - Mobile-first responsive design
   - Glassmorphism & modern effects
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Colors */
    --color-primary: #e11d2e;
    --color-primary-dark: #b91624;
    --color-primary-light: #ff2a3d;
    --color-secondary: #1a1a1a;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-bg-dark: #1a202c;
    --color-border: #e2e8f0;
    --color-border-light: #edf2f7;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #e11d2e 0%, #ff6b7a 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 1.75rem;
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container */
    --container-width: 1280px;
    --container-padding: 1.5rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

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

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

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--container-padding);
    max-width: var(--container-width);
    margin: 0 auto;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-lg);
    font-weight: 600;
    transition: transform var(--transition-fast);
}

.nav__logo:hover {
    transform: scale(1.05);
}

.nav__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav__logo-text strong {
    font-weight: 800;
    color: var(--color-primary);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    font-size: var(--text-sm);
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--color-primary);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.nav__link--cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.nav__icon {
    width: 16px;
    height: 16px;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    cursor: pointer;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(225, 29, 46, 0.85) 0%, 
        rgba(26, 26, 26, 0.75) 100%
    );
    z-index: 1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--space-3xl) var(--container-padding);
}

.hero__content {
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease-out;
}

.hero__badge-icon {
    width: 16px;
    height: 16px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero__title--gradient {
    background: linear-gradient(135deg, #fff 0%, #ffd6db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__text {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.hero__stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero__scroll-icon {
    width: 32px;
    height: 32px;
    color: white;
    opacity: 0.8;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn__icon {
    width: 18px;
    height: 18px;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn--secondary {
    background: white;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn--ghost:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--large {
    padding: 1.125rem 2rem;
    font-size: var(--text-lg);
}

.btn--block {
    width: 100%;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header--center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header__label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
}

.section-header__text {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
/* ============================================
   ABOUT / O NAS SECTION
   ============================================ */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

/* --- Zdjęcia --- */
.about__photos {
    position: relative;
    height: 540px;
}

.about__photo {
    position: absolute;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__photo--top {
    top: 0;
    left: 0;
    width: 65%;
    height: 58%;
}

.about__photo--bottom {
    bottom: 0;
    right: 0;
    width: 65%;
    height: 58%;
    border: 4px solid white;
}

.about__photo-badge {
    position: absolute;
    bottom: 30px;
    left: 0;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 24px rgba(225,29,46,0.35);
    z-index: 2;
}

.about__photo-badge-year {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 900;
    line-height: 1;
}

.about__photo-badge-text {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

/* --- Treść --- */
.about__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about__lead {
    font-size: var(--text-lg);
    line-height: 1.75;
    color: var(--color-text);
}

.about__text {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--color-text-light);
}

/* --- Statystyki --- */
.about__stats {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: var(--space-xs) 0;
}

.about__stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.about__stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 3px;
}

/* --- Pigułki --- */
.about__pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.about__pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
}

.about__pill svg {
    width: 13px;
    height: 13px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.about__cta {
    align-self: flex-start;
    margin-top: var(--space-xs);
}

/* Responsive */
@media (max-width: 900px) {
    .about__layout {
        grid-template-columns: 1fr;
    }

    .about__photos {
        height: 380px;
    }
}

@media (max-width: 480px) {
    .about__photos {
        height: 300px;
    }

    .about__stats {
        gap: var(--space-lg);
    }
}

/* ============================================
   COURSES SECTION
   ============================================ */
.courses {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.course-card {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.course-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--color-primary);
}

.course-card--featured {
    background: linear-gradient(135deg, 
        rgba(225, 29, 46, 0.03) 0%, 
        rgba(225, 29, 46, 0.01) 100%
    );
    border-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.course-card--featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 29, 46, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.course-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.course-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
}

.course-card__icon svg {
    width: 28px;
    height: 28px;
}

.course-card__badge {
    padding: 0.375rem 0.875rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-light);
}

.course-card__badge--special {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.course-card__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
}

.course-card__text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.course-card__features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.course-card__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--color-text);
}

.course-card__check {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.courses__cta {
    max-width: 900px;
    margin: 0 auto;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.info-box__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    flex-shrink: 0;
}

.info-box__icon svg {
    width: 32px;
    height: 32px;
}

.info-box__content {
    flex: 1;
}

.info-box__title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-secondary);
}

.info-box__text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.gallery__grid {
    columns: 3;
    column-gap: 8px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 8px;
    opacity: 0;
    transform: scale(0.97);
    transition: all var(--transition-base);
}

.gallery__item.animate-in {
    opacity: 1;
    transform: scale(1);
}

.gallery__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__icon {
    width: 28px;
    height: 28px;
    color: white;
}

.gallery__caption {
    color: white;
    font-weight: 600;
    font-size: var(--text-base);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.review-card {
    padding: var(--space-xl);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.review-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.review-card__avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: var(--text-xl);
    font-weight: 700;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.review-card__info {
    flex: 1;
}

.review-card__name {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-secondary);
}

.review-card__stars {
    display: flex;
    gap: 0.25rem;
}

.review-card__star {
    width: 16px;
    height: 16px;
    fill: #fbbf24;
    color: #fbbf24;
}

.review-card__text {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, 
        var(--color-secondary) 0%, 
        var(--color-bg-dark) 100%
    );
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(225, 29, 46, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.cta__text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--color-secondary);
    color: rgba(255, 255, 255, 0.8);
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-xl);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-md);
}

.footer__logo img {
    width: 48px;
    height: 48px;
}

.footer__logo strong {
    font-weight: 800;
    color: var(--color-primary);
}

.footer__text {
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-primary);
}

.footer__contacts {
    list-style: none;
}

.footer__contacts li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer__contacts svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.footer__contacts a {
    transition: color var(--transition-fast);
}

.footer__contacts a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: var(--text-sm);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .gallery__grid {
        columns: 2;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --space-3xl: 4rem;
    }
    
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: var(--space-lg);
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        gap: 0;
    }
    
    .nav__menu--active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav__link {
        padding: var(--space-md) 0;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav__link:last-child {
        border-bottom: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero__cta {
        flex-direction: column;
    }
    
    .hero__stats {
        grid-template-columns: 1fr;
    }
    
    .courses__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__grid {
        columns: 1;
    }
    
    .reviews__grid {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        flex-direction: column;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .cta__buttons {
        flex-direction: column;
    }
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
}

.trust-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: white;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.trust-banner__content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    flex: 1;
}

.trust-banner__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    flex-shrink: 0;
}

.trust-banner__icon svg {
    width: 32px;
    height: 32px;
}

.trust-banner__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-secondary);
}

.trust-banner__desc {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   PASS RATE SECTION
   ============================================ */
/* ============================================
   PASS RATE / RANKING SECTION
   ============================================ */
.pass-rate {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

/* --- Hero kart z naszymi wynikami --- */
.pr-hero {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.pr-hero__card {
    background: var(--color-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pr-hero__card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: rgba(225,29,46,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.pr-hero__medal {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.pr-hero__label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    margin-bottom: var(--space-sm);
}

.pr-hero__number {
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 80px);
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.pr-hero__pct {
    font-size: 0.5em;
    color: var(--color-primary);
    vertical-align: super;
}

.pr-hero__bar {
    width: 70%;
    margin: 0 auto var(--space-md);
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.pr-hero__bar-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.pr-hero__sub {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
}

.pr-hero__divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
}

.pr-hero__divider-line {
    width: 1px;
    flex: 1;
    background: var(--color-border);
    min-height: 40px;
}

.pr-hero__divider-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.pr-hero__divider-icon svg { width: 18px; height: 18px; }

/* --- Ranking table --- */
.pr-ranking {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.pr-ranking__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.pr-ranking__title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-secondary);
}

.pr-ranking__title svg { width: 16px; height: 16px; color: var(--color-primary); }

.pr-ranking__legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.pr-ranking__leg-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
}

.pr-ranking__leg-dot--first { background: var(--color-primary); }
.pr-ranking__leg-dot--all   { background: #94a3b8; }

.pr-ranking__table {
    display: flex;
    flex-direction: column;
}

/* Każdy wiersz */
.pr-row {
    display: grid;
    grid-template-columns: 36px 200px 1fr;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--color-border-light);
    transition: background var(--transition-base);
}

.pr-row:last-child { border-bottom: none; }

.pr-row:hover { background: var(--color-bg-alt); }

.pr-row--winner {
    background: #fff7f7;
    border-left: 3px solid var(--color-primary);
}

.pr-row--winner:hover { background: #fff0f0; }

.pr-row__rank {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--color-text-muted);
    text-align: center;
}

.pr-row--winner .pr-row__rank {
    color: var(--color-primary);
    font-size: var(--text-lg);
}

.pr-row__name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pr-row__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: rgba(225,29,46,0.08);
    border-radius: var(--radius-sm);
    padding: 1px 6px;
    width: fit-content;
}

.pr-row__bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pr-row__bar-group { display: flex; align-items: center; }

.pr-row__bar-wrap {
    flex: 1;
    height: 20px;
    background: var(--color-border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.pr-row__bar-fill {
    height: 100%;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    min-width: 2rem;
    transition: width 0.8s ease-out;
}

.pr-row__bar-fill--first {
    background: var(--color-primary);
}

.pr-row__bar-fill--all {
    background: #94a3b8;
}

.pr-row__bar-val {
    font-size: 10px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* Przypis ze źródłem */
.pr-ranking__source {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: 1.5;
}

.pr-ranking__source svg {
    width: 15px; height: 15px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .pr-hero {
        grid-template-columns: 1fr;
    }
    .pr-hero__divider {
        flex-direction: row;
    }
    .pr-hero__divider-line {
        height: 1px;
        width: auto;
        min-height: unset;
        flex: 1;
    }
}

@media (max-width: 680px) {
    .pr-row {
        grid-template-columns: 28px 1fr;
        grid-template-rows: auto auto;
    }
    .pr-row__bars {
        grid-column: 1 / -1;
        padding-left: calc(28px + var(--space-md));
    }
    .pr-ranking__legend { display: none; }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.faq-item--active {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-bg-alt);
}

.faq-question__text {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-secondary);
    flex: 1;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.faq-chevron {
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item--active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item--active .faq-answer {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    padding: 0 var(--space-lg) var(--space-lg);
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.8;
}

.faq-answer p:first-child {
    padding-top: 0;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: calc(var(--space-lg) + 1.5rem);
}

.faq-answer li {
    margin: var(--space-sm) 0;
}

.faq-answer strong {
    color: var(--color-text);
    font-weight: 700;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

.faq-footer {
    margin-top: var(--space-3xl);
    padding: var(--space-xl);
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.faq-footer p {
    font-size: var(--text-lg);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

/* ============================================
   FOOTER ENHANCEMENTS
   ============================================ */
.footer__social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   RESPONSIVE DESIGN UPDATES
   ============================================ */
@media (max-width: 768px) {
    .trust-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-banner__content {
        flex-direction: column;
        text-align: center;
    }
    
    .pass-rate__layout {
        grid-template-columns: 1fr;
    }

    .pass-rate__main-number {
        font-size: clamp(80px, 22vw, 120px);
    }
    
    .faq-question__text {
        font-size: var(--text-base);
    }
    
    .faq-icon {
        display: none;
    }
}
.review-card__avatar {
    width: 56px;          /* ustaw taki sam jak był wcześniej */
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* przycina bez rozciągania */
    display: block;
}

/* ============================================
   TRAVEL PAGE (podroze.html) STYLES
   ============================================ */

/* Hero */
.travel-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-bg-dark);
    padding-bottom: var(--space-3xl);
    padding-top: 80px;
}

.travel-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 100%),
        url('images/podroze/tenera/tenera_93.jpg') center / cover no-repeat;
}

.travel-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.travel-hero__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.travel-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.travel-hero__badge svg {
    width: 16px;
    height: 16px;
}

.travel-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    max-width: 800px;
}

.travel-hero__title--accent {
    background: linear-gradient(135deg, #fff 0%, #ffd6db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.travel-hero__desc {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    line-height: 1.7;
}

/* Stats Band */
.travel-stats {
    background: var(--color-primary);
    padding: var(--space-xl) 0;
}

.travel-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.travel-stat__value {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.travel-stat__label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Trips Grid */
.trips-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.trip-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(30px);
}

.trip-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.trip-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.trip-card__image-wrap {
    overflow: hidden;
    position: relative;
    height: 220px;
}

.trip-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.trip-card:hover .trip-card__image {
    transform: scale(1.06);
}

.trip-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.trip-card__body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.trip-card__date {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.trip-card__date svg { width: 12px; height: 12px; }

.trip-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.35;
    margin-bottom: var(--space-sm);
}

.trip-card__excerpt {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.65;
    flex: 1;
}

.trip-card__footer {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.trip-card__tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.trip-card__tag {
    font-size: var(--text-xs);
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    border: 1px solid var(--color-border);
}

.trip-card__arrow {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.trip-card:hover .trip-card__arrow {
    transform: scale(1.1);
}

.trip-card__arrow svg { width: 14px; height: 14px; }

/* Article layout */
.article-section {
    padding: var(--space-3xl) 0;
    background: white;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-3xl);
    align-items: start;
}

.article-main h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 2px solid var(--color-border);
    flex-wrap: wrap;
}

.article-meta__author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--text-sm);
    color: var(--color-text);
    font-weight: 600;
}

.article-meta__icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.article-meta__icon svg { width: 14px; height: 14px; }

.article-meta__date {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.article-body p {
    font-size: var(--text-lg);
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-lg);
}

.article-body h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin: var(--space-xl) 0 var(--space-md);
}

.article-quote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-md) var(--space-lg);
    background: rgba(225,29,46,0.04);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-xl) 0;
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-secondary);
    line-height: 1.6;
}

.article-body ul {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.article-body ul li {
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: 1.7;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.article-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.article-author-sig {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-secondary);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sidebar-widget {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
}

.sidebar-widget__title {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.sidebar-toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-toc a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sidebar-toc li:last-child a {
    border-bottom: none;
}

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

.sidebar-toc__dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar-widget--dark {
    background: var(--color-bg-dark);
    border-color: rgba(255,255,255,0.08);
}

.sidebar-widget--dark .sidebar-widget__title {
    color: rgba(255,255,255,0.4);
}

.sidebar-trips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-trips-list a {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.65);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.sidebar-trips-list li:last-child a { border-bottom: none; }
.sidebar-trips-list a:hover { color: #ff6b7a; }

/* Responsive travel */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .trips-grid {
        grid-template-columns: 1fr;
    }
    .travel-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .travel-hero__title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
}
