@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/cormorant.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/cormorant-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../assets/fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  /* база: тёплый сливочный; пастели — для плашек; солнце и абрикос — точечно, эмоция отпуска */
  --cream: #FFF8F1;
  --peach: #FFE9D9;
  --butter: #FFF3CC;
  --powder: #FBE5EC;
  --lilac: #EFE7F7;
  --sky: #E3F1F7;
  --white: #FFFFFF;
  --ink: #2B1836;
  --muted: #76637F;
  --line: #F0E2DC;
  --pink: #B5267F;
  --sun: #FFC83D;
  --apricot: #FF9A4D;
  --orange-ink: #B4530F;
  --grad: linear-gradient(110deg, #FF3CAC 0%, #784BA0 55%, #2B86C5 100%);
  --sun-grad: linear-gradient(115deg, #FFCF4A 0%, #FF9A4D 55%, #FF6F8E 100%);
  --r-lg: 28px;
  --r-md: 18px;
  --shadow: 0 1px 2px rgba(43, 24, 54, .04), 0 12px 32px -12px rgba(180, 90, 60, .18);
  --shadow-lg: 0 30px 60px -24px rgba(43, 24, 54, .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 500 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill, svg.fill { fill: currentColor; stroke: none; }
svg.si { stroke: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
h2 { font: 600 clamp(34px, 4vw, 52px)/1.02 var(--serif); }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pad { padding: 10px 12px; margin: 0; }
.link { color: var(--pink); font-weight: 700; border-bottom: 1.5px solid currentColor; }
mark { background: var(--butter); color: inherit; border-radius: 4px; padding: 0 2px; }

/* Появление при прокрутке */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; transition: transform .2s var(--ease), box-shadow .2s, filter .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); filter: saturate(1.1); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 60, 172, .6); }
.btn-sun { background: var(--sun-grad); color: #3A1A08; box-shadow: 0 12px 26px -10px rgba(255, 130, 60, .65); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }

/* Шапка */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; gap: 28px; justify-content: center; padding: 9px 0; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; }
.topbar .muted { color: #CDBCD6; }
.site-head { background: rgba(255, 248, 241, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); z-index: 30; position: relative; }
.site-head.sticky { position: sticky; top: 0; }
.site-head .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 26px/1 var(--serif); }
.brand img { width: 42px; height: 42px; border-radius: 50%; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--sun-grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 12px; }
.fav-link { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--powder); color: var(--pink); }
.fav-link b { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--sun); color: var(--ink); font-size: 11px; display: grid; place-items: center; }
.fav-link b:empty { display: none; }
.lang { display: flex; background: var(--peach); border-radius: 999px; padding: 4px; }
.lang button { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--muted); transition: background .2s; }
.lang button.on { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 44px; padding: 32px 0 56px; align-items: stretch; }
.hero-side { display: flex; flex-direction: column; justify-content: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-size: 13px; font-weight: 800; }
.kicker svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sun-grad); color: #fff; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { font: 600 clamp(46px, 5.4vw, 80px)/.95 var(--serif); margin: 18px 0 14px; }
.hero h1 em { font-style: italic; background: var(--sun-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 6px; }
.lead { color: var(--muted); font-size: 17px; max-width: 48ch; margin: 0 0 24px; }

.slider { position: relative; min-height: 660px; border-radius: 36px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; gap: 22px; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.slide::before { content: ''; position: absolute; inset: 0; background: var(--img) center/cover; transform: scale(1.12); transition: transform 7s linear; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 24, 54, 0) 38%, rgba(43, 24, 54, .78)); }
.slide.on { opacity: 1; pointer-events: auto; }
.slide.on::before { transform: scale(1); }
.slide > * { position: relative; z-index: 1; }
.slide-text { color: #fff; transform: translateY(20px); opacity: 0; transition: all .8s var(--ease) .3s; }
.slide.on .slide-text { transform: none; opacity: 1; }
.slide-text .pill { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.slide-text h2 { font-size: clamp(46px, 4.8vw, 70px); margin-top: 10px; }
.slide-text p { font-size: 22px; font-weight: 800; margin: 4px 0 16px; }
.slide-text small { font-weight: 500; opacity: .8; }
.slide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* тёмное матовое стекло: фото слайда проглядывает, текст светлый */
.mini { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: var(--r-md); background: rgba(26, 15, 32, .42); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: background .2s, transform .3s var(--ease); }
.mini:hover { background: rgba(26, 15, 32, .55); transform: translateY(-3px); }
.mini img { flex: none; width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.mini > div { min-width: 0; }
.mini b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.25; }
.mini small { display: block; font-size: 12px; color: rgba(255, 255, 255, .8); margin: 2px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .price { display: block; font-weight: 800; font-size: 20px; line-height: 1.1; color: var(--sun); }
.mini .price i { font-style: normal; font-weight: 600; font-size: 12px; color: rgba(255, 255, 255, .85); }
.mini .tot { display: block; font-size: 12px; color: rgba(255, 255, 255, .88); margin-top: 2px; }
.mini .upd { color: rgba(255, 255, 255, .7); opacity: 1; margin: 1px 0 0; font-size: 10.5px; }
.mini .stars { color: var(--sun); }
.dots { position: absolute; top: 26px; right: 26px; display: flex; gap: 6px; z-index: 2; }
.dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: width .4s var(--ease), background .3s; }
.dots button.on { width: 30px; background: var(--sun); }

.stars { display: inline-flex; gap: 1px; color: #F0A426; vertical-align: 2px; margin-left: 6px; }
.stars svg { width: 13px; height: 13px; }

/* Поиск-плитки */
.search { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 16px 18px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); border: 1.5px solid transparent; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; cursor: pointer; outline: none; }
.tile:hover { transform: translateY(-2px); }
.tile:focus-visible, .tile.open { border-color: var(--apricot); box-shadow: 0 0 0 4px rgba(255, 154, 77, .18), var(--shadow); }
.tile-ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; transition: transform .4s var(--ease); }
.tile:hover .tile-ic, .tile.open .tile-ic { transform: rotate(-8deg) scale(1.06); }
.tile:nth-of-type(1) .tile-ic { background: var(--peach); color: #E0612A; }
.tile:nth-of-type(2) .tile-ic { background: var(--sky); color: #2B86C5; }
.tile:nth-of-type(3) .tile-ic { background: var(--butter); color: #C98A00; }
.tile:nth-of-type(4) .tile-ic { background: var(--lilac); color: #784BA0; }
.tile:nth-of-type(5) .tile-ic { background: var(--powder); color: var(--pink); }
.tile:nth-of-type(6) .tile-ic { background: #E4F4EA; color: #2E8B57; }
.tile-t { font-weight: 800; font-size: 15px; }
.tile-v, .tile-in { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-in { border: 0; background: none; padding: 0; outline: none; width: 100%; }
.tile.set .tile-v, .tile-in:not(:placeholder-shown) { color: var(--ink); font-weight: 700; }
.search .find { grid-column: span 2; height: 62px; font-size: 18px; }
.search .find svg { transition: transform .3s var(--ease); }
.search .find:hover svg { transform: scale(1.2) rotate(-8deg); }

.pop { position: absolute; left: var(--x); top: var(--y); z-index: 25; width: min(440px, 100%); padding: 16px; border-radius: 22px; background: var(--white); box-shadow: 0 30px 70px -20px rgba(43, 24, 54, .35); border: 1px solid var(--line); animation: popIn .28s var(--ease); transform-origin: top left; }
.pop-date { width: min(680px, 100%); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.pop h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 2px 4px 12px; }
.pop-dest { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pop-dest button { display: grid; gap: 4px; justify-items: center; padding: 8px 4px 10px; border-radius: 14px; transition: background .2s, transform .2s var(--ease); }
.pop-dest button:hover { background: var(--peach); transform: translateY(-2px); }
.pop-dest img, .dest-any svg { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.dest-any svg { padding: 16px; background: var(--sun-grad); color: #fff; }
.pop-dest b { font-size: 13px; }
.pop-dest small { font-size: 11px; color: var(--orange-ink); font-weight: 700; }
.pop-list { display: grid; gap: 2px; max-height: 380px; overflow: auto; }
.pop-list button { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; text-align: left; transition: background .15s; }
.pop-list button:hover, .pop-list button.act { background: var(--cream); }
.pl-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--peach); color: #E0612A; display: grid; place-items: center; }
.pl-ic svg { width: 18px; height: 18px; }
.pop-list b { font-size: 14px; }
.pop-list small { display: block; font-size: 12px; color: var(--muted); }
.pop-list em { font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pop-chips.small { margin-top: 12px; }
.pop-chips button, .f-chips button { padding: 9px 16px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; transition: all .2s; }
.pop-chips button small { color: var(--muted); font-weight: 600; margin-left: 4px; }
.pop-chips button:hover, .f-chips button:hover { border-color: var(--apricot); }
.pop-chips button.on, .f-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pop-chips button.on small { color: #CDBCD6; }

.cal-nav { display: flex; justify-content: space-between; position: absolute; left: 14px; right: 14px; top: 48px; pointer-events: none; }
.cal-nav button { pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); }
.cal-nav button:hover { background: var(--peach); }
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cal-m h6 { text-align: center; font-size: 15px; text-transform: capitalize; margin: 6px 0 12px; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-g i { font-style: normal; font-size: 11px; color: var(--muted); text-align: center; font-weight: 700; padding-bottom: 4px; }
.cal-g button { position: relative; display: grid; justify-items: center; padding: 5px 0 4px; border-radius: 10px; transition: background .15s, transform .15s; }
.cal-g button b { font-size: 14px; }
.cal-g button small { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.cal-g button:hover:not(:disabled) { background: var(--peach); transform: scale(1.06); }
.cal-g button.cheap small { color: var(--orange-ink); font-weight: 800; }
.cal-g button.cheap::after { content: ''; position: absolute; top: 4px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.cal-g button.flex { background: var(--butter); }
.cal-g button.sel { background: var(--sun-grad); color: var(--ink); box-shadow: 0 6px 14px -6px rgba(255, 130, 60, .7); }
.cal-g button.sel small { color: var(--ink); }
.cal-g button:disabled { opacity: .3; cursor: default; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.legend { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dot-sun { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { display: none; }
.switch span { width: 40px; height: 24px; border-radius: 12px; background: var(--line); position: relative; transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--apricot); }
.switch input:checked + span::after { transform: translateX(16px); }

.nights-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.nights-g button { height: 40px; border-radius: 12px; background: var(--cream); font-weight: 700; transition: all .15s; }
.nights-g button:hover { background: var(--peach); }
.nights-g button.in { background: var(--butter); }
.nights-g button.edge { background: var(--sun-grad); }

.who-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.who-row small { display: block; color: var(--muted); font-size: 12px; }
.cnt { display: flex; align-items: center; gap: 14px; }
.cnt b { font-size: 20px; min-width: 18px; text-align: center; }
.cnt button { width: 36px; height: 36px; border-radius: 50%; background: var(--peach); color: #E0612A; font-size: 20px; font-weight: 700; line-height: 1; transition: transform .15s; }
.cnt button:hover:not(:disabled) { transform: scale(1.1); }
.cnt button:disabled { opacity: .35; cursor: default; }
.ages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 4px; animation: popIn .3s var(--ease); }
.ages label, .budget-in label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.ages select, .budget-in input { padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 700; color: var(--ink); }

/* ── Свои выпадашки (fancySelect) ── */
.fsel { position: relative; }
.fsel > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; }
.fsel-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px 11px 16px; border-radius: 14px; background: var(--cream); border: 1.5px solid transparent; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.fsel-btn span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.fsel-btn i { display: inline-flex; color: #E0612A; }
.fsel-btn > svg { flex: none; color: #E0612A; transition: transform .3s var(--ease); }
.fsel-btn:hover { background: var(--peach); }
.fsel-btn:focus-visible { outline: none; border-color: var(--apricot); box-shadow: 0 0 0 4px rgba(255, 138, 61, .18); }
.fsel.open .fsel-btn { background: #fff; border-color: var(--apricot); box-shadow: 0 0 0 4px rgba(255, 138, 61, .14); }
.fsel.open .fsel-btn > svg { transform: rotate(180deg); }
.fsel-menu { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; min-width: 100%; max-height: 300px; overflow: auto; padding: 6px; border-radius: 18px;
  background: rgba(255, 255, 255, .985); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 18px 40px -12px rgba(43, 24, 54, .28), 0 0 0 1px rgba(43, 24, 54, .06);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top; pointer-events: none; transition: opacity .18s, transform .25s var(--ease); }
.fsel.open .fsel-menu { opacity: 1; transform: none; pointer-events: auto; }
.fsel-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; font-weight: 600; color: var(--ink); text-align: left; white-space: nowrap; transition: background .15s, color .15s; }
.fsel-menu button:hover { background: var(--peach); }
.fsel-menu button.on { background: var(--sun-grad); font-weight: 800; }
.fsel-menu:not(.grid) button.on::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .7; }
.fsel-menu.grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 4px; min-width: 260px; max-height: none; }
.fsel-menu.grid button { justify-content: center; padding: 10px 4px; font-size: 13px; }
.ages .fsel-btn { padding: 10px 12px 10px 14px; border-radius: 12px; }
.ages label:nth-child(even) .fsel-menu.grid { left: auto; right: 0; }
.sort-sel .fsel-btn { border-radius: 999px; background: var(--white); box-shadow: var(--shadow); padding: 11px 16px 11px 18px; }
.sort-sel .fsel-btn:hover { background: #fff; box-shadow: 0 10px 24px -10px rgba(255, 110, 50, .45); }
.sort-sel .fsel-menu { left: auto; right: 0; min-width: 220px; }

/* ── Суммы с −/+ (fancyNumber) ── */
.fnum { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--cream); border: 1.5px solid transparent; transition: border-color .2s, background .2s, box-shadow .2s; }
.fnum:focus-within { background: #fff; border-color: var(--apricot); box-shadow: 0 0 0 4px rgba(255, 138, 61, .14); }
.fnum input { flex: 1; min-width: 0; width: 100%; padding: 6px 2px !important; border: 0 !important; background: transparent !important; text-align: center; font-weight: 800; color: var(--ink); outline: none; -moz-appearance: textfield; appearance: textfield; }
.fnum input::-webkit-outer-spin-button, .fnum input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fnum-eur { font-weight: 700; color: var(--muted); font-size: 13px; margin-right: 2px; }
.fnum button { flex: none; width: 30px; height: 30px; border-radius: 10px; background: #fff; color: #E0612A; font-size: 18px; font-weight: 800; line-height: 1; box-shadow: 0 1px 2px rgba(43, 24, 54, .08); transition: transform .15s, background .15s; }
.fnum button:hover { background: var(--sun-grad); color: var(--ink); transform: scale(1.06); }
.fnum button:active { transform: scale(.94); }
.f-price { grid-template-columns: 1fr !important; }
.f-price .fnum { padding: 3px; }
.f-price .fnum input { text-align: left; padding-left: 8px !important; }
.f-price .fnum button { width: 26px; height: 26px; font-size: 16px; }
.pop-who .btn, .pop-budget .btn { margin-top: 12px; }
.budget-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Доверие */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 6px 0 20px; }
.trust div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; }
.trust svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; }
.trust div:nth-child(1) svg { background: var(--butter); color: #C98A00; }
.trust div:nth-child(2) svg { background: var(--peach); color: #E0612A; }
.trust div:nth-child(3) svg { background: #E4F4EA; color: #2E8B57; }
.trust div:nth-child(4) svg { background: var(--lilac); color: #784BA0; }

/* Блоки главной */
.block { padding: 48px 0; }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.block-head p { margin: 8px 0 0; }
.rail-ctrl { display: flex; gap: 8px; align-items: center; }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow); transition: transform .2s var(--ease), background .2s; }
.round:hover { background: var(--butter); transform: scale(1.06); }

.who { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.who a { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; }
.who a:first-child { grid-row: span 2; }
.who a:last-child:nth-child(4) { grid-column: span 2; }
.who a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.who a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(43, 24, 54, .72)); }
.who a:hover img { transform: scale(1.07); }
.who b { font: 600 34px/1 var(--serif); }
.who a:first-child b { font-size: 52px; }
.who span { font-size: 14px; opacity: .9; margin-top: 6px; max-width: 32ch; }
.who .go { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); transform: scale(.6) rotate(-45deg); opacity: 0; transition: all .35s var(--ease); }
.who a:hover .go { transform: none; opacity: 1; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; padding: 12px 14px 40px; margin: -12px -14px -28px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.card.rv.in:hover, .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 4/3; }
.ph-tag { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; line-height: 1.3; pointer-events: none; z-index: 2; }
.card-img .ph-tag, .offer-img .ph-tag { top: 10px; bottom: auto; max-width: calc(100% - 70px); }
.rph-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.rph-note a { color: inherit; }
.card-body { padding: 16px 18px 18px; }
.loc { display: block; color: var(--pink); font-size: 13px; font-weight: 700; }
.card-name { font-size: 17px; }
.meta { color: var(--muted); font-size: 13px; margin: 6px 0 12px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 800; font-size: 20px; }
.price i { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; }
.upd { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: var(--muted); opacity: .75; }

/* Фото-карусель в карточке */
.ph { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ph::-webkit-scrollbar { display: none; }
.ph img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.ph-btn { position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; opacity: 0; transition: opacity .2s, transform .2s; z-index: 2; }
.ph-btn svg { width: 16px; height: 16px; }
.ph-btn.prev { left: 10px; } .ph-btn.next { right: 10px; }
.card-img:hover .ph-btn, .offer-img:hover .ph-btn { opacity: 1; }
.ph-btn:hover { transform: scale(1.1); }
.ph-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; z-index: 2; pointer-events: none; }
.ph-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .6); transition: width .3s var(--ease), background .3s; }
.ph-dots i.on { width: 16px; background: #fff; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hot-tag { position: absolute; bottom: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 6px; border-radius: 999px; background: var(--sun-grad); font-size: 12px; font-weight: 800; color: var(--ink); }
.hot-tag svg { width: 16px; height: 16px; animation: spin 10s linear infinite; }
.fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); transition: transform .2s; }
.fav:hover { transform: scale(1.1); }
.fav.on { color: #FF3C7C; }
.fav.on svg { fill: currentColor; }
.pop-anim { animation: heart .45s var(--ease); }
@keyframes heart { 40% { transform: scale(1.35); } }

.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.country { position: relative; aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; isolation: isolate; }
.country::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--img) center/cover; transition: transform 1.2s var(--ease); }
.country::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(43, 24, 54, .7)); }
.country:hover::before { transform: scale(1.08); }
.country b { font: 600 38px/1 var(--serif); }
.country span { display: inline-flex; align-self: flex-start; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 14px; }

.band { position: relative; overflow: hidden; border-radius: 36px; padding: 64px 56px; display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 30px; color: var(--ink); isolation: isolate; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../assets/gen/hero-1280.webp') center 60%/cover; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 248, 241, .95) 30%, rgba(255, 248, 241, .2)); }
.band h2 { font-size: clamp(38px, 4.4vw, 60px); }
.band p { font-size: 18px; color: #5A4760; max-width: 46ch; margin: 12px 0 0; }

.why { background: var(--white); border-radius: 36px; padding: 56px; box-shadow: var(--shadow); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 30px 0 40px; }
.why-grid div { padding-top: 18px; border-top: 3px solid; border-image: var(--sun-grad) 1; }
.why-grid b { font: 600 28px/1.1 var(--serif); }
.why-grid p { color: var(--muted); margin: 8px 0 0; }
.how { background: var(--butter); border-radius: var(--r-md); padding: 28px 32px; }
.how h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-ink); }
.how ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 16px 0 0; }
.how li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; font-weight: 700; }
.how li::before { content: counter(s); font: 600 44px/1 var(--serif); color: var(--apricot); }

/* Выдача */
.searchbar { position: sticky; top: 0; z-index: 28; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 12px 0; transition: box-shadow .3s; }
.searchbar.stuck { box-shadow: 0 10px 30px -18px rgba(43, 24, 54, .35); }
.searchbar .wrap { display: flex; gap: 14px; align-items: center; }
.sb-logo { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; transition: transform .4s var(--ease); }
.sb-logo:hover { transform: rotate(-12deg); }
.sb-logo img { width: 100%; height: 100%; }
#search { flex: 1; min-width: 0; }
.search.compact { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.15fr 1fr auto; gap: 8px; }
.search.compact .tile { padding: 9px 12px; box-shadow: none; background: var(--cream); border-color: var(--line); }
.search.compact .tile-ic { width: 34px; height: 34px; border-radius: 10px; }
.search.compact .tile-ic svg { width: 18px; height: 18px; }
.search.compact .tile-t { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.search.compact .find { grid-column: auto; height: auto; width: 60px; padding: 0; border-radius: 18px; }

.results-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; padding: 32px 0 60px; align-items: start; }
.filters { position: sticky; top: 100px; background: var(--white); border-radius: var(--r-lg); padding: 8px 22px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: thin; }
.f-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.f-block h4 { margin: 0 0 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; display: flex; justify-content: space-between; }
.f-block h4 .muted { text-transform: none; letter-spacing: 0; }
.f-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.f-chips button { padding: 7px 12px; font-size: 13px; }
.f-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--cream); border: 1.5px solid var(--line); }
.f-search input { border: 0; background: none; outline: none; width: 100%; font-size: 14px; }
.f-search:focus-within { border-color: var(--apricot); }
.f-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.f-price input { width: 100%; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 700; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.check input, .opt input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 7px; border: 2px solid #E6D6CF; background: #fff center / 12px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.check input:hover, .opt input:hover { border-color: var(--apricot); }
.check input:checked { border-color: transparent; background-color: #FF8A3D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); animation: tick .25s var(--ease); }
.opt input { border-radius: 50%; }
.opt input:checked { border: 6px solid #FF8A3D; animation: tick .25s var(--ease); }
.check input:focus-visible, .opt input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255, 138, 61, .2); }
@keyframes tick { 50% { transform: scale(1.15); } }
.check .stars { margin: 0; }
.check small { margin-left: auto; color: var(--muted); }
input[type=range] { width: 100%; accent-color: #FF8A3D; }
.reset { margin-top: 16px; font-size: 14px; }

.res-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.res-head h1 { font: 600 48px/1 var(--serif); }
.res-head h1 .fav-title { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-right: 14px; vertical-align: -6px; border-radius: 16px; background: #FDE3EC; color: #E64B7B; }
.res-head h1 .fav-title svg { width: 30px; height: 30px; }
.res-head p { margin: 6px 0 0; }
.res-head .who-note { max-width: 640px; margin: 10px 0 2px; font-size: 14px; line-height: 1.45; color: var(--ink); opacity: .8; }
.res-tools { display: flex; gap: 10px; align-items: center; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); }
.seg button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); transition: all .2s; }
.seg button svg { width: 18px; height: 18px; }
.seg button.on { background: var(--ink); color: #fff; }
.sort select { padding: 11px 14px; border-radius: 999px; border: 0; background: var(--white); box-shadow: var(--shadow); font-weight: 700; color: var(--ink); }
.demo-note { margin: 18px 0; padding: 12px 16px; border-radius: 14px; background: var(--butter); font-size: 14px; color: #7A5200; display: flex; gap: 10px; align-items: center; }
.demo-note svg { color: #C98A00; }

.offer { display: grid; grid-template-columns: 360px minmax(0, 1fr); background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 18px; transition: box-shadow .3s, transform .3s var(--ease); }
.offer:hover { box-shadow: var(--shadow-lg); }
.offer-img { position: relative; display: block; min-height: 300px; background: var(--peach); }
.offer-body { padding: 22px 26px; display: flex; flex-direction: column; min-width: 0; }
.offer-top { display: flex; justify-content: space-between; align-items: center; }
.offer h3 { font-size: 22px; margin: 4px 0 10px; }
.offer h3 a:hover { color: var(--pink); }
.score { display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 8px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; }
.score.sm { min-width: 38px; height: 28px; font-size: 13px; }
.score.lg { min-width: 80px; height: 80px; border-radius: 22px; font-size: 28px; line-height: 1; align-content: center; background: var(--sun-grad); color: var(--ink); }
.score.lg small { font-size: 11px; font-weight: 700; opacity: .7; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.chip.hot { background: var(--butter); border-color: #FFE08A; color: var(--orange-ink); }
.chip.pick { background: var(--lilac); border-color: #DCCDEE; color: #6A3E94; }
.chip.kids, .chip.family { background: var(--peach); border-color: #FFD2B5; color: #B2471B; }
.chip.aqua { background: var(--sky); border-color: #C6E2EF; color: #1F6E99; }
.facts { list-style: none; padding: 14px 0; margin: 14px 0 auto; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts svg { width: 18px; height: 18px; color: var(--apricot); }
.facts li:nth-child(2) svg { transform: scaleX(-1); }
.offer-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.price-big { font-size: 30px; font-weight: 800; line-height: 1.1; }
.price-big small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.empty { padding: 60px; text-align: center; background: var(--white); border-radius: var(--r-lg); color: var(--muted); }

.skel { height: 300px; border-radius: var(--r-lg); margin-bottom: 18px; background: linear-gradient(100deg, #fff 30%, var(--peach) 50%, #fff 70%) 0 0/300% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

#map { height: 560px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 18px; z-index: 1; }
.pin { display: inline-block; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: 999px; background: var(--white); font: 800 13px var(--sans); color: var(--ink); white-space: nowrap; box-shadow: 0 6px 16px -4px rgba(43, 24, 54, .35); transition: transform .2s; position: relative; }
.pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.pin.hot { background: var(--sun); }
.pin:hover { transform: translate(-50%, -100%) scale(1.12); z-index: 1000; }
.leaflet-div-icon { background: none !important; border: 0 !important; }
.leaflet-popup-content-wrapper { border-radius: 18px !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; font-family: var(--sans) !important; }
.map-pop img { width: 100%; height: 130px; object-fit: cover; }
.map-pop div { padding: 10px 14px 14px; }
.map-pop b { display: block; font-size: 15px; }
.map-pop .price { font-size: 17px; }

/* Отель */
.hotel { padding: 22px 0 60px; }
.back { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; margin-bottom: 16px; }
.hotel-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.hotel-head h1 { font: 600 clamp(40px, 4.6vw, 64px)/1.02 var(--serif); margin: 4px 0 12px; }
.hotel-head .stars svg { width: 18px; height: 18px; }
.head-right { display: flex; gap: 12px; align-items: center; }
.head-right .fav { position: static; width: 52px; height: 52px; box-shadow: var(--shadow); }
.bento { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; }
.bento button { position: relative; overflow: hidden; border-radius: 14px; }
.bento button:first-child { grid-row: span 2; border-radius: var(--r-lg) 14px 14px var(--r-lg); }
.bento button:nth-child(3) { border-top-right-radius: var(--r-lg); }
.bento button:nth-child(5) { border-bottom-right-radius: var(--r-lg); }
.bento button:nth-child(2) { grid-row: span 1; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .3s; }
.bento button:hover img { transform: scale(1.06); filter: brightness(1.05); }
.bento .all { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--white); font-weight: 800; font-size: 14px; box-shadow: var(--shadow); }
.bento .all:hover { background: var(--butter); }
/* галерея, когда фото меньше пяти: без пустых клеток */
.bento[data-n="1"] { grid-template-columns: 1fr; }
.bento[data-n="1"] button:first-child { border-radius: var(--r-lg); }
.bento[data-n="2"] button:nth-child(2) { grid-row: span 2; border-radius: 14px var(--r-lg) var(--r-lg) 14px; }
@media (min-width: 1001px) {
  .bento[data-n="2"], .bento[data-n="3"] { grid-template-columns: 2fr 1fr; }
  .bento[data-n="3"] button:nth-child(2) { border-top-right-radius: var(--r-lg); }
  .bento[data-n="3"] button:nth-child(3) { border-radius: 14px 14px var(--r-lg) 14px; }
  .bento[data-n="4"] button:nth-child(4) { grid-column: span 2; border-bottom-right-radius: var(--r-lg); }
}

.hotel-nav { position: sticky; top: 92px; z-index: 5; display: flex; gap: 6px; margin: 26px 0 0; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); box-shadow: var(--shadow); width: max-content; max-width: 100%; overflow-x: auto; }
.hotel-nav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.hotel-nav a:hover { background: var(--cream); color: var(--ink); }
.hotel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; margin-top: 24px; align-items: start; }
.hotel-info section { padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
#similar { scroll-margin-top: 150px; }
.hotel-info h2 { font-size: 36px; margin-bottom: 14px; }
.hotel-info p { color: var(--muted); font-size: 17px; max-width: 62ch; margin: 0; }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amen li { display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; text-align: center; transition: transform .25s var(--ease); }
.amen li:hover { transform: translateY(-3px); }
.amen svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--peach); color: #E0612A; }
.amen li:nth-child(even) svg { background: var(--butter); color: #C98A00; }
/* удобства живого отеля: плашки (годы, номера), главное, группы карточками, «показать все» */
.am-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.am-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--ink); }
.am-chips svg { width: 18px; height: 18px; color: #E0612A; }
.am-top { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 10px; }
.am-top li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); }
.am-top li > span { display: grid; gap: 2px; }
.am-top .am-t { font-weight: 800; font-size: 15px; line-height: 1.25; }
.am-top svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--peach); color: #E0612A; }
.am-top li:nth-child(even) svg { background: var(--butter); color: #C98A00; }
.am-n { display: block; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.am-groups { border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); padding: 4px 20px; }
.am-group { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.am-groups > .am-group:first-child { border-top: 0; }
.am-group h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: inherit; font-size: 15px; font-weight: 800; line-height: 1.25; }
.am-group h3 i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--peach); color: #E0612A; }
.am-group h3 svg { width: 20px; height: 20px; }
.am-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 3px; }
.am-group li { padding: 5px 11px; border-radius: 999px; background: var(--cream, #FFF6EE); border: 1px solid var(--line); font-size: 14px; line-height: 1.3; }
.am-group li small { color: var(--muted); font-size: 12px; }
.am-extra, .am-hide { display: none; }
#amen.am-all .am-extra { display: grid; }
#amen.am-all .am-hide { display: inline; }
#amen.am-all .am-show { display: none; }
.am-toggle { margin-top: 14px; padding: 11px 18px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-weight: 800; font-size: 14px; }
.am-toggle::after { content: " ▾"; }
#amen.am-all .am-toggle::after { content: " ▴"; }
@media (max-width: 640px) { .am-top { grid-template-columns: 1fr 1fr; gap: 8px; } .am-top li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; } .am-top .am-t { font-size: 14px; } .am-top svg { width: 34px; height: 34px; padding: 7px; } .am-groups { padding: 2px 14px; } .am-group { grid-template-columns: 1fr; gap: 10px; } .am-chips { gap: 6px; } .am-chips span { font-size: 12px; padding: 5px 10px 5px 7px; } .am-chips svg { width: 16px; height: 16px; } }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.opt:hover { border-color: #FFC8A0; }
.opt b { flex: 1; }
.opt span { font-weight: 800; }
.opt.on { border-color: var(--apricot); background: #FFFBF6; }
#hmap { height: 320px; border-radius: var(--r-lg); overflow: hidden; z-index: 1; }

.trip { position: sticky; top: 150px; background: var(--white); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.trip h3 { font: 600 32px/1 var(--serif); }
.trip dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 6px 0 8px; font-size: 14px; padding: 16px 0; border-block: 1px solid var(--line); }
.trip dt { color: var(--muted); }
.trip dd { margin: 0; font-weight: 700; }
.trip .price-big { transition: transform .3s var(--ease); }
.trip .price-big.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--orange-ink); } }
.kid-free { font-size: 12px; color: #2E8B57; font-weight: 700; }

.mbar { display: none; }

.x { position: absolute; top: 14px; right: 18px; font-size: 28px; color: var(--muted); }

/* Лайтбокс */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #1A0F20; color: #fff; display: grid; grid-template-rows: auto 1fr auto; overscroll-behavior: contain; touch-action: none; }
.lb .lb-thumbs { touch-action: pan-x; }
.lb:not([open]) { display: none; }
.lb[open] { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.lb::backdrop { background: transparent; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; font-weight: 700; }
.lb-x { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: #fff; }
.lb-stage { position: relative; overflow: hidden; touch-action: pan-y; min-height: 0; }
.lb-track { display: flex; height: 100%; transition: transform .55s var(--ease); }
.lb-slide { flex: 0 0 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 80px; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; user-select: none; -webkit-user-drag: none; }
.lb-btn { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: var(--sun); color: var(--ink); }
.lb-btn.prev { left: 16px; } .lb-btn.next { right: 16px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: safe center; padding: 16px 16px max(16px, env(safe-area-inset-bottom)); overflow-x: auto; }
.lb-thumbs button { flex: none; width: 84px; height: 58px; border-radius: 10px; overflow: hidden; opacity: .45; transition: opacity .2s, outline-color .2s; outline: 2px solid transparent; outline-offset: 2px; }
.lb-thumbs button.on { opacity: 1; outline-color: var(--sun); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Подвал */
.site-foot { background: var(--ink); color: #E8DCEC; margin-top: 40px; padding: 56px 0 30px; position: relative; }
.site-foot::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--sun-grad); }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-foot p { color: #B9A7C2; max-width: 36ch; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.foot-col a:hover { color: var(--sun); }
.foot-copy { grid-column: 1/-1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: 13px; color: #9B88A6; }
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s var(--ease); }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }

/* Мобильные */
@media (max-width: 1100px) {
  .search.compact { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .search.compact .find { grid-row: span 2; grid-column: 4; }
  .rail { grid-auto-columns: calc((100% - 36px) / 3); }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .hero, .results-layout, .hotel-grid { grid-template-columns: minmax(0, 1fr); }
  .slider { min-height: 520px; order: 2; }
  .filters { position: static; max-height: none; order: 2; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer-img { min-height: 240px; }
  .countries, .why-grid, .how ol, .trust { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .who a:first-child { grid-column: span 2; grid-row: auto; }
  .bento { grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px; }
  .bento button:nth-child(n+4) { display: none; }
  .bento button:nth-child(3) { border-radius: 14px 14px var(--r-lg) 14px; }
  .bento button:nth-child(2) { border-top-right-radius: var(--r-lg); }
  .amen { grid-template-columns: repeat(2, 1fr); }
  .trip { position: static; }
  .why, .band { padding: 36px 26px; }
  .band { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: calc((100% - 18px) / 2); }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -12px rgba(43, 24, 54, .25); }
  .mbar .price-big { font-size: 22px; }
  .hotel ~ #foot .fab { bottom: 90px; }
}
@media (max-width: 640px) {
  .topbar .muted, .topbar a:nth-child(2), .head-actions .btn span { display: none; }
  .site-head .wrap { gap: 10px; }
  .brand { font-size: 22px; }
  .brand img { width: 36px; height: 36px; }
  .search { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { padding: 12px; grid-template-columns: minmax(0, 1fr); }
  .tile-ic { grid-row: auto; width: 34px; height: 34px; margin-bottom: 6px; }
  .tile-ic svg { width: 18px; height: 18px; }
  .search.compact { grid-template-columns: 1fr 1fr; }
  .search.compact .find { grid-column: span 2; grid-row: auto; width: 100%; height: 48px; border-radius: 999px; }
  .sb-logo { display: none; }
  .searchbar { position: relative; }
  .pop { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100% !important; max-height: 78vh; overflow: auto; border-radius: 24px 24px 0 0; animation: sheet .35s var(--ease); }
  @keyframes sheet { from { transform: translateY(100%); } }
  .search.popping::after { content: ''; position: fixed; inset: 0; background: rgba(43, 24, 54, .35); z-index: 24; }
  .cal { grid-template-columns: 1fr; }
  .cal-m + .cal-m { display: none; }
  .pop-dest { grid-template-columns: repeat(3, 1fr); }
  .slide-cards { grid-template-columns: 1fr; }
  .slide-cards .mini:nth-child(2) { display: none; }
  .countries, .why-grid, .how ol, .trust { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .who a:first-child, .who a:last-child:nth-child(4) { grid-column: auto; }
  .who a:first-child b { font-size: 40px; }
  .rail { grid-auto-columns: 82%; }
  .offer-foot { flex-direction: column; align-items: stretch; }

  .bento { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .bento button:nth-child(n+2) { display: none; }
  .bento button:first-child { border-radius: var(--r-lg); }
  .lb-slide { padding: 0 8px; }
  .lb-btn { display: none; }
  .hotel-nav { top: 8px; }
}

/* ═══════════ v3: фон, шапка-поиск, новые блоки ═══════════ */

/* Фон hero: чистый тёплый градиент сверху, внизу ровно цвет страницы — без шва */
.hero-wrap { position: relative; background: radial-gradient(1100px 520px at 75% -10%, #FFE9C7 0%, rgba(255, 233, 199, 0) 70%), linear-gradient(180deg, #FFF3E7 0%, var(--cream) 85%); }
.hero { padding-bottom: 28px; }
.hero h1 { letter-spacing: -.02em; }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); font-weight: 700; }
.hero-chips a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); color: var(--ink); transition: all .2s; }
.hero-chips a:hover { background: var(--butter); border-color: #FFE08A; }
.trust { padding: 10px 0 34px; }
.trust div { background: rgba(255, 255, 255, .8); }
.trust svg { width: 42px; height: 42px; padding: 8px; }

/* Шапка-поиск на страницах выдачи и отеля: один логотип, одна полоса */
#head { display: contents; }
.site-head.bar { position: sticky; top: 0; background: rgba(255, 255, 255, .95); transition: box-shadow .3s; }
.site-head.bar.stuck { box-shadow: 0 10px 30px -18px rgba(43, 24, 54, .35); }
.site-head.bar .wrap { height: auto; padding: 10px 0; gap: 16px; }
.site-head.bar .brand img { width: 46px; height: 46px; }
.site-head.bar #search { flex: 1; min-width: 0; }
.site-head.bar .head-actions { gap: 8px; }

/* Иконки в плитках и шаги поиска */
.tile-ic svg { width: 24px; height: 24px; }
.step { display: inline-flex; align-items: baseline; gap: 1px; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: var(--butter); color: var(--orange-ink); font-size: 11px; }
.step b { font-size: 13px; }
.pop h5 { display: flex; align-items: center; }
.pop-date h5 { margin-bottom: 4px; }
.cal-g { row-gap: 4px; column-gap: 0; }
.cal-g button.in-trip, .cal-g button.trip-end { border-radius: 0; }
.cal-g button.trip-last { border-radius: 0 12px 12px 0; }
.cal-g button:hover:not(:disabled) { transform: none; }
.cal-g button.in-trip { background: var(--butter); }
.cal-g button.trip-start { background: var(--sun-grad); border-radius: 12px 0 0 12px; }
.cal-g button.trip-end { background: #FFE08A; }
.cal-g button.sel:not(.trip-start) { border-radius: 12px; }

.ret { margin: -4px 4px 12px; font-size: 13px; color: var(--muted); }
.ret b { color: var(--ink); }
.who-row { gap: 12px; }
.who-row > div:first-of-type { flex: 1; }
.face { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--butter); color: #E08A00; }
.face.ch { background: var(--powder); color: #E0457B; }
.face svg { width: 30px; height: 30px; }
.fav.on svg, .fav-link svg { color: #FF3C7C; }

/* Секция-заголовок с иконкой */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-ink); margin-bottom: 10px; }
.eyebrow svg { width: 22px; height: 22px; }

/* Где тепло по месяцам */
.months { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 0 -4px 18px; scrollbar-width: none; }
.months button { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; text-transform: capitalize; transition: all .2s; }
.months button.on { background: var(--sun-grad); color: var(--ink); }
.climate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; background: var(--white); border-radius: var(--r-lg); padding: 24px 28px; box-shadow: var(--shadow); }
.cl-row { display: grid; grid-template-columns: 44px 110px 1fr 64px; gap: 14px; align-items: center; padding: 6px 0; border-radius: 14px; }
.cl-row:hover .cl-t { transform: scale(1.08); }
.cl-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.cl-row b { font-size: 15px; }
.cl-bar { height: 12px; border-radius: 6px; background: var(--cream); overflow: hidden; }
.cl-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #9FD4EA, #FFD25A 55%, #FF8F5A); transition: width .7s var(--ease); }
.cl-t { font: 600 26px/1 var(--serif); text-align: right; transition: transform .2s; }
.cl-row.beach .cl-t { color: var(--orange-ink); }
.cl-row small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cl-row.beach small { color: #2E8B57; }
.climate-note { grid-column: 1/-1; margin: 6px 0 0; font-size: 12px; color: var(--muted); }

/* Блог */
.blog { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.post { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-img { aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 16px 20px 20px; display: grid; gap: 8px; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 700; }
.post-meta .cat { padding: 3px 10px; border-radius: 999px; background: var(--peach); color: #B2471B; }
.post h3 { font: 600 24px/1.1 var(--serif); }
.post p { margin: 0; color: var(--muted); font-size: 14px; }
.post.big { grid-row: span 2; }
.post.big .post-img { aspect-ratio: auto; flex: 1; min-height: 300px; }
.post.big h3 { font-size: 34px; }

/* Статья */
.article { padding: 28px 0 40px; }
.art-hero { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 21/9; }
.art-hero img { width: 100%; height: 100%; object-fit: cover; }
.art-head { max-width: 820px; margin: -90px auto 0; position: relative; background: var(--white); border-radius: 30px; padding: 34px 40px; box-shadow: var(--shadow-lg); }
.art-head h1 { font: 600 clamp(36px, 4.4vw, 58px)/1.02 var(--serif); margin: 12px 0; }
.art-head p { margin: 0; font-size: 18px; color: var(--muted); }
.art-body { max-width: 820px; margin: 34px auto 0; counter-reset: sec; }
.art-body section { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.art-body section::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font: 600 34px/1 var(--serif); color: var(--apricot); }
.art-body h2 { font-size: 30px; margin-bottom: 6px; }
.art-body p { margin: 0; font-size: 17px; color: #4E3D57; }
.art-cta { max-width: 820px; margin: 34px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 30px; border-radius: 26px; background: var(--butter); }
.art-cta b { font: 600 28px/1.1 var(--serif); }

@media (max-width: 1100px) {
  .site-head.bar .lang { display: none; }
}
@media (max-width: 1000px) {
  .blog { grid-template-columns: 1fr 1fr; }
  .post.big { grid-column: span 2; grid-row: auto; }
  .climate { grid-template-columns: 1fr; }
  .site-head.bar .wrap { flex-wrap: wrap; }
  .site-head.bar #search { order: 3; flex-basis: 100%; }
  .site-head.bar .head-actions { margin-left: auto; }
  .site-head.bar .lang { display: flex; }
}
@media (max-width: 640px) {
  .blog { grid-template-columns: 1fr; }
  .post.big { grid-column: auto; }
  .post.big h3 { font-size: 28px; }
  .cl-row { grid-template-columns: 40px 90px 1fr 50px; gap: 10px; }
  .art-hero { aspect-ratio: 4/3; border-radius: 24px; }
  .art-head { margin: -50px 12px 0; padding: 24px; }
  .art-body section { grid-template-columns: 1fr; gap: 6px; }
  .art-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .site-head.bar { position: relative; }
}

@media (max-width: 640px) {
  .res-tools { flex-wrap: wrap; width: 100%; }
  .sort, .sort select { max-width: 100%; }
  .search.compact .tile { grid-template-columns: auto minmax(0, 1fr); padding: 8px 10px; }
  .search.compact .tile-ic { grid-row: span 2; margin: 0; width: 32px; height: 32px; }
  .search.compact .find { height: 46px; }
}

/* ═══════════ v4 ═══════════ */

/* Горящие туры: вкладки по странам + сетка */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 4px 14px; margin: 0 -4px 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; transition: background .25s, color .25s, transform .2s var(--ease); }
.tabs button:hover { transform: translateY(-2px); }
.tabs button img, .tabs button .ti { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.tabs button .ti { display: grid; place-items: center; background: var(--sun-grad); color: #fff; }
.tabs button .ti svg { width: 18px; height: 18px; }
.tabs button small { color: var(--muted); font-weight: 700; }
.tabs button.on { background: var(--ink); color: #fff; }
.tabs button.on small { color: #CDBCD6; }
.hot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hot-grid .card { animation: cardIn .5s var(--ease) backwards; animation-delay: calc(var(--i) * 50ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.hot-more { display: flex; justify-content: center; margin-top: 26px; }

/* Где тепло: строки двигаются и растут плавно */
.climate { position: relative; }
.cl-row { will-change: transform; }
.cl-t { font-variant-numeric: tabular-nums; }

/* «Почему с нами» — светлый, с фото */
.care { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 56px; border-radius: 40px; background: linear-gradient(135deg, #FFF6DA 0%, #FFE9DC 55%, #FCE3EC 100%); }
.care-media { position: relative; aspect-ratio: 1 / 1.02; }
.care-media img { position: absolute; object-fit: cover; box-shadow: var(--shadow-lg); }
.care-media .m1 { inset: 0 18% 14% 0; width: 82%; height: 86%; border-radius: 32px; }
.care-media .m2 { right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 26px; border: 6px solid #fff; transform: rotate(4deg); transition: transform .5s var(--ease); }
.care-media:hover .m2 { transform: rotate(0) scale(1.03); }
.care-badge { position: absolute; left: 18px; bottom: 26%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-lg); font-weight: 800; font-size: 14px; animation: bob 4s ease-in-out infinite alternate; }
.care-badge i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #25D366; color: #fff; }
.care-badge i svg { width: 22px; height: 22px; }
@keyframes bob { to { transform: translateY(-8px); } }
.care h2 { font-size: clamp(40px, 4.6vw, 66px); line-height: .98; }
.care h2 em { font-style: italic; color: var(--orange-ink); }
.care-lead { color: #5F4C66; font-size: 17px; margin: 14px 0 26px; max-width: 46ch; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-bottom: 30px; }
.perk { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.perk span { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--apricot); box-shadow: var(--shadow); }
.perk:nth-child(2) span { color: #2E8B57; } .perk:nth-child(3) span { color: #2B86C5; } .perk:nth-child(4) span { color: var(--pink); }
.perk span svg { width: 28px; height: 28px; }
.perk b { display: block; font-size: 16px; margin-bottom: 2px; }
.perk p { margin: 0; font-size: 14px; color: #6B5872; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 13px; font-weight: 700; }
.flow li { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .7); }
.flow li b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; }
.flow i { color: var(--apricot); font-style: normal; font-weight: 800; }
.flow { padding: 0; margin-top: 0; }
.care-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Подвал v2: светлый, с большим призывом и словом-знаком */
.site-foot { background: linear-gradient(180deg, var(--cream) 0%, #FFEDE0 100%); color: var(--ink); padding: 0 0 26px; margin-top: 60px; overflow: hidden; }
.site-foot::before { display: none; }
.foot-cta { display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; padding: 44px 48px; border-radius: 36px; background: var(--white); box-shadow: var(--shadow-lg); margin-bottom: 56px; }
.foot-cta h2 { font-size: clamp(36px, 4vw, 56px); }
.foot-cta h2 em { font-style: italic; color: var(--orange-ink); }
.foot-cta p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }
.foot-cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-ink); margin-bottom: 14px; }
.foot-grid p { color: var(--muted); max-width: 32ch; margin: 12px 0 0; }
.foot-col { display: grid; gap: 9px; align-content: start; font-size: 14px; font-weight: 600; }
.foot-col a { transition: color .2s, transform .2s; }
.foot-col a:hover { color: var(--pink); transform: translateX(3px); }
.foot-col .c-line { display: inline-flex; align-items: center; gap: 8px; }
.foot-col .c-line svg { width: 20px; height: 20px; color: var(--apricot); }
.wordmark { font: italic 600 clamp(80px, 17vw, 250px)/.8 var(--serif); letter-spacing: -.03em; text-align: center; margin: 40px 0 0; background: linear-gradient(180deg, rgba(255, 154, 77, .38), rgba(255, 154, 77, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.foot-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(43, 24, 54, .1); padding-top: 18px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.foot-copy a { text-decoration: underline; }

@media (max-width: 1100px) {
  .hot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .care { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .care-media { max-width: 520px; }
  .hot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cta { grid-template-columns: 1fr; padding: 30px 26px; }
}
@media (max-width: 640px) {
  .hot-grid { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}

.site-foot .wrap { display: block; }
.site-foot .foot-copy { grid-column: auto; }
.flow { display: grid; grid-template-columns: 1fr 1fr; }
.care-badge i { background: var(--sun-grad); }

/* Статьи v2: вступление с буквицей, «Коротко», списки, врезки-советы */
.art-intro { font-size: 20px; line-height: 1.65; color: var(--ink); margin: 0 0 26px; }
.art-intro::first-letter { float: left; font: 600 76px/.8 var(--serif); color: var(--apricot); margin: 6px 12px 0 0; }
.art-sum { padding: 22px 26px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); margin-bottom: 12px; border-left: 5px solid var(--sun); }
.art-sum h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-ink); margin-bottom: 10px; }
.art-sum h3 svg { width: 20px; height: 20px; }
.art-sum ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.art-sum li { position: relative; padding-left: 26px; font-weight: 600; }
.art-sum li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun-grad); }
.art-body p + p { margin-top: 12px; }
.art-body section > div > p { line-height: 1.7; }
.art-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.art-list li { position: relative; padding: 12px 16px 12px 44px; border-radius: 14px; background: var(--white); font-size: 16px; color: #4E3D57; box-shadow: 0 1px 2px rgba(43, 24, 54, .04); }
.art-list li::before { content: ''; position: absolute; left: 16px; top: 17px; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--apricot); }
.art-tip { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: var(--butter); color: #6B4A00; font-size: 15px; }
.art-tip svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #fff; color: #E09A00; }
.art-table { margin-top: 16px; overflow-x: auto; border-radius: 16px; background: var(--white); box-shadow: 0 1px 2px rgba(43, 24, 54, .04); }
.art-table table { width: 100%; border-collapse: collapse; font-size: 15px; color: #4E3D57; min-width: 520px; }
.art-table th, .art-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(43, 24, 54, .07); }
.art-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #8A7893; font-weight: 700; }
.art-table tbody th { font-weight: 700; color: #2B1836; white-space: nowrap; }
.art-table tbody tr:last-child > * { border-bottom: 0; }
.art-tip b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
@media (max-width: 640px) {
  .art-intro { font-size: 18px; }
  .art-intro::first-letter { font-size: 60px; }
}

/* Узкая полоса поиска (выдача, отель): иконка + значение в одну строку, как у JoinUp.
   Работает с любыми длинами подписей — латышские не ломают высоту. */
.site-head.bar .wrap { padding: 12px 0; }
.search.compact { grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr) minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, .95fr) 52px; gap: 8px; align-items: stretch; }
.search.compact .tile { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px 0 8px; border-radius: 16px; min-width: 0; }
.search.compact .tile-t { display: none; }
.search.compact .tile-ic { flex: none; width: 36px; height: 36px; margin: 0; border-radius: 11px; }
.search.compact .tile-ic svg { width: 21px; height: 21px; }
.search.compact .tile-v, .search.compact .tile-in { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search.compact .tile:not(.set) .tile-v { color: var(--muted); font-weight: 600; }
.search.compact .tile-in::placeholder { color: var(--muted); font-weight: 600; }
.search.compact .find { width: 52px; height: 52px; border-radius: 16px; grid-row: auto; grid-column: auto; }
.search.compact .find svg { width: 22px; height: 22px; }
.site-head.bar .brand img { width: 44px; height: 44px; }
.fav-link { flex: none; }

/* Шапка главной: меню не толкается, на средних экранах прячется раньше */
.nav { gap: 24px; white-space: nowrap; }
@media (max-width: 1180px) { .site-head:not(.bar) .nav { display: none; } }

@media (max-width: 1100px) {
  .search.compact { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) 52px; }
  .search.compact .find { grid-row: span 2; grid-column: 4; height: auto; }
}
@media (max-width: 640px) {
  .search.compact { grid-template-columns: 1fr 1fr; gap: 6px; }
  .search.compact .tile { height: 46px; }
  .search.compact .tile-ic { width: 30px; height: 30px; }
  .search.compact .find { grid-column: span 2; grid-row: auto; width: 100%; height: 46px; border-radius: 999px; }
}

/* ── Язык ссылками (готовый сайт: /ru/...) ── */
.lang a { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--muted); transition: background .2s; }
.lang a.on { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }

/* ── Страница страны ── */
.ct-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.ct-price { margin-right: auto; font-weight: 700; color: var(--muted); }
.ct-price b { font: 600 36px/1 var(--serif); color: var(--ink); }
.ct-price small { font-size: 13px; }
.art-sum h2 { display: flex; align-items: center; gap: 8px; font: 800 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--orange-ink); margin-bottom: 14px; }
.art-sum h2 svg { width: 20px; height: 20px; }
.ct-facts { margin: 0; }
.ct-h { margin: 44px 0 4px; }
.country-page .art-body section h3 { font: 600 30px/1.05 var(--serif); margin-bottom: 6px; }
.country-page .art-body section .link { display: inline-block; margin-top: 12px; font-size: 14px; }
.ct-clim { margin-top: 14px; padding: 24px 26px 18px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.ct-clim h2 { margin-bottom: 18px; }
.ct-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 200px; }
.ct-bars div { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: end; gap: 6px; min-width: 0; }
.ct-bars b { font: 700 12px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.ct-bars i { width: 100%; max-width: 34px; border-radius: 9px 9px 4px 4px; background: linear-gradient(180deg, #CDE8F3, #9FD4EA); }
.ct-bars .beach i { background: linear-gradient(180deg, #FF8F5A, #FFD25A); }
.ct-bars .beach b { color: var(--orange-ink); }
.ct-bars small { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.ct-offers { margin-top: 56px; }
.ct-faq details { border-bottom: 1px solid var(--line); }
.ct-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 800; font-size: 18px; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary::after { content: '+'; flex: none; font: 600 32px/1 var(--serif); color: var(--apricot); transition: transform .3s var(--ease); }
.ct-faq details[open] summary::after { transform: rotate(45deg); }
.ct-faq details p { margin: 0 0 20px; font-size: 17px; color: #4E3D57; }
@media (max-width: 640px) {
  .ct-bars { gap: 3px; height: 170px; }
  .ct-bars b { font-size: 9px; }
  .ct-bars small { font-size: 9px; }
  .ct-price { width: 100%; }
  .ct-cta .btn { flex: 1; justify-content: center; }
}
.ct-clim .climate-note { font-size: 12px; margin-top: 12px; color: var(--muted); }

/* заявка без форм: WhatsApp главный, звонок и письмо запасные */
.book-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.book-alt .btn { justify-content: center; }
#mbar .btn-wa { white-space: nowrap; }

/* юридические страницы (doc.html) */
.doc .art-head { max-width: 760px; }
.doc .art-body { max-width: 760px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 10px; }
.doc .art-head { margin-top: 0; }
.doc .art-list li { padding-left: 36px; }
.doc .art-list li::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--apricot); top: 21px; }

/* Партнёры: тихая строка логотипов внизу главной, ссылки на сайты туроператоров */
.partners { padding: 8px 0 40px; text-align: center; }
.partners-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8a8a8a); margin: 0 0 16px; font-family: inherit; }
.partners-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; }
.partners-list a { display: block; opacity: .85; transition: opacity .2s; }
.partners-list a:hover, .partners-list a:focus-visible { opacity: 1; }
.partners-list img { display: block; height: 26px; width: auto; }
.partners-list li:first-child img { height: 30px; }

/* ── Меню на телефоне и планшете: бургер справа, выпадает под шапкой ── */
.burger { display: none; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--peach); flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger.on i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.on i:nth-child(2) { opacity: 0; }
.burger.on i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: absolute; top: 100%; left: 0; right: 0; z-index: 40; display: grid; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(43, 24, 54, .35); }
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 4px; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mnav a.on { color: var(--pink); }
.mnav .mnav-call { display: flex; align-items: center; gap: 10px; border-bottom: 0; color: var(--pink); }
.mnav .mnav-call svg { width: 20px; height: 20px; }
@media (max-width: 1180px) { .burger { display: flex; } }
@media (min-width: 1181px) { .mnav { display: none !important; } }
/* на узком телефоне кнопка «позвонить» уезжает в меню и в верхнюю полосу, иначе шапка не влезает */
@media (max-width: 640px) { .site-head .head-actions .btn-grad.sm { display: none; } .site-head .head-actions { gap: 8px; margin-left: auto; } }

/* ── Телефон: поиск свёрнут в строку, кнопка WhatsApp не мешает ── */
.qsum { display: none; }
.fab { transition: transform .25s var(--ease), opacity .25s; }
.fab.fab-off { opacity: 0; transform: scale(.6); pointer-events: none; }
@media (max-width: 1000px) {
  .qsum { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; height: 48px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
  .qsum > svg { flex: none; width: 18px; height: 18px; color: var(--pink); }
  .qsum-t { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qsum-e { flex: none; padding: 7px 12px; border-radius: 999px; background: var(--sun-grad); font-size: 12px; font-weight: 800; color: var(--ink); }
  .search.compact:not(.m-open) > .tile, .search.compact:not(.m-open) > .find { display: none; }
  .search.compact.m-open .qsum-e { background: var(--peach); }
}
@media (max-width: 640px) {
  .fab { width: 52px; height: 52px; right: 14px; bottom: 16px; }
  .fab svg { width: 24px; height: 24px; }
  /* на странице отеля внизу уже есть полоса с кнопкой WhatsApp */
  .hotel ~ #foot .fab { display: none; }
}

/* ── Описание отеля блоками: раздел = раскрывашка с иконкой и первой строкой ── */
.dsecs { display: grid; gap: 10px; }
.dsec { border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); }
.dsec summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.dsec summary::-webkit-details-marker { display: none; }
.dsec summary > svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--peach); color: #E0612A; }
.dsec:nth-child(even) summary > svg { background: var(--butter); color: #C98A00; }
.dsec summary span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dsec summary b { font-size: 17px; }
.dsec summary small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsec[open] summary small { display: none; }
.dsec summary::after { content: '+'; flex: none; font: 600 28px/1 var(--serif); color: var(--apricot); transition: transform .3s var(--ease); }
.dsec[open] summary::after { transform: rotate(45deg); }
.dsec-b { padding: 0 18px 16px 70px; }
.dsec-b p { margin: 0 0 8px; }
.dsec-b h4 { margin: 12px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.dlist { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dlist li { padding: 5px 11px; border-radius: 999px; background: var(--cream, #FFF6EC); border: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.dsec.note { background: #FFF8E6; }
@media (max-width: 640px) {
  .dsec summary { padding: 12px 14px; gap: 12px; }
  .dsec summary > svg { width: 34px; height: 34px; padding: 7px; }
  .dsec summary b { font-size: 16px; }
  .dsec-b { padding: 0 14px 14px; }
}

/* ── Горячие туры на телефоне: лента вбок, следующая карточка выглядывает ── */
@media (max-width: 640px) {
  .hot-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 4px 20px 14px; scroll-padding-inline: 20px; }
  .hot-grid::-webkit-scrollbar { display: none; }
  .hot-grid .card { flex: 0 0 82%; scroll-snap-align: start; }
  /* фото внутри карточки не листаются, чтобы свайп двигал ленту */
  .hot-grid .ph { overflow: hidden; touch-action: pan-x pan-y; }
  .hot-grid .ph-dots, .hot-grid .ph-btn { display: none; }
  .hot-more { margin-top: 14px; }
}
.dsec-b h4.imp { color: #B7791F; }
