/* =====================================================
   Φοιτητική Πεζοπορική Ομάδα - Styles
   ===================================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --color-primary: #2d6a4f;
    --color-primary-light: #40916c;
    --color-primary-lighter: #52b788;
    --color-primary-lightest: #95d5b2;
    --color-primary-pale: #d8f3dc;
    --color-primary-dark: #1b4332;
    --color-accent: #c96f3b;
    --color-accent-dark: #a85426;

    --color-bg: #faf9f4;
    --color-bg-alt: #f1efe6;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;

    --color-text: #1c241e;
    --color-text-secondary: #48544c;
    --color-text-muted: #6f7d73;
    --color-text-on-primary: #ffffff;

    --color-border: #e4e0d3;
    --color-border-light: #edeae0;

    /* Typography — Commissioner (UI/τίτλοι), Literata (κείμενο), JetBrains Mono (δεδομένα/συντεταγμένες) */
    --font-heading: 'Commissioner', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Commissioner', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Literata', Georgia, 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 40px rgba(45,106,79,0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Layout */
    --container-max: 1200px;
    --navbar-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip; /* όπως το hidden, αλλά δεν «σπάει» τα position: sticky στοιχεία */
}

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

/* Skip to content */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    z-index: 10000;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: var(--space-sm);
}

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

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

ul, ol {
    list-style: none;
}

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

.section {
    padding: clamp(3.25rem, 6vw, 4.5rem) 0;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75em;
    padding: 0;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 0;
    margin-bottom: var(--space-md);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}


.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.highlight {
    color: var(--color-primary);
}

.hero .highlight {
    color: var(--color-primary-lightest);
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-xl);
}

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

.btn-white:hover {
    background: var(--color-primary-pale);
    border-color: var(--color-primary-pale);
    transform: translateY(-2px);
}

/* =====================================================
   Navbar
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    /* Θολούρα 12px αντί 20px: το κόστος του backdrop-filter μεγαλώνει με την
       ακτίνα, και σε 85-95% αδιαφάνεια η διαφορά δεν φαίνεται. */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(250, 253, 247, 0.85);
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background: rgba(250, 253, 247, 0.95);
    border-bottom-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-primary);
}

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

.logo-img-sm {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
}

.logo-text {
    letter-spacing: 0.05em;
}

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

.nav-link {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
    background: var(--color-primary-pale);
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-cta {
    background: var(--color-primary);
    color: var(--color-text-on-primary) !important;
    padding: var(--space-sm) var(--space-lg) !important;
    margin-left: var(--space-sm);
    border-radius: var(--radius-lg);
}

.nav-cta:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-1px);
}

/* 7 σύνδεσμοι + αίτηση: λίγο πριν γίνει drawer, στενότερα κουμπιά ώστε να μένουν σε μία γραμμή */
@media (min-width: 1025px) and (max-width: 1180px) {
    .nav-link { padding: var(--space-sm) 10px; }
    .nav-cta { padding: var(--space-sm) var(--space-md) !important; }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-primary-dark);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18,36,26,0.42) 0%, rgba(14,26,19,0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-4xl) 0;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: var(--space-xl);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: #ffffff;
    color: var(--color-primary-dark);
    border-color: #ffffff;
}

.hero-actions .btn-primary:hover {
    background: var(--color-primary-pale);
    border-color: var(--color-primary-pale);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-actions .btn-outline {
    color: #ffffff;
    border-color: rgba(255,255,255,0.4);
}

.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =====================================================
   Page Header (sub-pages)
   ===================================================== */
.page-header {
    padding: 140px 0 50px;
    background: var(--color-bg-alt);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.page-header-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* =====================================================
   About Section
   ===================================================== */
.about {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.about-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-lightest);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-lg);
    color: var(--color-primary);
}

.about-card-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.about-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* =====================================================
   Activities Section
   ===================================================== */
.activities {
    background: var(--color-bg-alt);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.activity-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-border);
    transition: background var(--transition-base);
}

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

.activity-card.featured {
    border-color: var(--color-primary-lightest);
}

.activity-card.featured::before {
    background: var(--color-primary);
}

.activity-difficulty {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.activity-difficulty.easy {
    background: #e8f5e9;
    color: #2e7d32;
}

.activity-difficulty.moderate {
    background: #fff3e0;
    color: #ef6c00;
}

.activity-difficulty.hard {
    background: #fce4ec;
    color: #c62828;
}

.activity-difficulty.extreme {
    background: #ede7f6;
    color: #4a148c;
}

.activity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.activity-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.activity-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.activity-details li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =====================================================
   Gallery Section — Masonry Grid + Lightbox
   ===================================================== */
.gallery {
    background: var(--color-bg);
}

/* ---------- Collage Grid ---------- */
.collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
    grid-auto-flow: dense;
    gap: 5px;
    margin-bottom: var(--space-2xl);
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

/* Size variants */
.collage-item.collage-big {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-item.collage-wide {
    grid-column: span 2;
}

.collage-item.collage-tall {
    grid-row: span 2;
}

/* Photos */
.collage-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.25,.46,.45,.94), filter 0.4s ease;
}

.collage-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.75);
}

.collage-item:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.collage-item:focus-visible img {
    transform: scale(1.04);
    filter: brightness(0.8);
}

/* Hover label overlay */
.collage-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 40%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.collage-item:hover .collage-overlay {
    opacity: 1;
}

.collage-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.collage-item.collage-big .collage-overlay span {
    font-size: 1.1rem;
}

.gallery-cta {
    text-align: center;
}

/* ----- Lightbox ----- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(.22,.61,.36,1), opacity 0.35s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.22);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-next {
    right: 20px;
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}

.lightbox-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.55);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* =====================================================
   FAQ Section
   ===================================================== */
.faq {
    background: var(--color-bg-alt);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.faq-item.active {
    border-color: var(--color-primary-lighter);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* =====================================================
   How It Works / Steps Section
   ===================================================== */
.how-it-works {
    background: var(--color-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 31px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-image: repeating-linear-gradient(90deg,
        var(--color-primary-lighter) 0 9px,
        transparent 9px 20px);
    z-index: 0;
    opacity: 0.7;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: var(--color-surface);
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    margin-bottom: var(--space-lg);
    box-shadow: 0 0 0 6px var(--color-bg), 0 4px 15px rgba(45,106,79,0.18);
    transition: all var(--transition-base);
    position: relative;
}

.step-card-number::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px dashed var(--color-primary-lighter);
    border-radius: 50%;
    opacity: 0.6;
}

.step-card:hover .step-card-number {
    transform: scale(1.08);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 0 6px var(--color-bg), 0 6px 20px rgba(45,106,79,0.35);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* =====================================================
   Erasmus Page
   ===================================================== */

/* --- Erasmus Hero Banner --- */
.erasmus-hero {
    position: relative;
    min-height: clamp(430px, 60vh, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.erasmus-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #1b4332 center / cover no-repeat;
}

/* Per-page banner photos (from the team's own gallery) */
#page-hikes .erasmus-hero-bg    { background-image: url('../images/banners/hikes.webp'); }
#page-gallery .erasmus-hero-bg  { background-image: url('../images/banners/gallery.webp'); }
#page-info .erasmus-hero-bg     { background-image: url('../images/banners/info.webp'); }
#page-erasmus .erasmus-hero-bg  { background-image: url('../images/banners/erasmus.webp'); }
#page-partners .erasmus-hero-bg { background-image: url('../images/banners/partners.webp'); }
#page-merch .erasmus-hero-bg    { background-image: url('../images/banners/merch.webp'); }

.erasmus-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16,28,21,0.5) 0%, rgba(14,24,18,0.72) 100%);
}

.erasmus-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--color-bg-alt), transparent);
    z-index: 1;
}

.erasmus-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-4xl);
}

.erasmus-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    letter-spacing: 0.02em;
}

.erasmus-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--space-lg);
}

.erasmus-hero-highlight {
    color: #f2b880;
}

.erasmus-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.erasmus-hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.erasmus-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.erasmus-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
}

.erasmus-hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
}

.erasmus-hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}



/* --- Erasmus Sections --- */
.erasmus-section {
    background: var(--color-bg-alt);
}

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

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

.erasmus-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.erasmus-highlight-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.erasmus-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-lighter));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.erasmus-highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-lightest);
}

.erasmus-highlight-card:hover::before {
    opacity: 1;
}

.erasmus-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--color-primary-pale);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
}

.erasmus-highlight-icon svg {
    width: 28px;
    height: 28px;
}

.erasmus-highlight-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.erasmus-highlight-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* --- Experience Grid --- */
.erasmus-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.erasmus-exp-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.erasmus-exp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-lg);
    background: var(--color-primary-pale);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.erasmus-exp-icon svg {
    width: 28px;
    height: 28px;
}

.erasmus-exp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.erasmus-exp-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* --- Erasmus Steps --- */
.erasmus-steps {
    grid-template-columns: repeat(3, 1fr);
}

.erasmus-steps::before {
    left: 17%;
    right: 17%;
}

/* --- Erasmus Quote --- */
.erasmus-quote-section {
    background: var(--color-bg);
}

.erasmus-quote-card {
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    position: relative;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.erasmus-quote-icon {
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.erasmus-quote-card blockquote {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: var(--space-xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.erasmus-quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.erasmus-quote-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-lighter));
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50%;
}

.erasmus-quote-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
}

.erasmus-quote-author span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- Erasmus CTA Note --- */
.erasmus-cta-card .cta-note {
    display: inline-block;
}

/* --- Erasmus Responsive --- */
@media (max-width: 768px) {
    .erasmus-hero {
        min-height: 60vh;
    }

    .erasmus-hero-content {
        padding: var(--space-3xl) 0 var(--space-4xl);
    }

    .erasmus-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .erasmus-hero-subtitle {
        font-size: 1.05rem;
    }

    .erasmus-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .erasmus-experience-grid {
        grid-template-columns: 1fr;
    }

    .erasmus-steps {
        grid-template-columns: 1fr;
    }

    .erasmus-steps::before {
        display: none;
    }

    .erasmus-quote-card {
        padding: var(--space-xl);
    }

    .erasmus-quote-card blockquote {
        font-size: 1.05rem;
    }

    .erasmus-hero-stats {
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .erasmus-hero-content {
        padding: var(--space-xl) 0 var(--space-2xl);
    }

    .erasmus-highlights {
        grid-template-columns: 1fr;
    }

    .erasmus-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .erasmus-hero-stats {
        flex-direction: row;
        gap: var(--space-xs);
    }

    .erasmus-hero-stat {
        flex: 1;
        padding: var(--space-xs) var(--space-sm);
    }

    .erasmus-hero-stat-number {
        font-size: 1.1rem;
    }

    .erasmus-hero-stat-label {
        font-size: 0.65rem;
    }
}

/* =====================================================
   Instagram Section
   ===================================================== */
.instagram-section {
    background: var(--color-bg);
    padding: var(--space-3xl) 0;
}

.instagram-profile-link {
    text-decoration: none;
    display: block;
}

.instagram-profile-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.instagram-profile-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.instagram-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.instagram-profile-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.instagram-profile-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.instagram-age {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--color-primary-pale);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.insta-age-icon {
    font-size: 0.95rem;
}

.instagram-follow-btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.instagram-profile-card:hover .instagram-follow-btn {
    background: var(--color-primary-dark);
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
    background: var(--color-bg);
    padding: var(--space-2xl) 0;
}

.cta-card {
    background: #1b4332 url('../images/banners/cta.webp') center / cover no-repeat;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16,28,21,0.72) 0%, rgba(14,24,18,0.82) 100%);
}

.cta-decoration { display: none; }

.cta-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto var(--space-md);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

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

.cta-actions .btn:hover {
    background: var(--color-primary-pale);
    border-color: var(--color-primary-pale);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-note {
    font-family: var(--font-serif);
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
    background: transparent;
    padding: 0;
    display: inline-block;
    max-width: 560px;
    line-height: 1.7;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact {
    background: var(--color-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 780px;
    margin: 0 auto;
}

.contact-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: left;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-lightest);
}

.contact-icon {
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 11px;
    flex-shrink: 0;
    color: var(--color-primary);
    background: var(--color-primary-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--color-text);
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--color-primary);
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.8);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.7fr 0.9fr 0.9fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 0;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary-lighter);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.7;
}

.footer-links h4 {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    padding: var(--space-xs) 0;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-primary-lighter);
    transform: translateX(4px);
}

.footer-links a.footer-highlight {
    opacity: 1;
    display: inline-block;
    background: var(--color-primary);
    color: #fff !important;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    margin-top: var(--space-xs);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.footer-links a.footer-highlight:hover {
    background: var(--color-primary-lighter);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    text-align: center;
}

.footer-partner-cta {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-md) 0;
    text-align: center;
}

.footer-partner-cta a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255,255,255,0.08);
    border: 1px dashed rgba(255,255,255,0.2);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 100px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.footer-partner-cta a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-partner-icon {
    font-size: 1.1rem;
}

.footer-partner-arrow {
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.footer-partner-cta a:hover .footer-partner-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.72);
}

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

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

/* Page content stays visible immediately, including restored scroll positions. */

/* =====================================================
   Form Page Styles
   ===================================================== */
.form-page {
    padding-top: calc(var(--navbar-height) + var(--space-2xl));
    min-height: 100vh;
    background: var(--color-bg-alt);
}

.form-container {
    max-width: 780px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg) var(--space-4xl);
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.form-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.form-header p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

.form-notice {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 1px solid #ffcc02;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    text-align: center;
    font-size: 0.95rem;
    color: #e65100;
    font-weight: 500;
}

/* Stepper */
.form-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.step-indicator.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.step-indicator.completed {
    background: var(--color-primary-pale);
    color: var(--color-primary);
    border-color: var(--color-primary-lightest);
}

.step-number {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
}

.step-indicator.active .step-number {
    background: rgba(255,255,255,0.25);
}

.step-indicator.completed .step-number {
    background: var(--color-primary);
    color: white;
}

.step-connector {
    width: 24px;
    height: 2px;
    background: var(--color-border);
    border-radius: 1px;
}

/* Form steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

.form-section {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-section-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

/* Form fields */
.form-group {
    margin-bottom: var(--space-xl);
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.form-label .required {
    color: var(--color-accent-dark);
    margin-left: 2px;
}

.form-label .optional {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
    background: white;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Radio & Checkbox */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.875rem var(--space-lg);
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: var(--color-primary-lightest);
    background: var(--color-primary-pale);
}

.radio-option input,
.checkbox-option input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    position: relative;
}

.checkbox-option input {
    border-radius: var(--radius-sm);
}

.radio-option input:checked,
.checkbox-option input:checked {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.radio-option input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-option input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.radio-option input:checked ~ span,
.checkbox-option input:checked ~ span {
    font-weight: 600;
    color: var(--color-primary);
}

/* Scenario cards */
.scenario-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.scenario-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.scenario-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.scenario-question {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

/* Info box */
.info-box {
    background: var(--color-primary-pale);
    border: 1px solid var(--color-primary-lightest);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.info-box-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.info-box p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Form navigation */
.form-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
}

.form-nav .btn {
    min-width: 160px;
    justify-content: center;
}

/* Terms section */
.terms-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: var(--space-xl);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.terms-box h4 {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-lg);
}

.terms-box h4:first-child {
    margin-top: 0;
}

/* Progress bar */
.progress-bar {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-border-light);
    z-index: 999;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-lighter));
    border-radius: 0 2px 2px 0;
    transition: width var(--transition-slow);
}

/* Success message */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.form-success.visible {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: var(--space-xl);
}

.form-success h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.form-success p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl) var(--space-xl);
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .collage {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 140px;
    }

    .collage-item.collage-big {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Κινητό μενού (drawer) ως τα 1024px, όπως το σχέδιο του drawer παρακάτω και το initDrawerExtras.
   Πριν ίσχυε μόνο ως τα 768px και στα 769-1024px δεν φαινόταν ούτε μενού ούτε κουμπί. */
@media (max-width: 1024px) {
    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(calc(100% + 24px));
        visibility: hidden;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-surface);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--navbar-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        gap: var(--space-xs);
        box-shadow: var(--shadow-xl);
        transition: transform 180ms ease-out, visibility 0s linear 180ms;
        z-index: 999;
    }
    
    .nav-links.open {
        transform: translateX(0);
        visibility: visible;
        transition-delay: 0s;
    }
    
    .nav-link {
        padding: var(--space-md);
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-left: 0 !important;
        margin-top: var(--space-md);
        text-align: center;
        justify-content: center;
    }
    
    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease-out;
    }
    
    .nav-overlay.visible {
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    /* Hero mobile */
    .hero-stats {
        gap: var(--space-sm);
    }
    
    .stat-number {
        font-size: 1.4rem;
    }

    .stat-divider {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hide-mobile {
        display: none;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* Grid adjustments */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .collage {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        gap: 4px;
    }

    .collage-item.collage-big {
        grid-column: span 2;
        grid-row: span 2;
    }

    .collage-item.collage-wide {
        grid-column: span 2;
    }

    .collage-item.collage-tall {
        grid-row: span 2;
    }

    .collage-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 45%);
    }

    .collage-overlay span {
        font-size: 0.75rem;
    }

    .collage-item.collage-big .collage-overlay span {
        font-size: 0.9rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    /* Form mobile */
    .form-section {
        padding: var(--space-lg);
    }
    
    .scenario-card {
        padding: var(--space-lg);
    }
    
    .form-stepper {
        gap: var(--space-xs);
    }
    
    .step-indicator {
        font-size: 0;
        padding: var(--space-sm);
    }
    
    .step-indicator .step-number {
        font-size: 0.75rem;
    }
    
    .step-indicator.active {
        font-size: 0.8rem;
        padding: var(--space-sm) var(--space-md);
    }
    
    .step-connector {
        width: 12px;
    }
    
    .form-nav {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .form-nav .btn {
        width: 100%;
    }
    
    .cta-card {
        padding: var(--space-2xl) var(--space-lg);
    }

    .cta-decoration {
        display: none;
    }

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

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-partner-cta a {
        font-size: 0.8rem;
        padding: var(--space-sm) var(--space-md);
    }

    /* Override steps-grid 2-col from 1024px breakpoint */
    .steps-grid {
        grid-template-columns: 1fr !important;
    }

    .steps-grid::before {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
    
    .stat-divider {
        display: none;
    }
    
    .collage {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 100px;
        gap: 3px;
    }

    .collage-item.collage-big {
        grid-column: span 2;
        grid-row: span 2;
    }

    .collage-item.collage-wide {
        grid-column: span 2;
    }

    .collage-item.collage-tall {
        grid-row: span 2;
    }

    .collage-overlay span {
        font-size: 0.7rem;
    }

    .collage-item.collage-big .collage-overlay span {
        font-size: 0.82rem;
    }

    /* Lightbox mobile */
    .lightbox-img {
        max-width: 96vw;
        max-height: 75vh;
        border-radius: 4px;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.15);
    }

    .lightbox-prev {
        left: 6px;
    }

    .lightbox-next {
        right: 6px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        bottom: 50px;
    }

    .lightbox-counter {
        font-size: 0.75rem;
        bottom: 24px;
    }
}

/* =====================================================
   Dark Mode
   ===================================================== */
[data-theme="dark"] {
    --color-primary: #52b788;
    --color-primary-light: #52b788;
    --color-primary-lighter: #95d5b2;
    --color-primary-lightest: #b7e4c7;
    --color-primary-pale: #1a2f23;
    --color-primary-dark: #d8f3dc;
    --color-accent: #e0854f;
    --color-accent-dark: #c96f3b;
    --color-bg: #0f1a14;
    --color-bg-alt: #142019;
    --color-surface: #1a2f23;
    --color-surface-elevated: #213d2e;
    --color-text: #e8f5e9;
    --color-text-secondary: #a8c5b4;
    --color-text-muted: #7a9e8a;
    --color-text-on-primary: #ffffff;
    --color-border: #2a4f38;
    --color-border-light: #1e3a29;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 26, 20, 0.9);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 26, 20, 0.97);
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(180deg, rgba(15,26,20,0.6) 0%, rgba(15,26,20,0.85) 100%);
}

[data-theme="dark"] .hero .highlight {
    color: var(--color-primary-lighter);
}

[data-theme="dark"] .activity-difficulty.easy {
    background: #1a3a25;
    color: #52b788;
}

[data-theme="dark"] .activity-difficulty.moderate {
    background: #3a2a1a;
    color: #f4a261;
}

[data-theme="dark"] .activity-difficulty.hard {
    background: #3a1a1a;
    color: #e76f51;
}

[data-theme="dark"] .activity-difficulty.extreme {
    background: #2a1a3a;
    color: #b388ff;
}

[data-theme="dark"] .hero-actions .btn-primary {
    color: #1b4332;
}

[data-theme="dark"] .cta-card {
    background: linear-gradient(135deg, #1a3a25, #213d2e);
}

[data-theme="dark"] .cta-actions .btn {
    background: var(--color-primary);
    color: #0f1a14;
    border-color: var(--color-primary);
}

[data-theme="dark"] .cta-actions .btn:hover {
    background: var(--color-primary-lighter);
    border-color: var(--color-primary-lighter);
    color: #0f1a14;
}

[data-theme="dark"] .footer {
    background: #0a1210;
}

[data-theme="dark"] .hike-difficulty.easy {
    background: #1a3a25;
    color: #52b788;
}

[data-theme="dark"] .hike-difficulty.moderate {
    background: #3a2a1a;
    color: #f4a261;
}

[data-theme="dark"] .hike-difficulty.hard {
    background: #3a1a1a;
    color: #e76f51;
}

/* =====================================================
   Nav Controls (Dark Mode + Language Toggle)
   ===================================================== */
.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: var(--space-sm);
}

.theme-toggle,
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid var(--color-border-light);
    background: var(--color-surface);
}

.theme-toggle:hover,
.lang-toggle:hover {
    color: var(--color-primary);
    border-color: var(--color-primary-lightest);
    background: var(--color-primary-pale);
}

.theme-toggle .icon-moon {
    display: block;
}
.theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}
[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

.lang-toggle {
    width: auto;
    padding: 0 var(--space-sm);
}

.lang-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* =====================================================
   Back to Top Button
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .back-to-top {
    background: var(--color-primary);
}

[data-theme="dark"] .back-to-top:hover {
    background: var(--color-primary-lighter);
}

/* =====================================================
   Upcoming Hikes Section
   ===================================================== */
.upcoming-hikes {
    background: var(--color-bg-alt);
}

.hikes-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.hike-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.hike-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-lightest);
}

.hike-card.featured-hike {
    border-color: var(--color-primary-lightest);
    background: linear-gradient(135deg, var(--color-surface), var(--color-primary-pale));
}

.hike-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    padding: var(--space-md);
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
    flex-shrink: 0;
}

.hike-day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.hike-month {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hike-info {
    flex: 1;
}

.hike-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.hike-info p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.hike-difficulty {
    display: inline-block;
    padding: 2px var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.hike-difficulty.easy {
    background: #e8f5e9;
    color: #2e7d32;
}

.hike-difficulty.moderate {
    background: #fff3e0;
    color: #ef6c00;
}

.hike-difficulty.hard {
    background: #fce4ec;
    color: #c62828;
}

.hike-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.hike-status {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

.hike-status.open {
    background: #e8f5e9;
    color: #2e7d32;
}

.hike-status.soon {
    background: #fff3e0;
    color: #ef6c00;
}

.hike-status.closed {
    background: #f5f5f5;
    color: #9e9e9e;
}

[data-theme="dark"] .hike-status.open {
    background: #1a3a25;
    color: #52b788;
}

[data-theme="dark"] .hike-status.soon {
    background: #3a2a1a;
    color: #f4a261;
}

/* =====================================================
   Testimonials Section
   ===================================================== */
.testimonials {
    background: var(--color-bg-alt);
}

.testimonials-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    min-width: 100%;
    padding: 0 var(--space-md);
    box-sizing: border-box;
}

.testimonial-quote {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
    position: relative;
    margin-bottom: var(--space-xl);
}

.testimonial-quote svg {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-xl);
    color: var(--color-primary);
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    font-style: italic;
    padding-top: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-left: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.testimonial-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-pale);
}

.testimonials-dots {
    display: flex;
    gap: var(--space-sm);
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonials-dots .dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* =====================================================
   Interactive Map Section
   ===================================================== */
.map-section {
    background: var(--color-bg);
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.hike-map {
    width: 100%;
    height: 450px;
    background: var(--color-bg-alt);
    /* τα controls του Leaflet (z-index 1000) μένουν μέσα στον χάρτη: αλλιώς στο scroll περνούσαν πάνω από το navbar */
    isolation: isolate;
}

.map-legend {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border-light);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.past {
    background: var(--color-primary);
}

.legend-dot.upcoming {
    background: var(--color-accent);
}

.legend-dot.future {
    background: #c96f3b;
}

/* Future hikes breakdown */
.future-hikes-breakdown {
    margin-bottom: var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 600px) {
    .future-hikes-breakdown {
        grid-template-columns: 1fr;
    }
}

.future-year-group {
    text-align: left;
}

.future-year-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 0.6rem;
    opacity: 0.6;
}

.future-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.future-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
    opacity: 0.8;
}

.future-tag:hover {
    opacity: 1;
    border-color: #9b5de5;
    color: #9b5de5;
}

.future-tag small {
    font-size: 0.9em;
}

/* =====================================================
   About Section
   ===================================================== */
.about-content {
    margin-top: var(--space-lg);
}

.about-text {
    max-width: 720px;
    margin: 0 auto var(--space-xl);
    text-align: center;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.about-text p {
    margin-bottom: var(--space-md);
}

.about-text strong {
    color: var(--color-text);
}

.about-section .about-grid,
#partners-deals .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.about-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.about-card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.about-card-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
}

.about-card h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.about-card p {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Partner placeholder card */
.partner-placeholder {
    border: 2px dashed var(--color-border) !important;
    background: var(--color-bg-alt) !important;
}

.partner-placeholder .about-card-icon {
    opacity: 0.4;
}

.partner-placeholder .placeholder-cta {
    margin-top: var(--space-sm);
    font-weight: 600;
    color: var(--color-primary);
}

/* =====================================================
   Equipment Section
   ===================================================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.equipment-category {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: border-color 0.3s ease;
}

.equipment-category:hover {
    border-color: var(--color-primary);
}

.equipment-category h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.equipment-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    font-style: italic;
}

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

.equipment-list li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.93rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.equipment-list li:last-child {
    border-bottom: none;
}

.equipment-list li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    flex-shrink: 0;
}

.eq-detail {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-left: auto;
    text-align: right;
}

/* =====================================================
   Team Section
   ===================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.team-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.team-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* =====================================================
   Responsive - New Features
   ===================================================== */
@media (max-width: 768px) {
    .about-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Responsive - New Features
   ===================================================== */
@media (max-width: 768px) {
    .nav-controls {
        margin-left: 0;
        gap: var(--space-xs);
    }

    .theme-toggle,
    .lang-toggle {
        width: 34px;
        height: 34px;
    }

    .lang-toggle {
        width: auto;
        padding: 0 var(--space-xs);
    }

    .hike-card {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .hike-date {
        flex-direction: row;
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
    }

    .hike-meta {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .hike-status {
        align-self: flex-start;
    }

    .testimonial-quote {
        padding: var(--space-lg);
    }

    .testimonial-quote p {
        font-size: 1rem;
    }

    .hike-map {
        height: 480px;
        height: min(62svh, 540px);
    }

    .back-to-top {
        bottom: var(--space-lg);
        right: var(--space-lg);
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hike-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .map-legend {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hike-map {
        height: 460px;
        height: min(64svh, 520px);
    }

    .page-header {
        padding: 110px 0 36px;
    }

    .page-header-desc {
        font-size: 0.95rem;
    }

    .eq-detail {
        font-size: 0.75rem;
    }
}

/* =====================================================
   TOPOGRAPHIC IDENTITY & NEW COMPONENTS (redesign)
   ===================================================== */

/* ---------- Serif prose (Literata) ---------- */
.section-description,
.hero-subtitle,
.erasmus-hero-subtitle,
.about-card p,
.faq-answer p,
.testimonial-quote p,
.erasmus-quote-text,
.about-text p {
    font-family: var(--font-serif);
}

/* ---------- Mono data details ---------- */
.stat-number,
.peaklog-num,
.hike-meta span,
.hike-coords,
.peak-coords,
.activity-details li,
.cl-progress-count,
.cl-cat-count,
.future-year-title,
.instagram-age {
    font-family: var(--font-mono);
}

.stat-number { font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Topo texture on key sections ---------- */
.about,
.cta-card,
.faq,
.map-section {
    position: relative;
}

.about > .container,
.map-section > .container { position: relative; }

.footer { position: relative; overflow: hidden; }
.footer > .container { position: relative; }

/* ---------- Ridgeline divider ---------- */
.ridge-divider {
    display: block;
    width: 100%;
    height: 56px;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.ridge-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ridge-divider.to-bg { color: var(--color-bg); }
.ridge-divider.to-bg-alt { color: var(--color-bg-alt); }

/* Hero: ridge sits at the bottom, over the photo */
.hero .ridge-divider,
.erasmus-hero .ridge-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* kill the old soft fade now that we have a ridge */
.erasmus-hero-bg + * { position: relative; }

/* ---------- Hero refinements ---------- */
.hero-badge {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(12,22,16,0.35);
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-coords {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.55);
    margin-top: var(--space-xl);
}

.hero .highlight { color: #a7e8c3; }

/* ---------- Upcoming hikes: new card anatomy ---------- */
.hike-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.hike-topline .hike-difficulty { margin-bottom: 0; }
.hike-topline .hike-status { padding: 2px var(--space-md); }

.hike-coords {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.hike-meta { flex-wrap: wrap; }

.hike-meta .hike-gpx {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: 1px dashed currentColor;
}

.hike-difficulty.extreme {
    background: #ede7f6;
    color: #5e35b1;
}

/* ---------- Elevation profile ---------- */
.hike-profile {
    position: relative;
    margin-top: auto;
    border-top: 1px dashed var(--color-border);
    padding-top: var(--space-md);
}

.hike-profile svg {
    display: block;
    width: 100%;
    height: auto;
    cursor: crosshair;
}

.ep-grid {
    stroke: var(--color-border);
    stroke-width: 1;
    stroke-dasharray: 3 5;
}

.ep-line {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.ep-summit { fill: var(--color-accent); stroke: var(--color-surface); stroke-width: 1.5; }

.ep-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    fill: var(--color-text-muted);
}

.ep-summit-label { fill: var(--color-accent-dark); font-weight: 600; }

.ep-cursor { stroke: var(--color-text-muted); stroke-width: 1; stroke-dasharray: 2 3; }
.ep-cursor-dot { fill: var(--color-primary); stroke: var(--color-surface); stroke-width: 1.5; }

.ep-readout {
    position: absolute;
    top: 4px;
    transform: translateX(-50%);
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-text);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
    white-space: nowrap;
}

.ep-indicative {
    position: absolute;
    right: 0;
    top: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.75;
}

/* ---------- Peak Log ---------- */
.peaklog-section { background: var(--color-bg-alt); position: relative; overflow: hidden; }
.peaklog-section > .container { position: relative; }

.peaklog-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.peaklog-tile {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
}

.peaklog-num {
    display: block;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.peaklog-tile-label {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.peaklog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.peak-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.peak-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-lightest);
}

.peak-photo {
    height: 110px;
    overflow: hidden;
}

.peak-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.peak-card:hover .peak-photo img { transform: scale(1.06); }

.peak-body { padding: var(--space-lg); position: relative; }

.peak-elev {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: var(--space-xs);
}

.peak-elev-num {
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.peak-elev-unit {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.peak-type {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    border: 1px solid currentColor;
    border-radius: var(--radius-full);
    padding: 3px 10px;
    opacity: 0.9;
}

.peak-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

.peak-sub {
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    min-height: 1.2em;
    margin-top: 1px;
}

.peak-coords {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

.peak-years {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-sm);
}

.peak-years span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 2px 8px;
    background: var(--color-primary-pale);
    color: var(--color-primary-dark);
    border-radius: var(--radius-full);
}

[data-theme="dark"] .peak-years span { color: var(--color-primary-lightest); }

/* ---------- Equipment checklist ---------- */
.cl-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-xl);
    max-width: 880px;
    margin: 0 auto var(--space-2xl);
    flex-wrap: wrap;
}

.cl-progress { flex: 1; min-width: 240px; }

.cl-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-xs);
}

.cl-progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cl-progress-count { font-size: 0.9rem; font-weight: 700; color: var(--color-primary); }

.cl-bar {
    height: 8px;
    background: var(--color-border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.cl-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-lighter));
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

.cl-actions { display: flex; gap: var(--space-sm); }

.cl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.cl-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary-lighter);
    transform: translateY(-1px);
}

.cl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.cl-cat-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-sm);
}

.cl-cat-count { font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); }

.cl-cat-bar {
    height: 4px;
    background: var(--color-border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: var(--space-sm) 0 var(--space-md);
}

.cl-cat-bar-fill {
    height: 100%;
    background: var(--color-primary-lighter);
    transition: width 0.4s ease;
}

.cl-list { display: flex; flex-direction: column; }

.cl-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: 7px 6px;
    margin: 0 -6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.45;
}

.cl-item:hover { background: var(--color-bg-alt); }

.cl-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cl-box {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border: 2px solid var(--color-border);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background: var(--color-surface);
    transition: all var(--transition-fast);
}

.cl-item input:focus-visible + .cl-box {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.cl-item.checked .cl-box {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.cl-item.checked .cl-text {
    color: var(--color-text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(110,125,115,0.55);
    text-decoration-thickness: 1px;
}

.cl-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xl);
    font-family: var(--font-serif);
    font-style: italic;
}

/* ---------- Map popups & extras ---------- */
.fpo-popup .leaflet-popup-content-wrapper {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    padding: 0;
}

.fpo-popup .leaflet-popup-content {
    margin: 0;
    width: 220px !important;
}

.fpo-popup-inner { display: flex; flex-direction: column; }

.fpo-popup-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.fpo-popup-inner strong {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    padding: 10px 12px 0;
}

.fpo-popup-elev {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #a85426;
    padding: 2px 12px 0;
}

.fpo-popup-years {
    font-size: 0.78rem;
    color: #6f7d73;
    padding: 2px 12px 10px;
}

.fpo-popup-gpx {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: #2d6a4f;
    padding: 0 12px 10px;
}

[data-theme="dark"] .leaflet-tile { filter: brightness(0.82) contrast(1.05) saturate(0.9); }
[data-theme="dark"] .fpo-popup .leaflet-popup-content-wrapper,
[data-theme="dark"] .leaflet-popup-tip { background: #ffffff; }

/* ---------- Dark mode for new components ---------- */
[data-theme="dark"] .hike-difficulty.easy { background: #1a3a25; color: #52b788; }
[data-theme="dark"] .hike-difficulty.moderate { background: #3a2a1a; color: #f4a261; }
[data-theme="dark"] .hike-difficulty.hard { background: #3a1a24; color: #f48fb1; }
[data-theme="dark"] .hike-difficulty.extreme { background: #2a1a3a; color: #ce93d8; }
[data-theme="dark"] .hike-status.closed { background: #22302a; color: #7a9e8a; }

/* ---------- Responsive for new components ---------- */
@media (max-width: 900px) {
    .hikes-timeline { grid-template-columns: 1fr; }
    .peaklog-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .peaklog-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .peak-photo { height: 84px; }
    .cl-toolbar { flex-direction: column; align-items: stretch; }
    .cl-actions { justify-content: flex-end; }
    .ridge-divider { height: 34px; }
}

/* ---------- Print: equipment checklist ---------- */
@media print {
    body.print-checklist .navbar,
    body.print-checklist .subnav,
    body.print-checklist .erasmus-hero,
    body.print-checklist .footer,
    body.print-checklist .back-to-top,
    body.print-checklist .mobile-cta,
    body.print-checklist section:not(#equipment),
    body.print-checklist .ridge-divider,
    body.print-checklist .cl-actions {
        display: none !important;
    }
    body.print-checklist { background: #fff; }
    body.print-checklist .reveal { opacity: 1 !important; transform: none !important; }
    body.print-checklist #equipment { padding: 0; }
    body.print-checklist .cl-grid { display: block; }
    body.print-checklist .equipment-category { break-inside: avoid; margin-bottom: 16px; border: 1px solid #ccc; }
}

.ridge-divider { height: 44px; }
.hero-content { padding-bottom: calc(var(--space-4xl) + 56px); }
@media (max-width: 600px) { .ridge-divider { height: 26px; } }

@media (max-width: 600px) {
    .hero-coords { font-size: 0.64rem; letter-spacing: 0.08em; }
}

/* contact card: text column next to icon */
.contact-body { flex: 1; min-width: 0; }
.contact-body .instagram-age { display: inline-block; margin-top: 6px; }

/* ---------- Map style switcher ---------- */
.map-style-switcher {
    display: flex;
    gap: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    padding: 3px;
}

.map-style-switcher button {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    padding: 5px 11px;
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.map-style-switcher button:hover { color: var(--color-primary); }

.map-style-switcher button.active {
    background: var(--color-primary);
    color: #fff;
}

[data-theme="dark"] .map-style-switcher {
    background: var(--color-surface-elevated);
    border-color: var(--color-border);
}

/* διακόπτης «Μονοπάτια» (Waymarked Trails): κουκκίδα γεμάτη όταν είναι ανοιχτά */
.map-style-switcher .mss-sep {
    width: 1px;
    margin: 4px 3px;
    background: var(--color-border);
}

.map-style-switcher button[data-overlay]::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

/* η αναφορά πηγής μένει δεξιά από την κλίμακα (maxWidth 80px), να μη σκεπάζει το «50 km» */
#hikemap .leaflet-bottom.leaflet-right { left: 96px; }

/* Αναφορά πηγής (υποχρεωτική για Esri/OSM/Waymarked): μία διακριτική γραμμή με «…» στα χρώματα
   του site, ένα κλικ την ανοίγει ολόκληρη (main.js). Χωρίς το «Leaflet» μπροστά (setPrefix(false)). */
#hikemap .leaflet-control-attribution {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    line-height: 1.7;
    padding: 1px 10px;
    color: var(--color-text-muted);
    background: rgba(250, 249, 244, 0.82);
    border-top-left-radius: var(--radius-md);
}

#hikemap .leaflet-control-attribution a { color: var(--color-text-secondary); }
#hikemap .leaflet-control-attribution.expanded { white-space: normal; }
[data-theme="dark"] #hikemap .leaflet-control-attribution { background: rgba(15, 26, 20, 0.82); }

.map-style-switcher button[data-overlay].on { color: var(--color-accent-dark); }
.map-style-switcher button[data-overlay].on::before { background: currentColor; }
[data-theme="dark"] .map-style-switcher button[data-overlay].on { color: var(--color-accent); }

/* dark mode: dim light tile styles, but never the satellite photos */
[data-theme="dark"] #hikemap[data-style="satellite"] .leaflet-tile { filter: none; }


/* =====================================================
   UI UPGRADES (contact footer, filters, motion, extras)
   ===================================================== */

/* Οι μεταβάσεις σελίδας (@view-transition) ΑΦΑΙΡΕΘΗΚΑΝ: ο Chrome πάγωνε την παλιά
   σελίδα ώσπου να ετοιμαστεί η νέα και μετά έκανε crossfade, κι αυτό έδινε την
   αίσθηση ότι κάθε κλικ «σέρνεται», ιδίως στο κινητό. */

/* ---------- Ken Burns on the hero photo ---------- */
/* Μόνο σε μεγάλες οθόνες: στο κινητό ένα 1920px που μεγεθύνεται συνεχώς κάτω από
   το θολό navbar κρατούσε τη GPU απασχολημένη σε όλη την αρχική. */
@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
    .hero-image {
        animation: kenburns 26s ease-in-out infinite alternate;
        will-change: transform;
    }
    @keyframes kenburns {
        from { transform: scale(1); }
        to   { transform: scale(1.09) translate(-1.2%, -0.8%); }
    }
}

/* ---------- Footer contact ---------- */
.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}

.footer-contact-row svg { flex-shrink: 0; opacity: 0.7; }


/* ---------- Gallery filters ---------- */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.gf-chip {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    padding: 7px 15px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.gf-chip:hover { color: var(--color-primary); border-color: var(--color-primary-lighter); }

.gf-chip.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.collage-item.gf-hide { display: none; }

/* ---------- Blur-up thumbnails ---------- */
.collage-item img.img-blur:not(.img-loaded) {
    filter: blur(14px);
    transform: scale(1.06);
}

/* ---------- FAQ search ---------- */
.faq-search {
    position: relative;
    max-width: 460px;
    margin: 0 auto var(--space-xl);
}

.faq-search svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

.faq-search input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-search input:focus {
    border-color: var(--color-primary-lighter);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}

.faq-noresults {
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 80px);
    z-index: 900;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 24px rgba(20,40,28,0.35);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    white-space: nowrap;
}

.mobile-cta.visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.mobile-cta:active { transform: translate(-50%, 2px); }

@media (min-width: 769px) {
    .mobile-cta { display: none; }
}

/* ---------- Peak cards are clickable ---------- */
.peak-card { cursor: pointer; }
.peak-card:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* ---------- Map clusters ---------- */
.fpo-cluster-wrap { background: transparent; border: none; }

.fpo-cluster {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ---------- 404: lost in the fog ---------- */
.error-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1b2a20 url('../images/banners/404.webp') center / cover no-repeat;
    padding: var(--space-xl);
}

.error-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13,22,17,0.55);
}

.error-content { position: relative; text-align: center; max-width: 560px; }

.error-code {
    font-family: var(--font-mono);
    font-size: clamp(4rem, 10vw, 6.5rem);
    font-weight: 700;
    color: #f2b880;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.error-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.error-subtitle { color: rgba(255,255,255,0.88); font-family: var(--font-serif); margin-bottom: var(--space-sm); }
.error-joke { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: var(--space-xl); }
.error-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }
.error-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,0.45); }
.error-actions .btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }

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

/* ---------- Re-application link on the CTA card ---------- */
.cta-reapply {
    display: block;
    width: fit-content;
    max-width: 560px;
    margin: var(--space-md) auto 0;
    font-family: var(--font-serif); /* ίδια με τη σημείωση της κάρτας από πάνω */
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px dashed rgba(255,255,255,0.5);
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.cta-reapply:hover { color: #fff; border-color: #fff; }

/* «σύντομα» κατάσταση: ορατή αλλά όχι κλικαμπλ */
.cta-reapply.is-soon {
    border-bottom: none;
    color: rgba(255,255,255,0.78);
    cursor: default;
}

/* λινκ εγγράφου (PDF) πάνω στην κάρτα CTA */
.cta-doclink {
    display: block;
    width: fit-content;
    margin: var(--space-sm) auto 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px dashed rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.cta-doclink:hover { color: #fff; border-color: #fff; }

/* footer: ίδια γραμματοσειρά/μέγεθος με τα διπλανά links */
.footer-reapply {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.footer-reapply.is-soon {
    color: rgba(255,255,255,0.45);
    cursor: default;
}

.soon-badge {
    display: inline-block;
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-left: 4px;
    border-radius: var(--radius-full);
    vertical-align: 1px;
}

.cta-reapply .soon-badge {
    background: rgba(255,255,255,0.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}

/* το footer είναι σκούρο και στα δύο themes */
.footer-reapply .soon-badge {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.22);
}

/* ---------- Compact single-row footer ---------- */
.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md) var(--space-xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px var(--space-lg);
}

.footer-nav a,
.footer-forms a {
    display: inline-block;
    padding: 4px 0;
    margin: 0;
}

.footer-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm) var(--space-xl);
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-forms {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}


@media (max-width: 700px) {
    .footer-main, .footer-sub { flex-direction: column; align-items: flex-start; }
    .footer-contact { gap: var(--space-sm) var(--space-lg); }
}

/* ---------- Checklist: one row of four, nicer cards ---------- */
.cl-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.cl-category {
    display: flex;
    flex-direction: column;
}

.cl-cat-icon {
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: var(--radius-md);
    background: var(--color-primary-pale);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cl-cat-head {
    align-items: center;
    gap: var(--space-sm);
    justify-content: flex-start;
}

.cl-cat-head h3 { flex: 1; font-size: 1.02rem; }

.cl-cat-count {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-primary-pale);
    padding: 3px 9px;
    border-radius: var(--radius-full);
}

[data-theme="dark"] .cl-cat-count { color: var(--color-primary-lightest); }

@media (max-width: 1120px) {
    .cl-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
}

@media (max-width: 640px) {
    .cl-grid { grid-template-columns: 1fr; }
}


/* ---------- CLS guards ---------- */
.hero-stats { min-height: 64px; }
.stat { min-width: 72px; }
@media (max-width: 640px) {
    .hero-stats { min-height: 132px; }
}

/* =====================================================
   MOBILE POLISH
   ===================================================== */

/* Modern viewport height (no jump when the URL bar hides) */
@supports (min-height: 100svh) {
    .hero { min-height: 100svh; }
}

/* Safe areas (notched phones) */
.mobile-cta { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
.back-to-top { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 1024px) {
    /* ---- Drawer menu, redesigned ---- */
    .nav-links {
        width: 86%;
        max-width: 360px;
        height: 100dvh;
        padding: calc(var(--navbar-height) + var(--space-lg)) var(--space-xl) calc(var(--space-xl) + env(safe-area-inset-bottom, 0px));
        gap: 0;
        counter-reset: navitem;
        overflow-y: auto;
    }

    .nav-links .nav-link:not(.nav-cta) {
        counter-increment: navitem;
        display: flex;
        align-items: baseline;
        gap: var(--space-md);
        padding: var(--space-md) 2px;
        font-size: 1.18rem;
        font-weight: 600;
        border-bottom: 1px solid var(--color-border-light);
        transition: color var(--transition-fast);
    }

    .nav-links .nav-link:not(.nav-cta)::before {
        content: "0" counter(navitem);
        font-family: var(--font-mono);
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--color-primary);
        opacity: 0.75;
        min-width: 1.6em;
    }

    .nav-links .nav-cta {
        margin-top: var(--space-xl);
        padding: var(--space-md);
        font-size: 1.05rem;
    }

    .drawer-extra {
        margin-top: auto;
        padding-top: var(--space-xl);
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .drawer-extra a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.88rem;
        color: var(--color-text-secondary);
        overflow-wrap: anywhere;
    }

    .drawer-extra a svg { flex-shrink: 0; color: var(--color-primary); }

    /* ---- bigger touch targets on the map switcher ---- */
    .map-style-switcher button {
        font-size: 0.74rem;
        padding: 8px 13px;
    }
}

/* ---- Lighter banner photos on small screens ---- */
@media (max-width: 640px) {
    #page-hikes .erasmus-hero-bg    { background-image: url('../images/banners-960/hikes.webp'); }
    #page-gallery .erasmus-hero-bg  { background-image: url('../images/banners-960/gallery.webp'); }
    #page-info .erasmus-hero-bg     { background-image: url('../images/banners-960/info.webp'); }
    #page-erasmus .erasmus-hero-bg  { background-image: url('../images/banners-960/erasmus.webp'); }
    #page-partners .erasmus-hero-bg { background-image: url('../images/banners-960/partners.webp'); }
    #page-merch .erasmus-hero-bg    { background-image: url('../images/banners-960/merch.webp'); }
    .cta-card                       { background-image: url('../images/banners-960/cta.webp'); }
    .error-page                     { background-image: url('../images/banners-960/404.webp'); }
}


/* drawer contacts: visible only inside the mobile menu */
.drawer-extra { display: none; }
@media (max-width: 1024px) {
    .nav-links .drawer-extra { display: flex; }
}

/* ---------- Banner coordinate labels ---------- */
.banner-coords {
    position: absolute;
    right: var(--space-xl);
    bottom: calc(44px + var(--space-md));
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.65);
    pointer-events: none;
}

@media (max-width: 640px) {
    .banner-coords {
        right: 50%;
        transform: translateX(50%);
        bottom: calc(26px + var(--space-sm));
        font-size: 0.62rem;
        white-space: nowrap;
    }
    /* λίγος αέρας πάνω από το badge στο κινητό */
    .hero-content { padding-top: var(--space-2xl); }
    .hero-badge { margin-bottom: var(--space-lg); }
}


/* hero stats: tidy wrapping with 6 items */
.hero-stats { flex-wrap: wrap; }
.stat-label { max-width: 130px; text-align: center; line-height: 1.35; }
@media (max-width: 640px) {
    .hero-stats { min-height: 210px; }
    .stat-label { font-size: 0.78rem; }
}

/* hero: λιγότερος νεκρός χώρος πάνω από το badge */
.hero-content { padding-top: var(--space-lg); }

/* map style switcher: στο κινητό γίνεται συμπτυσσόμενο μενού με εικονίδιο */
.mss-toggle { display: none; }

@media (max-width: 640px) {
    .map-style-switcher {
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--radius-md);
        row-gap: 2px;
        padding: 4px;
    }
    .map-style-switcher button {
        border-radius: var(--radius-sm);
        text-align: center;
        font-size: 0.7rem;
        padding: 7px 12px;
    }
    .mss-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-secondary);
    }
    .mss-toggle svg { width: 17px; height: 17px; }
    .map-style-switcher:not(.collapsed) .mss-toggle { color: var(--color-primary); }
    /* συμπτυγμένο: φαίνεται μόνο το εικονίδιο */
    .map-style-switcher.collapsed [data-style],
    .map-style-switcher.collapsed [data-overlay],
    .map-style-switcher.collapsed .mss-sep { display: none; }
    .map-style-switcher .mss-sep { width: auto; height: 1px; margin: 2px 4px; }
}

/* =====================================================
   In-page sticky subnav (σελίδα Πληροφορίες)
   ===================================================== */
.subnav {
    position: sticky;
    top: var(--navbar-height);
    z-index: 900;
    background: rgba(250, 249, 244, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

/* όταν «κολλήσει» κάτω από το navbar, αποκτά βάθος */
.subnav.stuck {
    background: rgba(250, 249, 244, 0.96);
    box-shadow: 0 6px 16px -8px rgba(28, 36, 30, 0.18);
}

.subnav-inner {
    position: relative;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-top: 9px;
    padding-bottom: 9px;
}

.subnav-inner::-webkit-scrollbar { display: none; }

/* κεντραρισμένο όταν χωράει, πλήρως scrollable όταν όχι */
.subnav-link:first-of-type { margin-left: auto; }
.subnav-link:last-of-type { margin-right: auto; }

.subnav-link {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-secondary);
    padding: 8px 15px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.subnav-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.subnav-link:hover {
    color: var(--color-primary);
    background: rgba(45, 106, 79, 0.07);
}

.subnav-link.active {
    color: var(--color-text-on-primary);
    background: transparent;
}

.subnav-link.active svg { opacity: 1; }
.subnav-link.active:hover { color: var(--color-text-on-primary); background: transparent; }

/* χωρίς JS-πιλότο (fallback): το ενεργό παίρνει στατικό φόντο */
.subnav:not(.has-ink) .subnav-link.active { background: var(--color-primary); }

/* το «μελάνι» — πράσινη πίλουλα που γλιστράει στο ενεργό τμήμα */
.subnav-ink {
    position: absolute;
    z-index: 0;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px -2px rgba(27, 67, 50, 0.45);
    opacity: 0;
    pointer-events: none;
}

.subnav-ink.ready {
    opacity: 1;
    transition: left 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
                width 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
                top 0.32s ease, height 0.32s ease;
}

@media (prefers-reduced-motion: reduce) {
    .subnav-ink.ready { transition: none; }
}

[data-theme="dark"] .subnav {
    background: rgba(15, 26, 20, 0.86);
    border-bottom-color: var(--color-border-light);
}

[data-theme="dark"] .subnav.stuck {
    background: rgba(15, 26, 20, 0.97);
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .subnav-link:hover {
    color: var(--color-primary-lighter);
    background: rgba(82, 183, 136, 0.1);
}

[data-theme="dark"] .subnav-link.active,
[data-theme="dark"] .subnav-link.active:hover {
    color: #1b4332; /* σκούρο κείμενο πάνω στο ανοιχτό πράσινο, όπως τα κουμπιά του dark mode */
    background: transparent;
}

/* όταν πηδάμε σε ενότητα, να μην κρύβεται ο τίτλος κάτω από το subnav
   (το html έχει ήδη scroll-padding-top για το navbar — εδώ προσθέτουμε μόνο το ύψος του subnav) */
#about, #equipment, #process, #team, #faq {
    scroll-margin-top: 52px;
}

/* =====================================================
   Micro-polish
   ===================================================== */

/* επιλογή κειμένου σε απαλό κεραμιδί */
::selection {
    background: rgba(201, 111, 59, 0.3);
}

/* καθαρά focus rings για πλοήγηση με πληκτρολόγιο */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* αίσθηση «πατήματος» στα κουμπιά */
html { -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: no-preference) {
    :where(.btn, .nav-cta, .gf-chip, .subnav-link, .faq-question,
           .map-style-switcher button, .theme-toggle, .lang-toggle,
           .back-to-top):active {
        transform: translateY(1px) scale(0.985);
        transition-duration: 60ms;
    }
}

/* placeholder όσο ο χάρτης δεν έχει φορτώσει ακόμα */
.hike-map[data-loading]:not(.leaflet-container) {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hike-map[data-loading]:not(.leaflet-container)::after {
    content: attr(data-loading);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

/* ---------- 🐐 Easter egg ---------- */
#fpoGoat {
    position: fixed;
    bottom: calc(-8px + env(safe-area-inset-bottom, 0px));
    left: 0;
    z-index: 3000;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
    will-change: transform;
    padding: 16px 18px; /* αόρατο μεγαλύτερο «στόχαστρο» για να πατιέται εύκολα */
    touch-action: manipulation; /* κινητό: τα γρήγορα tap δεν κάνουν zoom */
}

.goat-body {
    position: relative;
    display: inline-block;
    /* «τρότο»: γρήγορα βηματάκια που πατάνε στο έδαφος, όχι αιώρηση */
    animation: goat-trot 0.44s linear infinite;
}

@keyframes goat-trot {
    0%, 44%, 100% { transform: translateY(0) rotate(0deg); }
    22% { transform: translateY(-4px) rotate(-2.5deg); }
    70% { transform: translateY(-2.5px) rotate(2deg); }
}

/* όταν στέκεται (μιλάει/τη χαϊδεύεις): ήρεμη ανάσα αντί για βηματισμό επιτόπου */
.goat-body.goat-idle {
    animation: goat-idle 1.6s ease-in-out infinite alternate;
}

@keyframes goat-idle {
    from { transform: translateY(0); }
    to   { transform: translateY(-2.5px); }
}

.goat-body img {
    display: block;
    width: 56px;
    height: 56px;
}

/* γυρισμένη προς τα δεξιά (όταν επιστρέφει) */
.goat-body.goat-flip img { transform: scaleX(-1); }

/* πανικόβλητο τρέξιμο */
#fpoGoat.goat-flee .goat-body { animation-duration: 0.16s; }

/* ---- η νευριασμένη παρέα ---- */
.goat-angry {
    position: fixed;
    bottom: calc(-8px + env(safe-area-inset-bottom, 0px));
    left: 0;
    z-index: 3000;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
    will-change: transform;
    padding: 14px 16px;
    touch-action: manipulation;
}

.goat-angry .goat-body img { display: block; }

/* αγανακτισμένο ποδοβολητό */
.goat-angry .goat-body { animation-duration: 0.15s; }

.goat-mark {
    position: absolute;
    top: -15px;
    right: -9px;
    width: 15px;
    height: 15px;
    animation: goat-mark-pulse 0.45s ease-in-out infinite alternate;
}

@keyframes goat-mark-pulse {
    from { transform: scale(0.8) rotate(-6deg); opacity: 0.7; }
    to   { transform: scale(1.15) rotate(6deg); opacity: 1; }
}

@keyframes goat-bob {
    from { transform: translateY(0) rotate(-3deg); }
    to   { transform: translateY(-5px) rotate(3deg); }
}

/* κλικ πάνω στην κατσίκα -> χοροπηδάει και λέει μπεε */
#fpoGoat.goat-hop .goat-body,
.goat-angry.goat-hop .goat-body {
    animation: goat-hop 0.7s cubic-bezier(0.28, -0.35, 0.4, 1.4);
}

@keyframes goat-hop {
    0%   { transform: translateY(0) rotate(0deg); }
    38%  { transform: translateY(-52px) rotate(-10deg); }
    70%  { transform: translateY(0) rotate(3deg); }
    84%  { transform: translateY(-10px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.goat-bubble {
    position: absolute;
    bottom: calc(100% + 7px);
    left: -8px;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.goat-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

/* Οι κατσίκες είναι ΠΑΝΤΑ ζωντανές, και με «λιγότερη κίνηση» στη συσκευή (ρητή επιθυμία του Θοδωρή):
   χωρίς το βηματάκι γλιστρούσαν ευθεία. Το υπόλοιπο site σέβεται κανονικά τη ρύθμιση. */
@media (prefers-reduced-motion: reduce) {
    /* .cl-bar μπροστά: ο κανόνας του .cl-confetti πιο κάτω αλλιώς κέρδιζε και το κομφετί έσκαγε κανονικά */
    .cl-bar .cl-confetti { display: none; }
}

/* ---------- Γιορτή checklist 28/28 ---------- */
.cl-bar { position: relative; }

.cl-bar-fill.cl-done {
    animation: cl-bar-glow 0.9s ease-in-out 2;
}

@keyframes cl-bar-glow {
    50% { box-shadow: 0 0 16px rgba(45, 106, 79, 0.75); }
}

/* κομφετί σε σχήμα κορυφούλας */
.cl-confetti {
    position: absolute;
    top: -5px;
    width: 9px;
    height: 9px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    pointer-events: none;
    animation: cl-conf 1.1s ease-out forwards;
}

@keyframes cl-conf {
    from { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    to   { transform: translate(var(--dx), -52px) rotate(var(--rot)); opacity: 0; }
}

/* η κατσίκα με το σημαιάκι */
.goat-flag-walker {
    position: fixed;
    bottom: calc(-4px + env(safe-area-inset-bottom, 0px));
    left: 0;
    z-index: 3000;
    line-height: 1;
    pointer-events: none;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
    will-change: transform;
    padding: 14px 16px;
}

.goat-flag-walker .goat-body img { display: block; width: 56px; height: 56px; }

.goat-flag {
    position: absolute;
    top: -21px;
    right: -7px;
    width: 25px;
    height: 29px;
    transform-origin: bottom left;
    animation: goat-flag-wave 0.6s ease-in-out infinite alternate;
}

@keyframes goat-flag-wave {
    from { transform: rotate(-4deg); }
    to   { transform: rotate(6deg); }
}

/* ---------- Εποχιακό καπέλο κατσίκας ---------- */
/* Μετρημένο πάνω στο περίγραμμα του κεφαλιού: το «οροπέδιο» της κορυφής
   είναι στο ~22-23% του ύψους (x 10-30%), πριν σηκωθεί το κέρατο. */
.goat-hat {
    position: absolute;
    left: var(--hat-x, 10%);
    top: var(--hat-y, -1.5%);
    width: var(--hat-w, 46%);
    height: auto;
    transform: rotate(-14deg);
    transform-origin: 50% 90%;
    pointer-events: none;
    animation: goat-hat-sway 0.9s ease-in-out infinite alternate;
}

.goat-hat--sun    { --hat-x: 10%; --hat-y: -1.5%; --hat-w: 46%; }
.goat-hat--beanie { --hat-x: 10%; --hat-y: -1.5%; --hat-w: 46%; }

/* το καπέλο κουνιέται ανεπαίσθητα, σαν να το φοράει στ' αλήθεια */
@keyframes goat-hat-sway {
    from { transform: rotate(-17deg); }
    to   { transform: rotate(-10deg); }
}

/* όταν η κατσίκα κοιτάει δεξιά, το καπέλο τη συνοδεύει */
.goat-body.goat-flip .goat-hat {
    left: auto;
    right: var(--hat-x, 10%);
    animation-name: goat-hat-sway-flip;
}

@keyframes goat-hat-sway-flip {
    from { transform: scaleX(-1) rotate(-17deg); }
    to   { transform: scaleX(-1) rotate(-10deg); }
}

/* ---------- Η χαμένη της ομίχλης (404) ---------- */
.goat-lost {
    position: fixed;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    z-index: 5;
    line-height: 1;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
    pointer-events: none;
    /* περιπλανιέται: πηγαίνει λίγο δεξιά, κοντοστέκεται, γυρνάει, ψάχνει από την άλλη */
    animation: goat-wander 18s ease-in-out infinite;
}

@keyframes goat-wander {
    0%       { transform: translateX(-120px); }
    20%      { transform: translateX(55px); }
    27%      { transform: translateX(55px); }   /* στάση: πού είμαι; */
    48%      { transform: translateX(-120px); }
    56%      { transform: translateX(-120px); } /* στάση */
    72%      { transform: translateX(-10px); }
    80%      { transform: translateX(-10px); }  /* στάση */
    100%     { transform: translateX(-120px); }
}

/* το γύρισμα του σώματος προς την κατεύθυνση που περπατάει,
   με μικρά αγανακτισμένα χοπ στις στάσεις («πού είμαι;!») */
.goat-lost-turn {
    display: block;
    animation: goat-lost-face 18s linear infinite;
}

@keyframes goat-lost-face {
    0%, 19.5%   { transform: scaleX(-1) translateY(0); }  /* πάει δεξιά */
    /* στάση 1: δύο χοπ απορίας */
    21%         { transform: scaleX(-1) translateY(-7px); }
    22.5%       { transform: scaleX(-1) translateY(0); }
    24%         { transform: scaleX(-1) translateY(-7px); }
    25.5%, 26.5% { transform: scaleX(-1) translateY(0); }
    27.5%, 47.5% { transform: scaleX(1) translateY(0); }  /* γυρνάει, πάει αριστερά */
    /* στάση 2: ένα χοπ */
    50.5%       { transform: scaleX(1) translateY(-7px); }
    52%, 55.5%  { transform: scaleX(1) translateY(0); }
    56.5%, 71.5% { transform: scaleX(-1) translateY(0); } /* ξανά δεξιά */
    /* στάση 3: διπλό χοπ απελπισίας */
    74%         { transform: scaleX(-1) translateY(-8px); }
    75.5%       { transform: scaleX(-1) translateY(0); }
    77%         { transform: scaleX(-1) translateY(-8px); }
    78.5%, 79.5% { transform: scaleX(-1) translateY(0); }
    80.5%, 100% { transform: scaleX(1) translateY(0); }
}

.goat-lost img {
    display: block;
    width: 58px;
    height: 58px;
    animation: goat-trot 0.5s linear infinite;
}

.goat-lost-bubble {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    white-space: nowrap;
    animation: goat-lost-say 9s ease-in-out infinite;
}

/* το λέει πού και πού, όχι συνέχεια */
@keyframes goat-lost-say {
    0%, 12%  { opacity: 0; transform: translateX(-50%) translateY(5px); }
    18%, 55% { opacity: 1; transform: translateX(-50%) translateY(0); }
    62%, 100% { opacity: 0; transform: translateX(-50%) translateY(5px); }
}

/* ---------- Η βοηθός του FAQ (τα λέει η ίδια, κάτω από τις ερωτήσεις) ---------- */
.faq-noresults {
    text-align: center;
    padding-top: var(--space-lg);
}

.faq-goat-scene {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.faq-goat-bubble {
    display: inline-block;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 9px 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: 320px;
    box-shadow: var(--shadow-sm);
}

.faq-goat-bubble a {
    display: block;
    margin-top: 3px;
    color: var(--color-accent);
    border-bottom: none;
    text-decoration: none;
}

.faq-goat-bubble a:hover { color: var(--color-accent-dark); text-decoration: underline; }

.faq-goat-wrap {
    position: relative;
    display: inline-block;
    animation: faq-goat-idle 6s ease-in-out infinite;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18));
    will-change: transform;
}

.faq-goat {
    display: block;
    width: 54px;
    height: 54px;
}

/* ανασαίνει, χοροπηδάει περίεργη, γέρνει το κεφάλι σκεπτική */
@keyframes faq-goat-idle {
    0%, 18%   { transform: translateY(0) rotate(0deg); }
    9%        { transform: translateY(-2.5px) rotate(0deg); }
    26%       { transform: translateY(-8px) rotate(-4deg); }
    32%       { transform: translateY(0) rotate(0deg); }
    38%       { transform: translateY(-6px) rotate(3deg); }
    44%       { transform: translateY(0) rotate(0deg); }
    58%, 70%  { transform: translateY(0) rotate(-5deg); }
    80%, 100% { transform: translateY(0) rotate(0deg); }
}

/* και το συννεφάκι της αιωρείται απαλά */
.faq-goat-bubble {
    animation: faq-bubble-float 3.2s ease-in-out infinite alternate;
}

@keyframes faq-bubble-float {
    from { transform: translateY(0); }
    to   { transform: translateY(-4px); }
}

/* (η κατσίκα του 404, η βοηθός του FAQ και τα καπέλα κινούνται και με «λιγότερη κίνηση»: κατσίκες πάντα ζωντανές) */

/* =====================================================
   Merch (merch.html) · τα προϊόντα έρχονται από το data.js
   Η κάρτα ακολουθεί την κάρτα κορυφής (.peak-card) του Ημερολογίου Κορυφών.
   ===================================================== */
.merch-section { background: var(--color-bg-alt); }

.merch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-lg);
}

.merch-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.merch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-lightest);
}

/* Στη θέση της φωτογραφίας της κορυφής: τα σχέδια είναι διάφανα, οπότε από πίσω μια απαλή «σκηνή» */
.merch-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: radial-gradient(ellipse 78% 78% at 50% 38%, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

[data-theme="dark"] .merch-photo {
    background: radial-gradient(ellipse 78% 78% at 50% 38%, var(--color-surface-elevated) 0%, var(--color-bg-alt) 100%);
}

.merch-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.merch-card:hover .merch-photo img { transform: scale(1.06); }

.merch-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: var(--space-lg);
}

.merch-num {
    align-self: stretch; /* πιάνει όλο το πλάτος, ώστε η ετικέτα να πάει δεξιά */
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: var(--space-xs);
}

.merch-num-val {
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.merch-num-of {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ετικέτα (π.χ. «Νέο»), ίδια με το .peak-type */
.merch-tag {
    align-self: center;
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    border: 1px solid currentColor;
    border-radius: var(--radius-full);
    padding: 2px 9px;
}

[data-theme="dark"] .merch-tag { color: var(--color-accent); }

.merch-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

.merch-desc {
    font-family: var(--font-serif);
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.merch-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--space-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

.merch-link svg { transition: transform var(--transition-fast); }
.merch-link:hover svg { transform: translateX(3px); }

.merch-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-top: var(--space-xl);
    font-family: var(--font-serif);
    font-style: italic;
}

.merch-note a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

@media (prefers-reduced-motion: reduce) {
    .merch-photo img { transition: none; }
    .merch-card:hover .merch-photo img { transform: none; }
}

@media (max-width: 1024px) {
    .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Τελίτσες (ίδιες με των κριτικών στην αρχική): μόνο στο κινητό, όπου οι κάρτες γίνονται «σύρε» */
.merch-dots { display: none; }

.merch-dots .dot {
    position: relative;
    padding: 0;
}

/* μεγαλύτερος στόχος για το δάχτυλο, η τελίτσα μένει 10px: 24x30 ο καθένας, χωρίς να πατάει ο ένας τον άλλον
   (βήμα 10px τελίτσα + 14px κενό = 24px) */
.merch-dots .dot::before {
    content: '';
    position: absolute;
    inset: -10px -7px;
}

/* Κινητό: οι κάρτες σε οριζόντια λίστα που σύρεις, η επόμενη ξεπροβάλλει δεξιά
   (όπως το υπομενού των Πληροφοριών: overflow-x χωρίς μπάρα) */
@media (max-width: 640px) {
    .merch-grid {
        --merch-bleed: var(--space-lg); /* = το padding του .container */
        display: flex;
        gap: var(--space-md);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--merch-bleed);
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-inline: calc(-1 * var(--merch-bleed));
        padding: 2px var(--merch-bleed) var(--space-sm);
    }

    .merch-grid::-webkit-scrollbar { display: none; }

    .merch-card {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    /* στη λίστα που σύρεις δεν «σηκώνονται» (στο touch το hover κολλάει) και φαίνονται όλες αμέσως */
    .merch-card:hover { transform: none; box-shadow: none; }
    .merch-card:hover .merch-photo img { transform: none; }
    .merch-card.reveal { opacity: 1; transform: none; }

    .merch-dots {
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-top: var(--space-md);
    }

    .merch-note { margin-top: var(--space-lg); }
}

@media (max-width: 480px) {
    .merch-grid { --merch-bleed: var(--space-md); }
}

/* ---------- 🐐 Η κατσίκα-μοντέλο του merch: περνάει με το φλισάκι της ομάδας και ποζάρει ----------
   Οι κινήσεις δηλώνονται ρητά εδώ (πιο ειδικοί selectors), ώστε να μένει ζωντανή και με
   «λιγότερη κίνηση» στη συσκευή: οι κατσίκες είναι πάντα ζωντανές. */
.goat-model {
    position: fixed;
    bottom: calc(-6px + env(safe-area-inset-bottom, 0px));
    left: 0;
    z-index: 3000;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
    will-change: transform;
    padding: 16px 18px;
    touch-action: manipulation;
}

.goat-model .goat-body { animation: goat-trot 0.44s linear infinite; }
.goat-model .goat-body.goat-idle { animation: goat-idle 1.6s ease-in-out infinite alternate; }
.goat-model .goat-body.mg-strut { animation: mg-strut 1.5s ease-in-out; }
.goat-model.goat-hop .goat-body { animation: goat-hop 0.7s cubic-bezier(0.28, -0.35, 0.4, 1.4); }

.goat-model .goat-body img,
.goat-model .mg-fleece {
    display: block;
    width: 64px;
    height: 64px;
}

.goat-model .mg-fleece {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.goat-model .goat-body.goat-flip .mg-fleece { transform: scaleX(-1); }

.goat-model .goat-hat { animation: goat-hat-sway 0.9s ease-in-out infinite alternate; }
.goat-model .goat-body.goat-flip .goat-hat { animation: goat-hat-sway-flip 0.9s ease-in-out infinite alternate; }

/* ποζάρισμα: σηκώνει το κεφάλι, γέρνει, «κοιτάει την κάμερα» */
@keyframes mg-strut {
    0%   { transform: translateY(0) rotate(0deg); }
    18%  { transform: translateY(-9px) rotate(-7deg); }
    34%  { transform: translateY(0) rotate(0deg); }
    52%  { transform: translateY(-4px) rotate(5deg) scale(1.04); }
    70%  { transform: translateY(0) rotate(-2deg) scale(1.04); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* προβολέας πασαρέλας κάτω από τα πόδια της */
.mg-spot {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 120px;
    height: 26px;
    margin-left: -60px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 244, 200, 0.75), rgba(255, 244, 200, 0));
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    z-index: -1;
}

.goat-model.mg-posing .mg-spot { opacity: 1; transform: scale(1); }

/* φλας των φωτογράφων */
.mg-flash {
    position: absolute;
    width: 26px;
    height: 26px;
    pointer-events: none;
    opacity: 0;
    animation: mg-flash 0.5s ease-out forwards;
}

@keyframes mg-flash {
    0%   { opacity: 0; transform: scale(0.2) rotate(0deg); }
    25%  { opacity: 1; transform: scale(1.25) rotate(20deg); }
    100% { opacity: 0; transform: scale(0.9) rotate(45deg); }
}

/* =====================================================
   Νύχτα στην κατασκήνωση: το σκοτεινό θέμα της αρχικής
   (φωτογραφία heroNight από το data.js, αστέρια, φεγγαρόφωτο)
   ===================================================== */

/* η νυχτερινή φωτογραφία είναι ήδη σκοτεινή: πιο ελαφρύ φίλτρο ψηλά, να φαίνονται σκηνές και ουρανός */
[data-theme="dark"] .hero.is-night .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 12, 18, 0.18) 0%, rgba(8, 16, 13, 0.34) 45%, rgba(10, 18, 14, 0.84) 100%);
}

/* αστέρια: ένα pixel με πολλές σκιές (θέσεις από το renderHeroStars) */
.hero-stars {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero.is-night .hero-stars { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
    .hero.is-night .hero-stars { animation: hero-twinkle 4.2s ease-in-out infinite alternate; }
    .hero.is-night .hero-stars--b { animation-duration: 5.6s; animation-delay: -2.8s; }
}

@keyframes hero-twinkle {
    from { opacity: 1; }
    to   { opacity: 0.45; }
}

/* φεγγαρόφωτο στην κορυφογραμμή */
[data-theme="dark"] .hero.is-night .ridge-divider svg {
    filter: drop-shadow(0 -3px 7px rgba(183, 228, 199, 0.32));
}

/* ---------- 🐐 Φακός κεφαλής: τον φοράνε όλες οι κατσίκες, φαίνεται μόνο στο σκοτεινό θέμα ---------- */
.goat-lamp {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

[data-theme="dark"] .goat-lamp { display: block; }

.goat-body.goat-flip .goat-lamp { transform: scaleX(-1); }

/* ---------- Κινητό: χωρίς backdrop blur ----------
   Ένα κολλητό navbar με backdrop-filter ξαναϋπολογίζει τη θολούρα σε κάθε καρέ
   κύλισης· στα κινητά ήταν από τις κύριες αιτίες που η σελίδα «σερνόταν».
   Σχεδόν αδιαφανές φόντο: οπτικά ίδιο, χωρίς το κόστος. */
@media (max-width: 768px) {
    .navbar,
    .hero-badge,
    .subnav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .navbar { background: rgba(250, 253, 247, 0.96); }
    .navbar.scrolled { background: rgba(250, 253, 247, 0.98); }
    [data-theme="dark"] .navbar { background: rgba(15, 26, 20, 0.96); }
    [data-theme="dark"] .navbar.scrolled { background: rgba(15, 26, 20, 0.98); }
    .subnav { background: rgba(250, 249, 244, 0.98); }
    [data-theme="dark"] .subnav { background: rgba(15, 26, 20, 0.98); }
}

@media (prefers-reduced-motion: reduce) {
    .nav-links, .nav-overlay { transition: none; }
}
