/* ===================================
   ŽelezNICE — Main Stylesheet v2.0
   Full responsive revamp
   Colors: Light green & white primary
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Primary palette */
    --color-green-50: #f0f7ed;
    --color-green-100: #dcefd5;
    --color-green-200: #b8d4a8;
    --color-green-300: #96c07e;
    --color-green-400: #6fa85a;
    --color-green-500: #4a7c3f;
    --color-green-600: #3a6332;
    --color-green-700: #2d4d27;
    --color-green-800: #1f361b;
    --color-green-900: #131f11;

    /* Neutrals */
    --color-white: #ffffff;
    --color-offwhite: #fafcf8;
    --color-beige: #f5f0e8;
    --color-beige-dark: #e8dfd3;
    --color-brown-light: #c4b49a;
    --color-brown: #8a7560;
    --color-brown-dark: #5c4d3c;
    --color-text: #2c3e2c;
    --color-text-light: #5a6b5a;
    --color-text-muted: #8a9a8a;

    /* Functional */
    --color-primary: var(--color-green-400);
    --color-primary-dark: var(--color-green-500);
    --color-primary-light: var(--color-green-100);
    --color-bg: var(--color-white);
    --color-bg-alt: var(--color-green-50);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing — fluid */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-max: 1200px;
    --container-padding: clamp(16px, 4vw, 32px);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

button {
    -webkit-tap-highlight-color: transparent;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
}

.section-title {
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--color-green-500);
}

.section-title-center {
    text-align: center;
}

.section-description {
    text-align: center;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: var(--color-text-light);
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.lead-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--color-green-500);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--color-green-100);
    z-index: -1;
    border-radius: 2px;
}

/* --- Section Label --- */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--color-green-400);
    flex-shrink: 0;
}

.label-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-green-500);
    white-space: nowrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
    gap: 8px;
    white-space: nowrap;
    min-height: 48px;
    text-align: center;
}

.btn-primary {
    background: var(--color-green-500);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(74, 124, 63, 0.25);
}

.btn-primary:hover {
    background: var(--color-green-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 124, 63, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary {
    background: var(--color-green-50);
    color: var(--color-green-600);
    border: 1.5px solid var(--color-green-200);
}

.btn-secondary:hover {
    background: var(--color-green-100);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-green-600);
    border: 1.5px solid var(--color-green-300);
}

.btn-outline:hover {
    background: var(--color-green-50);
    border-color: var(--color-green-500);
}

.btn-large {
    padding: 18px 44px;
    font-size: 1.05rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
    min-height: 40px;
}

/* --- Section Base --- */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 1001;
    flex-shrink: 0;
}

.logo-zelez {
    color: var(--color-white);
    transition: color var(--transition-medium);
}

.logo-nice {
    color: var(--color-green-200);
    transition: color var(--transition-medium);
}

.navbar.scrolled .logo-zelez {
    color: var(--color-text);
}

.navbar.scrolled .logo-nice {
    color: var(--color-green-500);
}

/* Stop page navbar always scrolled look */
.navbar.navbar-dark .logo-zelez,
.stop-page .navbar .logo-zelez {
    color: var(--color-white);
}

.stop-page .navbar .logo-nice {
    color: var(--color-green-200);
}

.stop-page .navbar.scrolled .logo-zelez {
    color: var(--color-text);
}

.stop-page .navbar.scrolled .logo-nice {
    color: var(--color-green-500);
}

/* Stop page navbar uses alternate class names */
.navbar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 1001;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
}

.brand-icon {
    display: flex;
    align-items: center;
}

.brand-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-green-500);
}

.brand-text {
    font-family: var(--font-serif);
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

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

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    display: flex;
    align-items: center;
}

.navbar-menu a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.navbar-menu a:hover {
    color: var(--color-text);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width var(--transition-medium);
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-menu .nav-cta {
    padding: 8px 22px;
    border-radius: 100px;
    background: var(--color-green-500);
    color: var(--color-white) !important;
    border: 1px solid var(--color-green-500);
}

.navbar-menu .nav-cta::after {
    display: none !important;
}

.navbar-menu .nav-cta:hover {
    background: var(--color-green-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover {
    color: var(--color-white);
}

.navbar.scrolled .nav-links a {
    color: var(--color-text-light);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--color-text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width var(--transition-medium);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 22px !important;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.navbar.scrolled .nav-cta {
    background: var(--color-green-500) !important;
    color: var(--color-white) !important;
    border-color: var(--color-green-500) !important;
}

.navbar.scrolled .nav-cta:hover {
    background: var(--color-green-600) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

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

.navbar.scrolled .nav-toggle span {
    background: var(--color-text);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('../photos/hero.jpeg') center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        radial-gradient(ellipse at 20% 50%, rgba(74, 124, 63, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 212, 168, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 51, 24, 0.5) 0%, transparent 60%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(184, 212, 168, 0.3);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--container-padding);
    max-width: 900px;
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-green-200);
    margin-bottom: clamp(1rem, 3vw, 2rem);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--color-green-200);
}

.hero-title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.7s forwards;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

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

/* ===================================
   ABOUT SECTION
   =================================== */
.section-about {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-green-100);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-green-500);
    display: inline;
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 400;
    color: var(--color-green-400);
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* About visual */
.about-image-frame {
    position: relative;
}

.about-image-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(74, 124, 63, 0.1);
}

.about-image-placeholder svg {
    display: block;
    width: 100%;
    height: auto;
}

.frame-decoration {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-green-200);
    border-radius: var(--radius-md);
    z-index: -1;
}

/* ===================================
   STORY / TIMELINE SECTION
   =================================== */
.section-story {
    background: var(--color-bg-alt);
}

.story-header {
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-green-200), var(--color-green-100), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: clamp(1.5rem, 3vw, 3rem);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -60px;
    top: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-green-400);
    transition: all var(--transition-medium);
    position: relative;
    z-index: 2;
}

.timeline-dot-active {
    background: var(--color-green-500);
    border-color: var(--color-green-500);
    box-shadow: 0 0 0 6px rgba(74, 124, 63, 0.15);
}

.timeline-content {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-green-100);
    transition: all var(--transition-medium);
}

.timeline-content:hover {
    box-shadow: 0 8px 30px rgba(74, 124, 63, 0.08);
    transform: translateY(-2px);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 2.125rem;
    font-weight: 700;
    color: var(--color-green-500);
    background: var(--color-green-50);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.timeline-content h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.timeline-content p {
    color: var(--color-text-light);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    line-height: 1.8;
}

/* ===================================
   EXPERIENCE SECTION
   =================================== */
.section-experience {
    background: var(--color-bg);
}

.experience-header {
    margin-bottom: 1rem;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 20px;
}

.experience-card {
    background: var(--color-bg);
    border: 1px solid var(--color-green-100);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 2rem);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-green-400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.experience-card:hover {
    box-shadow: 0 12px 40px rgba(74, 124, 63, 0.1);
    transform: translateY(-4px);
    border-color: var(--color-green-200);
}

.experience-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 44px;
    height: 44px;
    color: var(--color-green-500);
    margin-bottom: 1.25rem;
}

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

.experience-card h3 {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

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

/* ===================================
   QUOTE SECTION
   =================================== */
.section-quote {
    padding: clamp(48px, 8vw, 80px) 0;
    background: var(--color-green-500);
}

.big-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.big-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    color: var(--color-white);
    line-height: 1.4;
    font-style: italic;
}

.big-quote cite {
    display: block;
    margin-top: 1.25rem;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* ===================================
   ECO PHILOSOPHY SECTION
   =================================== */
.section-eco {
    background: var(--color-bg-alt);
}

.eco-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.eco-text p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.eco-values {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.eco-value {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.eco-value:hover {
    background: rgba(74, 124, 63, 0.05);
}

.eco-value-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--color-green-500);
    margin-top: 2px;
}

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

.eco-value h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.eco-value p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Eco illustration */
.eco-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-illustration svg {
    width: 100%;
    max-width: 350px;
    height: auto;
    animation: gentle-rotate 60s linear infinite;
}

.eco-illustration img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

@keyframes gentle-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================
   INTERACTIVE MAP SECTION
   =================================== */
.section-map {
    background: var(--color-bg);
}

.map-header {
    margin-bottom: 1rem;
}

.trail-map-container {
    position: relative;
    background: var(--color-green-50);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 48px);
    border: 1px solid var(--color-green-100);
    overflow: visible;
}

.trail-map-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse at 10% 90%, rgba(74, 124, 63, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(74, 124, 63, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.trail-map-svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* Map stop points */
.map-stop {
    cursor: pointer;
    outline: none;
}

.map-stop:hover .stop-dot-outer,
.map-stop:focus .stop-dot-outer {
    opacity: 1;
    r: 20;
}

.map-stop:hover .stop-dot,
.map-stop:focus .stop-dot {
    fill: var(--color-green-600);
}

.stop-dot {
    transition: fill 0.3s ease;
}

.stop-dot-outer {
    transition: all 0.3s ease;
    opacity: 0;
}

.stop-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    pointer-events: none;
}

.stop-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    pointer-events: none;
}

/* Map tooltip */
.map-tooltip {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-green-100);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    max-width: 260px;
    width: max-content;
}

.map-tooltip.visible {
    opacity: 1;
    pointer-events: auto;
}

.map-tooltip-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-green-100);
    color: var(--color-green-700);
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.map-tooltip h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 6px;
}

.map-tooltip p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.map-tooltip .btn {
    width: 100%;
    font-size: 0.8rem;
    padding: 10px 16px;
    min-height: 40px;
}

/* Map legend */
.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-green-100);
    position: relative;
    z-index: 1;
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot-stop {
    background: var(--color-green-400);
}

.legend-dot-start {
    background: var(--color-green-700);
}

.legend-dot-end {
    background: var(--color-brown);
}

.legend-line {
    width: 24px;
    height: 2px;
    background: var(--color-green-300);
    border-radius: 1px;
    flex-shrink: 0;
}

/* ===================================
   VISIT SECTION
   =================================== */
.section-visit {
    background: var(--color-bg-alt);
}

.visit-header {
    margin-bottom: 1rem;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.visit-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    transition: all var(--transition-medium);
    border: 1px solid var(--color-green-100);
}

.info-card:hover {
    border-color: var(--color-green-200);
    box-shadow: 0 8px 24px rgba(74, 124, 63, 0.08);
}

.info-card-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--color-green-500);
    margin-top: 2px;
}

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

.info-card h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.info-value {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--color-green-600);
    margin-bottom: 2px !important;
    line-height: 1.2;
}

.info-detail {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Visit map embed placeholder */
.visit-map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-green-100);
    background: var(--color-white);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    text-align: center;
}

.visit-map-embed svg {
    width: 64px;
    height: 64px;
    color: var(--color-green-300);
}

.visit-map-embed p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.section-cta {
    padding: clamp(48px, 8vw, 80px) 0;
    background: var(--color-bg);
}

.cta-box {
    background: linear-gradient(135deg, var(--color-green-700), var(--color-green-500));
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(184, 212, 168, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    color: var(--color-white);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn-primary {
    background: var(--color-white);
    color: var(--color-green-600);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-primary:hover {
    background: var(--color-green-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-green-800);
    color: rgba(255, 255, 255, 0.7);
    padding: clamp(40px, 5vw, 60px) 0 clamp(20px, 3vw, 30px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(24px, 3vw, 40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand .logo-zelez {
    color: var(--color-white);
}

.footer-brand .logo-nice {
    color: var(--color-green-300);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-links li {
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-green-200);
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-tagline {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* ===================================
   ANIMATIONS (Scroll reveal)
   =================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE — TABLET (max 1024px)
   =================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
        max-width: 400px;
    }

    .eco-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .eco-visual {
        order: -1;
    }

    .eco-illustration svg {
        max-width: 260px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* ===================================
   RESPONSIVE — MOBILE (max 768px)
   =================================== */
@media (max-width: 768px) {
    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(31, 54, 27, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-medium);
        z-index: 1000;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.2rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 8px 16px !important;
    }

    .nav-links a:hover {
        color: var(--color-white) !important;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        background: var(--color-green-500) !important;
        border-color: var(--color-green-500) !important;
        color: var(--color-white) !important;
        margin-top: 8px;
    }

    /* Hamburger animation */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

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

    /* Mobile nav for stop pages */
    .mobile-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        inset: 0;
        background: rgba(31, 54, 27, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-medium);
        z-index: 1000;
    }

    .navbar-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-menu a {
        font-size: 1.2rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 8px 16px !important;
    }

    .navbar-menu a:hover {
        color: var(--color-white) !important;
    }

    .navbar-menu a::after {
        display: none;
    }

    .navbar-menu .nav-cta {
        margin-top: 8px;
    }

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

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

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

    /* Hero */
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Visit */
    .visit-info-cards {
        grid-template-columns: 1fr;
    }

    /* Timeline */
    .timeline {
        padding-left: 44px;
    }

    .timeline-marker {
        left: -44px;
        width: 32px;
        height: 32px;
    }

    .timeline-dot {
        width: 12px;
        height: 12px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    /* Frame decoration */
    .frame-decoration {
        display: none;
    }

    /* Map tooltip mobile — fixed bottom sheet */
    .map-tooltip {
        position: fixed !important;
        bottom: 16px !important;
        left: 16px !important;
        right: 16px !important;
        top: auto !important;
        max-width: none !important;
        width: auto !important;
        transform: none !important;
    }

    /* Map labels smaller */
    .stop-name {
        font-size: 8px !important;
    }
}

/* ===================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   =================================== */
@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .info-card {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trail-map-container {
        padding: 12px;
    }

    .map-legend {
        flex-direction: column;
        gap: 8px;
    }

    .stop-name {
        display: none;
    }
}

/* ===================================
   STOP PAGE STYLES
   =================================== */
.stop-page {
    padding-top: 0;
}

.stop-hero {
    background: linear-gradient(135deg, var(--color-green-700), var(--color-green-500));
    padding: clamp(32px, 6vw, 60px) 0 clamp(40px, 6vw, 80px);
    position: relative;
    overflow: hidden;
}

.stop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(184, 212, 168, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.stop-hero > * {
    position: relative;
    z-index: 1;
}

.stop-hero .stop-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.stop-hero-content {
    max-width: 700px;
}

.stop-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.stop-title em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

.stop-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.stop-hero .stop-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.7;
}

.stop-breadcrumb {
    padding: clamp(80px, 10vw, 100px) 0 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    background: linear-gradient(135deg, var(--color-green-700), var(--color-green-500));
}

.stop-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stop-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.stop-breadcrumb a:hover {
    color: var(--color-white);
}

.stop-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-sep {
    margin: 0 0.35rem;
}

.stop-content {
    padding: var(--section-padding) 0;
}

.stop-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.stop-main h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    color: var(--color-text);
}

.stop-main h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin: 2rem 0 0.75rem;
    color: var(--color-text);
}

.stop-main p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.stop-main blockquote {
    border-left: 3px solid var(--color-green-400);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: var(--color-green-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.stop-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--color-green-50);
    border: 1px solid var(--color-green-100);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.sidebar-card h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 600;
}

.sidebar-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

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

.sidebar-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-green-100);
    font-size: 0.85rem;
    gap: 12px;
}

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

.sidebar-info-list strong {
    color: var(--color-text-muted);
    font-weight: 400;
}

.sidebar-info-list span {
    color: var(--color-text);
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

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

.sidebar-checklist li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.sidebar-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green-500);
    font-weight: 700;
}

.stop-info-box {
    background: var(--color-green-50);
    border: 1px solid var(--color-green-100);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
}

.stop-info-box h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 600;
}

.stop-info-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-green-100);
    font-size: 0.85rem;
}

.stop-info-item:last-child {
    border-bottom: none;
}

.stop-info-item .info-label {
    color: var(--color-text-muted);
}

.stop-info-item .info-val {
    color: var(--color-text);
    font-weight: 500;
    text-align: right;
}

.stop-nav {
    padding: clamp(24px, 4vw, 48px) 0;
    border-top: 1px solid var(--color-green-100);
}

.stop-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stop-nav-link {
    font-size: 0.85rem;
    color: var(--color-green-600);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 100px;
    border: 1px solid var(--color-green-200);
    transition: all var(--transition-fast);
    min-height: 44px;
    background: var(--color-white);
    text-decoration: none;
}

a.stop-nav-link:hover {
    background: var(--color-green-50);
    border-color: var(--color-green-400);
}

.stop-nav-disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

.stop-nav-map {
    font-weight: 600;
}

.stop-image-placeholder {
    background: var(--color-green-50);
    border: 1px solid var(--color-green-100);
    border-radius: var(--radius-md);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin: 2rem 0;
}

/* Stop page responsive */
@media (max-width: 768px) {
    .stop-content-grid {
        grid-template-columns: 1fr;
    }

    .stop-sidebar {
        position: static;
    }

    .stop-nav-container {
        flex-direction: column;
    }

    .stop-nav-link {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   ACCESSIBILITY & SPECIAL
   =================================== */
:focus-visible {
    outline: 2px solid var(--color-green-400);
    outline-offset: 2px;
}

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

    html {
        scroll-behavior: auto;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .eco-illustration svg {
        animation: none;
    }
}

/* Print */
@media print {
    .navbar,
    .hero-particles,
    .btn,
    .map-tooltip {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .section {
        padding: 40px 0;
    }

    body {
        color: #000;
    }
}
