@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/golos-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/golos-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* burgas24 — стиль по мотивам sait24.com */
:root {
  --ac: #d62612;      /* акцент — красный из логотипа */
  --btn: #00875f;     /* тёмные кнопки — изумрудный */
  --ac-l: #ffb3a7;    /* светлый вариант для текста на тёмном */
  --sea: #00875f;     /* зелёный из логотипа */
  --ink: #0b2540;     /* глубокий тёмно-синий */
  --bg: #f3eee4;
  --box: #fff;
  --soft: #ece5d6;
  --text: #0b2540;
  --muted: #566470;   /* контраст не ниже 4,5:1 на белом и песочном */
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #efe8d9; color: var(--text); font: 400 17px/1.55 "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
p { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 12px; }
.box { background: var(--box); border-radius: var(--r); padding: 32px; position: relative; overflow: hidden; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 12px; }
.label { font-size: 14px; font-weight: 500; color: var(--muted); }
.label--light { color: rgba(255, 255, 255, .85); }
.big { font-size: 88px; font-weight: 800; letter-spacing: -0.06em; line-height: .9; }

/* Фон со стеклянными пятнами (жёлтый + морской) */
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none; opacity: .7;
  background:
    radial-gradient(28% 32% at 78% 12%, rgba(214, 38, 18, .3), transparent 70%),
    radial-gradient(26% 30% at 12% 38%, rgba(0, 150, 110, .45), transparent 70%),
    radial-gradient(30% 34% at 88% 62%, rgba(120, 224, 190, .65), transparent 70%),
    radial-gradient(24% 28% at 30% 92%, rgba(0, 150, 110, .4), transparent 70%);
  filter: blur(40px);
  animation: blobs 24s ease-in-out infinite alternate;
}
@keyframes blobs {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -2%, 0) scale(1); }
}
.glass {
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 8px 32px rgba(20, 20, 20, .06), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* Логотип: «burgas» + облачко «24» */
.logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -0.045em; }
.logo i { display: inline-grid; place-items: center; height: 28px; margin-left: 4px; padding: 0 9px; border-radius: 99px 99px 99px 5px; background: linear-gradient(#fff 0 33.4%, #00966e 33.4% 66.7%, #d62612 66.7% 100%); color: #0b2540; text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); font-style: normal; font-size: 17px; letter-spacing: -0.03em; }
.logo--sm { font-size: 18px; }
.logo--sm i { height: 24px; padding: 0 7px; font-size: 14px; margin-left: 3px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 99px; background: var(--ac); color: #fff; font-weight: 600; white-space: nowrap; transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--dark { background: var(--btn); color: #fff; }
.btn--light { background: rgba(255, 255, 255, .5); color: inherit; }

/* Шапка */
.header { position: sticky; top: 12px; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 24px; border-radius: 99px; overflow: visible;
  background: rgba(255, 255, 255, .5); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 8px 32px rgba(20, 20, 20, .06), inset 0 1px 0 rgba(255, 255, 255, .9); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 10px 16px; border-radius: 99px; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .2s; }
.nav a:hover { background: var(--soft); }
.nav .nav__cta { background: var(--btn); color: #fff; }
.nav .nav__cta:hover { background: #006e50; color: #fff; }
.lang { display: flex; gap: 2px; margin-left: 8px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .45); font-size: 13px; font-weight: 600; }
.lang a { padding: 7px 10px; border-radius: 99px; color: var(--muted); transition: color .2s, background .2s; }
.lang a:hover { color: var(--text); }
.lang a.is-active { background: var(--box); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.lang a.is-soon { opacity: .55; cursor: default; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform .25s, top .25s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero с фото */
.hero { grid-column: span 8; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--btn); color: #fff; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 30, .55) 0%, rgba(10, 20, 30, .05) 40%, rgba(10, 20, 30, .7) 100%); }
.hero > *:not(.hero__bg):not(.hero__slides) { position: relative; z-index: 1; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero h1 { font-size: clamp(40px, 5vw, 64px); max-width: 12ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 u { text-decoration: none; color: #b8f5d6; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); position: relative; }
.hero__bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hero__bottom p { color: rgba(255, 255, 255, .85); font-size: 19px; max-width: 34ch; }

/* Погода и море */
.side { grid-column: span 4; display: grid; gap: 12px; grid-template-rows: auto 1fr; }
.weather { background: rgba(0, 112, 80, .97); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid rgba(255, 255, 255, .6); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 20px; }
.weather .label { color: #fff; opacity: 1; }
.weather__now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.weather__top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.weather__col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.weather__sea { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .3); }
.weather .big { font-size: 46px; }
.weather__sea .big { color: #d9fbe9; }
.weather .chips { gap: 4px; }
.weather .chips span { color: var(--ink); padding: 2px 8px; font-size: 12px; }
.weather__desc { display: flex; flex-direction: column; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.2; }
.wicon { font-size: 24px; line-height: 1; margin-bottom: 2px; }
.weather__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.weather__days div { color: var(--ink); background: rgba(255, 255, 255, .85); border-radius: 12px; padding: 5px 8px; font-size: 12px; line-height: 1.25; }
.weather__days b { display: block; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); font-weight: 500; font-size: 15px; }

/* Курс валют */
.fx { grid-column: 1 / -1; padding: 14px 18px; background: #006e50; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.fx__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fx__head .label { color: rgba(255, 255, 255, .8); font-size: 12px; }
.fx__head .label:first-child { color: #fff; font-weight: 600; }
.fx__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.fx__item { display: inline-flex; align-items: baseline; gap: 6px; }
.fx__item small { color: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 600; }
.fx__item b { font-size: 14px; font-weight: 700; color: #d9fbe9; }

/* Заголовки секций */
.sec { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 64px 20px 0; }
.sec h2 { font-size: clamp(34px, 5vw, 64px); }
.sec .label { white-space: nowrap; }
.map-btn { height: 60px; padding: 0 32px; font-size: 18px; box-shadow: 0 6px 18px rgba(11, 37, 64, .16); }
@media (max-width: 700px) { .sec:has(.map-btn) { flex-wrap: wrap; align-items: flex-start; } .map-btn { width: 100%; } }

/* Категории: фото-карточки и плитки */
.cats { grid-auto-flow: dense; }
.photo { grid-column: span 4; padding: 10px; display: flex; flex-direction: column; transition: transform .3s; }
.photo--big { grid-column: span 8; }
.photo--wide { grid-column: span 8; }
.photo--tall { grid-column: span 6; grid-row: span 2; }
.photo img { width: 100%; flex: 1; min-height: 240px; max-height: 420px; object-fit: cover; border-radius: 20px; background: var(--soft); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.photo--tall img { max-height: none; }
.photo:hover { transform: translateY(-4px); }
.photo__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 12px 8px; }
.photo h3, .cam h3, .cat h3 { font-size: 21px; }
.photo p, .cam p, .cat p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.arr { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; transition: background .3s, color .3s; }
.photo:hover .arr, .cat:hover .arr { background: var(--ac); color: #fff; }

.cat { grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 200px; padding: 24px; transition: transform .3s, background .3s; }
.cat--half { grid-column: span 6; flex-direction: row; align-items: center; min-height: 0; }
.cat--half div { flex: 1; }
.cat:hover { transform: translateY(-4px); }
.cat__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--soft); font-size: 26px; line-height: 1; }
.soon { position: absolute; top: 24px; right: 24px; padding: 4px 10px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; }
.cat--half .soon { position: static; }
.cat--dark { background: var(--btn); color: #fff; }
.cat--dark p { color: rgba(255, 255, 255, .85); }
.cat--dark .cat__ico { background: var(--ac); color: #fff; }
.cat--dark .arr { position: absolute; top: 24px; right: 24px; background: rgba(255, 255, 255, .1); }

/* Полезно знать */
.facts { list-style: none; padding: 0; margin-bottom: 0; }
.fact { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.fact__n { align-self: flex-start; display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 14px; border-radius: 99px; background: var(--ac); color: #fff; font-weight: 800; font-size: 18px; }
.fact h3 { font-size: 24px; margin-top: 32px; }
.fact p { color: var(--muted); font-size: 15px; }

/* CTA */
.cta { grid-column: 1 / -1; background: var(--ac); color: #fff; text-align: center; padding: 90px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 52px; }
.cta { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 100% 50%, rgba(255, 255, 255, .14), transparent 70%), linear-gradient(135deg, #006e50, #00966e); display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "h m" "p m" "l m"; align-items: center; justify-items: start; text-align: left; column-gap: 40px; row-gap: 14px; padding: 56px 56px 56px 64px; }
.cta h2 { grid-area: h; align-self: end; }
.cta p { grid-area: p; }
.cta .cta__links { grid-area: l; align-self: start; justify-content: flex-start; }
.cta__map { grid-area: m; width: 100%; max-width: 380px; height: auto; justify-self: end; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px rgba(0, 0, 0, .3); }
.mp__waves path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.4; stroke-linecap: round; animation: mpWave 6s ease-in-out infinite alternate; }
.mp__waves path:nth-child(2) { animation-delay: -1.5s; } .mp__waves path:nth-child(3) { animation-delay: -3s; } .mp__waves path:nth-child(4) { animation-delay: -4.5s; } .mp__waves path:nth-child(5) { animation-delay: -2.2s; }
@keyframes mpWave { from { transform: translateX(-14px); opacity: .25; } to { transform: translateX(14px); opacity: .9; } }
.mp__coast { fill: none; stroke: #d9fbe9; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: mpDraw 3.2s ease-out .3s forwards; filter: drop-shadow(0 0 4px rgba(217, 251, 233, .7)); }
@keyframes mpDraw { to { stroke-dashoffset: 0; } }
.mp__rip { fill: none; stroke: #d9fbe9; stroke-width: 2; stroke-opacity: 0; animation: mpRip 4.5s ease-out 3s infinite; }
.cta .btn--light { background: rgba(255, 255, 255, .2); color: #fff; }
.cta .btn--dark { background: #fff; color: #0b2540; }
.mp__rip--2 { animation-delay: 5.2s; }
@keyframes mpRip { 0% { stroke-width: 2; stroke-opacity: .5; } 100% { stroke-width: 26; stroke-opacity: 0; } }
.mp__route { fill: none; stroke: #fff; stroke-width: 1.6; stroke-dasharray: 3 6; stroke-linecap: round; opacity: .75; animation: mpDash 1.2s linear infinite; }
@keyframes mpDash { to { stroke-dashoffset: -9; } }
.mp__car { fill: #d62612; stroke: #fff; stroke-width: 2; }
.mp__dot { fill: #fff; stroke: #d62612; stroke-width: 2.5; }
.mp__ring { fill: none; stroke: #fff; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: mpPing 3.2s ease-out infinite; animation-delay: var(--d); }
@keyframes mpPing { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(4); opacity: 0; } }
.mp__t { fill: #fff; font: 600 11px "Golos Text", system-ui, sans-serif; paint-order: stroke; stroke: rgba(11, 37, 64, .7); stroke-width: 3px; }
@media (prefers-reduced-motion: reduce) { .mp__waves path, .mp__rip, .mp__route, .mp__ring { animation: none; } .mp__coast { animation: none; stroke-dashoffset: 0; } .mp__rip, .mp__ring { display: none; } .mp__car { display: none; } }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; grid-template-areas: "h" "p" "l" "m"; justify-items: center; text-align: center; padding: 48px 20px 28px; } .cta .cta__links { justify-content: center; } .cta__map { justify-self: center; max-width: 340px; margin-top: 20px; } }
.cta h2 { font-size: clamp(36px, 5.2vw, 76px); }
.cta p { font-size: 19px; opacity: .85; }
.cta__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }

/* Подвал */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 20px 8px; color: var(--muted); font-size: 15px; }
.footer .logo { color: var(--text); }
.footer__about { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.credits { padding: 0 20px 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* Появление */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:not(.is-done) { transition-delay: calc(var(--d, 0) * 80ms); }

/* Анимации заголовка и логотипа */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: wIn .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 100ms); }
@keyframes wIn { to { opacity: 1; transform: none; } }
.header .logo i { transform-origin: 0 100%; animation: pop .8s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
.header .logo:hover i { animation: pop .8s cubic-bezier(.3, 1.6, .5, 1) .25s both, wiggle .6s ease; }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg) scale(1.06); } 60% { transform: rotate(6deg); } }
.ar-i { display: inline-block; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.btn:hover .ar-i { transform: translateX(4px); }
.photo:hover .arr .ar-i, .cat:hover .arr .ar-i { transform: translate(2px, -2px) scale(1.1); }

/* Адаптив */
/* Евровидение: шоу-заставка — градиент, неоновые лучи и блики на чистом CSS */
.esc { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 48px; align-items: center; color: #fff; padding: 40px; isolation: isolate;
  background:
    radial-gradient(60% 90% at 12% 0%, rgba(255, 64, 190, .45), transparent 60%),
    radial-gradient(55% 80% at 100% 100%, rgba(0, 200, 255, .38), transparent 60%),
    radial-gradient(50% 70% at 60% 30%, rgba(140, 80, 255, .35), transparent 65%),
    linear-gradient(135deg, #070a35 0%, #1b0e55 50%, #0c1048 100%); }
/* лучи: вращающийся конус розового, голубого и фиолетового света */
.esc::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; margin: -85% 0 0 -85%; pointer-events: none; mix-blend-mode: screen; opacity: .7; filter: blur(14px);
  background: conic-gradient(from 0deg, transparent 0 6%, rgba(255, 70, 200, .5) 9%, transparent 13% 28%, rgba(0, 210, 255, .45) 32%, transparent 36% 52%, rgba(160, 100, 255, .55) 56%, transparent 60% 76%, rgba(255, 70, 200, .4) 80%, transparent 84% 100%);
  animation: esc-spin 60s linear infinite; }
/* блики: мягкие светящиеся пятна, плавно плывут */
.esc::after { content: ""; position: absolute; z-index: -1; inset: -10%; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .5) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 22%, rgba(255, 140, 220, .7) 0 3px, transparent 6px),
    radial-gradient(circle at 64% 78%, rgba(120, 230, 255, .7) 0 3px, transparent 7px),
    radial-gradient(circle at 36% 82%, rgba(190, 150, 255, .7) 0 2px, transparent 5px),
    radial-gradient(circle at 90% 60%, rgba(255, 255, 255, .45) 0 2px, transparent 4px),
    radial-gradient(40% 40% at 85% 15%, rgba(255, 90, 210, .28), transparent 70%),
    radial-gradient(35% 45% at 10% 95%, rgba(0, 200, 255, .25), transparent 70%);
  animation: esc-float 14s ease-in-out infinite alternate; }
@keyframes esc-spin { to { transform: rotate(360deg); } }
@keyframes esc-float { from { transform: translate3d(-2%, 1%, 0) scale(1); } to { transform: translate3d(2%, -2%, 0) scale(1.06); } }
.esc__main { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.esc__main .label { color: #ff9be0; }
.esc__main h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(10, 8, 50, .8); }
.esc__main p { margin: 0; color: #ebe8fb; text-shadow: 0 1px 12px rgba(10, 8, 50, .8); }
.esc__winner { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 14px; border-radius: 20px; background: rgba(8, 6, 40, .55); border: 1px solid rgba(255, 155, 224, .45); box-shadow: 0 0 26px rgba(255, 70, 200, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.esc__winner svg { flex: none; color: #ffcf33; filter: drop-shadow(0 0 8px rgba(255, 207, 51, .8)); }
.esc__winner div { display: flex; flex-direction: column; line-height: 1.3; }
.esc__winner small { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #ff9be0; }
.esc__winner b { font-size: 18px; }
.esc__winner span { font-size: 13px; color: #d6d1f5; }
.esc__winner { flex-wrap: wrap; }
.esc__play { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--ac); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: transform .2s, filter .2s; }
.esc__play:hover { transform: translateY(-1px); filter: brightness(1.06); }
.esc__play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.esc__bg { position: absolute; inset: 0; z-index: -1; display: none; container-type: size; overflow: hidden; background: #070a35; pointer-events: none; }
.esc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 10, 53, .78), rgba(27, 14, 85, .55) 60%, rgba(7, 10, 53, .7)); }
.esc__bg iframe { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; }
.esc.is-playing .esc__bg { display: block; }
.esc.is-playing::before, .esc.is-playing::after { display: none; }
.esc__side { display: flex; flex-direction: column; gap: 16px; }
.esc__timer small { display: block; margin-bottom: 8px; color: #d6d1f5; font-size: 14px; }
.esc__digits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.esc__digits span { display: flex; flex-direction: column; align-items: center; padding: 14px 4px; border-radius: 18px; background: rgba(8, 6, 40, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 22px rgba(255, 70, 200, .18); }
.esc__digits b { font-size: clamp(24px, 3.4vw, 38px); line-height: 1; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(0, 210, 255, .9), 0 0 28px rgba(255, 70, 200, .6); }
.esc__digits i { margin-top: 6px; font-style: normal; font-size: 12px; color: #d6d1f5; }
.esc__dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.esc__dates li { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 18px; background: rgba(8, 6, 40, .5); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.esc__dates b { font-size: 17px; }
.esc__dates span { font-size: 13px; color: #d6d1f5; }
.esc__note { margin: 0; font-size: 13px; color: #d6d1f5; }
@media (max-width: 700px) {
  .esc::before { width: 220%; margin: -110% 0 0 -110%; opacity: .55; filter: none; animation: none; }
  .esc::after { animation: none; }
  .esc__digits span, .esc__dates li, .esc__winner { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) { .esc::before, .esc::after { animation: none; } }
@media (max-width: 1000px) {
  .nav { gap: 2px; }
  .nav a { padding: 9px 10px; font-size: 14px; }
  .header { padding-left: 18px; }
  .hero, .side { grid-column: 1 / -1; }
  .side { grid-template-rows: none; grid-template-columns: 1fr; }
  .photo, .photo--big, .photo--wide { grid-column: span 6; }
  .photo--tall { grid-column: 1 / -1; grid-row: auto; }
  .photo--tall img { max-height: 420px; }
  .cat { grid-column: span 4; }
  .cat--half { grid-column: span 6; }
  .fact { grid-column: span 6; }
}
@media (max-width: 900px) { .esc { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 8px; }
  .grid { gap: 8px; margin-top: 8px; }
  .box { padding: 24px; border-radius: 22px; }
  .header { top: 8px; padding: 8px 8px 8px 18px; }
  .burger { display: block; }
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 4px; padding: 10px; background: var(--box); border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .nav .nav__cta { text-align: center; margin-top: 4px; }
  .lang { margin-left: auto; margin-right: 8px; }
  .lang a { padding: 7px 7px; }
  .hero { min-height: 520px; }
  .hero__bottom .btn { width: 100%; }
  .side { grid-template-columns: 1fr; }
  .big { font-size: 72px; }
  .weather .big { font-size: 46px; }
  .sec { padding: 48px 12px 0; }
  .photo, .photo--big, .photo--wide, .photo--tall { grid-column: 1 / -1; padding: 8px; }
  .photo img { min-height: 200px; max-height: 260px; }
  .cat, .cat--half { grid-column: span 6; flex-direction: column; align-items: stretch; min-height: 0; padding: 18px; gap: 16px; }
  .cat h3 { font-size: 17px; }
  .cat p { font-size: 13px; }
  .cat__ico { width: 44px; height: 44px; font-size: 22px; border-radius: 14px; }
  .soon { top: 18px; right: 18px; font-size: 11px; }
  .cat--half .soon { position: absolute; }
  .cat--dark .arr { top: 18px; right: 18px; width: 34px; height: 34px; }
  .fact { grid-column: 1 / -1; min-height: 0; }
  .fact h3 { margin-top: 12px; }
  .cta { padding: 64px 20px; margin-top: 40px; }
  .cta__links .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, .hero__bg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .w, .header .logo i { animation: none !important; opacity: 1 !important; transform: none !important; }
  * { transition: none !important; }
}

/* Вебкамеры */
.cam { grid-column: span 4; padding: 10px; display: flex; flex-direction: column; transition: transform .3s; }
.cam:hover { transform: translateY(-4px); }
.cam__img { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--soft); }
.cam__img img { width: 100%; height: 100%; object-fit: cover; }
.cam__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 35%); }
.live { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: #e5352b; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.cam-side { grid-column: span 4; display: grid; gap: 12px; }
.cam-side .cat { grid-column: auto; min-height: 0; }
.cam-side .cat .arr { position: absolute; top: 24px; right: 24px; }
.cam:hover .arr { background: var(--ac); color: #fff; }
.cam:hover .arr .ar-i { transform: translate(2px, -2px) scale(1.1); }

.sec a.label:hover { color: var(--text); }
  background: linear-gradient(135deg, #ffcf33 0%, #ee2a7b 50%, #6228d7 100%); }

@media (max-width: 1000px) {
  .cam { grid-column: span 6; }
  .cam-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cam { grid-column: 1 / -1; padding: 8px; }
  .cam-side { grid-template-columns: 1fr; gap: 8px; }
  .cam-side .cat { grid-column: auto; }
  .cam-side .cat .arr { top: 18px; right: 18px; }
}

/* Страница «Евровидение 2027» */
.esc h1 { margin: 0; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(10, 8, 50, .8); }
.ev-jump { display: flex; gap: 8px; margin-top: 12px; padding: 4px 2px; overflow-x: auto; scrollbar-width: none; }
.ev-jump::-webkit-scrollbar { display: none; }
.ev-jump a { flex: none; padding: 10px 16px; border-radius: 99px; background: var(--box); font-weight: 500; font-size: 15px; transition: background .2s; }
.ev-jump a:hover { background: var(--ac); color: #fff; }
.ev-notice { margin-top: 12px; padding: 14px 20px; border-radius: 20px; background: rgba(0, 150, 110, .2); font-size: 14px; line-height: 1.45; }
.ev-hint { margin: 12px 20px 0; color: var(--muted); font-size: 14px; }
.ev-wide { grid-column: span 8; }
.ev-side { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; }
.ev-dark { background: var(--btn); color: #fff; }
.ev-dark .ev-list li::before { background: #d9fbe9; }
.ev-dark p { color: #cfcfcf; }
.ev-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ev-steps li { counter-increment: s; position: relative; padding-left: 56px; }
.ev-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 800; }
.ev-steps b { display: block; font-size: 18px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ev-list li { position: relative; padding-left: 18px; }
.ev-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--sea); }
.ev-list a { text-decoration: underline; text-underline-offset: 3px; }
.ev-side .btn { align-self: flex-start; margin-top: auto; }
.ev-photo { grid-column: span 5; }
.ev-text { grid-column: span 7; display: flex; flex-direction: column; gap: 16px; }
.ev-text h3, .ev-card h3 { font-size: 24px; }
.ev-dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.ev-dl dt { color: var(--muted); }
.ev-dl dd { margin: 0; }
.ev-map { grid-column: 1 / -1; padding: 10px; }
.ev-map svg { display: block; width: 100%; height: auto; border-radius: 20px; }
.ev-air { grid-column: span 3; }
.ev-card { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.ev-card p { color: var(--muted); font-size: 15px; }
.ev-dark p { color: #cfcfcf; }
.ev-third { grid-column: span 4; min-height: 0; }
.ev-link { grid-column: span 4; }
.ev-faq { grid-column: 1 / -1; padding: 8px 32px; }
.ev-faq details { border-bottom: 1px solid var(--soft); padding: 18px 0; }
.ev-faq details:last-child { border-bottom: 0; }
.ev-faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ev-faq summary::-webkit-details-marker { display: none; }
.ev-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--sea); transition: transform .2s; }
.ev-faq details[open] summary::after { transform: rotate(45deg); }
.ev-faq details p { margin-top: 10px; color: var(--muted); }
.ev-src { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; margin-top: 52px; }
.ev-src h3 { font-size: 24px; }
.ev-src .ev-hint { margin: 0; }
@media (max-width: 1000px) {
  .ev-wide, .ev-side, .ev-photo, .ev-text { grid-column: 1 / -1; }
  .ev-air { grid-column: span 6; }
  .ev-card, .ev-third, .ev-link { grid-column: span 6; }
}
@media (max-width: 700px) {
  .ev-air, .ev-card, .ev-third, .ev-link { grid-column: 1 / -1; }
  .ev-dl { grid-template-columns: 1fr; gap: 2px; }
  .ev-dl dd { margin-bottom: 10px; }
  .ev-faq { padding: 4px 20px; }
  .ev-steps li { padding-left: 50px; }
}
#transfer .photo img, #stay .photo img { max-height: 280px; min-height: 200px; }
.ev-air .cat__ico { font-size: 24px; }

/* Заказ услуг */
.ev-esim { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 40px; align-items: center; padding: 36px; color: #fff;
  background: radial-gradient(60% 90% at 0% 0%, rgba(255, 64, 190, .35), transparent 60%), radial-gradient(55% 80% at 100% 100%, rgba(0, 200, 255, .3), transparent 60%), linear-gradient(135deg, #070a35, #1b0e55 55%, #0c1048); }
.ev-esim__main { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ev-esim__main .label { color: #ff9be0; }
.ev-esim h3 { font-size: clamp(30px, 4vw, 46px); }
.ev-esim p { color: #ebe8fb; }
.ev-esim__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: e; }
.ev-esim__steps li { counter-increment: e; display: flex; flex-direction: column; position: relative; padding: 12px 16px 12px 60px; border-radius: 18px; background: rgba(8, 6, 40, .55); border: 1px solid rgba(255, 255, 255, .18); }
.ev-esim__steps li::before { content: counter(e); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 800; }
.ev-esim__steps span { font-size: 13px; color: #d6d1f5; }
.ev-esim__note { grid-column: 1 / -1; font-size: 13px; color: #d6d1f5; }
.ev-cta { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 12px; padding: 16px 20px; background: var(--ac); color: #fff; }
.ev-cta > span { font-weight: 700; font-size: 17px; }
.ev-cta__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-cta .btn { height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 700px) { .ev-cta { padding: 16px; } .ev-cta__btns, .ev-cta .btn { width: 100%; } .ev-esim { padding: 24px; } }

/* Страница Евровидение: оформление разделов и услуг */
.ev-lead { margin: 10px 20px 18px; max-width: 640px; color: var(--muted); font-size: 17px; }
.ev-group { margin: 36px 20px 14px; font-size: 24px; display: flex; align-items: center; gap: 12px; }
.ev-group::after { content: ""; flex: 1; height: 1px; background: rgba(11, 37, 64, .12); }
.ev-svcs { margin-top: 0; }
.ev-svc { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 230px; padding: 24px; transition: transform .3s; }
.ev-svc:hover { transform: translateY(-4px); }
.ev-svc h3 { font-size: 21px; }
.ev-svc p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.ev-svc .cat__ico { align-self: flex-start; margin-bottom: 8px; }
.ev-svc .btn { height: 46px; align-self: flex-start; }
.ev-jump { position: sticky; top: 88px; z-index: 8; margin-top: 12px; padding: 6px; border-radius: 99px; background: rgba(233, 232, 226, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sec + .ev-lead { margin-top: 12px; }
@media (max-width: 1000px) { .ev-svc { grid-column: span 6; } }
@media (max-width: 700px) { .ev-svc { grid-column: 1 / -1; min-height: 0; } .ev-lead { font-size: 16px; } .ev-group { margin-top: 28px; } .ev-jump { top: 80px; } }
html:has(.ev-jump) { scroll-padding-top: 150px; }
@media (max-width: 1000px) { .ev-esim { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .ev-esim { padding: 24px; } }

/* Блок погоды: строка «Вебкамеры» над температурами */
.weather__cams { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 3px 3px 3px 14px; border-radius: 99px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 2px 10px rgba(11, 37, 64, .06); }
.weather__cams-t { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: -0.01em; }
.weather__cams-t small { font-weight: 500; font-size: 12px; opacity: .85; white-space: nowrap; }
.live-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #e5352b; box-shadow: 0 0 0 0 rgba(229, 53, 43, .6); animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgba(229, 53, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 53, 43, 0); } }
.weather__go { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 16px; border-radius: 99px; background: var(--btn); color: #fff; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.weather__go:hover { background: #fff; color: var(--ink); transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
@media (max-width: 700px) { .weather__cams-t small { display: none; } }
.sec h1 { font-size: clamp(34px, 5vw, 64px); }
/* Компактность блока погоды: общая высота остаётся прежней */
.box.weather { padding: 12px 16px; gap: 6px; }
.weather__cams { padding: 2px 2px 2px 12px; }
.weather__go { height: 28px; padding: 0 14px; font-size: 13px; }
.weather__cams-t { font-size: 15px; }
.box.weather .big { font-size: 38px; }
.weather .wicon { font-size: 22px; }
.weather__top { gap: 10px; }
.weather__days div { padding: 3px 8px; }
/* Погода: меньше отступов сверху и снизу, крупнее блок вебкамер */
.box.weather { padding: 8px 14px; gap: 8px; justify-content: space-between; }
.weather__cams { padding: 4px 4px 4px 14px; }
.weather__cams-t { font-size: 18px; gap: 10px; }
.weather__cams-t small { font-size: 13px; }
.live-dot { width: 11px; height: 11px; }
.weather__go { height: 36px; padding: 0 18px; font-size: 15px; }

/* Вебкамеры в блоке погоды: крупная карточка с превью */
.weather__cams { gap: 12px; padding: 6px 6px 6px 6px; border-radius: 20px; color: var(--ink); transition: background .2s; }
.weather__cams:hover { background: rgba(255, 255, 255, .8); }
.weather__thumb { flex: none; width: 64px; height: 48px; object-fit: cover; border-radius: 14px; }
.weather__cams-t { flex: 1; flex-direction: column; align-items: flex-start; gap: 1px; }
.weather__cams-t b { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 17px; font-weight: 700; }
.weather__cams-t small { display: block; font-size: 13px; }
.weather__go { height: 38px; border-radius: 14px; }
.weather__cams:hover .weather__go { background: #006e50; color: #fff; transform: translateX(2px); }
@media (max-width: 700px) { .weather__thumb { display: none; } .weather__cams { padding: 4px 4px 4px 14px; } .weather__cams-t b { font-size: 16px; } .weather__cams-t small { display: none; } .weather__go { height: 32px; } }
/* Вебкамеры: текст не наезжает на кнопку «Перейти» */
.weather__cams { gap: 10px; }
.weather__cams-t { min-width: 0; }
.weather__cams-t b { white-space: normal; font-size: 16px; line-height: 1.15; }
.weather__cams-t b .live-dot { align-self: flex-start; margin-top: 4px; }
.weather__thumb { width: 56px; height: 44px; }
.weather__go { padding: 0 14px; font-size: 14px; }
@media (min-width: 1001px) and (max-width: 1240px) { .weather__thumb { display: none; } }

/* Hero: слайд-шоу фото (плавная смена, без JS и видео) */
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide { opacity: 0; animation: heroFade 18s linear infinite, heroKb 15s ease-in-out infinite alternate; animation-delay: calc(var(--i) * 6s - 1.5s), 0s; }
@keyframes heroFade { 0% { opacity: 0; } 8% { opacity: 1; } 33% { opacity: 1; } 41% { opacity: 0; } 100% { opacity: 0; } }
@keyframes heroFade0 { 0%, 33% { opacity: 1; } 41%, 100% { opacity: 0; } }
.hero__slide:first-child { opacity: 1; animation: heroFade0 18s linear infinite, heroKb 15s ease-in-out infinite alternate; animation-delay: -1.5s, 0s; }
@keyframes heroKb { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; }
  .hero__slide:first-child { opacity: 1; transform: none; }
}

/* Страница «Достопримечательности» */
.sg-hero { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 48px; align-items: center; padding: 44px; color: #fff; isolation: isolate;
  background: radial-gradient(60% 90% at 0% 0%, rgba(214, 38, 18, .3), transparent 60%), radial-gradient(55% 80% at 100% 100%, rgba(0, 150, 110, .4), transparent 60%), linear-gradient(135deg, #0b2540 0%, #0b5a48 55%, #00966e 100%); }
.sg-hero__main { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sg-hero .label { color: #fff; opacity: .9; }
.sg-hero h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; text-shadow: 0 2px 24px rgba(5, 20, 45, .5); }
.sg-hero p { color: #e8f4fb; max-width: 56ch; }
.sg-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sg-hero__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sg-hero__stats li { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; border-radius: 20px; background: rgba(5, 20, 45, .35); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sg-hero__stats b { font-size: 36px; line-height: 1; font-weight: 800; color: #fff; min-width: 76px; }
.sg-hero__stats span { color: #e8f4fb; }
.sg-trips { margin-top: 0; }
.sg-trip { grid-column: span 3; min-height: 150px; }
.sg-trip .arr { position: absolute; top: 20px; right: 20px; }
.sg-transport { margin-top: 12px; display: flex; flex-direction: column; gap: 14px; }
.sg-transport h3 { font-size: 24px; }
.sg-town { margin-top: 72px; scroll-margin-top: 150px; }
.sg-town__head { display: flex; align-items: center; gap: 18px; padding: 0 20px; flex-wrap: wrap; }
.sg-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 800; font-size: 18px; flex: none; }
.sg-town__title { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 10px; }
.sg-town__title h2 { font-size: clamp(30px, 4.4vw, 54px); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-chip { padding: 4px 12px; border-radius: 99px; background: var(--box); font-size: 13px; font-weight: 500; }
.sg-chip--dist { background: var(--btn); color: #fff; }
.sg-town__intro { display: block; padding: 18px 20px 14px; }
.sg-town__intro--img { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.sg-lead { font-size: 18px; max-width: 62ch; }
.sg-town__img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; border-radius: 24px; }
.sg-cards { margin-top: 0; }
.sg-card { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; min-height: 220px; transition: transform .3s; }
.sg-card:hover { transform: translateY(-3px); }
.sg-card .cat__ico { align-self: flex-start; margin-bottom: 4px; }
.sg-card h3 { font-size: 21px; }
.sg-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sg-tag { align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; }
.sg-events { padding: 12px 32px; }
.sg-timeline { list-style: none; margin: 0; padding: 0; }
.sg-timeline li { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--soft); }
.sg-timeline li:last-child { border-bottom: 0; }
.sg-timeline b { color: var(--sea); }
.sg-timeline span { color: var(--muted); }
.sg-timeline strong { color: var(--text); }
@media (max-width: 1000px) { .sg-hero { grid-template-columns: 1fr; padding: 32px; } .sg-trip { grid-column: span 6; } .sg-card { grid-column: span 6; } .sg-town__intro--img { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .sg-hero { padding: 24px; } .sg-trip, .sg-card { grid-column: 1 / -1; min-height: 0; } .sg-town { margin-top: 56px; } .sg-town__head .btn { width: 100%; } .sg-timeline li { grid-template-columns: 1fr; gap: 2px; } .sg-events { padding: 8px 20px; } .sg-n { width: 46px; height: 46px; } }
.sg-card > div { flex: 1; }
.sg-hero .btn--light { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.sg-hero .btn--light:hover { background: #fff; color: var(--ink); }

/* Пляжи: вариант заставки */
.sg-hero--sun { background: radial-gradient(60% 90% at 100% 0%, rgba(214, 38, 18, .35), transparent 60%), radial-gradient(55% 80% at 0% 100%, rgba(0, 150, 110, .3), transparent 60%), linear-gradient(135deg, #0b5a48 0%, #00875f 55%, #3fc9a0 100%); }

/* Культура и досуг: вариант заставки */
.sg-hero--stage { background: radial-gradient(60% 90% at 100% 0%, rgba(255, 64, 190, .4), transparent 60%), radial-gradient(55% 80% at 0% 100%, rgba(0, 200, 255, .3), transparent 60%), linear-gradient(135deg, #1b0e55 0%, #3a1b86 55%, #7a2fa8 100%); }

/* Поесть и услуги: варианты заставки */
.sg-hero--food { background: radial-gradient(60% 90% at 100% 0%, rgba(214, 38, 18, .4), transparent 60%), radial-gradient(55% 80% at 0% 100%, rgba(255, 120, 60, .35), transparent 60%), linear-gradient(135deg, #7a2a12 0%, #c4501c 55%, #e89a2c 100%); }
.sg-hero--city { background: radial-gradient(60% 90% at 100% 0%, rgba(0, 150, 110, .3), transparent 60%), radial-gradient(55% 80% at 0% 100%, rgba(214, 38, 18, .22), transparent 60%), linear-gradient(135deg, #0b2540 0%, #174a48 55%, #2f8f7a 100%); }

/* Шапка: «Болгария» с флагом */
.geo { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink); }
@media (max-width: 1000px) { .geo { margin-left: 10px; } }
@media (max-width: 560px) { .geo { margin-left: 8px; padding: 4px 9px; font-size: 12px; } }

/* Меню-бургер уже с планшета: пунктов стало больше, в одну строку не помещаются */
@media (min-width: 701px) and (max-width: 1180px) {
  .header { padding: 8px 8px 8px 18px; }
  .burger { display: block; }
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 4px; padding: 10px; background: var(--box); border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .nav .nav__cta { text-align: center; margin-top: 4px; }
  .lang { margin-left: auto; margin-right: 8px; }
}
@media (max-width: 400px) { .lang { margin-right: 4px; } .lang a { padding: 6px 7px; } }
@media (max-width: 380px) { .lang a.is-soon { display: none; } }

/* Карта */
.map-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0 2px; }
.map-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border: 0; border-radius: 99px; background: var(--box); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: opacity .2s, transform .2s; }
.map-chip span { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.map-chip:not(.is-on) { opacity: .45; }
.map-chip:hover { transform: translateY(-1px); }
.map-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.map-box { padding: 8px; }
.map-canvas { width: 100%; height: clamp(560px, 88vh, 960px); border-radius: 22px; overflow: hidden; background: var(--soft); z-index: 0; }
.map-nojs { padding: 16px; color: var(--muted); }
.mk-wrap { background: none; border: 0; }
.mk { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 3px solid var(--c); font-size: 16px; line-height: 1; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.leaflet-popup-content-wrapper { border-radius: 18px; font-family: inherit; }
.mp b { display: block; margin-bottom: 4px; font-size: 16px; }
.mp p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.mp__l { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.mp__l a { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.map-list__c .ev-list li { margin-bottom: 4px; }
@media (max-width: 700px) { .map-canvas { height: 78vh; min-height: 480px; } .map-chip { font-size: 14px; padding: 8px 12px 8px 10px; } }

/* Подписка на уведомление о продаже билетов */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.ev-notify { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px 40px; align-items: center; padding: 32px; color: #fff;
  background: radial-gradient(60% 90% at 100% 0%, rgba(255, 64, 190, .35), transparent 60%), radial-gradient(55% 80% at 0% 100%, rgba(0, 200, 255, .3), transparent 60%), linear-gradient(135deg, #070a35, #1b0e55 55%, #0c1048); }
.ev-notify .label { color: #ff9be0; }
.ev-notify h3 { margin: 6px 0 8px; font-size: clamp(24px, 3vw, 34px); }
.ev-notify p { color: #ebe8fb; font-size: 15px; }
.ev-notify__f { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.ev-notify__f input[type="email"] { height: 52px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 16px; min-width: 0; }
.ev-notify__f input[type="email"]::placeholder { color: #cfc9ee; }
.ev-notify__f input[type="email"]:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; background: rgba(255, 255, 255, .2); }
.ev-notify__f .btn { height: 52px; }
.ev-notify__f .btn:disabled { opacity: .6; cursor: progress; }
.ev-notify .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ev-notify__c { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: #d6d1f5; cursor: pointer; }
.ev-notify__c input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--ac); flex: none; }
.ev-notify__c a { text-decoration: underline; text-underline-offset: 2px; }
.ev-notify__s { grid-column: 1 / -1; min-height: 20px; font-size: 14px; font-weight: 600; }
.ev-notify__s.is-ok { color: #9ff0c2; }
.ev-notify__s.is-err { color: #ffb0b0; }
.esc__notify { display: inline-block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--ac-l); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .ev-notify { grid-template-columns: 1fr; padding: 24px; } }
@media (max-width: 520px) { .ev-notify__f { grid-template-columns: 1fr; } .ev-notify__f .btn { width: 100%; } }
.map-far .mk { transform: scale(.72); }
.mk { transition: transform .2s; }

/* Мобильная вёрстка: ничего не должно вылезать за экран */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 1000px) {
  .sg-hero, .esc, .ev-notify, .ev-esim { grid-template-columns: minmax(0, 1fr); }
  .sg-hero__main, .esc__main, .esc__side { min-width: 0; }
}
@media (max-width: 700px) {
  .sec { flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; }
  .sec .label { white-space: normal; }
  .sec h1, .sec h2 { min-width: 0; }
}
.photo__meta > div, .cat > div { min-width: 0; }
.photo h3, .cam h3, .cat h3, .sg-card h3, .ev-svc h3 { overflow-wrap: anywhere; hyphens: auto; }
.sg-hero__stats li { flex-wrap: wrap; min-width: 0; gap: 2px 14px; }
.sg-hero__stats span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .photo h3, .cam h3, .cat h3 { font-size: 18px; }
  .sg-hero__stats b { min-width: 0; font-size: 30px; }
}

/* Местное время в блоке погоды */
.weather__clock { display: inline-flex; align-items: center; gap: 6px; }
.weather__clock .wclock { flex: none; opacity: 1; }
.weather__clock .wtime { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: #fff; opacity: 1; }
.weather__clock .wsep { opacity: 1; }
/* Переключатель языков на узких экранах */
@media (max-width: 400px) { .lang { padding: 3px; font-size: 12px; } .lang a { padding: 6px 6px; } }
@media (max-width: 370px) { .geo { display: none; } }

/* Радио: кнопка у левой стенки */
.radio { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; align-items: center; gap: 12px; pointer-events: none; }
.radio > * { pointer-events: auto; }
.radio__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 46px; padding: 16px 0; border: 0; border-radius: 0 22px 22px 0; background: var(--btn); color: #fff; font: inherit; font-weight: 600; font-size: 15px; letter-spacing: .06em; cursor: pointer; box-shadow: 4px 6px 22px rgba(11, 37, 64, .35); transition: width .2s, background .2s; }
.radio__btn:hover { width: 54px; background: #12365c; }
.radio__btn:focus-visible, .radio__st:focus-visible, .radio__x:focus-visible { outline: 3px solid var(--ac); outline-offset: 2px; }
.radio__lbl { writing-mode: vertical-rl; transform: rotate(180deg); }
.radio__eq { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.radio__eq { color: #fff; }
.radio__eq svg { display: block; width: 22px; height: 22px; }
.radio.is-playing .radio__eq .rw { animation: radio-w .9s ease-in-out infinite; }
.radio.is-playing .radio__eq .rw + .rw { animation-delay: .3s; }
.radio.is-playing .radio__btn:not(.radio__btn--tv) { background: var(--ac); color: #fff; }
@keyframes radio-w { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.radio__panel { width: min(320px, calc(100vw - 80px)); padding: 14px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 14px 40px rgba(11, 37, 64, .3); }
.radio__panel[hidden] { display: none; }
.radio__head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; font-size: 17px; }
.radio__x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.radio__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.radio__st { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 18px; background: var(--soft); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.radio__st.is-on { background: var(--ac); color: #fff; }
.radio__ico { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--btn); }
.radio__ico::before { content: ""; position: absolute; left: 16px; top: 12px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.radio__st.is-on .radio__ico::before { left: 13px; top: 13px; width: 14px; height: 14px; border: 0; background: linear-gradient(90deg, #fff 0 38%, transparent 38% 62%, #fff 62%); }
.radio__t { display: grid; gap: 2px; }
.radio__t b { font-size: 16px; }
.radio__t small { font-size: 13px; color: var(--muted); }
.radio__msg { margin: 8px 4px 0; font-size: 14px; color: #b3261e; }
.radio__msg:empty { display: none; }
@media (max-width: 1400px) {
  .radio__btn { width: 42px; padding-left: 14px; transform: translateX(-14px); transition: transform .2s, background .2s; }
  .radio__btn:hover, .radio__btn:focus-visible, .radio[data-open] .radio__btn { width: 42px; transform: none; padding-left: 0; }
}
@media (max-width: 700px) { .radio { top: auto; bottom: 90px; transform: none; } .radio__lbl { display: none; } .radio__btn { width: 40px; padding: 14px 0 14px 14px; border-radius: 0 18px 18px 0; } .radio__btn:hover, .radio__btn:focus-visible { width: 40px; padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .radio.is-playing .radio__eq .rw { animation: none; } .radio__btn { transition: none; } }

/* Блок «Доска объявлений» на главной */
.bt { list-style: none; padding: 0; }
.bt__i { grid-column: span 3; padding: 0; transition: transform .2s; }
.bt__i:hover { transform: translateY(-3px); }
.bt__i a { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 200px; padding: 26px; }
.bt__ico { font-size: 38px; line-height: 1; }
.bt__i h3 { font-size: 24px; margin-top: auto; }
.bt__i p { color: var(--muted); font-size: 15px; margin: 0; }
.bt__cta { margin: 16px 20px 0; }
@media (max-width: 900px) { .bt__i { grid-column: span 6; } .bt__i a { min-height: 160px; padding: 20px; } }

/* Партнёрские кнопки экскурсий */
.aff { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aff__t { width: 100%; font-weight: 600; font-size: 14px; color: var(--muted); }
.aff .btn { height: 46px; padding: 0 18px; font-size: 15px; }
.sg-town__head > .aff { margin-left: auto; align-self: center; flex-direction: row; }
.sg-town__head > .aff__t, .sg-town__head .aff__t { width: auto; margin-right: 4px; }
.ev-svc .aff { align-self: flex-start; }
@media (max-width: 700px) { .aff .btn { flex: 1 1 auto; justify-content: center; } .aff__t { width: 100%; } }
.ev-svc .aff .btn--light { background: var(--soft); }

/* Фотогалерея */
.gal { column-count: 4; column-gap: 12px; margin-top: 12px; }
.gal__i { position: relative; display: block; margin: 0 0 12px; border-radius: 20px; overflow: hidden; background: var(--soft); break-inside: avoid; }
.gal__i img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gal__i:hover img { transform: scale(1.05); }
.gal__i span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; font-size: 13px; line-height: 1.3; opacity: 0; transition: opacity .25s; }
.gal__i:hover span, .gal__i:focus-visible span { opacity: 1; }
.gal__i:focus-visible { outline: 3px solid var(--ac); outline-offset: 2px; }
.gal__more { margin: 14px 20px 0; }
.gal__credits { margin-top: 24px; }
.gal__credits h2 { font-size: 26px; margin-bottom: 14px; }
.gal__credits ol { margin: 0; padding-left: 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.gal__credits a { text-decoration: underline; text-underline-offset: 2px; }
.gal__credits b { color: var(--text); font-weight: 600; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(7, 18, 32, .92); }
.lb[hidden] { display: none; }
.lb__f { margin: 0; max-width: min(1200px, 100%); display: grid; gap: 12px; justify-items: center; }
.lb__f img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 14px; display: block; background: #0b2540; }
.lb__f figcaption { display: grid; gap: 4px; text-align: center; color: #fff; font-size: 15px; max-width: 900px; }
.lb__f figcaption span { color: rgba(255, 255, 255, .75); font-size: 13px; }
.lb__f figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.lb__x, .lb__n { position: absolute; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; }
.lb__x { top: 16px; right: 16px; }
.lb__n { top: 50%; transform: translateY(-50%); }
.lb__n--prev { left: 14px; } .lb__n--next { right: 14px; }
.lb__x:hover, .lb__n:hover { background: rgba(255, 255, 255, .3); }
.lb__x:focus-visible, .lb__n:focus-visible { outline: 3px solid var(--ac-l); }
.lb-open { overflow: hidden; }
@media (max-width: 1000px) { .gal { column-count: 3; } }
@media (max-width: 700px) { .gal { column-count: 2; column-gap: 8px; } .gal__i { margin-bottom: 8px; border-radius: 16px; } .gal__i span { opacity: 1; font-size: 12px; padding: 22px 10px 8px; } .lb__n { top: auto; bottom: 14px; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gal__i img { transition: none; } }
.is-wait { display: none; }

/* Компактная главная: меньше отступов и высоты карточек */
.sec { padding: 34px 16px 0; }
.sec h2 { font-size: clamp(26px, 3.2vw, 40px); }
.map-btn { height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.photo { padding: 8px; }
.photo img { min-height: 130px; max-height: 200px; border-radius: 16px; }
.photo--tall img { min-height: 0; max-height: 170px; }
.photo__meta { padding: 10px 8px 4px; }
.photo h3, .cam h3, .cat h3 { font-size: 18px; }
.cat { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 0; padding: 14px 16px; }
.cat > div { flex: 1; min-width: 0; }
.cat .arr { width: 32px; height: 32px; order: 3; }
.cat--dark .arr { position: static; }
.cat__ico { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; flex: none; }
.cat--half { flex-direction: row; }
.fact { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; min-height: 0; padding: 16px 18px; }
.fact__n { grid-row: 1 / span 2; min-width: 46px; height: 46px; padding: 0 10px; font-size: 15px; }
.fact h3 { font-size: 17px; margin-top: 0; }
.fact p { font-size: 13px; line-height: 1.35; }
.hero { min-height: 340px; }
.esc { padding: 28px 32px; gap: 20px 40px; }
.cta { padding: 34px 40px 34px 44px; margin-top: 28px; }
.cta__map { max-width: 300px; }
.cta h2 { font-size: clamp(30px, 4vw, 54px); }
@media (max-width: 1000px) { .fact { grid-column: span 6; } }
@media (max-width: 700px) { .fact { grid-column: 1 / -1; } .hero { min-height: 440px; } .cta { padding: 36px 20px 24px; } }

/* Компактная мобильная версия */
@media (max-width: 700px) {
  body { font-size: 15px; }
  .box { padding: 16px; border-radius: 18px; }
  .hero { min-height: 360px; gap: 18px; }
  .hero__bottom p { font-size: 15px; }
  .big { font-size: 52px; }
  .sec { padding: 24px 8px 0; gap: 8px; }
  .sec h2 { font-size: 26px; }
  .map-btn { width: 100%; height: 40px; font-size: 14px; }
  .photo { padding: 6px; }
  .photo img { min-height: 110px; max-height: 140px; border-radius: 14px; }
  .photo--tall img { max-height: 140px; }
  .photo__meta { padding: 8px 6px 2px; }
  .photo h3 { font-size: 16px; }
  .photo p { font-size: 12px; margin-top: 2px; }
  .cat, .cat--half { position: relative; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .cat__ico { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
  .cat .arr, .cat--dark .arr { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; order: 0; }
  .cat h3 { font-size: 15px; }
  .cat p { font-size: 12px; margin-top: 2px; }
  .fact { padding: 12px 14px; column-gap: 12px; }
  .fact__n { min-width: 38px; height: 38px; font-size: 13px; }
  .fact h3 { font-size: 15px; margin-top: 0; }
  .fact p { font-size: 12px; }
  .esc { padding: 18px; gap: 14px; }
  .cta { padding: 26px 16px 16px; margin-top: 20px; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 15px; }
  .cta__map { max-width: 240px; margin-top: 12px; }
  .gal > :nth-child(n+7) { display: none; }
}

/* Доска объявлений на главной: компактные плитки */
.bt__i a { min-height: 110px; padding: 16px 18px; gap: 4px; }
.bt__ico { font-size: 28px; }
.bt__i h3 { font-size: 18px; }
.bt__i p { font-size: 13px; }
.ev-lead { font-size: 15px; margin: 8px 16px 12px; }
@media (max-width: 700px) {
  .photo, .photo--big, .photo--wide { grid-column: span 6; }
  .photo--tall { display: none; }
  .photo img { min-height: 80px; max-height: 96px; }
  .photo .arr { display: none; }
  .photo h3 { font-size: 14px; }
  .photo p { display: none; }
  .bt__i a { min-height: 0; padding: 12px; gap: 2px; }
  .bt__ico { font-size: 22px; }
  .bt__i h3 { font-size: 15px; margin-top: 0; }
  .bt__i p { font-size: 12px; }
  .bt__cta { margin: 10px 8px 0; }
  .ev-lead { font-size: 14px; margin: 6px 8px 10px; }
  .esc__main { gap: 10px; }
  .esc__main p { font-size: 14px; }
  .esc__winner { padding: 8px 10px; gap: 8px; }
  .esc__winner b { font-size: 15px; }
  .esc__winner span { font-size: 12px; }
  .esc__side { gap: 10px; }
  .esc__digits span { padding: 8px 2px; border-radius: 12px; }
  .esc__digits b { font-size: 22px; }
  .esc__digits i { margin-top: 2px; font-size: 11px; }
  .esc__dates li { padding: 8px 10px; border-radius: 12px; }
  .esc__dates b { font-size: 14px; }
  .esc__dates span { font-size: 11px; }
  .esc__note { font-size: 12px; }
}

@media (max-width: 700px) {
  .fact { grid-column: span 6; grid-template-columns: 1fr; row-gap: 4px; padding: 12px; }
  .fact__n { grid-row: auto; min-width: 34px; height: 34px; font-size: 12px; }
  .fact h3 { font-size: 14px; }
  .fact p { font-size: 11.5px; }
  .gal > :nth-child(n+5) { display: none; }
  .cta__map { max-width: 200px; margin-top: 8px; }
  .hero { min-height: 330px; }
}

@media (max-width: 700px) {
  .fact__n { justify-self: start; padding: 0 12px; }
  .photo h3 { font-size: 13px; hyphens: none; -webkit-hyphens: none; }
}

/* Кнопки «Показать на карте» */
.sg-map { display: inline-flex; align-items: center; margin-top: 8px; padding: 5px 12px; border-radius: 99px; background: var(--soft); color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.sg-map:hover { background: var(--btn); color: #fff; }
.sg-map-sec { height: 40px; padding: 0 16px; font-size: 14px; }

/* Подсказка «Установить приложение» */
.pwa-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 0 auto; padding: 14px 16px; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 12px 40px rgba(11, 37, 64, .22); border: 1px solid rgba(11, 37, 64, .08); animation: pwaIn .4s ease-out; }
.pwa-bar__t { display: flex; flex-direction: column; gap: 2px; }
.pwa-bar__t b { font-size: 15px; }
.pwa-bar__t span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.pwa-bar__b { display: flex; gap: 8px; }
.pwa-bar__ok, .pwa-bar__no { height: 38px; padding: 0 18px; border: 0; border-radius: 99px; font: 600 14px inherit; font-family: inherit; cursor: pointer; }
.pwa-bar__ok { background: var(--btn); color: #fff; }
.pwa-bar__no { background: var(--soft); color: var(--text); }
@keyframes pwaIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pwa-bar { animation: none; } }

/* Меню в шапке: раздел «Планирование» и компактный вид */
.nav__dd { position: relative; display: flex; }
.nav__dd-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: 0; border-radius: 99px; background: none; color: inherit; font: inherit; font-weight: 500; font-size: 15px; white-space: nowrap; cursor: pointer; transition: background .2s; }
.nav__dd-btn:hover { background: var(--soft); }
.nav__dd-btn svg { flex: none; transition: transform .2s; }
.nav__dd.is-open .nav__dd-btn svg { transform: rotate(180deg); }
.nav .nav__dd-btn.nav__cta { background: var(--btn); color: #fff; }
.nav__dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 30; min-width: 250px; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 20px; background: var(--box); box-shadow: 0 16px 40px rgba(11, 37, 64, .16); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__dd-menu a { padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav__dd-menu a:hover { background: var(--soft); }
.nav__dd-menu a.is-here { background: var(--soft); font-weight: 700; }
@media (hover: hover) and (min-width: 1181px) { .nav__dd:hover .nav__dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.nav__dd:focus-within .nav__dd-menu, .nav__dd.is-open .nav__dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (min-width: 1181px) {
  .nav a, .nav__dd-btn { padding: 9px 11px; font-size: 14px; }
  .nav { gap: 2px; }
}
@media (min-width: 1181px) and (max-width: 1320px) { .geo { display: none; } }
@media (max-width: 1180px) {
  .burger { flex: none; }
  .nav { max-height: calc(100vh - 96px); overflow-y: auto; }
  .nav__dd { display: block; }
  .nav__dd-btn { width: 100%; justify-content: space-between; padding: 12px 16px; font-size: 16px; }
  .nav__dd-menu { position: static; min-width: 0; padding: 0 0 4px 12px; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__dd-menu::before { display: none; }
  .nav__dd.is-open .nav__dd-menu, .nav__dd:focus-within .nav__dd-menu { display: flex; transform: none; }
  .nav__dd-menu a { padding: 10px 14px; font-size: 15px; }
  .nav a { padding: 12px 16px; font-size: 16px; }
}
@media (max-width: 700px) {
  .header { padding: 6px 6px 6px 14px; }
  .lang { margin-right: 6px; }
  .lang a { padding: 6px 7px; font-size: 12px; }
  .logo { font-size: 20px; }
}
@media (max-width: 560px) { .geo { display: none; } }

/* Шапка и её меню выше вкладки радио */
.header { z-index: 55; }

/* Каталог «Где купить» */
.sg-hero--shop { background: radial-gradient(60% 90% at 100% 0%, rgba(255, 190, 60, .35), transparent 60%), radial-gradient(55% 80% at 0% 100%, rgba(214, 38, 18, .25), transparent 60%), linear-gradient(135deg, #3a1d5c 0%, #8a2f5a 55%, #d9703c 100%); }
.sh-search { margin-top: 12px; padding: 10px; }
.sh-q { width: 100%; height: 48px; padding: 0 20px; border: 0; border-radius: 99px; background: var(--soft); color: var(--text); font: inherit; font-size: 16px; }
.sh-q:focus { outline: 2px solid var(--ac); outline-offset: 1px; }
.sh-nores { margin-top: 24px; }
.sh-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.sh { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; min-width: 0; }
.sh__top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sh h3 { font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.sh__addr { color: var(--muted); font-size: 14px; line-height: 1.4; }
.sh__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.sh__btns .sg-map { margin-top: 0; }
.sh[hidden], .sh-sec[hidden] { display: none; }
@media (max-width: 700px) { .sh-list { grid-template-columns: 1fr; } }
.sh-towns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 0 4px 2px; }
.sh-town { padding: 8px 14px; border: 0; border-radius: 99px; background: var(--soft); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.sh-town i { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.sh-town:hover { background: var(--btn); color: #fff; }
.sh-town.is-on { background: var(--ac); color: #fff; }
.sh-town:hover i, .sh-town.is-on i { color: inherit; opacity: .85; }

/* «Где купить»: фон, логотипы и цветные разделы */
body.page-shop { background-color: #f1e6d2; background-image: radial-gradient(rgba(11, 37, 64, .07) 1.2px, transparent 1.6px); background-size: 24px 24px; }
body.page-shop::before { opacity: .85; background:
  radial-gradient(30% 34% at 85% 8%, rgba(255, 170, 60, .5), transparent 70%),
  radial-gradient(28% 32% at 8% 30%, rgba(194, 65, 122, .28), transparent 70%),
  radial-gradient(30% 34% at 92% 55%, rgba(0, 135, 95, .32), transparent 70%),
  radial-gradient(28% 32% at 20% 90%, rgba(107, 79, 187, .28), transparent 70%),
  radial-gradient(24% 28% at 70% 96%, rgba(255, 190, 60, .4), transparent 70%); }
.sh-sec { --c: var(--ac); margin-left: -8px; margin-right: -8px; padding: 28px 8px 20px; border-radius: 36px; background: color-mix(in srgb, var(--c) 9%, transparent); border: 1px solid color-mix(in srgb, var(--c) 18%, transparent); }
.sh-sec .sg-n { background: var(--c); }
.sh-sec .sg-chip--dist { background: var(--c); }
.sh-sec .sg-map:hover { background: var(--c); }
.sh { flex-direction: row; align-items: flex-start; gap: 14px; }
.sh__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 24px; background: color-mix(in srgb, var(--c) 16%, #fff); }
.sh__ico--logo { background: #fff; border: 1px solid color-mix(in srgb, var(--c) 20%, #e6e0d2); }
.sh__ico img { width: 32px; height: 32px; object-fit: contain; image-rendering: auto; }
.sh__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 700px) { .sh-sec { margin-left: -6px; margin-right: -6px; padding: 20px 6px 14px; border-radius: 28px; } }

/* Фон карточек магазинов: оттенок категории и крупный бледный значок типа */
.sh { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(155deg, #fff 45%, color-mix(in srgb, var(--c) 17%, #fff) 100%); border: 1px solid color-mix(in srgb, var(--c) 14%, transparent); transition: transform .25s, box-shadow .25s; }
.sh::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.sh::after { content: attr(data-e); position: absolute; right: -8px; bottom: -16px; z-index: -1; font-size: 84px; line-height: 1; opacity: .12; transform: rotate(-12deg); pointer-events: none; filter: grayscale(.2); }
.sh:hover { transform: translateY(-3px); box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 22%, transparent); }

/* Главная: охват путеводителя — бегущая строка с севера на юг под шапкой (без ссылок) */
.cov { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 99px; overflow: hidden; }
#coverage { margin-top: 12px; }
.cov__label { flex: none; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.cov__view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.cov__track { display: flex; width: max-content; animation: covrun 75s linear infinite; }
.cov__set { display: flex; flex: none; align-items: center; }
.cov__i { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; margin-right: 34px; padding: 6px 12px 6px 10px; border-radius: 99px; background: var(--soft); font-weight: 600; font-size: 13.5px; white-space: nowrap; cursor: default; user-select: none; }
.cov__i::after { content: ""; position: absolute; left: calc(100% + 4px); top: 50%; width: 26px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--btn) 0 4px, transparent 4px 8px); opacity: .55; }
.cov__i b { width: 8px; height: 8px; border-radius: 50%; background: var(--btn); animation: covpulse 4.9s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes covrun { to { transform: translateX(-50%); } }
@keyframes covpulse { 0%, 80%, 100% { box-shadow: 0 0 0 0 rgba(0, 135, 95, 0); transform: scale(1); } 90% { box-shadow: 0 0 0 6px rgba(0, 135, 95, .25); transform: scale(1.25); background: var(--ac); } }
@media (prefers-reduced-motion: reduce) { .cov__track { animation: none; } .cov__view { overflow-x: auto; scrollbar-width: none; } .cov__set[aria-hidden] { display: none; } .cov__i b { animation: none; } }
@media (max-width: 700px) { .cov { padding-left: 14px; } .cov__label { display: none; } }

/* «Где купить»: рубрики в несколько строк, а не в одну прокручиваемую */
.ev-jump--wrap { position: static; flex-wrap: wrap; justify-content: center; gap: 8px; overflow: visible; padding: 14px; border-radius: 28px; background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ev-jump--wrap a { padding: 9px 15px; font-size: 14.5px; border: 1px solid rgba(11, 37, 64, .06); }
.ev-jump--wrap a[hidden] { display: none; }
html:has(.ev-jump--wrap) { scroll-padding-top: 100px; }
html:has(.ev-jump--wrap) .sh-sec { scroll-margin-top: 100px; }
@media (max-width: 700px) { .ev-jump--wrap { gap: 6px; padding: 10px; } .ev-jump--wrap a { flex: 1 1 calc(50% - 6px); padding: 10px 12px; font-size: 14px; text-align: center; } }

/* Закладка «ТВ» под радио: ссылки на эфир телеканалов */
.radio__tabs { display: flex; flex-direction: column; gap: 8px; }
.radio__btn--tv { background: var(--ink); }
.radio__btn--tv:hover { background: #12365c; }
.radio__btn--tv[aria-expanded="true"] { background: var(--ac); }
.radio__tvl { text-decoration: none; }
.radio__ico--tv { display: grid; place-items: center; background: var(--ink); }
.radio__ico--tv::before { content: "\1F4FA"; position: static; border: 0; font-size: 19px; line-height: 1; }
.radio__ext { margin-left: auto; color: var(--muted); font-size: 16px; }
.radio__tvl:hover { background: var(--btn); color: #fff; }
.radio__tvl:hover .radio__t small, .radio__tvl:hover .radio__ext { color: rgba(255, 255, 255, .85); }
.radio__note { margin: 10px 4px 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
@media (max-width: 700px) { .radio__tabs { gap: 6px; } .radio__panel--tv { width: min(320px, calc(100vw - 70px)); } }
.radio__panel { max-height: calc(100vh - 190px); overflow-y: auto; overscroll-behavior: contain; }
.radio__panel--tv .radio__list { gap: 6px; }
.radio__panel--tv .radio__st { padding: 7px 12px; }
.radio__panel--tv .radio__ico { width: 34px; height: 34px; }
.radio__panel--tv .radio__ico--tv::before { font-size: 17px; }
.radio__panel--tv .radio__t b { font-size: 15px; }
.radio__panel--tv .radio__t small { font-size: 12.5px; }
@media (max-width: 700px) { .radio__panel { max-height: calc(100vh - 220px); } }
/* Семь языков: всегда один переключатель (активный язык, по тапу — список) */
@media all {
  .lang { position: relative; }
  .lang a:not(.is-active) { display: none; }
  .lang a.is-active::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 2px 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .lang.is-open a:not(.is-active) { display: block; position: absolute; right: 0; min-width: 100%; top: calc(100% + 6px + (var(--k, 1) - 1) * 40px); box-sizing: border-box; padding: 10px 12px; text-align: center; background: var(--box); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); z-index: 5; }
}
/* Каталог магазинов: карточки вне экрана не отрисовываются, пока до них не докрутили (790 штук в DOM, поиск и SEO не страдают) */
.sh { content-visibility: auto; contain-intrinsic-size: auto 150px; }
.sh[hidden] { content-visibility: visible; }
/* Дата проверки и источник под изменяемыми сведениями */
.src { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.src a { text-decoration: underline; }

/* Волны поверх фона (как на varna24) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cpath d='M0 14q15-12 30 0t30 0t30 0t30 0' fill='none' stroke='%2300966e' stroke-opacity='.16' stroke-width='1.6'/%3E%3C/svg%3E");
  background-size: 120px 28px;
}

/* Ссылка-логотип сестринского сайта (подвал и карточка на главной) */
.logo--partner { margin-left: 6px; vertical-align: middle; }
.cat .logo--partner { margin: 8px 0 0; }
.footer .logo--partner:hover { opacity: .8; }

/* Компактный первый экран: короткий герой, погода одной строкой */
#now .hero { grid-column: 1 / -1; min-height: 250px; gap: 18px; }
#now .hero h1 { font-size: clamp(30px, 3.6vw, 46px); max-width: none; }
#now .hero__bottom p { font-size: 17px; max-width: 52ch; }
#now .hero__bottom { align-items: center; justify-content: flex-start; }
#now .hero__bottom p { flex: 1 1 320px; }
#now .hero__bottom .btn--light { background: rgba(255, 255, 255, .2); color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
#now .side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: none; gap: 8px; }
#now .side .weather { order: 1; }
#now .side .fx { order: 2; grid-column: auto; justify-content: center; padding: 10px 18px; }
#now .fx__list { display: block; }
#now .fx__eq { font-size: 15px; font-weight: 700; color: #d9fbe9; white-space: nowrap; }
#now .box.weather { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 22px; padding: 10px 18px; }
#now .weather__top { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
#now .weather__col { flex-direction: row; align-items: center; gap: 8px; }
#now .weather__sea { padding-left: 22px; }
#now .weather__clock { font-size: 12px; }
#now .box.weather .big { font-size: 30px; }
#now .weather__desc { flex-direction: row; align-items: center; gap: 6px; }
#now .weather .chips [data-s="wave"] { display: none; }
#now .weather__days { display: flex; gap: 6px; flex: 1 1 auto; }
#now .weather__days div { padding: 3px 10px; }
#now .weather__cams { order: 3; padding: 2px; border-radius: 99px; }
#now .weather__thumb, #now .weather__cams-t small, #now .weather__go { display: none; }
#now .weather__cams-t b { font-size: 14px; padding: 6px 14px; white-space: nowrap; }
@media (max-width: 1000px) {
  #now .side { grid-template-columns: 1fr; }
  #now .side .fx { justify-content: flex-start; }
}
@media (max-width: 700px) {
  #now .hero { min-height: 300px; }
  #now .hero h1 { font-size: 30px; }
  #now .hero__bottom .btn { width: 100%; }
  #now .weather__sea { padding-left: 0; border-left: 0; }
  #now .weather__days { flex-wrap: wrap; }
}

/* Таблица сравнения курортов */
.cmp { padding: 8px; overflow-x: auto; margin-top: 12px; }
.cmp__t { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; min-width: 760px; }
.cmp__t th, .cmp__t td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.cmp__t thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cmp__t tbody th { white-space: nowrap; font-size: 15px; }
.cmp__t tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 700px) {
  .cmp__t { min-width: 0; }
  .cmp__t thead { display: none; }
  .cmp__t, .cmp__t tbody, .cmp__t tr, .cmp__t th, .cmp__t td { display: block; }
  .cmp__t tr { padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
  .cmp__t th, .cmp__t td { border: 0; padding: 4px 10px; }
  .cmp__t td::before { content: attr(data-l); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
}

/* Фильтр пляжей */
.bf { margin-top: 12px; }
.bf__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px; }
.bf__chip { font: inherit; font-weight: 500; font-size: 15px; padding: 10px 18px; border: 0; border-radius: 99px; background: var(--box); color: inherit; cursor: pointer; transition: background .2s, color .2s; }
.bf__chip[aria-pressed="true"] { background: var(--btn); color: #fff; }
.bf__n { margin: 12px 20px 0; font-weight: 600; }
[hidden] { display: none !important; }

/* Избранное */
.sg-card { position: relative; }
.fav { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); color: inherit; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"], .fav-item .fav { background: #e5484d; color: #fff; }
.fav-flash { animation: favFlash 2.4s ease-out; }
@keyframes favFlash { 0%, 40% { box-shadow: 0 0 0 4px #e5484d; } 100% { box-shadow: 0 0 0 0 transparent; } }
.fav-empty { margin: 12px 4px 0; }

/* Сообщить об ошибке */
.fav.rep { right: 58px; font-size: 16px; opacity: .55; }
.fav.rep:hover, .fav.rep:focus-visible { opacity: 1; }
.rp { position: fixed; inset: 0; z-index: 200; background: rgba(10, 20, 30, .5); display: grid; place-items: center; padding: 16px; }
.rp__box { width: 100%; max-width: 440px; display: grid; gap: 10px; }
.rp__t { color: var(--muted); font-size: 14px; }
.rp__f { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.rp__l { font-weight: 600; font-size: 14px; padding: 0; }
.rp textarea { font: inherit; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(0, 0, 0, .2); background: #fff; resize: vertical; }
.rp__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rp__s { min-height: 1.2em; font-size: 14px; }
.rp__b { display: flex; gap: 8px; flex-wrap: wrap; }

/* Телефон: компактный первый экран, прогноз под кнопкой */
.weather__more { display: none; }
@media (max-width: 700px) {
  #now .hero { min-height: 0; padding: 16px; gap: 8px; }
  #now .hero > .label { font-size: 11px; }
  #now .hero h1 { font-size: 26px; line-height: 1.1; }
  #now .hero__bottom { gap: 10px; }
  #now .hero__bottom p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-basis: 100%; }
  #now .hero__bottom .btn { width: auto; flex: 1 1 0; justify-content: center; padding: 10px 12px; font-size: 14px; text-align: center; }
  #now .box.weather { padding: 10px 14px; gap: 6px 14px; }
  #now .weather__top { gap: 12px; }
  #now .weather__sea { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .3); }
  #now .box.weather .big { font-size: 26px; }
  .weather__more { display: inline-block; border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); font: inherit; font-size: 13px; padding: 4px 12px; border-radius: 99px; cursor: pointer; }
  #now .weather__days { flex-basis: 100%; }
  .quick { margin-top: 8px; }
}

/* Маршруты: переходы между остановками */
.rt { margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(0, 150, 110, .14); font-size: 14px; font-weight: 600; color: var(--ink); }
.rt__l { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.sg-town__head [data-route][aria-pressed="true"] { background: #e5484d; color: #fff; }

/* Телефон: быстрые ссылки сеткой 2×2 */
@media (max-width: 700px) {
  .ev-jump.quick { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; gap: 6px; }
  .ev-jump.quick a { text-align: center; padding: 10px 8px; font-size: 14px; }
}

/* Заголовок героя показываем сразу */
.hero h1 .w { opacity: 1 !important; transform: none !important; animation: none !important; }
/* Телефон: «Прогноз» и «Вебкамеры» в одной строке */
@media (max-width: 700px) {
  #now .weather__top { order: 1; flex-basis: 100%; }
  #now .weather__more { order: 2; flex: 0 0 auto; }
  #now .weather__cams { order: 3; flex: 1 1 auto; min-width: 0; }
  #now .weather__cams-t b { white-space: nowrap; }
  #now .weather__days { order: 4; }
}

/* Радио и ТВ: на экранах до 1400px не перекрывают содержимое, а становятся круглыми кнопками в левом нижнем углу */
@media (max-width: 1400px) {
  .radio { top: auto; bottom: 14px; left: 12px; transform: none; align-items: flex-end; }
  .radio__tabs { flex-direction: row; gap: 8px; }
  .radio__btn, .radio__btn:hover, .radio__btn:focus-visible, .radio[data-open] .radio__btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; transform: none; flex-direction: row; box-shadow: 0 6px 18px rgba(11, 37, 64, .3); opacity: .92; }
  .radio__lbl { display: none; }
  .radio__panel, .radio__panel--tv { position: absolute; left: 0; bottom: 56px; width: min(320px, calc(100vw - 24px)); }
}

/* Быстрые ссылки на главной не «залипают» поверх содержимого; у липкой панели разделов фон плотнее */
.ev-jump.quick { position: static; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; margin-top: 8px; }
.ev-jump:not(.quick):not(.ev-jump--wrap) { background: rgba(233, 232, 226, .97); }

/* Быстрые ссылки сразу под фото, дальше погода */
#now > .quick { grid-column: 1 / -1; margin: 0; }
@media (max-width: 700px) {
  #now .weather__more, #now .weather__cams { flex: 1 1 0; min-width: 0; text-align: center; }
  #now .weather__more { padding: 8px 6px; font-size: 13px; white-space: nowrap; }
  #now .weather__cams { justify-content: center; padding: 0; }
  #now .weather__cams-t { flex: 0 1 auto; }
  #now .weather__cams-t b { padding: 8px 6px; font-size: 13px; white-space: nowrap; }
}

/* Мобильные: фон без blur-фильтра и бесконечной анимации — дорого для GPU/растеризации (градиенты и так мягкие) */
@media (max-width: 700px) {
  body::before { inset: 0; filter: none; animation: none; }
}

/* Блок «У вашего бизнеса нет сайта» (ссылка на студию sait24.com): логотип студии и лёгкая анимация */
.promo-site { margin-top: 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; background: var(--ink); color: #fff; }
.promo-site::before { content: ""; position: absolute; left: -90px; top: -150px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 226, 122, .26), transparent 65%); pointer-events: none; animation: s24glow 6s ease-in-out infinite; }
.promo-site__t { position: relative; max-width: 620px; }
.promo-site h2 { font-size: 28px; margin-bottom: 8px; }
.promo-site p { margin: 0; color: rgba(255, 255, 255, .82); line-height: 1.5; }
.s24-logo { position: relative; display: inline-flex; align-items: center; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.045em; color: #fff; animation: s24float 3.4s ease-in-out infinite; }
.s24-logo i { display: inline-grid; place-items: center; height: 50px; margin-left: 6px; padding: 0 15px; border-radius: 99px 99px 99px 8px; background: #efe27a; color: #241c17; font-style: normal; font-size: 27px; letter-spacing: -0.03em; transform-origin: 0 100%; animation: s24wiggle 5s ease-in-out 1s infinite; }
.promo-site .btn { position: relative; overflow: hidden; flex: none; }
.promo-site .btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: s24shine 4.5s ease-in-out 1.5s infinite; }
.promo-site .btn span { display: inline-block; animation: s24nudge 1.6s ease-in-out infinite; }
@keyframes s24float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes s24wiggle { 0%, 70%, 100% { transform: rotate(0) scale(1); } 76% { transform: rotate(-9deg) scale(1.1); } 82% { transform: rotate(6deg) scale(1.05); } 88% { transform: rotate(-3deg); } 94% { transform: rotate(0); } }
@keyframes s24glow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes s24shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
@keyframes s24nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes s24in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) { .promo-site { animation: s24in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; } }
@media (max-width: 800px) { .promo-site { grid-template-columns: 1fr; justify-items: start; gap: 16px; } .promo-site h2 { font-size: 24px; } .promo-site .btn { width: 100%; } .s24-logo { font-size: 34px; } .s24-logo i { height: 42px; font-size: 23px; padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .promo-site, .promo-site::before, .s24-logo, .s24-logo i, .promo-site .btn::after, .promo-site .btn span { animation: none !important; } }

/* Блок «Что рядом со мной?» внизу главной (раздел nearby.html) */
.near-block { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; margin-top: 24px; padding: 28px; background: var(--ink); color: #fff; }
.near-block__t { display: flex; gap: 16px; align-items: flex-start; }
.near-block__ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px; background: var(--ac); font-size: 28px; }
.near-block h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 32px); line-height: 1.15; }
.near-block p { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, .85); }
.near-block__go { height: 56px; background: var(--ac); }
.near-block__go:focus-visible, .near-block__chips a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.near-block__chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.near-block__chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: 15px; font-weight: 500; transition: background .2s; }
.near-block__chips a:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 700px) { .near-block { grid-template-columns: 1fr; padding: 20px; } .near-block__go { width: 100%; } .near-block__ico { width: 46px; height: 46px; font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .near-block__chips a { transition: none; } }

/* Телефон: первый экран главной без дублей (бегущая строка, вторая кнопка, лишние быстрые ссылки) */
@media (max-width: 700px) {
  .cov { display: none; }
  #now .hero__bottom .btn--light { display: none; }
  #now .hero__bottom .btn { flex-basis: 100%; }
  #now > .quick a:nth-child(n+3) { display: none; }
}

/* Радио и ТВ: на экранах до 1400px одна кнопка, по нажатию раскрывается выбор «Радио / ТВ» */
.radio__btn--all { display: none; }
@media (max-width: 1400px) {
  .radio__btn--all { display: flex; order: -1; }
  .radio__tabs .radio__btn:not(.radio__btn--all) { display: none; }
  .radio.is-menu .radio__tabs .radio__btn:not(.radio__btn--all) { display: flex; }
  .radio.is-menu .radio__btn--all, .radio.is-playing .radio__btn--all { background: var(--ac); }
  .radio.is-playing .radio__btn--all .radio__eq svg { animation: radio-w .9s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .radio.is-playing .radio__btn--all .radio__eq svg { animation: none; } }

/* Отсчёт до Евровидения: только дни */
.esc__digits { grid-template-columns: 1fr; }
.esc__digits span { flex-direction: row; justify-content: center; align-items: baseline; gap: 10px; padding: 16px; }
.esc__digits b { font-size: clamp(36px, 5vw, 56px); }
.esc__digits i { margin-top: 0; font-size: 16px; }

/* Евровидение: кнопки в блоке об арене */
.ev-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ev-btns .btn { height: 46px; padding: 0 20px; font-size: 15px; }
@media (max-width: 700px) { .ev-btns .btn { flex: 1 1 100%; } }
