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

:root {
    --color-primary:    #e63946;
    --color-primary-dk: #c1121f;
    --color-dark:       #1a1a2e;
    --color-mid:        #555;
    --color-light:      #f8f9fa;
    --color-border:     #e0e0e0;
    --font-base:        'Outfit', system-ui, sans-serif;
    --radius:           12px;
    --shadow-sm:        0 2px 8px rgba(0,0,0,.08);
    --shadow-md:        0 4px 20px rgba(0,0,0,.12);
    --max-w:            960px;
}

html { scroll-behavior: smooth; scroll-snap-type: y mandatory; background: #0a0a0a; overscroll-behavior-y: none; }
body { font-family: var(--font-base); color: var(--color-dark); background: #fff; line-height: 1.6; overscroll-behavior-y: none; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .75rem 1.5rem; border-radius: 8px; font-weight: 600;
    text-decoration: none; transition: background .2s, transform .15s;
    cursor: pointer; border: 2px solid transparent; font-size: 1rem;
    white-space: nowrap;
}
.btn--primary  { background: var(--color-primary); color: #fff; }
.btn--primary:hover  { background: var(--color-primary-dk); transform: translateY(-1px); }
.btn--secondary { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--secondary:hover { background: var(--color-primary); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.85); background: transparent; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* =============================================
   Hero
   ============================================= */
.hero {
    position: relative; min-height: 100svh;
    display: flex; align-items: flex-end;
    color: #fff; overflow: hidden;
    scroll-snap-align: start;
}
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 20%;
    transform: scale(1.03);
    transition: transform 8s ease-out;
}
.hero:hover .hero__bg { transform: scale(1); }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 20, .25)  0%,
        rgba(10, 10, 20, .55) 40%,
        rgba(10, 10, 20, .88) 75%,
        rgba(10, 10, 20, .97) 100%
    );
}
.hero__content {
    position: relative; z-index: 1;
    width: 100%; max-width: var(--max-w);
    margin: 0 auto; padding: 0 1.5rem 5rem;
}
.hero__name {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700; line-height: 1.05; letter-spacing: -.02em;
}
.hero__name span { color: var(--color-primary); }
.hero__name-logo { height: .9em; width: auto; display: block; }
.hero__tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,.75); margin-top: .75rem; line-height: 1.5;
}
.hero__tags {
    display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem;
}
.hero__tag {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem 1rem; border-radius: 100px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
}
.hero__tag svg { width: 13px; height: 13px; flex-shrink: 0; }
.hero__tag strong { color: #fff; font-weight: 700; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__scroll {
    position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
    z-index: 101; color: rgba(255,255,255,.4); transition: color .2s;
    animation: bounce 2s ease-in-out infinite;
}
.hero__scroll:hover { color: rgba(255,255,255,.8); }
.hero__scroll svg { width: 28px; height: 28px; display: block; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
    background: rgba(14,14,26,.88);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    transition: background .3s;
}
.breadcrumb--transparent {
    background: rgba(10,10,10,.95);
}
.breadcrumb__inner {
    max-width: var(--max-w); margin: 0 auto;
    padding: .45rem 1.5rem;
    display: flex; align-items: center; gap: .6rem;
    font-size: .75rem;
}
.breadcrumb__item {
    color: rgba(255,255,255,.45); text-decoration: none;
    transition: color .15s; white-space: nowrap;
}
.breadcrumb__item:hover { color: rgba(255,255,255,.8); }
.breadcrumb__item--current { color: rgba(255,255,255,.75); }
.breadcrumb__sep { color: rgba(255,255,255,.2); }
.breadcrumb__item--home svg { width: 13px; height: 13px; display: block; }
.breadcrumb__actions { margin-left: auto; display: flex; gap: .5rem; }
.breadcrumb__btn {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .2rem .65rem; border-radius: 4px; font-size: .7rem; font-weight: 600;
    color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.15);
    transition: color .15s, border-color .15s;
}
.breadcrumb__btn:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.breadcrumb__btn svg { width: 11px; height: 11px; flex-shrink: 0; }

/* =============================================
   Navbar
   ============================================= */
.navbar {
    position: fixed; left: 0; right: 0; z-index: 1002;
    background: rgba(14, 14, 26, .88);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    padding: 0 1.5rem;
    transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.navbar--transparent {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
}
.navbar__container {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; align-items: center;
}
.navbar__logo {
    display: flex; align-items: center;
    text-decoration: none;
    padding: 1.5rem 1rem 1.5rem 0; margin-right: .5rem;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
    flex-shrink: 0;
}
.navbar__logo-img { height: 20px; width: auto; display: block; }
.navbar:not(.navbar--transparent) .navbar__logo {
    opacity: 1; pointer-events: auto;
}
.navbar__links {
    display: flex; align-items: center;
    gap: 0; list-style: none; overflow-x: auto; scrollbar-width: none;
    margin-left: auto;
}
.navbar__links::-webkit-scrollbar { display: none; }
.navbar__link {
    display: block; padding: 1.5rem 1.1rem;
    font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.65);
    text-decoration: none; white-space: nowrap; transition: color .15s;
}
.navbar__link:hover,
.navbar__link--active { color: #fff; }
.navbar__link--cta { margin-left: auto; color: var(--color-primary); font-weight: 600; }
.navbar__link--cta:hover { color: #fff; }
.navbar__mobile-only { display: none; }
/* Hamburger */
.navbar__hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px; margin-left: auto;
    background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.navbar__hamburger span {
    display: block; height: 2px; border-radius: 2px;
    background: rgba(255,255,255,.8); transition: transform .25s, opacity .25s;
}
.navbar--open .navbar__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar--open .navbar__hamburger span:nth-child(2) { opacity: 0; }
.navbar--open .navbar__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 680px) {
    .breadcrumb { display: none; }
    .navbar { top: 0 !important; }
    .navbar__hamburger { display: flex; }
    .navbar__mobile-only { display: block; }
    .navbar__links {
        display: none; position: fixed; inset: 0; z-index: -1;
        background: #0a0a0a;
        flex-direction: column; align-items: flex-start; justify-content: flex-end;
        padding: 2rem 2rem 4rem; gap: 0; overflow: visible;
    }
    .navbar--open .navbar__links { display: flex; }
    .navbar--open .navbar__link {
        font-size: clamp(1.75rem, 8vw, 2.25rem); font-weight: 700; letter-spacing: -.02em;
        padding: .6rem 0; color: rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.06);
        width: 100%;
    }
    .navbar--open .navbar__link:last-child { border-bottom: none; }
    .navbar--open .navbar__link:hover,
    .navbar--open .navbar__link--active { color: #fff; }
    .navbar--open .navbar__link--cta { color: #fff; background: none; padding: .6rem 0; border-radius: 0; margin-left: 0; }
    .navbar__logo { display: none; }
}

/* =============================================
   Hero – label
   ============================================= */
.hero__label {
    font-size: .8125rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--color-primary);
    margin-bottom: .75rem;
}

/* =============================================
   Areas v2 (typografický seznam)
   ============================================= */
.areas-v2 {}
.areas-v2__container { display: contents; }
.areas-v2__label { display: none; }
.areas-v2__item {
    scroll-snap-align: start;
    position: relative; overflow: hidden;
    display: flex; align-items: flex-end;
    height: 100vh;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 5rem);
    text-decoration: none; color: #fff;
}
.areas-v2__img { position: absolute; inset: 0; }
.areas-v2__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; transform: scale(1.04); filter: grayscale(1) brightness(.5); }
.areas-v2__item:hover .areas-v2__img img { transform: scale(1); }
.areas-v2__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 35%, rgba(0,0,0,.15) 70%, rgba(0,0,0,0) 100%); pointer-events: none; }
.areas-v2__content { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 2rem; width: 100%; }
.areas-v2__num { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.4); flex-shrink: 0; padding-bottom: .5rem; }
.areas-v2__title { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; flex: 1; }
.areas-v2__desc { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 22rem; padding-bottom: .25rem; }
.areas-v2__arrow { font-size: 2.5rem; color: rgba(255,255,255,.5); flex-shrink: 0; transition: transform .3s ease, color .3s; padding-bottom: .25rem; }
.areas-v2__item:hover .areas-v2__arrow { transform: translate(5px, -5px); color: #fff; }
.areas-v2__item--contact { background: #0a0a0a; cursor: default; }

.areas-v2__item--contact:hover { }
.areas-v2__content--contact { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-areas: "titleblock info social"; column-gap: 2rem; align-items: end; }
.areas-v2__title-block { grid-area: titleblock; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "num title" ". legal"; column-gap: 1rem; align-items: end; }
.areas-v2__title-block .areas-v2__num { grid-area: num; align-self: end; padding-bottom: .5rem; }
.areas-v2__title-block .areas-v2__title { grid-area: title; }
.areas-v2__contact-legal { grid-area: legal; width: auto; margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.areas-v2__contact-info { display: flex; flex-direction: column; gap: .6rem; grid-area: info; }
.areas-v2__contact-info a { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.areas-v2__contact-info a:hover { color: #fff; }
.areas-v2__contact-social { display: flex; gap: 1.25rem; align-items: center; grid-area: social; }
.areas-v2__contact-social a { color: rgba(255,255,255,.4); transition: color .2s; }
.areas-v2__contact-social a:hover { color: #fff; }
.areas-v2__contact-social svg { width: 28px; height: 28px; display: block; }
.areas-v2__tv-btn {
    display: inline-flex; align-items: center; gap: .875rem;
    padding: .75rem 1.25rem .75rem 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    color: #fff; text-decoration: none; width: fit-content; margin-top: .5rem;
    transition: background .25s, border-color .25s, transform .2s;
}
.areas-v2__tv-btn:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.38);
    transform: translateY(-2px);
}
.areas-v2__tv-btn-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.15); border-radius: 8px;
}
.areas-v2__tv-btn-icon svg { width: 18px; height: 18px; }
.areas-v2__tv-btn-text { display: flex; flex-direction: column; gap: .1rem; }
.areas-v2__tv-btn-label { font-size: .9rem; font-weight: 700; line-height: 1.2; }
.areas-v2__tv-btn-sub { font-size: .75rem; color: rgba(255,255,255,.6); font-weight: 400; }
.areas-v2__contact-legal { grid-area: legal; width: auto; margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.areas-v2__contact-legal span { font-size: .75rem; color: rgba(255,255,255,.35); line-height: 1.5; }
@media (max-width: 680px) {
    .areas-v2__item { padding: 1.5rem 1.5rem 2.5rem; }
    .areas-v2__content { flex-wrap: wrap; gap: .75rem; }
    .areas-v2__num { display: none; }
    .areas-v2__desc { font-size: .9rem; max-width: 100%; }
    .areas-v2__title { font-size: clamp(2rem, 10vw, 3rem); flex: 1; }
    .areas-v2__arrow { font-size: 2rem; padding-bottom: 0; align-self: center; }
    .areas-v2__desc { flex: 1 1 100%; }
    .areas-v2__content--contact { grid-template-columns: 1fr; grid-template-areas: "titleblock" "info" "social"; row-gap: 1.25rem; column-gap: 0; }
    .areas-v2__contact-info a { font-size: clamp(1.1rem, 5vw, 1.4rem); }
    .areas-v2__contact-social { gap: 1.5rem; }
    .areas-v2__contact-social svg { width: 26px; height: 26px; }
}

/* =============================================
   Areas (3 karty)
   ============================================= */
.areas { padding: 72px 1.5rem; }
.areas__header {
    max-width: var(--max-w); margin: 0 auto 2.5rem;
}
.areas__heading {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 700;
    color: var(--color-mid); letter-spacing: -.01em;
}
.areas__container {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

.area-card {
    display: flex; flex-direction: column;
    padding: 1.75rem; border-radius: var(--radius);
    border: 1px solid var(--color-border); background: #fff;
    transition: box-shadow .2s, transform .2s; text-decoration: none;
    color: var(--color-dark);
}
.area-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.area-card__icon {
    width: 48px; height: 48px; border-radius: 10px;
    background: var(--color-light); display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem; color: var(--color-primary);
}
.area-card__icon svg { width: 24px; height: 24px; }
.area-card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.area-card__desc  { font-size: .9rem; color: var(--color-mid); line-height: 1.6; flex: 1; }
.area-card__link  {
    display: inline-block; margin-top: 1.25rem;
    font-size: .875rem; font-weight: 600; color: var(--color-primary);
}

/* =============================================
   Banners (Spolupráce + Vzdálená pomoc)
   ============================================= */
.banners { padding: 0 1.5rem; }
.banners__container {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--color-border);
}

.banner {
    display: flex; flex-direction: column; gap: 1.5rem;
    padding: 56px 3rem 56px 0;
}
.banner + .banner {
    padding-left: 3rem; padding-right: 0;
    border-left: 1px solid var(--color-border);
}
.banner--remote { background: transparent; }

.banner__icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--color-light); display: flex; align-items: center; justify-content: center;
    color: var(--color-primary); flex-shrink: 0;
}
.banner__icon svg { width: 22px; height: 22px; }

.banner__text h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.banner__text p  { font-size: .9375rem; color: var(--color-mid); line-height: 1.65; }

.btn--ghost-dark {
    display: inline-flex; align-items: center;
    padding: .75rem 1.5rem; border-radius: 8px; font-weight: 600;
    border: 2px solid var(--color-border); color: var(--color-dark);
    background: transparent; transition: border-color .2s, color .2s;
    cursor: pointer; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.btn--ghost-dark:hover { border-color: var(--color-dark); }

/* =============================================
   Footer
   ============================================= */
.footer { background: var(--color-dark); color: rgba(255,255,255,.7); padding: 3rem 1.5rem 0; }
.footer__container { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__col { display: flex; flex-direction: column; gap: .6rem; }
.footer__logo { height: 20px; width: auto; filter: brightness(0) invert(1); display: block; align-self: flex-start; }
.footer__tagline { font-size: .8125rem; color: rgba(255,255,255,.4); margin-bottom: .25rem; }
.footer__contact { display: flex; flex-direction: column; gap: .3rem; }
.footer__contact a { color: rgba(255,255,255,.8); font-size: .9rem; }
.footer__contact a:hover { color: #fff; }
.footer__meta { font-size: .75rem; color: rgba(255,255,255,.3); margin-top: .25rem; }
.footer__legal { font-size: .7rem; color: rgba(255,255,255,.2); margin-top: .2rem; line-height: 1.5; }
.footer__col-title { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.3); margin-bottom: .25rem; }
.footer__nav { display: flex; flex-direction: column; gap: .45rem; }
.footer__nav a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .15s; }
.footer__nav a:hover { color: #fff; }
.footer__social { display: flex; flex-direction: column; gap: .6rem; }
.footer__social a { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.65); font-size: .9rem; transition: color .15s; }
.footer__social a:hover { color: #fff; }
.footer__social svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer__bottom { max-width: var(--max-w); margin: 0 auto; padding: 1.25rem 0; font-size: .75rem; color: rgba(255,255,255,.25); display: flex; flex-direction: column; gap: .3rem; }
@media (max-width: 700px) { .footer__container { grid-template-columns: 1fr; gap: 2rem; } }

/* =============================================
   Page header (obecný)
   ============================================= */
.page-header {
    background: var(--color-light); border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 1.5rem 2rem;
}
.page-header__container { max-width: var(--max-w); margin: 0 auto; }
.page-header__back {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .875rem; font-weight: 500; color: var(--color-mid);
    text-decoration: none; margin-bottom: 1.25rem; transition: color .15s;
}
.page-header__back svg { width: 16px; height: 16px; }
.page-header__back:hover { color: var(--color-primary); }
.page-header__back--light { color: rgba(255,255,255,.7); }
.page-header__back--light:hover { color: #fff; }
.page-header__title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.15; }
.page-header__subtitle { margin-top: .5rem; font-size: 1rem; color: var(--color-mid); }

/* =============================================
   Trek status badges
   ============================================= */
.trek-status {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .25rem .75rem; border-radius: 100px;
    font-size: .75rem; font-weight: 600; letter-spacing: .02em;
    white-space: nowrap;
}
.trek-status--completed { background: #dcfce7; color: #166534; }
.trek-status--upcoming  { background: #fef9c3; color: #854d0e; }
.trek-status--live      { background: #fee2e2; color: #991b1b; }
.trek-status__dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: currentColor; animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.7); }
}

/* =============================================
   Trek index
   ============================================= */

/* Trek index hero */
.treks-hero {
    position: relative; min-height: 55vh;
    display: flex; align-items: flex-end;
    color: #fff; overflow: hidden;
}
.treks-hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 30%;
    filter: grayscale(1) brightness(.5);
    transform: scale(1.03);
}
.treks-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,20,.2) 0%, rgba(10,10,20,.85) 100%);
}
.treks-hero__content {
    position: relative; z-index: 1;
    width: 100%; max-width: var(--max-w);
    margin: 0 auto; padding: 0 1.5rem 3.5rem;
}
.treks-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
    margin: .5rem 0 .75rem;
}
.treks-hero__sub { font-size: 1rem; color: rgba(255,255,255,.65); }

/* Dark page wrapper */
.page--dark { background: #0d0d0d; }

.treks-section { padding: 48px 1.5rem 80px; }
.treks-section--dark { background: #0d0d0d; }
.treks-container { max-width: var(--max-w); margin: 0 auto; }
.treks-empty { color: var(--color-mid); font-size: 1rem; }
.treks-empty--dark { color: rgba(255,255,255,.4); }

/* Trek list (horizontal rows) */
.trek-list { display: flex; flex-direction: column; }
.trek-row {
    display: grid; grid-template-columns: 2rem 380px 1fr auto;
    align-items: center; gap: 2rem;
    padding: 2rem 0;
    text-decoration: none; color: var(--color-dark);
    position: relative;
}
.trek-row::before {
    content: ''; position: absolute; left: -1.5rem; top: 0; bottom: 0;
    width: 3px; background: var(--color-primary);
    transform: scaleY(0); transition: transform .25s ease;
    transform-origin: bottom;
}
.trek-row:hover::before { transform: scaleY(1); }
.trek-row__num {
    font-size: .75rem; font-weight: 700; color: rgba(0,0,0,.2);
    letter-spacing: .05em; align-self: start; padding-top: .2rem;
}
.trek-row__cover {
    position: relative; aspect-ratio: 4/3; overflow: hidden;
    border-radius: var(--radius); background: var(--color-light); flex-shrink: 0;
}
.trek-row__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.trek-row:hover .trek-row__cover img { transform: scale(1.05); }
.trek-row__body { min-width: 0; }
.trek-row__meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .6rem; font-size: .8125rem; }
.trek-row__countries { position: absolute; bottom: .6rem; left: .6rem; display: flex; gap: .3rem; }
.trek-row__countries .fi,
.trek-hero__country .fi { border-radius: 2px; }
.trek-row__year { color: #bbb; font-size: .8rem; }
.trek-row__title { font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: .9rem; }
.trek-row__arrow {
    font-size: 1.25rem; color: rgba(0,0,0,.2);
    transition: transform .25s, color .25s; flex-shrink: 0;
}
.trek-row:hover .trek-row__arrow { transform: translateX(5px); color: var(--color-dark); }

@media (max-width: 768px) {
    .trek-row { grid-template-columns: 1fr; gap: 1rem; }
    .trek-row__num { display: none; }
    .trek-row__arrow { display: none; }
    .trek-row::before { display: none; }
}
.treks-empty--dark { color: rgba(255,255,255,.4); }
.treks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trek-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    background: #fff; overflow: hidden; text-decoration: none; color: var(--color-dark);
    transition: box-shadow .2s, transform .2s;
}
.trek-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.trek-card--live { border-color: #fca5a5; }

/* Dark variant */
.trek-card--dark {
    background: #1a1a1a; border-color: rgba(255,255,255,.08); color: #fff;
}
.trek-card--dark:hover { box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.trek-card--dark .trek-card__meta { color: rgba(255,255,255,.4); }
.trek-card--dark .trek-card__year { color: rgba(255,255,255,.3); }
.trek-card--dark .trek-card__title { color: #fff; }
.trek-card--dark .trek-stat { color: rgba(255,255,255,.5); }

.trek-card__cover {
    position: relative; aspect-ratio: 16/9; overflow: hidden;
    background: var(--color-light);
}
.trek-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.trek-card:hover .trek-card__cover img { transform: scale(1.04); }
.trek-card__cover-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: #ccc;
}
.trek-card__cover-placeholder--dark { background: #111; color: rgba(255,255,255,.2); }
.trek-card__cover-placeholder svg { width: 48px; height: 48px; }
.trek-status { position: static; }
.trek-card__cover .trek-status {
    position: absolute; top: .75rem; left: .75rem;
}

.trek-card__body { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.trek-card__meta {
    display: flex; align-items: center; justify-content: space-between;
    font-size: .8125rem; color: var(--color-mid); margin-bottom: .5rem;
}
.trek-card__countries { font-weight: 500; }
.trek-card__year { color: #aaa; }
.trek-card__title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; margin-bottom: .75rem; }
.trek-card__stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: auto; }
.trek-stat {
    display: flex; align-items: center; gap: .35rem;
    font-size: .8125rem; font-weight: 600; color: var(--color-mid);
}
.trek-stat svg { width: 14px; height: 14px; flex-shrink: 0; }

/* =============================================
   Trek hero (detail)
   ============================================= */
.trek-hero {
    position: relative; padding: 0;
    background: var(--color-light); border-bottom: 1px solid var(--color-border);
    min-height: 320px; display: flex; align-items: flex-end;
}
.trek-hero--photo { min-height: 440px; color: #fff; }
.trek-hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 30%;
}
.trek-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,20,.1) 0%, rgba(10,10,20,.8) 100%);
}
.trek-hero__content {
    position: relative; z-index: 1;
    width: 100%; max-width: var(--max-w);
    margin: 0 auto; padding: 2.5rem 1.5rem 2.5rem;
}
.trek-hero:not(.trek-hero--photo) .trek-hero__content { color: var(--color-dark); }
.trek-hero__badges { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.trek-hero__country {
    display: inline-block; padding: .2rem .6rem; border-radius: 4px;
    background: rgba(255,255,255,.15); font-size: .8rem; font-weight: 600;
    border: 1px solid rgba(255,255,255,.25);
}
.trek-hero:not(.trek-hero--photo) .trek-hero__country {
    background: var(--color-light); border-color: var(--color-border); color: var(--color-mid);
}
.trek-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700;
    line-height: 1.1; letter-spacing: -.02em;
}
.trek-hero__dates { margin-top: .6rem; font-size: .9375rem; opacity: .75; }

/* =============================================
   Trek detail
   ============================================= */

/* ── Layout ─────────────────────────────────────────────── */
.td { padding-bottom: 80px; }
.td__wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Stats bar ──────────────────────────────────────────── */
.td-stats {
    display: flex; flex-wrap: wrap;
    margin: 2.5rem 0 2.75rem;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.07);
    border: 1px solid #ebebeb;
    overflow: hidden;
}
.td-stats__item {
    flex: 1; min-width: 100px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1.375rem 1rem; text-align: center;
    border-right: 1px solid #f0f0f0; position: relative;
}
.td-stats__item:last-child { border-right: none; }
.td-stats__item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--color-primary); opacity: 0;
    transition: opacity .2s;
}
.td-stats__item:hover::before { opacity: 1; }
.td-stats__val {
    font-size: 1.5rem; font-weight: 800; color: #111827;
    line-height: 1; letter-spacing: -.02em;
}
.td-stats__val small {
    font-size: .6875rem; font-weight: 500; color: #9ca3af;
    margin-left: .2em; letter-spacing: 0;
}
.td-stats__lbl {
    font-size: .7rem; color: #9ca3af; margin-top: .45rem;
    text-transform: uppercase; letter-spacing: .06em; font-weight: 500;
}

/* ── Section title ──────────────────────────────────────── */
.td__section-title {
    font-size: 1.0625rem; font-weight: 700; color: #111827;
    margin: 0 0 1.25rem;
    display: flex; align-items: center; gap: .5rem;
}
.td__section-title::before {
    content: ''; display: block; width: 3px; height: 1em;
    background: var(--color-primary); border-radius: 2px; flex-shrink: 0;
}

/* ── Two-column body ────────────────────────────────────── */
.td__body {
    display: grid;
    grid-template-columns: 1fr 256px;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
    align-items: start;
}
.td__body--full { grid-template-columns: 1fr; }
.td__text { min-width: 0; }
.td__text .trek-content { max-width: none; }

/* ── Sidebar ────────────────────────────────────────────── */
.td__aside {
    display: flex; flex-direction: column; gap: .875rem;
    position: sticky; top: calc(var(--navbar-h, 56px) + 60px);
}
.td-link-card {
    display: flex; align-items: center; gap: .875rem;
    padding: .875rem 1rem; border-radius: 10px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: transform .2s, box-shadow .2s;
}
.td-link-card:hover { transform: translateY(-2px); box-shadow: 0 4px 18px rgba(0,0,0,.09); }
.td-link-card--yt  { background: #fff7f7; border-color: #fecaca; }
.td-link-card--gear { background: #f0fdf4; border-color: #bbf7d0; }
.td-link-card__icon {
    width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.td-link-card--yt .td-link-card__icon  { background: #fee2e2; color: #dc2626; }
.td-link-card--gear .td-link-card__icon { background: #dcfce7; color: #16a34a; }
.td-link-card__body { flex: 1; min-width: 0; }
.td-link-card__title { display: block; font-size: .875rem; font-weight: 700; color: #111827; }
.td-link-card__sub   { display: block; font-size: .75rem; color: #6b7280; margin-top: .1rem; }
.td-link-card__arrow { color: #9ca3af; font-size: .875rem; flex-shrink: 0; }

/* Průměry za den (sidebar card) */
.td-avgs {
    padding: 1.125rem; border-radius: 10px;
    background: #f9fafb; border: 1px solid #e5e7eb;
}
.td-avgs__title {
    display: block; margin-bottom: .875rem;
    font-size: .7rem; font-weight: 700; color: #9ca3af;
    text-transform: uppercase; letter-spacing: .07em;
}
.td-aside-chart { background: #fff; border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.td-aside-chart__title { font-size: .7rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 .75rem; }
.td-avgs__grid { display: flex; flex-direction: column; gap: .75rem; }
.td-avgs__item { display: flex; align-items: baseline; justify-content: space-between; }
.td-avgs__val  { font-size: 1.25rem; font-weight: 800; color: #111827; letter-spacing: -.02em; }
.td-avgs__unit { font-size: .75rem; color: #6b7280; margin-left: .25rem; }

/* ── Generic section ────────────────────────────────────── */
.td__section { margin-bottom: 3rem; }
.td__section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.25rem; flex-wrap: wrap; gap: .75rem;
}
.td__section-head .td__section-title { margin-bottom: 0; }

/* ── Map ────────────────────────────────────────────────── */
#trek-map { border-radius: var(--radius); overflow: hidden; height: 420px; }
.td__map-chart-col #trek-map { height: auto; }

/* ── Mapa + profil vedle sebe ───────────────────────────── */
.td__map-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
@media (max-width: 860px) { .td__map-chart { grid-template-columns: 1fr; } }
.td__map-chart-col { display: flex; flex-direction: column; }
.td__map-chart-col #trek-map { flex: 1; height: auto; min-height: 300px; }
.td__map-chart-col .trek-chart-wrap { flex: 1; }

/* ── Výškový profil ─────────────────────────────────────── */
.trek-chart-wrap { position: relative; background: #f9fafb; border-radius: var(--radius); padding: 1.25rem; }
.trek-chart-wrap canvas { max-width: 100%; display: block; }

/* ── Fotogalerie ────────────────────────────────────────── */
.td__section--gallery { }
.td-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: .375rem;
    border-radius: var(--radius);
    overflow: hidden;
}
.td-gallery__item {
    display: block; overflow: hidden; cursor: zoom-in;
    background: #f3f4f6;
}
.td-gallery__item:first-child {
    grid-column: span 2; grid-row: span 2;
}
.td-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.td-gallery__item:hover img { transform: scale(1.05); }

/* Mobile */
@media (max-width: 860px) {
    .td__body { grid-template-columns: 1fr; gap: 2.5rem; }
    .td__aside { position: static; flex-direction: row; flex-wrap: wrap; }
    .td-link-card { flex: 1; min-width: 200px; }
    .td-avgs { flex: 0 0 auto; width: 100%; }
    .td-avgs__grid { flex-direction: row; flex-wrap: wrap; gap: .75rem 2rem; }
}
@media (max-width: 600px) {
    .td-stats__item { min-width: 30%; }
    .td-stats__val { font-size: 1.25rem; }
    .td-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
    .td__aside { flex-direction: column; }
    .td-link-card { min-width: 0; }
}

/* Obsah (EditorJS bloky) */
.trek-content { max-width: 720px; }
.trek-content__p { font-size: .9375rem; line-height: 1.8; color: #333; margin-bottom: 1rem; }
.trek-content__p mark { background: #fef08a; padding: 0 .15em; border-radius: 2px; }
.trek-content__p a { color: #1d4ed8; text-decoration: underline; }
.trek-content__p a:hover { color: #1e40af; }
.trek-content__h2 { font-size: 1.375rem; font-weight: 700; margin: 2rem 0 .75rem; }
.trek-content__h3 { font-size: 1.125rem; font-weight: 700; margin: 1.5rem 0 .5rem; }

/* Seznam */
.trek-content__list { font-size: .9375rem; line-height: 1.8; color: #333; margin: 0 0 1rem 1.5rem; }
.trek-content__list li { margin-bottom: .25rem; }
.trek-content__list--ul { list-style: disc; }
.trek-content__list--ol { list-style: decimal; }

/* Citát */
.trek-content__quote {
    margin: 1.5rem 0; padding: 1.25rem 1.5rem;
    border-left: 4px solid #e63946; background: #fafafa;
    border-radius: 0 8px 8px 0;
}
.trek-content__quote p { font-size: 1.0625rem; line-height: 1.7; font-style: italic; margin: 0 0 .5rem; }
.trek-content__quote cite { font-size: .8125rem; color: var(--color-mid); font-style: normal; }

/* Upozornění */
.trek-content__warning {
    margin: 1.5rem 0; padding: 1rem 1.25rem;
    background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
}
.trek-content__warning-title { display: block; font-size: .875rem; font-weight: 700; color: #92400e; margin-bottom: .35rem; }
.trek-content__warning p { font-size: .9375rem; line-height: 1.7; color: #78350f; margin: 0; }

/* Oddělovač */
.trek-content__delimiter { border: none; border-top: 2px dashed #e5e7eb; margin: 2rem 0; }

/* Tabulka */
.trek-content__table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.trek-content__table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.trek-content__table th,
.trek-content__table td { padding: .6rem .9rem; border: 1px solid #e5e7eb; text-align: left; }
.trek-content__table th { background: #f9fafb; font-weight: 700; color: #111827; }
.trek-content__table tr:nth-child(even) td { background: #fafafa; }

/* Obrázek */
.trek-content__figure { margin: 1.5rem 0; }
.trek-content__figure img { width: 100%; border-radius: 8px; }
.trek-content__figure figcaption { font-size: .8125rem; color: var(--color-mid); margin-top: .5rem; text-align: center; }

/* Galerie v bloku */
.trek-content__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .5rem; margin: 1.5rem 0;
}
.trek-content__gallery-item { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.trek-content__gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.trek-content__gallery-item:hover img { transform: scale(1.04); }

/* Lightbox */
#lb {
    display: none; position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,.92);
    align-items: center; justify-content: center;
}
.lb-img-wrap {
    max-width: calc(100vw - 120px); max-height: calc(100vh - 80px);
    display: flex; align-items: center; justify-content: center;
}
.lb-img {
    max-width: 100%; max-height: calc(100vh - 80px);
    border-radius: 6px; object-fit: contain;
    box-shadow: 0 8px 48px rgba(0,0,0,.6);
    display: block;
}
.lb-arrow {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.12); border: none; color: #fff;
    font-size: 1.5rem; width: 48px; height: 48px; border-radius: 50%;
    cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.lb-arrow:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-close {
    position: fixed; top: 14px; right: 16px;
    background: rgba(255,255,255,.12); border: none; color: #fff;
    font-size: .875rem; width: 36px; height: 36px; border-radius: 50%;
    cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-counter {
    position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.6); font-size: .8125rem; letter-spacing: .05em;
    pointer-events: none;
}
@media (max-width: 600px) {
    .lb-img-wrap { max-width: 100vw; }
    .lb-arrow { width: 40px; height: 40px; font-size: 1.25rem; }
    .lb-prev { left: 6px; }
    .lb-next { right: 6px; }
}

/* Etapa dne */
.trek-content__stage {
    margin: 1.5rem 0; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden;
    background: #fafafa;
}
.trek-content__stage-header {
    display: flex; align-items: center; gap: .75rem;
    padding: .875rem 1.25rem; background: #111827; color: #fff;
}
.trek-content__stage-day {
    font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    background: #e63946; color: #fff; padding: .2em .6em; border-radius: 4px; white-space: nowrap;
}
.trek-content__stage-name { font-size: .9375rem; font-weight: 600; }
.trek-content__stage-stats {
    display: flex; gap: 1.25rem; padding: .625rem 1.25rem;
    font-size: .8125rem; color: var(--color-mid); border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
.trek-content__stage-stats span { display: flex; align-items: center; gap: .35rem; }
.trek-content__stage-notes { padding: .875rem 1.25rem; font-size: .9rem; line-height: 1.75; color: #333; background: #fff; }

/* Embed */
.trek-content__embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; margin: 1.5rem 0; }
.trek-content__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* YouTube link */
.trek-yt-link {
    display: inline-flex; align-items: center; gap: .75rem;
    padding: 1rem 1.5rem; border-radius: var(--radius);
    background: #fee2e2; color: #991b1b; font-weight: 600; font-size: .9375rem;
    text-decoration: none; transition: background .2s;
}
.trek-yt-link:hover { background: #fecaca; }
.trek-yt-link svg { width: 20px; height: 20px; flex-shrink: 0; }

/* GPX stažení */
.trek-gpx-bar { margin-top: 1rem; }
.trek-gpx-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .25rem .55rem; border-radius: var(--radius);
    background: #f0fdf4; color: #166534; font-weight: 600; font-size: .72rem;
    text-decoration: none; transition: background .2s; border: 1px solid #bbf7d0;
}
.trek-gpx-btn:hover { background: #dcfce7; }
.trek-gpx-btn svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Galerie */
.trek-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .75rem;
}
.trek-gallery__item { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.trek-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.trek-gallery__item:hover img { transform: scale(1.05); }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
    .hero__content { padding-bottom: 4rem; }

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

    .banners__container { grid-template-columns: 1fr; }
    .banner { padding: 40px 0; }
    .banner + .banner { padding-left: 0; border-left: none; border-top: 1px solid var(--color-border); }
}

/* =============================================
   Media Kit (/spoluprace) – přeneseno z youtube.vaclavpavlu.cz
   ============================================= */
:root {
    --color-primary:     #e63946;
    --color-primary-dk:  #c1121f;
    --color-dark:        #1a1a2e;
    --color-mid:         #444;
    --color-light:       #f8f9fa;
    --color-border:      #e0e0e0;
    --color-accent:      #457b9d;
    --font-base:         'Outfit', system-ui, sans-serif;
    --radius:            12px;
    --shadow-sm:         0 2px 8px rgba(0,0,0,.08);
    --shadow-md:         0 4px 20px rgba(0,0,0,.12);
    --max-w:             1200px;
    --section-gap:       80px;
}
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: background .2s, transform .15s; cursor: pointer; border: 2px solid transparent; font-size: 1rem; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dk); transform: translateY(-1px); }
.btn--secondary { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--secondary:hover { background: var(--color-primary); color: #fff; }
.btn--large { padding: 1rem 2rem; font-size: 1.125rem; }
.section { padding: var(--section-gap) 1.5rem; }
.section:nth-child(even) { background: var(--color-light); }
.section__container { max-width: var(--max-w); margin: 0 auto; }
.section__title { font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.section__subtitle, .section__period { color: var(--color-mid); margin-bottom: 2rem; font-size: .9375rem; }
.section__empty { color: var(--color-mid); font-style: italic; }
/* Media kit hero */
.mk-hero {
    position: relative; min-height: 55vh;
    display: flex; align-items: flex-end;
    color: #fff; overflow: hidden;
}
.mk-hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 40%;
    filter: grayscale(1) brightness(.5);
    transform: scale(1.03);
}
.mk-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,20,.2) 0%, rgba(10,10,20,.85) 100%);
}
.mk-hero__content {
    position: relative; z-index: 1;
    width: 100%; max-width: var(--max-w);
    margin: 0 auto; padding: 0 1.5rem 3.5rem;
}
.mk-hero__title { margin: .5rem 0 .75rem; }
.mk-hero__logo { height: .9em; width: auto; display: block; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.mk-hero__claim { font-size: 1rem; color: rgba(255,255,255,.65); max-width: 42rem; }
.mk-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; margin-bottom: 1.25rem; }
.mk-hero__updated { display: flex; align-items: center; gap: .35rem; font-size: .8125rem; color: rgba(255,255,255,.4); }
.mk-hero__updated svg { width: 14px; height: 14px; flex-shrink: 0; }
.site-nav { position: sticky; top: 0; z-index: 100; background: var(--color-dark); border-bottom: 1px solid rgba(255,255,255,.1); padding: 0 1.5rem; }
.site-nav__container { max-width: var(--max-w); margin: 0 auto; }
.site-nav__list { display: flex; align-items: center; gap: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.site-nav__list::-webkit-scrollbar { display: none; }
.site-nav__link { display: block; padding: .875rem 1rem; font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.65); text-decoration: none; white-space: nowrap; transition: color .15s; }
.site-nav__link:hover { color: #fff; }
.site-nav__link--active { color: #fff; }
.site-nav__link--cta { margin-left: auto; color: var(--color-primary); font-weight: 600; }
.site-nav__link--cta:hover { color: #fff; }
@media (max-width: 640px) { .site-nav__link { padding: .75rem .625rem; font-size: .75rem; } }
.about__content p { margin-bottom: 1rem; }
.about__content ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1rem; }
.about__highlights { display: flex; gap: 0; margin-bottom: 2.5rem; border-bottom: 2px solid var(--color-border); }
.about__highlight { flex: 1; padding: 1.5rem 2rem; border-right: 1px solid var(--color-border); }
.about__highlight:last-child { border-right: none; }
.about__highlight-value { display: block; font-size: 2.75rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.about__highlight-label { display: block; font-size: .875rem; color: var(--color-mid); margin-top: .4rem; }
.kpis__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.kpi-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--color-border); }
.kpi-card--accent { border-color: var(--color-primary); background: #fff5f5; }
.kpi-card__value { font-size: 2rem; font-weight: 700; color: var(--color-dark); line-height: 1; }
.kpi-card--accent .kpi-card__value { color: var(--color-primary); }
.kpi-card__label { font-size: .8125rem; font-weight: 500; color: var(--color-mid); margin-top: .5rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi-card__note { font-size: .6875rem; color: #bbb; margin-top: .25rem; font-style: italic; }
.kpis__disclaimer { font-size: .8125rem; color: #999; margin-top: 1rem; font-style: italic; }
.audience__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.audience__block { background: var(--color-light); border-radius: 10px; padding: 1.125rem 1.25rem; border: 1px solid var(--color-border); transition: box-shadow .2s; }
.audience__block:hover { box-shadow: var(--shadow-sm); }
.audience__block-title { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.audience__note { font-size: .75rem; color: #999; margin-top: .75rem; font-style: italic; }
.country-list { list-style: none; }
.country-list__item { display: flex; align-items: center; gap: .5rem; margin-bottom: .625rem; font-size: .875rem; }
.country-list__code { font-weight: 600; min-width: 2.5rem; }
.country-list__bar-wrap { flex: 1; background: var(--color-border); border-radius: 4px; height: 8px; overflow: hidden; }
.country-list__bar { height: 100%; background: var(--color-accent); border-radius: 4px; transition: width .4s; }
.country-list__pct { min-width: 3.5rem; text-align: right; color: var(--color-mid); }
.device-list { list-style: none; }
.device-list__item { display: flex; align-items: center; gap: .5rem; margin-bottom: .625rem; font-size: .875rem; }
.device-list__label { min-width: 5rem; font-weight: 500; }
.device-list__bar-wrap { flex: 1; background: var(--color-border); border-radius: 4px; height: 8px; overflow: hidden; }
.device-list__bar { height: 100%; background: var(--color-primary); border-radius: 4px; }
.device-list__pct { min-width: 3.5rem; text-align: right; color: var(--color-mid); }
.demo-gender { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
.demo-gender__item { text-align: center; }
.demo-gender__label { display: block; font-size: .75rem; color: var(--color-mid); }
.demo-gender__value { display: block; font-size: 1.5rem; font-weight: 700; }
.demo-age__item { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; font-size: .8125rem; }
.demo-age__label { min-width: 5rem; }
.demo-age__bar-wrap { flex: 1; background: var(--color-border); border-radius: 4px; height: 7px; overflow: hidden; }
.demo-age__bar { height: 100%; background: var(--color-accent); border-radius: 4px; }
.demo-age__value { min-width: 3rem; text-align: right; color: var(--color-mid); }
.growth__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .growth__grid { grid-template-columns: 1fr 1fr; } }
.growth__chart-block { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); overflow: hidden; }
.growth__chart-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.growth__chart-header h3 { font-size: 1rem; font-weight: 600; }
.chart-updated { font-size: .75rem; color: #bbb; }
.chart-container { position: relative; min-height: 220px; overflow: hidden; width: 100%; }
.chart-placeholder { display: flex; align-items: center; justify-content: center; height: 220px; color: #bbb; font-size: .875rem; }
.chart-error { text-align: center; color: #bbb; font-size: .875rem; padding: 3rem 0; }
.chart-note { font-size: .75rem; color: #bbb; margin-top: .5rem; font-style: italic; }
.growth__chart-block--wide { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); margin-bottom: 2rem; overflow: hidden; }
.growth__chart-block--wide .chart-container { min-height: 320px; }
.yearly-growth-layout { display: flex; gap: 2rem; align-items: flex-start; margin-top: .5rem; }
.yearly-growth-layout #chart-yearly-growth { flex: 1 1 0; min-width: 0; }
.yearly-growth-layout .yearly-growth-table-wrap { flex: 1 1 0; min-width: 0; }
@media (max-width: 700px) { .yearly-growth-layout { flex-direction: column; } }
.yearly-growth-table-wrap { overflow-x: auto; }
.yearly-growth-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.yearly-growth-table th { text-align: left; padding: .5rem .75rem; font-weight: 600; color: #555; border-bottom: 2px solid var(--color-border); white-space: nowrap; }
.yearly-growth-table td { padding: .5rem .75rem; border-bottom: 1px solid var(--color-border); color: #333; }
.yearly-growth-table tbody tr:last-child td { border-bottom: none; }
.yearly-growth-table tbody tr:hover td { background: #f8f9fa; }
.yearly-table__partial { display: inline-block; margin-left: .4em; font-size: .7rem; font-weight: 500; color: #fff; background: var(--color-primary, #e63946); border-radius: 3px; padding: 1px 5px; vertical-align: middle; }
.yearly-badge { display: inline-block; margin-left: .4em; font-size: .7rem; font-weight: 600; border-radius: 3px; padding: 1px 5px; vertical-align: middle; }
.yearly-badge--up { color: #1a7f3c; background: #d4edda; }
.yearly-badge--down { color: #842029; background: #f8d7da; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.video-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); background: #fff; }
.video-card__thumb-link { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-card__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-card__thumb-link:hover .video-card__thumb { transform: scale(1.04); }
.video-card__thumb-placeholder { width: 100%; height: 100%; background: var(--color-border); }
.video-card__badge { position: absolute; top: .5rem; left: .5rem; background: var(--color-primary); color: #fff; font-size: .6875rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px; }
.video-card__duration { position: absolute; bottom: .5rem; right: .5rem; background: rgba(0,0,0,.75); color: #fff; font-size: .75rem; padding: .15rem .4rem; border-radius: 4px; }
.video-card__body { padding: 1rem; }
.video-card__title { font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; line-height: 1.4; }
.video-card__title a { text-decoration: none; }
.video-card__title a:hover { color: var(--color-primary); }
.video-card__date { font-size: .8125rem; color: var(--color-mid); margin-bottom: .5rem; }
.video-card__stats { display: flex; flex-wrap: wrap; gap: .5rem; }
.video-card__stat { font-size: .8125rem; color: var(--color-mid); }
.cooperation__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.cooperation__item { position: relative; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; transition: box-shadow .2s; }
.cooperation__item:hover { box-shadow: var(--shadow-md); }
.cooperation__item--featured { border-color: var(--color-primary); }
.cooperation__badge { position: absolute; top: 1rem; right: 1rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--color-primary); border-radius: 4px; padding: .2rem .55rem; }
.cooperation__icon { margin-bottom: .75rem; color: var(--color-primary); }
.cooperation__icon svg { width: 2rem; height: 2rem; display: block; }
.cooperation__item h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.cooperation__item p { font-size: .9rem; color: var(--color-mid); line-height: 1.5; }
.cooperation__cta-text { margin-top: 2rem; text-align: center; font-size: .95rem; color: var(--color-mid); }
.cooperation__cta-link { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.cooperation__cta-link:hover { text-decoration: underline; }
.reasons__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.reason { padding: 1.5rem; border-left: 4px solid var(--color-primary); }
.reason h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.reason p { font-size: .9rem; color: var(--color-mid); }
.reason__data { font-size: .875rem; color: var(--color-accent); margin-top: .5rem; }
.contact { background: var(--color-dark) !important; color: #fff; }
.contact__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.contact__title { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.contact__subtitle { color: rgba(255,255,255,.75); margin-bottom: 2rem; line-height: 1.7; }
.contact__actions { margin-bottom: 2rem; }
.contact__note { font-size: .875rem; color: rgba(255,255,255,.5); max-width: 480px; margin: 0 auto; }
.footer { background: #111; padding: 2rem 1.5rem; }
.mediakit .footer__container { display: block; max-width: 100%; }
.footer__data-note { font-size: .8125rem; color: #555; text-align: center; line-height: 1.7; }
.audience-profile__lead { color: var(--color-mid); margin-bottom: 1.75rem; line-height: 1.7; max-width: 680px; }
.audience-profile__lead strong { color: var(--color-dark); }
.audience-profile__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.audience-profile__grid > * { min-width: 0; }
@media (max-width: 767px) { .audience-profile__grid { grid-template-columns: 1fr; } }
.ap-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.125rem 1.25rem; background: var(--color-light); border-radius: 10px; border: 1px solid var(--color-border); transition: box-shadow .2s; }
.ap-card:hover { box-shadow: var(--shadow-sm); }
.ap-card__icon { font-size: 1.375rem; flex-shrink: 0; line-height: 1; margin-top: .1rem; }
.ap-card__body { display: flex; flex-direction: column; gap: .25rem; }
.ap-card__label { font-size: .9rem; font-weight: 600; color: var(--color-dark); }
.ap-card__text { font-size: .8375rem; color: var(--color-mid); line-height: 1.5; }
.ap-card--stat { flex-direction: column; gap: .5rem; }
.ap-card--stat .ap-card__stat { font-size: 2.25rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.ap-card--stat .ap-card__stat--icon { font-size: 2rem; color: var(--color-primary); }
.ap-card--stat .ap-card__stat--icon svg { width: 36px; height: 36px; color: var(--color-primary); display: block; stroke-width: 2.5; }
.ap-card--stat .ap-card__label { font-size: .85rem; font-weight: 600; color: var(--color-mid); text-transform: uppercase; letter-spacing: .04em; }
.ap-card--stat .ap-card__text { font-size: .8375rem; color: var(--color-mid); line-height: 1.5; margin-top: .25rem; }
@media (max-width: 640px) {
    .section__title { font-size: 1.5rem; }
    .mk-hero__actions { justify-content: center; }
    .kpis__grid { grid-template-columns: repeat(2, 1fr); }
    .growth__grid { grid-template-columns: 1fr; }
}

/* ── Live info panel ───────────────────────────────────── */
.td-live-info {
    margin: 2rem 0 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff; padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.td-live-info__header {
    display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
}
.td-live-info__seen { font-size: .8rem; color: rgba(255,255,255,.6); }
.td-live-info__grid {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.td-live-info__item { text-align: center; min-width: 80px; }
.td-live-info__val { display: block; font-size: 1.25rem; font-weight: 700; }
.td-live-info__lbl { display: block; font-size: .7rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; margin-top: .2rem; }
