/* =================================================================
   VisitArdino — дизайн система
   Родопска палитра: горско зелено, топъл камък, стара позлата
   ================================================================= */

/* ---------- 1. Токени --------------------------------------------- */

:root {
    /* Основни */
    --forest-900: #0E241C;
    --forest-800: #133024;
    --forest-700: #17402F;
    --forest-600: #1E5340;
    --forest-500: #2A6B52;
    --forest-300: #6FA48C;
    --forest-100: #D7E7DF;

    --gold-600:   #96692A;
    --gold-500:   #B8873B;
    --gold-400:   #CFA45B;
    --gold-200:   #EBD9B4;
    --gold-50:    #F8F1E2;

    --clay-500:   #A8542F;
    --clay-200:   #EBD2C6;

    /* Неутрални */
    --sand-50:    #FCFAF6;
    --sand-100:   #F6F2EA;
    --sand-200:   #EDE7DB;
    --sand-300:   #DFD7C7;

    /* Семантични — светла тема */
    --bg:         var(--sand-50);
    --bg-alt:     var(--sand-100);
    --surface:    #FFFFFF;
    --surface-2:  var(--sand-100);
    --ink:        #14201A;
    --ink-2:      #3C4B43;
    --muted:      #6E7C73;
    --line:       #E5DECF;
    --line-soft:  #F0EADD;
    --accent:     var(--gold-600);
    --accent-ink: #FFFFFF;
    --brand:      var(--forest-700);
    --brand-ink:  #FFFFFF;

    --ok:         #2E7D53;
    --warn:       #B4741B;
    --danger:     #B33A2B;

    /* Форма */
    --r-xs: 6px;
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(20, 32, 26, .06);
    --shadow-sm: 0 2px 10px rgba(20, 32, 26, .06);
    --shadow:    0 12px 32px -12px rgba(20, 32, 26, .18);
    --shadow-lg: 0 32px 64px -24px rgba(20, 32, 26, .28);

    /* Типография */
    --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
    --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --step--1: clamp(.82rem, .8rem + .1vw, .875rem);
    --step-0:  clamp(.95rem, .92rem + .15vw, 1.0625rem);
    --step-1:  clamp(1.1rem, 1.04rem + .3vw, 1.3rem);
    --step-2:  clamp(1.35rem, 1.2rem + .7vw, 1.75rem);
    --step-3:  clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
    --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);
    --step-5:  clamp(2.6rem, 1.7rem + 4vw, 5rem);

    /* Ритъм */
    --wrap: 1240px;
    --wrap-narrow: 820px;
    --gutter: clamp(1.15rem, .6rem + 2.4vw, 3rem);
    --section: clamp(3.5rem, 2rem + 6vw, 7rem);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    color-scheme: light;
}

[data-theme="dark"] {
    --bg:        #0D1A15;
    --bg-alt:    #112119;
    --surface:   #14241C;
    --surface-2: #1A2E24;
    --ink:       #EEF3EF;
    --ink-2:     #C3D0C8;
    --muted:     #90A197;
    --line:      #24382D;
    --line-soft: #1D2E25;
    --accent:    var(--gold-400);
    --accent-ink:#12211A;
    --brand:     var(--forest-500);
    --shadow:    0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 32px 64px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
}

/* ---------- 2. Основа --------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--step-0);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

/* Базов размер на вградените иконки. Без него SVG без зададени
   размери се разтяга до ширината на контейнера. */
.ico {
    width: 1.15em; height: 1.15em;
    flex: none; display: inline-block; vertical-align: -.15em;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-sans); font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-200); color: var(--forest-900); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--forest-800); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- 3. Оформление ------------------------------------------ */

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.bg-alt { background: var(--bg-alt); }
.bg-dark {
    background: var(--forest-800);
    color: #EAF2ED;
    --ink: #FFFFFF; --ink-2: #CBDCD2; --muted: #92AA9E;
    --line: rgba(255,255,255,.14); --line-soft: rgba(255,255,255,.08);
    --surface: rgba(255,255,255,.05);
}

.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.g-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.grid > * { min-width: 0; }
.split > * { min-width: 0; }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.flex { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.between { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.hide-sm { display: initial; }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

/* ---------- 4. Типографски елементи -------------------------------- */

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before {
    content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55;
}
.eyebrow.no-rule::before { display: none; }

.lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.serif { font-family: var(--font-display); }
.italic { font-style: italic; }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 2rem; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); flex-wrap: wrap;
}
.section-head h2 { margin-bottom: .2em; max-width: 18ch; }
.section-head p { max-width: 52ch; color: var(--muted); margin: 0; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 5. Бутони ---------------------------------------------- */

.btn {
    --btn-bg: var(--forest-700);
    --btn-fg: #fff;
    --btn-bd: var(--forest-700);
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.5rem;
    background: var(--btn-bg); color: var(--btn-fg);
    border: 1px solid var(--btn-bd); border-radius: var(--r-pill);
    font: inherit; font-weight: 600; font-size: var(--step--1);
    letter-spacing: .01em; cursor: pointer;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
                background .25s, color .25s, border-color .25s;
    text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(20,50,38,.55); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; flex: none; }

.btn-gold { --btn-bg: var(--gold-500); --btn-bd: var(--gold-500); --btn-fg: #1C1408; }
.btn-gold:hover { --btn-bg: var(--gold-400); box-shadow: 0 10px 24px -10px rgba(150,105,42,.6); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-ghost:hover { --btn-bg: var(--surface-2); --btn-bd: var(--ink-2); box-shadow: var(--shadow-sm); }

.btn-light { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.3); }
.btn-light:hover { --btn-bg: #fff; --btn-fg: var(--forest-800); --btn-bd: #fff; }

.btn-sm { padding: .55rem 1.05rem; font-size: .8rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--step-0); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 600; font-size: var(--step--1); color: var(--ink);
    padding-bottom: 3px; border-bottom: 1px solid var(--line); width: fit-content;
    transition: gap .3s var(--ease-out), border-color .3s, color .3s;
}
.link-arrow .ico { width: 17px; height: 17px; transition: transform .3s var(--ease-out); }
.link-arrow:hover { gap: .85rem; border-color: var(--accent); color: var(--accent); }

/* ---------- 6. Чипове и значки ------------------------------------- */

.chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .38rem .8rem; border-radius: var(--r-pill);
    background: var(--surface-2); border: 1px solid var(--line-soft);
    font-size: .78rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.chip .ico { width: 15px; height: 15px; }
.chip-gold { background: var(--gold-50); border-color: var(--gold-200); color: var(--gold-600); }
.chip-solid { background: var(--forest-700); color: #fff; border-color: transparent; }

.badge {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .25rem .6rem; border-radius: var(--r-xs);
    font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge-new  { background: #E6F3EC; color: #1F6B47; }
.badge-warn { background: #FBF0DC; color: #8B5D12; }
.badge-off  { background: #F3E7E5; color: #96382B; }
.badge-info { background: #E7EEF6; color: #2A5580; }
[data-theme="dark"] .badge-new  { background: rgba(46,125,83,.2);  color: #7FD3A6; }
[data-theme="dark"] .badge-warn { background: rgba(180,116,27,.2); color: #E8BC72; }
[data-theme="dark"] .badge-off  { background: rgba(179,58,43,.2);  color: #E79C90; }
[data-theme="dark"] .badge-info { background: rgba(42,85,128,.25); color: #9CC2E8; }

.rating {
    display: inline-flex; align-items: center; gap: .3rem;
    font-weight: 700; font-size: .82rem; color: var(--ink);
}
.rating .ico { width: 15px; height: 15px; color: var(--gold-500); fill: var(--gold-500); }

.stars { display: inline-flex; gap: 1px; color: var(--gold-500); }
.stars .ico { width: 14px; height: 14px; fill: currentColor; }

/* ---------- 7. Хедър ------------------------------------------------ */

.topbar {
    background: var(--forest-900); color: #B9CEC3;
    font-size: .78rem; letter-spacing: .01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; }
.topbar a:hover { color: var(--gold-400); }
.topbar .ico { width: 14px; height: 14px; }
.topbar-links { display: flex; gap: 1.25rem; align-items: center; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--line-soft);
    transition: background .35s var(--ease), border-color .35s, box-shadow .35s, transform .4s var(--ease);
}
.site-header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; min-height: 76px;
}


.logo { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.logo img { width: 46px; height: 46px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b {
    font-family: var(--font-display); font-size: 1.32rem; font-weight: 600;
    letter-spacing: -.02em; color: var(--ink);
}
.logo-text span {
    font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
    color: var(--muted); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
    position: relative; padding: .6rem .9rem; border-radius: var(--r-sm);
    font-size: .9rem; font-weight: 600; color: var(--ink-2);
    transition: color .25s, background .25s;
}
.nav-link::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .35rem;
    height: 1.5px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px; border-radius: var(--r-pill);
    background: transparent; border: 1px solid var(--line); color: var(--ink);
    cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.icon-btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.icon-btn .ico { width: 19px; height: 19px; }
.icon-btn .ico-moon { display: none; }
[data-theme="dark"] .icon-btn .ico-sun { display: none; }
[data-theme="dark"] .icon-btn .ico-moon { display: block; }

.burger { display: none; }

@media (max-width: 1040px) {
    .nav { display: none; }
    .burger { display: inline-grid; }
    .header-cta { display: none; }
}

/* Мобилно меню */
.mobile-nav {
    position: fixed; inset: 0; z-index: 200;
    background: var(--forest-900); color: #fff;
    display: grid; grid-template-rows: auto 1fr auto;
    overflow: hidden auto;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav .mn-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem var(--gutter); }
.mobile-nav .mn-head .icon-btn { color: #fff; border-color: rgba(255,255,255,.25); }
.mobile-nav nav { display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); gap: .2rem; }
.mobile-nav nav a {
    font-family: var(--font-display); font-size: clamp(1.3rem, 6vw, 2.3rem);
    line-height: 1.25; overflow-wrap: break-word;
    padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.08);
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .25s;
}
.mobile-nav.open nav a { opacity: 1; transform: none; }
.mobile-nav nav a:hover { color: var(--gold-400); }
.mobile-nav .mn-foot { padding: 1.5rem var(--gutter) 2.5rem; color: #94AEA2; font-size: .85rem; }
.mobile-nav .mn-foot a { color: var(--gold-400); }

/* ---------- 8. Hero ------------------------------------------------- */

.hero {
    position: relative; isolation: isolate;
    min-height: clamp(560px, 92vh, 900px);
    display: grid; align-items: end;
    padding-top: 140px; padding-bottom: clamp(2.5rem, 5vw, 5rem);
    color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img, .hero-bg .hero-fallback {
    width: 100%; height: 100%; object-fit: cover;
    animation: kenburns 26s ease-in-out infinite alternate;
}
.hero-fallback { background: linear-gradient(150deg, var(--forest-700), var(--forest-900) 60%, #24170C); }
@keyframes kenburns {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(105deg, rgba(9,24,18,.88) 0%, rgba(9,24,18,.62) 38%, transparent 68%),
        linear-gradient(to top, rgba(9,24,18,.92) 0%, rgba(9,24,18,.45) 42%, rgba(9,24,18,.22) 72%, rgba(9,24,18,.55) 100%);
}

.hero-inner { position: relative; }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 {
    font-size: var(--step-5); max-width: 15ch; margin-bottom: .35em;
    text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero-sub { font-size: var(--step-1); max-width: 46ch; color: rgba(255,255,255,.86); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.hero-stats {
    display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap;
    padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats div b {
    display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 500; line-height: 1;
}
.hero-stats div span {
    font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62);
}

.scroll-hint {
    position: absolute; right: var(--gutter); bottom: 2.5rem;
    writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
    color: rgba(255,255,255,.6); display: flex; align-items: center; gap: .9rem;
}
.scroll-hint::after {
    content: ""; width: 1px; height: 52px;
    background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
    animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }
@media (max-width: 900px) { .scroll-hint { display: none; } }

/* Компактен hero за вътрешни страници */
.page-hero {
    position: relative; isolation: isolate; color: #fff;
    padding: clamp(9rem, 16vh, 12rem) 0 clamp(3rem, 6vw, 4.5rem);
    background: var(--forest-800); overflow: hidden;
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, rgba(9,24,18,.94), rgba(9,24,18,.62));
}
.page-hero h1 { margin-bottom: .25em; max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 60ch; font-size: var(--step-1); }

.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 1.1rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs span.sep { opacity: .5; }

/* ---------- 9. Търсачка --------------------------------------------- */

.searchbar {
    display: flex; align-items: stretch; gap: .5rem; flex-wrap: wrap;
    background: rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.22);
    padding: .5rem; border-radius: var(--r-lg);
    max-width: 720px;
}
.searchbar .sb-field { flex: 1 1 200px; display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem; }
.searchbar .sb-field .ico { width: 19px; height: 19px; color: rgba(255,255,255,.75); flex: none; }
.searchbar input, .searchbar select {
    flex: 1; min-width: 0; background: transparent; border: 0; color: #fff;
    font: inherit; font-size: .95rem; padding: 0;
}
.searchbar input::placeholder { color: rgba(255,255,255,.6); }
.searchbar input:focus, .searchbar select:focus { outline: none; }
.searchbar select option { color: var(--ink); background: var(--surface); }
.searchbar .sb-sep { width: 1px; background: rgba(255,255,255,.2); margin: .4rem 0; }
@media (max-width: 640px) { .searchbar .sb-sep { display: none; } .searchbar .btn { width: 100%; } }

/* Светъл вариант на търсачката */
.searchbar-light {
    background: var(--surface); border-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.searchbar-light input, .searchbar-light select { color: var(--ink); }
.searchbar-light input::placeholder { color: var(--muted); }
.searchbar-light .sb-field .ico { color: var(--muted); }
.searchbar-light .sb-sep { background: var(--line); }

/* ---------- 10. Плочки категории ------------------------------------ */

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

.cat-tile {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--r-lg); min-height: 340px;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.6rem; color: #fff;
    background: var(--forest-700);
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-tile img {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.1s var(--ease-out), filter .6s;
    filter: saturate(.9) brightness(.86);
}
.cat-tile:hover img { transform: scale(1.09); filter: saturate(1.02) brightness(.94); }
.cat-tile::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, rgba(9,24,18,.96) 6%, rgba(9,24,18,.62) 46%, rgba(9,24,18,.34));
    transition: opacity .5s;
}
.cat-tile .ct-icon {
    position: absolute; top: 1.4rem; left: 1.4rem;
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: var(--r-pill); background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cat-tile .ct-icon .ico { width: 21px; height: 21px; }
.cat-tile h3 { font-size: var(--step-2); margin-bottom: .15em; }
.cat-tile .ct-count { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.cat-tile .ct-go {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem;
    font-size: .82rem; font-weight: 600;
    opacity: 0; transform: translateY(8px);
    transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.cat-tile:hover .ct-go { opacity: 1; transform: none; }
.cat-tile .ct-go .ico { width: 16px; height: 16px; }
@media (hover: none) { .cat-tile .ct-go { opacity: 1; transform: none; } }

/* ---------- 11. Карта на обект --------------------------------------- */

.card {
    position: relative;
    background: var(--surface); border: 1px solid var(--line-soft);
    border-radius: var(--r-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media .ph {
    width: 100%; height: 100%; display: grid; place-items: center;
    background: linear-gradient(145deg, var(--forest-600), var(--forest-800));
    color: rgba(255,255,255,.6);
}
.card-media .ph .ico { width: 40px; height: 40px; }

/* Генеративен пейзаж вместо липсваща снимка */
.ph-svg { width: 100%; height: 100%; object-fit: cover; display: block;
          transition: transform 1s var(--ease-out); }
.card:hover .ph-svg { transform: scale(1.07); }
.hero-bg .ph-svg, .ph-bg .ph-svg { animation: kenburns 26s ease-in-out infinite alternate; }

.card-tags { position: absolute; top: .85rem; left: .85rem; display: flex; gap: .4rem; flex-wrap: wrap; z-index: 2; }
.card-tags .chip {
    background: rgba(12,28,21,.62); border-color: rgba(255,255,255,.22); color: #fff;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.card-tags .chip-gold { background: var(--gold-500); color: #1C1408; border-color: transparent; }

.card-fav {
    position: absolute; top: .85rem; right: .85rem; z-index: 2;
    width: 36px; height: 36px; border-radius: var(--r-pill);
    display: grid; place-items: center;
    background: rgba(12,28,21,.55); color: #fff; border: 1px solid rgba(255,255,255,.2);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: .74rem; font-weight: 700;
}

.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; gap: .55rem; }
.card-body h3 {
    font-size: var(--step-1); font-family: var(--font-sans); font-weight: 700;
    letter-spacing: -.015em; margin: 0; line-height: 1.25;
}
.card-body h3 a { transition: color .25s; }
.card:hover .card-body h3 a { color: var(--accent); }
.card-loc { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--muted); }
.card-loc .ico { width: 15px; height: 15px; flex: none; }
.card-desc { font-size: .875rem; color: var(--ink-2); line-height: 1.55; margin: 0; }
.card-foot {
    margin-top: auto; padding-top: .95rem; border-top: 1px solid var(--line-soft);
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.card-price b { font-size: 1.05rem; font-weight: 700; }
.card-price small { color: var(--muted); font-size: .76rem; display: block; margin-top: -2px; }
.card-amen { display: flex; gap: .45rem; color: var(--muted); }
.card-amen .ico { width: 17px; height: 17px; }

/* Хоризонтална карта (списък) */
.card-row { flex-direction: row; align-items: stretch; }
.card-row .card-media { aspect-ratio: auto; width: min(38%, 300px); flex: none; }
.card-row .card-body { padding: 1.4rem 1.6rem; }
@media (max-width: 700px) {
    .card-row { flex-direction: column; }
    .card-row .card-media { width: 100%; aspect-ratio: 16/10; }
}

/* Наслагваща връзка върху цялата карта */
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- 12. Редакционен блок -------------------------------------- */

.split {
    display: grid; gap: clamp(2rem, 4vw, 4.5rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    align-items: center;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.split-media .badge-float {
    position: absolute; right: -12px; bottom: -18px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: 1rem 1.25rem; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: .85rem; max-width: 260px;
}
.split-media .badge-float .ico { width: 26px; height: 26px; color: var(--accent); flex: none; }
.split-media .badge-float b { display: block; font-size: .95rem; }
.split-media .badge-float span { font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) { .split-media .badge-float { position: static; margin-top: 1rem; max-width: none; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.facts div { border-left: 2px solid var(--gold-500); padding-left: .9rem; }
.facts b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; font-weight: 500; }
.facts span { font-size: .78rem; color: var(--muted); }

/* ---------- 13. Събития ------------------------------------------------ */

.event-row {
    display: flex; gap: 1.5rem; align-items: center;
    padding: 1.35rem 0; border-bottom: 1px solid var(--line);
    transition: padding-left .4s var(--ease-out);
    position: relative;
}
.event-row:hover { padding-left: .75rem; }
.event-row:first-child { border-top: 1px solid var(--line); }
.date-block {
    flex: none; width: 76px; text-align: center;
    border: 1px solid var(--line); border-radius: var(--r-sm); padding: .55rem .3rem;
    background: var(--surface); transition: background .35s, color .35s, border-color .35s;
}
.date-block b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; font-weight: 500; }
.date-block span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.event-row:hover .date-block { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }
.event-row:hover .date-block span { color: rgba(255,255,255,.72); }
.event-info { flex: 1; min-width: 0; }
.event-info h3 { font-size: var(--step-1); font-family: var(--font-sans); font-weight: 700; margin: 0 0 .2rem; }
.event-info p { margin: 0; font-size: .85rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.event-info p span { display: inline-flex; align-items: center; gap: .35rem; }
.event-info .ico { width: 14px; height: 14px; }
.event-row .ev-go { flex: none; color: var(--muted); transition: transform .35s var(--ease-out), color .35s; }
.event-row:hover .ev-go { transform: translateX(5px); color: var(--accent); }
@media (max-width: 620px) { .event-row .ev-go { display: none; } }

.event-card .card-media { aspect-ratio: 16/10; }
.event-card .date-chip {
    position: absolute; left: .85rem; top: .85rem; z-index: 2;
    background: var(--surface); border-radius: var(--r-sm); padding: .45rem .7rem; text-align: center;
    box-shadow: var(--shadow-sm);
}
.event-card .date-chip b { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.event-card .date-chip span { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* ---------- 14. Страница на обект -------------------------------------- */

.place-gallery {
    display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr; height: clamp(300px, 46vw, 520px);
    border-radius: var(--r-lg); overflow: hidden; margin-top: -3.5rem; position: relative; z-index: 3;
}
.place-gallery a, .place-gallery .pg-item { position: relative; overflow: hidden; background: var(--surface-2); }
.place-gallery a:first-child { grid-row: span 2; }
.place-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.place-gallery a:hover img { transform: scale(1.06); }
.place-gallery .more {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(10,26,20,.6); color: #fff; font-weight: 700; font-size: 1rem;
}
@media (max-width: 800px) {
    .place-gallery { grid-template-columns: 1fr 1fr; height: 300px; margin-top: -2rem; }
    .place-gallery a:first-child { grid-column: span 2; grid-row: auto; }
    .place-gallery a:nth-child(n+4) { display: none; }
}

.place-layout {
    display: grid; gap: clamp(2rem, 4vw, 3.5rem);
    grid-template-columns: minmax(0, 1fr) 380px; align-items: start;
}
/* min-width:0 пази grid колоните от разтягане заради широко съдържание */
.place-layout > * { min-width: 0; }
@media (max-width: 1000px) { .place-layout { grid-template-columns: minmax(0, 1fr); } }

.place-title-row { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.place-title-row h1 { font-size: var(--step-3); margin-bottom: .2em; }

.meta-list { display: flex; gap: 1.25rem; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.meta-list span { display: inline-flex; align-items: center; gap: .4rem; }
.meta-list .ico { width: 16px; height: 16px; }

.block { padding-block: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; padding-top: 0; }
.block h2 { font-size: var(--step-2); margin-bottom: .7em; }
.block h3 { font-size: var(--step-1); }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .85rem 1.5rem; }
.amenity-grid li { display: flex; align-items: center; gap: .65rem; font-size: .9rem; }
.amenity-grid .ico { width: 18px; height: 18px; color: var(--accent); flex: none; }
ul.clean { list-style: none; padding: 0; margin: 0; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--line-soft); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours-table tr.today td { color: var(--accent); font-weight: 700; }

/* Стаи */
.room {
    display: flex; gap: 1.25rem; padding: 1.1rem; border: 1px solid var(--line);
    border-radius: var(--r); background: var(--surface);
    transition: border-color .3s, box-shadow .3s;
}
.room:hover { border-color: var(--gold-200); box-shadow: var(--shadow-sm); }
.room-img { width: 150px; flex: none; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); aspect-ratio: 4/3; }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.room-body h3 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 700; margin: 0; }
.room-price { text-align: right; flex: none; display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.room-price b { font-size: 1.25rem; }
.room-price small { color: var(--muted); font-size: .74rem; }
@media (max-width: 640px) {
    .room { flex-wrap: wrap; }
    .room-img { width: 100%; aspect-ratio: 16/9; }
    .room-price { text-align: left; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- 15. Меню на ресторант --------------------------------------- */

.menu-tabs {
    display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .6rem; margin-bottom: 1.75rem;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.menu-tabs button {
    flex: none; padding: .55rem 1.1rem; border-radius: var(--r-pill);
    border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
    font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}
.menu-tabs button:hover { border-color: var(--gold-400); color: var(--accent); }
.menu-tabs button.active { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }

.menu-section + .menu-section { margin-top: 2.75rem; }
.menu-section > header { margin-bottom: 1.1rem; }
.menu-section > header h3 {
    font-family: var(--font-display); font-size: var(--step-2); margin: 0 0 .15em;
}
.menu-section > header p { font-size: .85rem; color: var(--muted); margin: 0; font-style: italic; }

.dish {
    display: flex; align-items: baseline; gap: .75rem;
    padding: .8rem 0; border-bottom: 1px dashed var(--line);
}
.dish:last-child { border-bottom: 0; }
.dish-main { flex: 1; min-width: 0; }
.dish-name { font-weight: 700; font-size: .98rem; display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.dish-name .tag {
    font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
    padding: .12rem .4rem; border-radius: var(--r-xs);
}
.tag-veg { background: #E4F2E9; color: #276B45; }
.tag-hot { background: #FBE7E2; color: #A6412C; }
.tag-sig { background: var(--gold-50); color: var(--gold-600); }
[data-theme="dark"] .tag-veg { background: rgba(39,107,69,.25); color: #7ED3A4; }
[data-theme="dark"] .tag-hot { background: rgba(166,65,44,.25); color: #E9A091; }
[data-theme="dark"] .tag-sig { background: rgba(184,135,59,.2); color: var(--gold-400); }
.dish-desc { font-size: .85rem; color: var(--muted); margin-top: .15rem; line-height: 1.5; }
.dish-dots { flex: 1; border-bottom: 1px dotted var(--line); min-width: 20px; transform: translateY(-4px); }
.dish-price { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish.out { opacity: .45; }
@media (max-width: 560px) { .dish-dots { display: none; } }

/* ---------- 16. Странична колона / форми --------------------------------- */

.sticky-col { position: sticky; top: 100px; display: grid; gap: 1rem; }

.panel {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: clamp(1.25rem, 2vw, 1.75rem);
}
.panel-accent { border-color: var(--gold-200); box-shadow: 0 18px 40px -28px rgba(150,105,42,.5); }
.panel h3 { font-size: var(--step-1); margin-bottom: .15em; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.panel-price b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; }
.panel-price span { font-size: .78rem; color: var(--muted); display: block; text-align: right; }

.field { margin-bottom: .95rem; }
.field label {
    display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: var(--muted); margin-bottom: .4rem;
}
.field .req { color: var(--clay-500); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="time"], input[type="number"], input[type="password"], input[type="url"],
input[type="search"], input[type="datetime-local"], select, textarea {
    width: 100%; padding: .72rem .9rem;
    background: var(--bg); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--r-sm);
    font: inherit; font-size: .92rem;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--gold-400); background: var(--surface);
    box-shadow: 0 0 0 3px rgba(184,135,59,.15);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .75; }
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E7C73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .75rem center; background-size: 16px;
    padding-right: 2.4rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field-hint { font-size: .76rem; color: var(--muted); margin-top: .35rem; }

.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--forest-600); }

.form-note {
    display: flex; gap: .6rem; align-items: flex-start;
    font-size: .78rem; color: var(--muted); margin-top: 1rem;
    padding-top: 1rem; border-top: 1px solid var(--line-soft);
}
.form-note .ico { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--accent); }

/* Уведомления */
.alert {
    display: flex; gap: .75rem; align-items: flex-start;
    padding: .95rem 1.15rem; border-radius: var(--r-sm);
    border: 1px solid; font-size: .9rem; margin-bottom: 1rem;
}
.alert .ico { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.alert-success { background: #ECF6F0; border-color: #C3E2D1; color: #1E5E3E; }
.alert-error   { background: #FBECE9; border-color: #EFCCC5; color: #93372A; }
.alert-info    { background: #EEF3F8; border-color: #CCDCEB; color: #2A5580; }
[data-theme="dark"] .alert-success { background: rgba(46,125,83,.16); border-color: rgba(46,125,83,.4); color: #8CD9AF; }
[data-theme="dark"] .alert-error   { background: rgba(179,58,43,.16); border-color: rgba(179,58,43,.4); color: #ECA599; }
[data-theme="dark"] .alert-info    { background: rgba(42,85,128,.16); border-color: rgba(42,85,128,.4); color: #A6C9EC; }

/* Резултат след резервация */
.success-box {
    text-align: center; padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--gold-200); border-radius: var(--r-lg);
    background: linear-gradient(160deg, var(--gold-50), var(--surface));
}
[data-theme="dark"] .success-box { background: linear-gradient(160deg, rgba(184,135,59,.12), var(--surface)); }
.success-box .tick {
    width: 62px; height: 62px; margin: 0 auto 1.25rem; display: grid; place-items: center;
    border-radius: var(--r-pill); background: var(--forest-700); color: #fff;
}
.success-box .tick .ico { width: 28px; height: 28px; }
.success-box code {
    display: inline-block; margin-top: .5rem; padding: .35rem .8rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xs);
    font-size: 1.05rem; font-weight: 700; letter-spacing: .06em;
}

/* ---------- 17. Филтри в списък ------------------------------------------ */

.filter-bar {
    position: sticky; top: 76px; z-index: 20;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding-block: .9rem;
}
.filter-bar form { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.filter-bar .f-grow { flex: 1 1 220px; }
.filter-bar input, .filter-bar select { padding: .6rem .85rem; font-size: .87rem; }
.filter-count { font-size: .84rem; color: var(--muted); margin-left: auto; }

.pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill {
    padding: .5rem 1rem; border-radius: var(--r-pill);
    border: 1px solid var(--line); background: var(--surface);
    font-size: .84rem; font-weight: 600; color: var(--ink-2);
    transition: all .25s;
}
.pill:hover { border-color: var(--gold-400); color: var(--accent); }
.pill.active { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }

/* ---------- 18. Карта ----------------------------------------------------- */

.map-wrap {
    border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
    background: var(--surface-2);
}
.map-wrap iframe, #bigmap { display: block; width: 100%; border: 0; }
#bigmap { height: clamp(360px, 52vh, 560px); }
.leaflet-container { font-family: var(--font-sans) !important; }
.map-pop b { font-size: .95rem; display: block; margin-bottom: .15rem; }
.map-pop a { color: var(--accent); font-weight: 600; font-size: .82rem; }

/* ---------- 19. Партньори / логоленти ------------------------------------- */

.partner-row {
    display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
    flex-wrap: wrap; justify-content: center;
}
.partner-row a, .partner-row div {
    opacity: .55; filter: grayscale(1); transition: opacity .35s, filter .35s;
}
.partner-row a:hover { opacity: 1; filter: none; }
.partner-row img { max-height: 52px; width: auto; }

/* ---------- 20. Цитат / акцент -------------------------------------------- */

.quote-band { position: relative; text-align: center; }
.quote-band .ico-q { width: 40px; height: 40px; color: var(--gold-500); margin: 0 auto 1.25rem; opacity: .8; }
.quote-band blockquote {
    font-family: var(--font-display); font-size: var(--step-3); font-style: italic;
    line-height: 1.32; margin: 0 auto; max-width: 20ch; font-weight: 400;
}
.quote-band cite {
    display: block; margin-top: 1.5rem; font-style: normal; font-size: .78rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* ---------- 21. CTA ------------------------------------------------------- */

.cta-band {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--r-xl); padding: clamp(2.5rem, 5vw, 4.5rem);
    color: #fff; text-align: center;
    background: linear-gradient(135deg, var(--forest-800), var(--forest-600) 55%, #2E5F3E);
}
.cta-band::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
    background-image:
        radial-gradient(circle at 20% 30%, var(--gold-400), transparent 45%),
        radial-gradient(circle at 82% 70%, #7FD1A6, transparent 42%);
}
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin-inline: auto; color: rgba(255,255,255,.82); }
.cta-band .flex { justify-content: center; margin-top: 1.75rem; }

/* ---------- 22. Футър ----------------------------------------------------- */

.site-footer { background: var(--forest-900); color: #A9C1B5; padding-top: clamp(3rem, 6vw, 5rem); }
.site-footer a { color: #C8D9CF; transition: color .25s; }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid {
    display: grid; gap: clamp(2rem, 4vw, 3rem);
    grid-template-columns: 1.6fr repeat(auto-fit, minmax(150px, 1fr));
    padding-bottom: 3rem;
}
.footer-grid h4 {
    color: #fff; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
    margin-bottom: 1.1rem; font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .9rem; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: #7E998B; }
.footer-brand p { margin-top: 1.1rem; max-width: 34ch; font-size: .9rem; line-height: 1.7; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a {
    width: 40px; height: 40px; border-radius: var(--r-pill);
    display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.15); transition: all .3s;
}
.social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #1C1408; transform: translateY(-2px); }
.social .ico { width: 18px; height: 18px; }
.footer-contact { gap: .85rem !important; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.5; }
.footer-contact .ico { width: 16px; height: 16px; margin-top: .18rem; color: var(--gold-400); }

.footer-partners {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-block: 1.75rem;
    display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem); flex-wrap: wrap;
}
.footer-partners > span {
    font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
    color: #7E998B; font-weight: 700; flex: none;
}
.footer-partners .partner-row { justify-content: flex-start; gap: 2rem; }
.footer-partners img {
    max-height: 54px; width: auto;
    background: #fff; border-radius: var(--r-xs);
    padding: .4rem .6rem;
    opacity: .9; transition: opacity .3s, transform .3s;
}
.footer-partners a:hover img { opacity: 1; transform: translateY(-2px); }
.footer-partners .p-name { color: #C8D9CF; font-weight: 700; font-size: .95rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem;
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    font-size: .8rem; color: #7E998B;
}
.footer-bottom a { color: #A9C1B5; }

/* ---------- 23. Странициране ---------------------------------------------- */

.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 42px; height: 42px; padding: 0 .8rem;
    display: inline-grid; place-items: center; border-radius: var(--r-sm);
    border: 1px solid var(--line); background: var(--surface);
    font-size: .88rem; font-weight: 600; transition: all .25s;
}
.pager a:hover { border-color: var(--forest-500); color: var(--accent); }
.pager .current { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }
.pager .gap { border: 0; background: none; }

/* ---------- 24. Празно състояние ------------------------------------------- */

.empty {
    text-align: center; padding: clamp(2.5rem, 6vw, 5rem) 1rem;
    border: 1px dashed var(--line); border-radius: var(--r-lg);
}
.empty .ico { width: 42px; height: 42px; color: var(--muted); margin: 0 auto 1rem; opacity: .6; }
.empty h3 { font-family: var(--font-sans); font-size: var(--step-1); font-weight: 700; }
.empty p { color: var(--muted); max-width: 40ch; margin-inline: auto; }

/* ---------- 25. Лайтбокс --------------------------------------------------- */

.lightbox {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(8,18,14,.95); display: none;
    place-items: center; padding: 3rem 1rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 86vh; object-fit: contain; border-radius: var(--r-sm); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
    position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: #fff; width: 46px; height: 46px; border-radius: var(--r-pill);
    display: grid; place-items: center; cursor: pointer; transition: background .25s;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 1.25rem; right: 1.25rem; }
.lightbox .lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .85rem; }

/* ---------- 26. Разкриване при скрол --------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.d1.in { transition-delay: .08s; }
.reveal.d2.in { transition-delay: .16s; }
.reveal.d3.in { transition-delay: .24s; }
.reveal.d4.in { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important; scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- 27. Печат ------------------------------------------------------- */

@media print {
    .site-header, .topbar, .site-footer, .sticky-col, .menu-tabs, .scroll-hint, .mobile-nav { display: none !important; }
    body { background: #fff; color: #000; }
    .place-gallery { height: 220px; margin-top: 0; }
    a { text-decoration: none; color: #000; }
    .block { break-inside: avoid; }
}

/* ---------- 28. Програма по дни (събития) ---------------------------- */

.day-block { margin-bottom: clamp(2rem, 4vw, 3rem); }
.day-head {
    display: flex; align-items: center; gap: 1.1rem;
    padding-bottom: 1rem; margin-bottom: .5rem;
    border-bottom: 2px solid var(--line);
}
.day-head h3 {
    font-size: var(--step-2); margin: 0 0 .1em;
}
.day-head p { margin: 0; }
.day-head .date-block { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }
.day-head .date-block span { color: rgba(255,255,255,.72); }

.day-list { display: grid; }
.prog-row {
    display: flex; align-items: center; gap: 1rem;
    padding: .9rem 0; border-bottom: 1px solid var(--line-soft);
    transition: padding-left .35s var(--ease-out), background .3s;
}
.prog-row:hover { padding-left: .6rem; }
.prog-row:last-child { border-bottom: 0; }
.prog-time {
    flex: none; width: 54px; font-variant-numeric: tabular-nums;
    font-weight: 700; font-size: .92rem; color: var(--accent);
}
.prog-thumb {
    flex: none; width: 64px; height: 48px; border-radius: var(--r-sm);
    overflow: hidden; background: var(--surface-2);
}
.prog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.prog-row:hover .prog-thumb img { transform: scale(1.08); }
.prog-main { flex: 1; min-width: 0; }
.prog-main b { display: block; font-size: .95rem; font-weight: 600; line-height: 1.4; }
.prog-main small {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .78rem; color: var(--muted); margin-top: .2rem;
}
.prog-main small .ico { width: 13px; height: 13px; }
@media (max-width: 600px) {
    .prog-thumb { display: none; }
    .prog-row .ev-go { display: none; }
    .prog-time { width: 46px; font-size: .85rem; }
}

/* Автор на снимките под галерията */
.photo-credit {
    margin: .7rem 0 0; font-size: .74rem; color: var(--muted);
    text-align: right; font-style: italic;
}

.hero-credit {
    position: absolute; left: var(--gutter); bottom: .85rem;
    font-size: .66rem; color: rgba(255,255,255,.4); letter-spacing: .02em;
}
@media (max-width: 720px) { .hero-credit { display: none; } }

/* ---------- 29. Ардино / отворена панорама --------------------------- */
:root {
    --bg: #fcfcf9;
    --bg-alt: #f1f4ef;
    --surface-2: #f1f4ef;
    --line: #dce3da;
    --line-soft: #e9eee5;
    --lime: #d9f48b;
    --step-0: clamp(1rem, .95rem + .15vw, 1.0625rem);
    --r-lg: 16px;
}
[data-theme="dark"] { --bg: #101c17; --bg-alt: #15261e; --surface-2: #1a2e24; --line: #34483c; --line-soft: #22392b; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
h2 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -.055em; line-height: 1.15; }
h2 em { font-family: var(--font-display); font-weight: 400; letter-spacing: -.035em; }
.eyebrow { font-size: .75rem; letter-spacing: .16em; }
.site-header, .site-header.solid {
    background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--line); color: var(--ink);
}
.site-header .wrap { min-height: 88px; gap: 1rem; max-width: 1500px; }
.site-header.solid { box-shadow: 0 5px 28px #0e241c12; }
.site-header.solid .wrap { min-height: 76px; }
.site-header .wrap { transition: min-height .4s var(--ease-out); }
.logo-text b { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.055em; font-size: 1.35rem; }
.logo-text b .brand-accent { display: inline; font: inherit; letter-spacing: inherit; color: var(--brand); text-transform: none; }
.logo-text > span { margin-top: 7px; font-size: .625rem; letter-spacing: .16em; }
.nav-link { font-size: .875rem; padding: .65rem .65rem; }
.nav-link::after { left: .65rem; right: .65rem; background: var(--forest-500); }
.header-cta { border-radius: 8px; padding: .7rem 1rem; }
.header-actions .icon-btn { border-color: transparent; }
.reading-progress { position: absolute; bottom: -1px; height: 3px; left: 0; right: 0; background: #88a843; transform: scaleX(var(--reading-progress, 0)); transform-origin: left; pointer-events: none; }
.cinematic-hero {
    min-height: clamp(610px, calc(100svh - 80px), 820px);
    padding: 0; display: flex; align-items: stretch; background: #1a3328;
}
.cinematic-hero .hero-bg { inset: -7% 0; will-change: transform; }
.cinematic-hero .hero-bg img { animation: panorama-in 2.4s var(--ease-out) both; object-position: 56% 56%; }
.cinematic-hero::after { background: linear-gradient(90deg, #0b211ccc 0%, #0b211c6b 42%, #0b211c0d 78%), linear-gradient(0deg, #071b1980, transparent 40%); }
.cinematic-hero .hero-inner { display: flex; flex-direction: column; justify-content: center; padding-block: 35px 30px; width: min(100% - 2 * var(--gutter), var(--wrap)); }
.hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: auto; padding-bottom: 48px; }
.hero-topline .eyebrow { color: #fff; margin: 0; display: inline-flex; align-items: center; gap: 12px; font-weight: 500; }
.hero-edition { color: #fff; font-size: .75rem; letter-spacing: .08em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px #d9f48b25; }
.cinematic-hero h1 { font-family: var(--font-sans); font-size: clamp(4rem, 7.4vw, 7.2rem); font-weight: 500; max-width: none; line-height: 1.07; letter-spacing: -.055em; margin: 0 0 1.5rem; text-shadow: none; }
.hero-line { display: block; overflow: hidden; padding-bottom: .13em; margin-bottom: -.13em; }
.hero-line > span, .hero-line > em { display: block; animation: title-rise 1.25s var(--ease-out) both; }
.hero-line > em { animation-delay: .14s; }
.cinematic-hero h1 em { font-family: var(--font-display); font-weight: 400; color: var(--lime); letter-spacing: -.055em; }
.cinematic-hero .hero-sub { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.8; max-width: 35ch; color: #f0f5ee; animation: soft-rise 1.2s .3s var(--ease-out) both; margin-bottom: 1.8rem; }
.cinematic-hero .hero-actions { align-items: center; gap: 1.8rem; animation: soft-rise 1.2s .4s var(--ease-out) both; margin: 0 0 55px; }
.btn-lime { --btn-bg: var(--lime); --btn-bd: var(--lime); --btn-fg: #172e22; padding: 1.05rem 1.5rem; gap: 1.8rem; border-radius: 6px; }
.btn-lime:hover { --btn-bg: #e5ffa5; box-shadow: 0 10px 35px #d9f48b35; }
.hero-map-link { display: inline-flex; align-items: center; gap: 12px; font-size: .875rem; color: white; }
.hero-map-link > span { display: grid; place-items: center; height: 48px; width: 48px; border: 1px solid #ffffff70; border-radius: 50%; transition: background .4s, transform .6s; }
.hero-map-link:hover > span { background: #ffffff20; transform: rotate(45deg); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: auto; padding-top: 20px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 14px; color: #f1f5ef; font-size: .75rem; }
.scroll-line { width: 24px; height: 38px; border: 1px solid #ffffff60; border-radius: 20px; position: relative; }
.scroll-line::after { content: ''; width: 3px; height: 7px; background: #fff; border-radius: 5px; position: absolute; top: 7px; left: 9px; animation: scroll-tick 2s ease infinite; }
.hero-location { display: flex; align-items: center; gap: 15px; padding: 1.1rem 1.4rem; color: white; border-top: 1px solid #ffffff65; min-width: 240px; }
.hero-location > .ico { color: var(--lime); }
.hero-location small, .hero-location b { display: block; }
.hero-location small { font-size: .75rem; color: #e2e9de; margin-bottom: .2rem; }
.hero-location b { font-size: .9rem; font-weight: 500; }
.location-arrow { margin-left: auto; transform: rotate(-40deg); transition: transform .4s; }
.hero-location:hover .location-arrow { transform: rotate(0); }
.cinematic-hero .hero-credit { left: auto; right: var(--gutter); bottom: 6px; color: #e0e9dd; font-size: .65rem; }
.discovery-bar { scroll-margin-top: 86px; background: var(--surface); border-bottom: 1px solid var(--line); }
.discovery-inner { display: flex; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: 1.7rem; }
.discovery-caption { display: flex; gap: 18px; align-items: center; line-height: 1.5; flex: none; font-size: .9rem; }
.discovery-caption > .ico { width: 32px; height: 32px; color: var(--forest-500); }
.discovery-search { display: flex; align-items: center; flex: 1; gap: 1.25rem; min-width: 0; }
.discovery-input { display: flex; align-items: center; gap: 15px; flex: 1; min-width: 100px; }
.discovery-input .ico { color: var(--muted); flex: none; }
.discovery-search input, .discovery-search select { border: 0; background: transparent; padding: .8rem 0; box-shadow: none; width: 100%; border-radius: 0; color: var(--ink); font: inherit; font-size: .9rem; }
.discovery-search input::placeholder { color: var(--muted); }
.discovery-select { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.discovery-search select { padding-right: 25px; min-width: 175px; }
.search-submit { display: grid; place-items: center; border: 0; background: var(--forest-700); color: white; width: 52px; height: 52px; flex: none; border-radius: 6px; cursor: pointer; transition: background .3s, transform .4s; }
.search-submit:hover { background: var(--forest-500); transform: translateX(3px); }
.home-page .section-head h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); max-width: 23ch; }
.home-page .cat-grid { gap: 1.4rem; }
.home-page .cat-tile { border-radius: 8px; min-height: 380px; padding: 1.5rem; }
.cat-tile .ct-number { position: absolute; top: 20px; left: 24px; font-size: .8rem; color: white; }
.cat-tile .ct-icon { position: absolute; right: 20px; top: 20px; width: 36px; height: 36px; background: transparent; border: 1px solid #ffffff70; border-radius: 50%; }
.cat-tile h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1.4rem; letter-spacing: -.04em; }
.cat-tile .ct-count { font-size: .8rem; letter-spacing: 0; line-height: 1.55; text-transform: none; }
.cat-tile .ct-go { margin-top: 1.5rem; font-size: .8rem; }
.cat-tile::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #ffffff23, transparent 70%); opacity: 0; transition: opacity .5s; z-index: 1; }
.cat-tile:hover::before { opacity: 1; }
.card { border-radius: 10px; transition: transform .55s var(--ease-out), box-shadow .55s; }
.card-media { overflow: hidden; }
.card:hover { box-shadow: 0 25px 45px -28px #183b2c85; }
.card-media img { transition: transform 1.3s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.085); }
.card h3 { font-family: var(--font-sans); letter-spacing: -.035em; font-size: 1.25rem; font-weight: 650; }
.card .card-tags .chip { backdrop-filter: blur(8px); }
.split-media { border-radius: 10px; }
.home-page .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.home-page .facts > div { padding-left: 0; display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem 0; border-top: 1px solid var(--line); border-left: none; }
.home-page .facts .ico { color: var(--accent); width: 25px; height: 25px; margin-bottom: .4rem; }
.home-page .facts b { font-family: var(--font-sans); font-size: 1rem; font-weight: 650; line-height: 1.5; }
.home-page .facts span { font-size: .85rem; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.landscape-interlude { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 600px; margin-top: 4rem; color: white; }
.interlude-image { position: absolute; inset: -15% 0; z-index: -2; }
.interlude-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.landscape-interlude::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#0c241bc9,#0e241c25); z-index: -1; }
.interlude-copy { width: min(100% - 2 * var(--gutter), var(--wrap)); padding-block: 5rem; }
.interlude-copy .eyebrow { color: var(--lime); }
.interlude-copy p { font-size: clamp(2.8rem, 5.5vw, 5.5rem); letter-spacing: -.045em; line-height: 1.15; font-weight: 500; margin: 1rem 0 2rem; }
.interlude-copy em { font-family: var(--font-display); font-weight: 400; }
.area-map { margin-inline: clamp(0px, 2vw, 32px); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.map-toolbar, .map-footnote { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.5rem; flex-wrap: wrap; }
.map-toolbar > span, .map-toolbar a, .map-footnote a { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; }
.map-toolbar a:hover, .map-footnote a:hover { color: var(--accent); }
.map-toolbar .ico { color: var(--forest-500); width: 19px; height: 19px; }
.area-map iframe { display: block; width: 100%; height: clamp(500px, 70vh, 760px); border: 0; background: var(--surface-2); }
.area-map-page iframe { height: max(580px, calc(100svh - 220px)); }
.map-footnote { font-size: .8rem; color: var(--muted); }
.map-heading { padding-block: 3rem 1.5rem; }
.map-heading .section-head { margin-bottom: 0; }
.map-heading h1 { font-family: var(--font-sans); font-weight: 500; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.06em; }
.map-categories { margin-bottom: 2rem; }
.site-footer { background: #102a22; padding-top: 0; color: #b4c7bb; overflow: hidden; }
.footer-invitation { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid #ffffff25; margin-bottom: 3rem; }
.footer-invitation .eyebrow { color: #d9f48b; }
.footer-invitation p { color: #f7faef; font-size: clamp(2.25rem, 4.4vw, 4.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -.05em; margin: 1rem 0 0; }
.footer-invitation em { font-family: var(--font-display); font-weight: 400; color: var(--lime); }
.site-footer .footer-round { width: 105px; height: 105px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #102a22; flex: none; transition: transform .6s var(--ease-out), box-shadow .6s; }
.footer-round .ico { width: 37px; height: 37px; transform: rotate(-40deg); transition: transform .6s; }
.footer-round:hover { transform: scale(1.08); box-shadow: 0 0 60px #d9f48b20; }
.footer-round:hover .ico { transform: rotate(0deg); }
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 3rem; }
.footer-grid h4 { color: #a2b9a9; font-size: .75rem; letter-spacing: .09em; }
.footer-grid ul { font-size: .875rem; gap: .65rem; }
.footer-grid a { color: #eef3e9; }
.footer-brand .logo-text b { font-size: 1.55rem; }
.footer-brand .logo-text > span { color: #b4c7bb; letter-spacing: .06em; font-size: .7rem; }
.site-footer .social a { width: 36px; height: 36px; }
.footer-partners { padding-block: 1.25rem; }
.footer-partners .partner-row { gap: 1rem; }
.footer-partners .partner-row a, .footer-partners .partner-row div { opacity: 1; filter: none; }
.footer-partners .p-name { font-size: .8rem; }
.footer-bottom { font-size: .75rem; color: #a2b9a9; }
.back-to-top { margin-right: 1rem; }
/* Progressive enhancement: content stays readable if scripts are unavailable. */
.reveal { opacity: 1; transform: none; }
.js.motion-ready .reveal:not(.in) { opacity: 0; transform: translateY(50px); }
.reveal.in { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
@keyframes panorama-in { from { transform: scale(1.075); filter: brightness(.8); } to { transform: scale(1); filter: brightness(1); } }
@keyframes title-rise { from { transform: translateY(115%) rotate(2deg); } to { transform: translateY(0) rotate(0); } }
@keyframes soft-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-tick { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (min-width: 1041px) and (max-width: 1250px) { .nav-link { padding-inline: .4rem; font-size: .8rem; } .header-cta { display: none; } .site-header .wrap { gap: .7rem; } }
@media (max-width: 1000px) {
    .home-page .cat-grid { grid-template-columns: 1fr 1fr; }
    .discovery-caption { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .site-header .wrap, .site-header.solid .wrap { min-height: 74px; }
    .logo img { width: 38px; height: 38px; }
    .logo-text b { font-size: 1.2rem; }
    .logo-text > span { font-size: .6rem; }
    .cinematic-hero { min-height: 690px; min-height: max(640px, calc(100svh - 74px)); }
    .cinematic-hero .hero-inner { padding-top: 25px; padding-bottom: 28px; }
    .cinematic-hero .hero-bg img { object-position: 63% 50%; }
    .cinematic-hero::after { background: linear-gradient(90deg,#081d18a6,#081d183b),linear-gradient(0deg,#071b19c9,transparent 80%); }
    .hero-edition { display: none; }
    .hero-topline { padding-bottom: 3rem; }
    .hero-topline .eyebrow { font-size: .7rem; }
    .cinematic-hero h1 { font-size: clamp(2.75rem, 9.8vw, 4.3rem); }
    .cinematic-hero .hero-sub { font-size: 1rem; }
    .cinematic-hero .hero-actions { gap: 1.1rem; margin-bottom: 3rem; flex-wrap: wrap; }
    .hero-actions .btn-lime { padding: 1rem 1.15rem; gap: .8rem; }
    .hero-map-link { font-size: .8rem; }
    .hero-map-link > span { display: none; }
    .hero-scroll { display: none; }
    .hero-location { padding: 1rem 0; min-width: 0; width: 100%; }
    .hero-location b { font-size: .85rem; }
    .cinematic-hero .hero-credit { display: block; font-size: .6rem; right: var(--gutter); left: var(--gutter); text-align: right; }
    .discovery-inner { padding-block: 1rem; }
    .discovery-search { display: grid; grid-template-columns: 1fr 48px; gap: .5rem 1rem; }
    .discovery-input { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
    .discovery-select { padding: 0; border: 0; }
    .discovery-search select { font-size: .85rem; }
    .search-submit { width: 48px; height: 45px; }
    .home-page .cat-grid { gap: .8rem; }
    .home-page .cat-tile { min-height: 300px; padding: 1rem; }
    .cat-tile .ct-number { top: 17px; left: 16px; }
    .cat-tile .ct-icon { top: 12px; right: 12px; width: 30px; height: 30px; }
    .cat-tile h3 { font-size: 1.05rem; overflow-wrap: anywhere; }
    .cat-tile .ct-count { font-size: .75rem; }
    .cat-tile .ct-go { font-size: .75rem; gap: .25rem; }
    .home-page .facts { grid-template-columns: 1fr; gap: 0; }
    .landscape-interlude { min-height: 460px; }
    .interlude-copy p { font-size: 2.8rem; }
    .area-map { margin-inline: 0; border-radius: 0; border-inline: 0; }
    .map-toolbar, .map-footnote { padding: 1rem var(--gutter); }
    .map-toolbar a, .map-footnote { font-size: .75rem; }
    .area-map iframe { height: 520px; }
    .area-map-page iframe { height: 70svh; min-height: 500px; }
    .footer-invitation { align-items: flex-end; gap: 1rem; }
    .footer-invitation p { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .footer-invitation .eyebrow { font-size: .65rem; }
    .site-footer .footer-round { width: 58px; height: 58px; }
    .footer-round .ico { width: 24px; height: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
    .footer-grid .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-grid h4 { font-size: .7rem; }
    .footer-grid ul { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
    .js.motion-ready .reveal:not(.in) { opacity: 1; transform: none; }
    [data-parallax] { transform: none !important; will-change: auto !important; }
    .hero-line > span, .hero-line > em, .cinematic-hero .hero-sub, .cinematic-hero .hero-actions { animation: none; }
    .scroll-line::after { animation: none; opacity: 1; }
}
/* The photo grid follows the actual number of verified photographs. */
.gallery-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery-1 a:first-child { grid-column: auto; grid-row: auto; background: var(--bg-alt); }
.gallery-1 img { object-fit: contain; }
.gallery-2 { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr; }
.gallery-2 a:first-child { grid-column: auto; grid-row: auto; }
.gallery-3 { grid-template-columns: 1.6fr 1fr; }
.gallery-4 { grid-template-columns: 1.6fr 1fr 1fr; }
.gallery-4 a:last-child { grid-column: 2 / 4; }
@media (max-width: 800px) {
    .gallery-2 { height: 290px; grid-template-columns: 1fr 1fr; }
    .gallery-3 a:first-child, .gallery-4 a:first-child { grid-column: 1; grid-row: 1 / 3; }
    .gallery-4 { grid-template-columns: 1.6fr 1fr; }
    .gallery-4 a:last-child { grid-column: auto; }
}

/* ---------- 30. City edition: categories and responsive composition ----- */
.site-header .wrap, .site-header.solid .wrap { min-height: 80px; }
.home-page .discovery-bar { background: var(--bg); border-top: 1px solid var(--line); }
.home-page .discovery-inner { padding-block: 1.3rem; }
.discovery-search input, .discovery-search select { font-size: 1rem; }
.home-page .section-head { align-items: flex-end; }
.home-page .section-head h2 { font-weight: 550; max-width: 24ch; letter-spacing: -.05em; }
.home-page .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.experience-card { display: block; min-width: 0; border-radius: 14px; transition: transform .5s var(--ease-out); }
.experience-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; aspect-ratio: 4/5; background: var(--forest-800); }
.experience-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.experience-card:hover .experience-photo > img { transform: scale(1.065); }
.experience-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(350px circle at var(--pointer-x,50%) var(--pointer-y,50%),#ffffff33,transparent 65%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.experience-card:hover .experience-photo::after { opacity: 1; }
.experience-number { position: absolute; left: 15px; top: 14px; color: #fff; font-size: .75rem; letter-spacing: .1em; background: #102a2280; padding: 3px 8px; border-radius: 20px; }
.experience-icon { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f7faeff0; color: #173c2a; }
.experience-copy { display: flex; gap: .5rem; align-items: center; justify-content: space-between; padding: 17px 0 0; }
.experience-copy h3 { font-family: var(--font-sans); font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 650; letter-spacing: -.045em; margin: 0 0 5px; line-height: 1.25; }
.experience-copy > div > span { font-size: .8rem; color: var(--muted); }
.experience-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: background .35s, transform .35s; }
.experience-card:hover .experience-arrow { background: var(--lime); color: #173c2a; transform: rotate(-35deg); }
.home-page .card { border-radius: 12px; }
.home-page .card-media { aspect-ratio: 4 / 3; }
.home-page .card-body { padding: 1.3rem; }
.home-page .card-body h3 { font-size: 1.15rem; font-weight: 650; }
.home-page .card-foot:has(.card-price:empty):has(.card-amen:empty) { display: none; }
.home-page .section > .wrap > .split { padding-block: 1rem; }
.home-page .split-media img { border-radius: 14px; }
.site-footer .footer-invitation { padding-block: 4rem; }
@media (max-width: 1040px) and (min-width: 681px) {
    .home-page .cat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
    .experience-photo { aspect-ratio: 4/3; }
}
@media (max-width: 680px) {
    :root { --gutter: 20px; --section: 48px; }
    html { scroll-padding-top: 86px; }
    .site-header .wrap, .site-header.solid .wrap { min-height: 72px; gap: 8px; }
    .header-actions { gap: 4px; }
    .header-actions .icon-btn { width: 44px; height: 44px; }
    .site-header .logo { gap: 9px; }
    .site-header .logo img { width: 36px; height: 36px; }
    .site-header .logo-text b { font-size: 1.2rem; }
    .site-header .logo-text > span { font-size: .6rem; letter-spacing: .12em; }
    .discovery-search { gap: .45rem .75rem; }
    .discovery-input { gap: 10px; }
    .discovery-search input, .discovery-search select { font-size: 1rem; min-height: 48px; }
    .discovery-search select { min-width: 0; }
    .discovery-select { min-width: 0; }
    .search-submit { min-width: 48px; min-height: 48px; }
    .discovery-bar { scroll-margin-top: 80px; }
    .home-page .section-head { gap: 16px; margin-bottom: 26px; align-items: flex-start; }
    .home-page .section-head h2 { font-size: 2rem; line-height: 1.13; max-width: 20ch; }
    .section-head .link-arrow { min-height: 44px; align-items: center; padding-bottom: 0; }
    .home-page .cat-grid { grid-template-columns: 1fr; gap: 0; }
    .experience-card { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 17px; align-items: center; padding: 15px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
    .experience-card:first-child { padding-top: 0; }
    .experience-photo { aspect-ratio: 1; border-radius: 10px; }
    .experience-number { top: 7px; left: 7px; font-size: .625rem; padding: 1px 6px; }
    .experience-icon { display: none; }
    .experience-copy { padding: 0; gap: 8px; }
    .experience-copy h3 { font-size: 1.02rem; letter-spacing: -.04em; overflow-wrap: normal; }
    .experience-arrow { width: 32px; height: 32px; border: 0; }
    .experience-copy > div > span { font-size: .8rem; }
    .home-page .home-places-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 86%); overflow-x: auto; gap: 16px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: #9bad8b transparent; scroll-padding-inline: 0 var(--gutter); }
    .home-places-grid > .card { scroll-snap-align: start; }
    .home-page .card-media { aspect-ratio: 4/3; }
    .home-page .card-body { padding: 1.15rem; }
    .home-page .card-body h3 { font-size: 1.125rem; }
    .home-page .split { gap: 28px; }
    .home-page .split h2 { font-size: 2rem; }
    .home-page .split-media .badge-float { margin-top: 12px; box-shadow: none; padding: 14px; border-radius: 10px; }
    .home-page .split .lead { font-size: 1.05rem; }
    .home-page .facts { gap: 0; margin-top: 1.4rem; }
    .home-page .facts > div { display: grid; grid-template-columns: 30px 1fr; gap: 4px 10px; align-items: center; padding-block: 15px; }
    .home-page .facts .ico { grid-row: span 2; margin: 0; }
    .home-page .facts b { font-size: .95rem; }
    .home-page .facts span { font-size: .8rem; }
    .home-page .split .flex { gap: 10px; }
    .home-page .split .btn { flex: 1 1 140px; padding-inline: 12px; min-height: 48px; }
    .landscape-interlude { margin-top: 16px; min-height: 420px; }
    .interlude-copy { padding-block: 3rem; }
    .interlude-copy p { font-size: 2.65rem; }
    .event-row { align-items: flex-start; gap: 14px; padding-block: 20px; }
    .event-info { min-width: 0; }
    .event-info h3 { font-size: 1rem; line-height: 1.45; }
    .event-info p { flex-wrap: wrap; font-size: .75rem; }
    .date-block { width: 55px; min-width: 55px; }
    .map-toolbar, .map-footnote { gap: 10px; }
    .map-toolbar a, .map-footnote a { min-height: 44px; }
    .area-map iframe { height: 430px; }
    .footer-invitation { flex-direction: column; align-items: flex-start; position: relative; padding-right: 0; }
    .footer-invitation p { font-size: 2rem; }
    .site-footer .footer-round { width: 52px; height: 52px; }
    .footer-grid { gap: 28px 18px; }
    .footer-grid a { display: inline-flex; align-items: center; min-height: 38px; }
    .footer-grid ul { gap: 2px; }
    .footer-grid .logo { display: inline-flex; }
    .footer-contact li { overflow-wrap: anywhere; }
    .footer-bottom { line-height: 1.8; gap: 14px; }
    .footer-bottom a { display: inline-block; min-height: 38px; }
    .mobile-nav nav a { min-height: 48px; font-size: clamp(1.5rem, 7vw, 2rem); padding-block: .45rem; }
    .mobile-nav .mn-foot { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
    .page-hero { padding-top: 3.5rem; padding-bottom: 3rem; }
    .page-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); overflow-wrap: anywhere; }
    .page-hero p { font-size: 1rem; }
    .filter-bar { position: static; }
    .filter-bar form { gap: 10px; }
    .filter-bar input, .filter-bar select { min-height: 48px; font-size: 1rem; }
    .filter-bar .f-grow { flex-basis: 100%; }
    .field input, .field select, .field textarea { font-size: 1rem; min-height: 48px; }
    .map-heading h1 { font-size: 2.2rem; }
    .map-categories .pill { min-height: 44px; display: inline-flex; align-items: center; }
    .gallery-1 { height: 340px; }
    .gallery-2 { height: 260px; }
}
@media (max-width: 360px) {
    :root { --gutter: 16px; }
    .experience-card { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
    .experience-copy h3 { font-size: .95rem; }
    .experience-arrow { width: 23px; }
    .experience-photo { border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page .home-places-grid { scroll-behavior: auto; }
}
/* Clip horizontal decoration without creating a scroll container for the header. */
html, body { overflow-x: clip; }
@media (max-width: 680px) {
    .experience-copy > div { min-width: 0; }
    .experience-copy h3 { overflow-wrap: break-word; }
    .js.motion-ready .reveal:not(.in) { transform: translateY(22px); }
    .reveal.in { transition-duration: .6s; }
    .reveal.d1.in { transition-delay: .025s; }
    .reveal.d2.in { transition-delay: .05s; }
    .reveal.d3.in { transition-delay: .075s; }
    .reveal.d4.in { transition-delay: .1s; }
}
@media (prefers-reduced-motion: reduce) {
    .js.motion-ready .reveal:not(.in) { transform: none; }
}
.mobile-nav .mn-head .icon-btn:hover,
.mobile-nav .mn-head .icon-btn:focus-visible { background: #ffffff20; color: #fff; }
.header-cta { white-space: nowrap; flex: none; }
.header-actions { flex: none; }
@media (min-width: 1041px) and (max-width: 1350px) {
    .header-cta { display: none; }
}
@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
}
.place-gallery.gallery-1 { display: block; height: auto; }
.gallery-1 a:first-child { display: block; }
.gallery-1 img { width: 100%; height: auto; max-height: 720px; object-fit: contain; }
@media (max-width: 680px) { .gallery-1 img { max-height: none; } }

/* Full-width city photograph, keeping the mobile layout improvements. */
.cinematic-hero .hero-copy { padding-block: 18px; }
.cinematic-hero .hero-topline { padding-bottom: 24px; }
.cinematic-hero .hero-actions { margin-bottom: 24px; }
.cinematic-hero .hero-bg img { object-position: 56% 65%; }
.cinematic-hero .hero-inner { padding-block: 32px; }
.cinematic-hero h1 { text-wrap: initial; }
.cinematic-hero .hero-sub { font-size: clamp(1rem, 1.5vw, 1.2rem); }
@media (max-width: 680px) {
    .cinematic-hero { min-height: clamp(600px, calc(100svh - 72px), 740px); }
    .cinematic-hero .hero-inner { width: calc(100% - 2 * var(--gutter)); padding-block: 26px; }
    .cinematic-hero h1 { font-size: clamp(3.6rem, 16vw, 5.4rem); line-height: 1.04; }
    .cinematic-hero::after { background: linear-gradient(90deg,#0b211cc2,#0b211c33),linear-gradient(0deg,#071b19a6,transparent 70%); }
    .cinematic-hero .hero-bg img { object-position: 62% 55%; }
    .cinematic-hero .hero-actions { gap: 16px; margin-bottom: 10px; }
    .cinematic-hero .btn-lime { min-height: 50px; padding-inline: 16px; font-size: .85rem; }
    .hero-map-link { min-height: 48px; font-size: .85rem; }
    .cinematic-hero .hero-bottom { padding-top: 18px; }
    .hero-location { padding-block: 12px; }
    .hero-location b { font-size: 1rem; }
    .cinematic-hero .hero-credit { font-size: .6875rem; }
}
@media (max-width: 360px) {
    .cinematic-hero .hero-actions { gap: 10px; }
    .cinematic-hero .btn-lime { font-size: .8rem; padding-inline: 12px; }
    .hero-map-link { font-size: .8rem; }
}

/* Continuous navigation band, anchored to the page with a centred logo. */
.site-header, .site-header.solid {
    background: var(--surface); border: 0; border-bottom: 1px solid var(--line);
    padding: 0; box-shadow: 0 4px 18px #12342808; isolation: isolate;
}
.site-header::before, .site-header::after { content: none; }
.site-header .wrap, .site-header.solid .wrap {
    display: grid; grid-template-columns: minmax(0,1fr) 128px minmax(0,1fr);
    min-height: 104px; width: 100%; max-width: 1420px; padding: 0 56px; gap: 18px;
}
.site-header .nav { display: flex; justify-content: center; gap: clamp(2px,1vw,18px); }
.site-header .nav-link { font-size: clamp(.72rem,1.02vw,.92rem); padding: 14px 8px; white-space: nowrap; border-radius: 0; transition: color .3s; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); background: none; transform: none; }
.site-header .nav-link::after { bottom: 5px; left: 8px; right: 8px; height: 2px; }
.site-header .cloud-logo { justify-self: center; display: grid; place-items: center; width: 128px; height: 104px; border-inline: 1px solid var(--line); }
.site-header .cloud-logo img { width: 90px; height: 90px; object-fit: contain; transition: transform .4s; filter: none; }
.site-header .cloud-logo:hover img { transform: scale(1.05); }
.site-header .header-actions { position: absolute; right: 18px; top: 30px; }
.site-header .header-cta { display: none; }
.site-header .reading-progress { bottom: -1px; left: 0; right: 0; height: 2px; }
.site-header.solid { box-shadow: 0 5px 22px #12342816; }
.mn-head .logo img { width: 84px; height: 84px; }
.btn-lime { position: relative; overflow: hidden; }
.btn-lime::after { content: ''; position: absolute; top: -50%; bottom: -50%; width: 28%; left: -60%; background: linear-gradient(90deg,transparent,#ffffff70,transparent); transform: skewX(-25deg); animation: button-glint 7s 2s infinite; pointer-events: none; }
@keyframes button-glint { 0%,65% { left: -60%; } 85%,100% { left: 160%; } }
@media (prefers-reduced-motion: no-preference) {
    .cloud-logo img { animation: cloud-arrive 1.1s cubic-bezier(.2,.8,.2,1) both; }
    .site-header .nav-left { animation: cloud-left .8s both; }
    .site-header .nav-right { animation: cloud-right .8s both; }
    @keyframes cloud-arrive { from { opacity: 0; transform: translateY(-24px) scale(.75); } to { opacity: 1; transform: none; } }
    @keyframes cloud-left { from { opacity: 0; transform: translateX(25px); } to { opacity: 1; transform: none; } }
    @keyframes cloud-right { from { opacity: 0; transform: translateX(-25px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1000px) {
    .site-header, .site-header.solid { padding: 0; }
    .site-header::before { inset: 10px 12px 18px; }
    .site-header::after { width: 128px; height: 108px; top: 1px; }
    .site-header .wrap, .site-header.solid .wrap { grid-template-columns: 1fr 110px 1fr; min-height: 88px; padding: 0 12px; }
    .site-header .nav { display: none; }
    .site-header .cloud-logo { grid-column: 2; width: 110px; height: 88px; }
    .site-header .cloud-logo img { width: 90px; height: 90px; }
    .site-header .header-actions { inset: 22px 18px auto; justify-content: space-between; pointer-events: none; }
    .site-header .header-actions button { pointer-events: auto; }
    .site-header .burger { display: inline-grid; }
}
@media (min-width: 1001px) { .site-header .burger { display: none; } }
@media (prefers-reduced-motion: reduce) { .btn-lime::after { animation: none; display: none; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .card:hover { transform: perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-6px); }
}
.cinematic-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(ellipse at 84% 15%, #fff8cb25, transparent 42%);
    opacity: .7;
}
@media (prefers-reduced-motion: no-preference) {
    .cinematic-hero::before { animation: sky-light 12s ease-in-out infinite alternate; }
    @keyframes sky-light { from { opacity: .2; transform: translateX(-3%); } to { opacity: .85; transform: translateX(3%); } }
}
.cinematic-hero .hero-inner { z-index: 1; }

.cinematic-hero .hero-sub { font-size: clamp(1.35rem,2.5vw,2rem); font-weight: 500; color: white; }
.cinematic-hero h1 .ardino-colors { font-family: "Shantell Sans", var(--font-sans); font-style: normal; font-weight: 600; letter-spacing: -.045em; -webkit-text-stroke: .35px #ffffff90; text-shadow: 0 2px 2px #0009, 0 0 24px #ffffff25; }
.ardino-colors > span { display: inline; }
.home-page .facts .fact-secondary { grid-column: 1 / -1; display: grid; grid-template-columns: 30px 1fr; gap: 4px 12px; }
.home-page .facts .fact-secondary .ico { grid-row: span 2; align-self: center; }
.facts b a:hover { color: var(--brand); }
@media (max-width:1000px) { .site-header .cloud-logo { border: 0; } }

/* A single, integrated masthead with generous, balanced navigation. */
.site-header, .site-header.solid { background: #fffef9; color: #173b30; border-bottom: 1px solid #183c3020; box-shadow: 0 3px 18px #183c3008; }
.site-header .wrap, .site-header.solid .wrap { min-height: 112px; grid-template-columns: minmax(0,1fr) 138px minmax(0,1fr); gap: 26px; max-width: 1440px; }
.site-header .cloud-logo { width: 138px; height: 112px; border: 0; background: none; clip-path: none; }
.site-header .cloud-logo img { width: 104px; height: 104px; animation: none; transition: transform .4s; }
.site-header .cloud-logo:hover img { transform: scale(1.04); }
.site-header .nav { gap: clamp(12px,1.8vw,30px); animation: none; }
.site-header .nav-left { justify-content: flex-end; }
.site-header .nav-right { justify-content: flex-start; }
.site-header .nav-link { color: #234639; font-weight: 700; font-size: clamp(.8rem,1vw,.95rem); padding: 16px 0; white-space: nowrap; }
.site-header .nav-link:hover,.site-header .nav-link.active { color: #a86728; }
.site-header .nav-link::after { background: #ba8044; bottom: 6px; height: 2px; transform-origin: center; }
.site-header .header-actions { top: 34px; right: 12px; }
.site-header .icon-btn { color: #234639; background: transparent; border: 1px solid #23463920; border-radius: 50%; }
.site-header .reading-progress { height: 2px; background: linear-gradient(90deg,#347759,#d1ae70); }
.site-header .nav::before { display: none; }
[data-theme="dark"] .site-header { background: #172b23; color: #fff; }
[data-theme="dark"] .site-header .nav-link,[data-theme="dark"] .site-header .icon-btn { color: #f4f0e7; }
@media (max-width:1000px) {
    .site-header .wrap,.site-header.solid .wrap { min-height: 88px; grid-template-columns: 1fr 110px 1fr; padding: 0 16px; }
    .site-header .nav { display: none; }
    .site-header .cloud-logo { grid-column: 2; width: 110px; height: 88px; }
    .site-header .cloud-logo img { width: 82px; height: 82px; }
    .site-header .header-actions { inset: 22px 18px auto; justify-content: space-between; pointer-events: none; }
    .site-header .header-actions button { pointer-events: auto; }
    .site-header .burger { display: inline-grid; }
}
.language-widget { position: fixed; z-index: 110; right: 24px; bottom: max(24px,env(safe-area-inset-bottom)); color: #173b30; font-family: var(--font-sans); }
.language-widget summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; background: #fffef8; border: 1px solid #17483222; border-radius: 30px; box-shadow: 0 8px 32px #0b302a35; cursor: pointer; list-style: none; font-size: .72rem; font-weight: 800; letter-spacing: .035em; transition: transform .25s,box-shadow .25s; }
.language-widget summary::-webkit-details-marker { display: none; }
.language-widget summary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px #0b302a45; }
.language-widget summary:focus-visible { outline: 3px solid #83b649; outline-offset: 4px; }
.language-chevron { font-size: 1.1rem; transition: transform .3s; }
.language-widget[open] .language-chevron { transform: rotate(180deg); }
.language-panel { position: absolute; right: 0; bottom: 64px; width: 280px; padding: 23px; background: #fffef8; border: 1px solid #17483222; border-radius: 20px; box-shadow: 0 18px 60px #0b302a35; }
.language-panel strong,.language-caption { display: block; }
.language-panel strong { font-size: 1.15rem; }
.language-caption { font-size: .78rem; color: #64746b; margin: 4px 0 18px; }
@media (max-width:600px) {
    .language-widget { right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); }
    .language-widget summary { min-height: 46px; padding-inline: 13px; gap: 7px; font-size: .65rem; }
    .language-panel { width: min(280px,calc(100vw - 24px)); bottom: 58px; }
}
@media (prefers-reduced-motion:no-preference) { .language-widget[open] .language-panel { animation: language-open .25s ease-out; } @keyframes language-open { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } } }

.language-option { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 10px; border-radius: 10px; font-size: .9rem; }
.language-option > :last-child { margin-left: auto; }
.language-option:hover,.language-option[aria-current] { background: #e8efdf; color: #173b30; }
.language-code { font-size: .65rem; font-weight: 800; color: #657969; width: 24px; }
.language-option:focus-visible { outline: 2px solid #548554; outline-offset: 1px; }
@media (min-width:1001px) {
    .site-header .wrap,.site-header .cloud-logo,.site-header .cloud-logo img { transition: min-height .3s ease,height .3s ease,width .3s ease; }
    .site-header.solid .wrap { min-height: 92px; }
    .site-header.solid .cloud-logo { height: 92px; }
    .site-header.solid .cloud-logo img { width: 86px; height: 86px; }
    .site-header.solid .header-actions { top: 24px; }
}
@media (prefers-reduced-motion:reduce) {
    .site-header .wrap,.site-header .cloud-logo,.site-header .cloud-logo img { transition: none; }
}
