:root {
  --ink:        #0F2754;
  --ink-soft:   #4A5C7E;
  --ink-mute:   #8A95AB;
  --red:        #C20E1A;
  --red-deep:   #9A0B14;
  --paper:      #FBF8F2;
  --paper-2:    #F4EEE2;
  --sand:       #E8DDC8;
  --sea:        #6FA0B5;
  --sea-soft:   #C9DDE5;
  --line:       #E5DFD0;
  --white:      #FFFFFF;
  --shadow-sm:  0 1px 2px rgba(15,39,84,.06), 0 2px 8px rgba(15,39,84,.04);
  --shadow-md:  0 8px 24px rgba(15,39,84,.08), 0 2px 6px rgba(15,39,84,.04);
  --shadow-lg:  0 24px 64px rgba(15,39,84,.18), 0 6px 16px rgba(15,39,84,.06);
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.koptur {
  font-family: 'Onest', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.koptur-display {
  font-family: 'Unbounded', 'Onest', sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.koptur-display em {
  font-style: italic;
  font-family: 'Unbounded', serif;
  font-weight: 300;
  color: var(--red);
}

.koptur-label {
  font-family: 'Onest', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}
.koptur-label--red { color: var(--red); }

.koptur-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .koptur-container { padding: 0 40px; }
}

main > section { padding: 80px 0; }
@media (min-width: 768px) { main > section { padding: 112px 0; } }

/* common section-head */
.koptur-section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 768px) {
  .koptur-section-head { grid-template-columns: 1fr auto; }
}
.koptur-section-head h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 16ch;
}
.koptur-section-head h2 em {
  font-style: italic;
  color: var(--red);
  font-weight: 300;
}
.koptur-section-head .koptur-label { margin-bottom: 12px; display: block; }
.koptur-section-head__lead {
  max-width: 380px;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}
.koptur-section-head__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: .2s;
  align-self: end;
  white-space: nowrap;
}
.koptur-section-head__cta:hover { color: var(--red); border-color: var(--red); }
.koptur-section-head__cta svg { width: 16px; height: 16px; transition: .2s; }
.koptur-section-head__cta:hover svg { transform: translateX(4px); }

/* section CSS for each block will be appended below in subsequent tasks */

/* ============ TOPBAR ============ */
.koptur-topbar {
  position: relative;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.koptur-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.koptur-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.koptur-brand__name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.koptur-brand__tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: none;
}
@media (min-width: 768px) { .koptur-brand__tag { display: inline; } }

.koptur-nav { display: none; gap: 28px; }
.koptur-nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.koptur-nav a:hover { color: var(--red); }

.koptur-topbar__cta { display: flex; align-items: center; gap: 16px; }
.koptur-phone {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  display: none;
}
.koptur-btn-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
  color: var(--ink);
}
.koptur-btn-icon:hover { border-color: var(--ink); }
.koptur-btn-icon svg { width: 18px; height: 18px; }

.koptur-menu-btn {
  display: grid;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  place-items: center;
  cursor: pointer;
}
.koptur-menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.koptur-menu-btn span::before, .koptur-menu-btn span::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 1.5px; background: var(--ink);
}
.koptur-menu-btn span::before { top: -6px; }
.koptur-menu-btn span::after { top: 6px; }

@media (min-width: 1024px) {
  .koptur-nav { display: flex; }
  .koptur-menu-btn { display: none; }
  .koptur-phone { display: inline; }
}

/* ============ HERO ============ */
.koptur-hero {
  position: relative;
  background: var(--paper);
  padding: 56px 0 0 !important;
  min-height: 520px;
}
@media (min-width: 768px) {
  .koptur-hero { padding: 80px 0 0 !important; }
}
@media (min-width: 1024px) {
  .koptur-hero { padding: 96px 0 0 !important; min-height: 720px; display: flex; flex-direction: column; }
}

.koptur-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #5DBBC4 0%, #FFE6C2 100%);
}
.koptur-hero__media::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(251,248,242,.0) 0%, rgba(251,248,242,.4) 60%, rgba(251,248,242,.95) 100%),
    linear-gradient(115deg, rgba(15,39,84,.55) 0%, rgba(15,39,84,.15) 50%, rgba(194,14,26,.10) 100%);
  z-index: 1;
}
.koptur-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.koptur-hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
}

.koptur-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.koptur-hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(194,14,26,.18);
  animation: koptur-pulse 2s ease-in-out infinite;
}
@keyframes koptur-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(194,14,26,.18); }
  50% { box-shadow: 0 0 0 8px rgba(194,14,26,.0); }
}
.koptur-hero__eyebrow .koptur-label { color: var(--white); }

.koptur-hero__title {
  font-size: clamp(40px, 7vw, 88px);
  color: var(--white);
  margin: 0 0 24px;
  max-width: 12ch;
}
.koptur-hero__title em {
  color: #FFC9CD;
}
.koptur-hero__sub {
  max-width: 460px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin: 0 0 40px;
}
.koptur-hero__search-slot {
  margin-top: auto;
  margin-bottom: -32px;
  position: relative;
  z-index: 5;
  background: rgba(255,255,255,.5);
  border: 1px dashed rgba(15,39,84,.3);
  padding: 24px;
  border-radius: 24px;
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  color: var(--ink);
}

/* ============ TV SEARCH FORM OVERRIDES ============ */
.koptur-hero__search-slot {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 24px !important;
  text-align: left;
}
.tv-search-form {
  margin: 0 !important;
}
.tv-search-form .TVInterfaceWrapper {
  background: var(--white) !important;
  border-radius: 24px !important;
  box-shadow: var(--shadow-lg) !important;
  overflow: hidden;
  padding: 8px !important;
  border: 0 !important;
}
.tv-search-form .TVMainForm,
.tv-search-form [class*="TVMainForm"][style*="background"],
.tv-search-form .TVMobileForm,
.tv-search-form .TVMobileForm .TVFormBody,
.tv-search-form .TVMobileForm .TVFormBody.TVMainColor,
.tv-search-form .TVMobileForm .TVFormBody[style*="background"] {
  background: var(--white) !important;
  background-color: var(--white) !important;
  background-image: none !important;
  color: var(--ink) !important;
  padding: 0 !important;
}
.tv-search-form .TVRadioGroup .TVInputRadio {
  padding: 4px 4px !important;
}
.tv-search-form .TVInputRadioLabel {
  border: 1px solid var(--line) !important;
  width: 16px !important; height: 16px !important;
  border-radius: 50% !important;
}
.tv-search-form .TVInputRadioLabelCheck {
  background: var(--red) !important;
}
.tv-search-form [class*="TVSubmit"],
.tv-search-form [class*="TVSearchButton"],
.tv-search-form .TVSearchSubmitButton,
.tv-search-form button[class*="Submit"] {
  background: var(--red) !important;
  background-image: none !important;
  color: var(--white) !important;
  border-radius: 999px !important;
  border: 0 !important;
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  transition: background .2s !important;
}
.tv-search-form [class*="TVSubmit"]:hover,
.tv-search-form .TVSearchSubmitButton:hover,
.tv-search-form button[class*="Submit"]:hover {
  background: var(--red-deep) !important;
}
.tv-search-form .TVMainSelect,
.tv-search-form .TVMainFilter {
  background: var(--white) !important;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  transition: border-color .15s !important;
}
.tv-search-form .TVMainSelect:hover,
.tv-search-form .TVMainFilter:hover {
  border-color: var(--ink) !important;
}
.tv-search-form .TVMainSelectPlaceholder {
  color: var(--ink-mute) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  font-family: 'Onest', sans-serif !important;
}
.tv-search-form .TVMainSelectContent {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em !important;
}
.tv-search-form,
.tv-search-form * {
  font-family: 'Onest', sans-serif !important;
}
.tv-search-form .TVMainSelectContent,
.tv-search-form [class*="TVSubmit"],
.tv-search-form .TVSearchSubmitButton {
  font-family: 'Unbounded', sans-serif !important;
}
/* Hide complex filter sections to simplify */
.tv-search-form .TVHotelStarsFilter,
.tv-search-form .TVStarsFilter,
.tv-search-form .TVMealsFilter,
.tv-search-form .TVMealFilter,
.tv-search-form .TVRatingFilter,
.tv-search-form .TVHotelRatingFilter,
.tv-search-form .TVResortTreeFilter,
.tv-search-form .TVHotelListFilter,
.tv-search-form .TVPriceFilter { display: none !important; }

/* В hotels-mode у TV ячейка «Направление» (.TVHotelSearchFilter) имеет
   фиксированную высоту 40px, но её label+input занимают 50px и input
   уезжает в следующую строку «Даты проживания». Уравниваем высоту
   с соседними ячейками .TVTripDurationFilter / .TVTouristsFilter (60px). */
.tv-search-form .TVHotelSearchFilter,
.tv-search-form .TVHotelsSearch {
  height: auto !important;
  min-height: 60px !important;
}

/* Mobile: TV form is stuck at 670px wide (flex-row), force column stack.
   Firefox/Safari ставят .TVInterfaceWrapper в flex-row, из-за чего
   .TVMainForm и .TVFilterForm ложатся рядом — поэтому жёстко block + column. */
@media (max-width: 767px) {
  .tv-search-form,
  .tv-search-form .TVFullForm,
  .tv-search-form .TVInterfaceWrapper,
  .tv-search-form .TVMainForm,
  .tv-search-form .TVFilterForm,
  .tv-search-form .TVSearchingFormFlexBlock,
  .tv-search-form .TVSearchingFormColumnFlexBlock,
  .tv-search-form .TVMainFilter {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
  }
  /* Жёстко вертикальная раскладка для всех потенциально горизонтальных
     обёрток TV — block для тех, что в FF/Safari включают flex-row, и
     явный column для остальных, плюс защита от legacy webkit-box. */
  .tv-search-form .TVFullForm,
  .tv-search-form .TVInterfaceWrapper {
    display: block !important;
  }
  .tv-search-form .TVMainForm,
  .tv-search-form .TVFilterForm,
  .tv-search-form .TVMainFilter,
  .tv-search-form .TVSearchingFormFlexBlock,
  .tv-search-form .TVSearchingFormColumnFlexBlock,
  .tv-search-form [class*="Filter"][class*="Flex"],
  .tv-search-form .TVMainForm > *,
  .tv-search-form .TVSearchingFormFlexBlock > * {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    grid-template-columns: 1fr !important;
  }
  /* All filter cells full-width */
  .tv-search-form .TVDepartureFilter,
  .tv-search-form .TVCountryFilter,
  .tv-search-form .TVFlyDatesFilter,
  .tv-search-form .TVTripDurationFilter,
  .tv-search-form .TVHotelSearchFilter,
  .tv-search-form .TVHotelsSearch,
  .tv-search-form .TVMainFilter,
  .tv-search-form .TVMainSelect,
  .tv-search-form .TVSearchFormCartPreview,
  .tv-search-form [class*="Filter"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  /* Hide cart preview on mobile to save space */
  .tv-search-form .TVSearchFormCartPreview { display: none !important; }
  /* Last-resort safety net: clip any TV runaway width */
  .tv-search-form,
  .tv-search-form * {
    box-sizing: border-box !important;
  }

  /* ---- TVMobileForm variant (Firefox/Safari/реальный телефон) ----
     При мобильных UA TourVisor отдаёт совсем другую разметку:
     .TVMobileForm > .TVFormBody > .TVTopFormBlock / .TVControlsWrap.
     .TVControlsWrap раскладывает дочки в ряд (flex-row), из-за чего
     даты/ночи и туристы/фильтры стоят в 2 колонки и торчат за viewport. */
  .tv-search-form .TVMobileForm,
  .tv-search-form .TVFormBody,
  .tv-search-form .TVTopFormBlock,
  .tv-search-form .TVControlsWrap,
  .tv-search-form .TVMobileFormMainFilter {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }
  .tv-search-form .TVFormBody,
  .tv-search-form .TVTopFormBlock,
  .tv-search-form .TVControlsWrap {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    gap: 8px !important;
  }
  /* Прячем компактный значок «корзины» из шапки мобильной формы */
  .tv-search-form .TVCartPreviewCompact,
  .tv-search-form .TVTopFormBlock > div:empty {
    display: none !important;
  }
  /* Внутренний паддинг обёртки белой карточки, чтобы табы и инпуты не
     липли к краям. В desktop-варианте обёртка — .TVInterfaceWrapper,
     в mobile-варианте (FF/Safari/телефон) её нет, поэтому ставим padding
     ещё и на .TVFormBody, которая в моб-варианте и есть «белая карточка». */
  .tv-search-form .TVInterfaceWrapper,
  .tv-search-form .TVMobileForm .TVFormBody {
    padding: 12px !important;
  }
  /* TV кладёт несимметричный margin-left:5px (без margin-right) на дочки
     TVFormBody и TVControlsWrap — это и есть «нет отступов справа».
     Обнуляем и опираемся только на padding TVFormBody для отступов. */
  .tv-search-form .TVFormBody > *,
  .tv-search-form .TVControlsWrap > *,
  .tv-search-form .TVTopFormBlock > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
  .koptur-hero__search-slot,
  .tv-search-form,
  .tv-search-form .TVMobileForm,
  .tv-search-form .TVFormBody {
    overflow-x: clip !important;
  }
}

/* ============ STATS ============ */
.koptur-stats {
  background: var(--paper);
  padding: 64px 0 40px !important;
  border-bottom: 1px solid var(--line);
}
.koptur-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
@media (min-width: 768px) {
  .koptur-stats__grid { grid-template-columns: repeat(4, 1fr); }
}
.koptur-stats__num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.koptur-stats__num sup { font-size: 0.5em; color: var(--red); margin-left: 2px; }
.koptur-stats__caption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.4;
  max-width: 22ch;
}

/* ============ HOT PRICES (TV min-price) ============ */
.koptur-hot { background: var(--paper); }

/* Hot tours carousel — wrapper for TV widget + prev/next nav buttons.
   Pin arrows on the card image area: image starts ~4px from top, is ~266px
   tall (16:11 of ~387px wide card). Center of image = ~140px. */
.koptur-hot__carousel { position: relative; }
.koptur-hot__nav {
  position: absolute;
  top: 140px;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--white);
  box-shadow: 0 6px 20px rgba(15,39,84,.35), 0 2px 6px rgba(0,0,0,.15);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .2s, opacity .2s, box-shadow .2s, background-color .2s;
  z-index: 10;
}
.koptur-hot__nav svg { width: 22px; height: 22px; }
.koptur-hot__nav:hover {
  background: var(--red);
  box-shadow: 0 10px 28px rgba(194,14,26,.4), 0 3px 8px rgba(0,0,0,.2);
  transform: translateY(-50%) scale(1.08);
}
.koptur-hot__nav:disabled { opacity: 0; pointer-events: none; }
.koptur-hot__nav--prev { left: 12px; }
.koptur-hot__nav--next { right: 12px; }
@media (max-width: 1023px) {
  .koptur-hot__nav { top: 110px; width: 44px; height: 44px; }
}

/* TourVisor tv-hot-tours widget restyle (module 9991320 on homepage).
   Goal: turn TV's horizontal-card grid into vertical brand cards
   matching the .deal mockup (image on top + info body below). */

/* Hide the filter strip (departure/country/dates/budget/etc.) — we want
   the section to read as a curated feed, not a search interface. */
.tv-hot-tours .TVModuleFiltersHeader,
.tv-hot-tours .TVModuleFilter {
  display: none !important;
}

/* Horizontal carousel: 9 cards in one scroll-snap row, 3 visible at a time on
   desktop. Flatten TV's TVVisibleArea wrappers via display:contents so all
   .TVHotItem siblings line up as direct children of TVTableView. */
.tv-hot-tours .TVListHotsControl { padding: 0 !important; overflow: visible !important; }
.tv-hot-tours .TVTableView {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--sand) transparent !important;
  padding: 4px 0 16px !important;
  margin: 0 -24px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: auto !important;
  transform: none !important;
}
.tv-hot-tours .TVTableView::-webkit-scrollbar { height: 6px; }
.tv-hot-tours .TVTableView::-webkit-scrollbar-thumb {
  background: var(--sand);
  border-radius: 4px;
}
.tv-hot-tours .TVVisibleArea {
  display: contents !important;
}

/* Card shell: vertical, brand radius, soft shadow with hover lift.
   Carousel item — fixed width, scroll-snap aligned, calculated so 3 fit at
   1200px container with 20px gaps: (1200 - 40) / 3 ≈ 386px. */
.tv-hot-tours .TVHotItem {
  flex: 0 0 calc((100% - 40px) / 3) !important;
  min-width: 0 !important;
  scroll-snap-align: start !important;
  margin: 0 !important;
  background: var(--white) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden !important;
  transition: transform .3s, box-shadow .3s !important;
  cursor: pointer !important;
  position: relative !important;
}
@media (max-width: 1023px) {
  .tv-hot-tours .TVHotItem { flex: 0 0 calc((100% - 20px) / 2) !important; }
}
@media (max-width: 639px) {
  .tv-hot-tours .TVHotItem { flex: 0 0 78% !important; }
}
.tv-hot-tours .TVHotItem:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Front face — make it stack: image on top, info below. */
.tv-hot-tours .TVHotItemWrap {
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

/* Image area — full-width banner with 16:11 aspect ratio. */
.tv-hot-tours .TVHotImageWrap {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 11 !important;
  flex: none !important;
}
.tv-hot-tours .TVHotImg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 0 !important;
}
.tv-hot-tours .TVHotImageWrap::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(15,39,84,.55) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Discount stamp — red badge top-left, prefixed with minus and percent. */
.tv-hot-tours .TVHotDiscountWrapper {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 2 !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 4px !important;
  padding: 6px 10px !important;
  width: auto !important;
  height: auto !important;
}
.tv-hot-tours .TVHotDiscount {
  font-family: 'Unbounded', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  color: var(--white) !important;
  background: transparent !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.tv-hot-tours .TVHotDiscount::before { content: "−"; }
.tv-hot-tours .TVHotDiscount::after  { content: "%"; }
/* TV draws a hanging "ribbon tail" via TVHotDiscountWrapper::after using
   CSS border triangles. Looks out of place on our flat brand badge. */
.tv-hot-tours .TVHotDiscountWrapper::after,
.tv-hot-tours .TVHotDiscountWrapper::before {
  display: none !important;
}

/* Info block — reset TV's left-margin (was reserving room for absolute image). */
.tv-hot-tours .TVHotItemWrap .TVHotInfoBlock {
  margin: 0 !important;
  padding: 16px 20px 18px !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: 1 !important;
}

/* Hotel + city titles. */
.tv-hot-tours .TVHotTitles { padding: 0 !important; }
.tv-hot-tours .TVHotResort,
.tv-hot-tours .TVHotTitle {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}
.tv-hot-tours .TVHotItemWrap .TVHotCountry {
  font-family: 'Onest', sans-serif !important;
  font-size: 13px !important;
  color: var(--ink-soft) !important;
  margin-top: 2px !important;
}

/* Stars row — keep, just tighten. */
.tv-hot-tours .TVHotStarWrap {
  display: flex !important;
  gap: 2px !important;
  margin: 2px 0 !important;
}
.tv-hot-tours .TVHotStarB { color: var(--red) !important; }

/* Departure + dates — small muted Onest. */
.tv-hot-tours .TVHotDeparture,
.tv-hot-tours .TVHotDateNight {
  font-family: 'Onest', sans-serif !important;
  font-size: 13px !important;
  color: var(--ink-soft) !important;
  background: transparent !important;
}

/* Price line — top border, "от" label, big Unbounded price.
   Override TV's absolute positioning that was calibrated for the old
   horizontal card layout — needs to flow inside our flex column. */
.tv-hot-tours .TVHotPriceBlock {
  position: static !important;
  top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--line) !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
}
.tv-hot-tours .TVHotPriceBlock::before {
  content: "от" !important;
  position: static !important;
  top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
  width: auto !important;
  height: auto !important;
  font-family: 'Onest', sans-serif !important;
  font-size: 12px !important;
  color: var(--ink-mute) !important;
  background: transparent !important;
  border: 0 !important;
  margin-right: 4px !important;
}
.tv-hot-tours .TVHotNewPrice {
  display: flex !important;
  align-items: baseline !important;
  gap: 3px !important;
  background: transparent !important;
}
.tv-hot-tours .TVHotNewPriceValue {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 500 !important;
  font-size: 22px !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  background: transparent !important;
}
.tv-hot-tours .TVHotNewPriceCurrency {
  font-family: 'Onest', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--ink-mute) !important;
  text-transform: lowercase !important;
  background: transparent !important;
}

/* Old price — muted strikethrough, secondary. Like the price block, TV
   absolute-positions it; reset to flow. */
.tv-hot-tours .TVHotItemWrap .TVHotOldPrice {
  position: static !important;
  top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 2px !important;
  margin-left: auto !important;
  width: auto !important;
  height: auto !important;
}
.tv-hot-tours .TVHotItemWrap .TVHotOldPriceValue,
.tv-hot-tours .TVHotItemWrap .TVHotOldPriceCurrency {
  font-family: 'Onest', sans-serif !important;
  font-size: 13px !important;
  color: var(--ink-mute) !important;
  text-decoration: line-through !important;
}

/* Detail overlay — TV's "back face" with the "выбрать" CTA. The actual
   click handler lives on .TVHotButton; nothing else in the card opens the
   tour. Strategy: collapse the detail layer to zero size (it stays in DOM
   so TV's listeners survive) and hoist .TVHotButton itself to cover the
   entire card area as a transparent click target. */
.tv-hot-tours .TVHotDetailI,
.tv-hot-tours .TVHotDetailAB,
.tv-hot-tours .TVHotOverflow {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
.tv-hot-tours .TVHotDetailI .TVHotInfoBlock,
.tv-hot-tours .TVHotDetailAB .TVHotInfoBlock,
.tv-hot-tours .TVHotOverflow .TVHotInfoBlock {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}
.tv-hot-tours .TVHotDetailI .TVHotButton,
.tv-hot-tours .TVHotDetailAB .TVHotButton,
.tv-hot-tours .TVHotOverflow .TVHotButton {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: auto !important;
  z-index: 5 !important;
  cursor: pointer !important;
}

/* Empty + pagination — keep TV's defaults but center. */
.tv-hot-tours .TVEmptyList { text-align: center !important; padding: 40px 0 !important; }

/* ============ DIRECTIONS ============ */
.koptur-dirs {
  background: var(--ink);
  color: var(--white);
}
.koptur-dirs .koptur-section-head h2,
.koptur-dirs .koptur-section-head h2 em { color: var(--white); }
.koptur-dirs .koptur-section-head h2 em { color: #FFC9CD; }
.koptur-dirs .koptur-label { color: rgba(255,255,255,.55); }
.koptur-dirs .koptur-section-head__lead { color: rgba(255,255,255,.7); }
.koptur-dirs .koptur-section-head__cta { color: var(--white); border-color: rgba(255,255,255,.4); }
.koptur-dirs .koptur-section-head__cta:hover { color: #FFC9CD; border-color: #FFC9CD; }

.koptur-dirs__lane {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -24px;
  padding: 4px 24px 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.koptur-dirs__lane::-webkit-scrollbar { height: 6px; }
.koptur-dirs__lane::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2);
  border-radius: 4px;
}
@media (min-width: 640px)  { .koptur-dirs__lane { grid-auto-columns: 42%; } }
@media (min-width: 1024px) {
  .koptur-dirs__lane {
    grid-auto-columns: 1fr;
    grid-auto-flow: row;
    grid-template-columns: repeat(6, 1fr);
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

.koptur-dir {
  position: relative;
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  color: var(--white);
  transition: transform .3s;
  background: linear-gradient(135deg, #5DBBC4 0%, #FFE6C2 100%);
}
.koptur-dir:hover { transform: translateY(-4px); }
.koptur-dir img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.koptur-dir:hover img { transform: scale(1.06); }
.koptur-dir::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%);
}
.koptur-dir__name {
  position: absolute;
  left: 18px; right: 18px;
  bottom: 16px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  z-index: 2;
  line-height: 1;
}

/* ============ TRUST ============ */
.koptur-trust {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.koptur-trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
@media (min-width: 768px) { .koptur-trust__grid { grid-template-columns: repeat(4, 1fr); } }
.koptur-trust__cell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.koptur-trust__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.koptur-trust__icon svg { width: 22px; height: 22px; color: var(--red); }
.koptur-trust__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.koptur-trust__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}

/* ============ REVIEWS ============ */
.koptur-reviews { background: var(--paper); }
.koptur-reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .koptur-reviews__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

.koptur-review {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.koptur-review::before {
  content: '“';
  position: absolute;
  top: 12px; left: 22px;
  font-family: 'Unbounded', serif;
  font-size: 80px;
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
}
.koptur-review__text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 24px 0 24px;
  position: relative;
}
.koptur-review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.koptur-review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-2);
  overflow: hidden;
}
.koptur-review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.koptur-review__name {
  font-weight: 600;
  font-size: 14px;
}
.koptur-review__meta {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ============ PARTNERS ============ */
.koptur-partners {
  background: var(--paper);
  padding: 56px 0 !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.koptur-partners__lane {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  opacity: .65;
}
@media (min-width: 768px) { .koptur-partners__lane { grid-template-columns: repeat(6, 1fr); } }
.koptur-partner {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink);
  text-transform: uppercase;
  opacity: .7;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: .2s;
}
.koptur-partner img {
  max-height: 36px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(1);
  transition: filter .2s, opacity .2s;
}
.koptur-partner:hover { opacity: 1; }
.koptur-partner:hover img { filter: grayscale(0); }

/* ============ ARTICLES ============ */
.koptur-articles { background: var(--paper); }
.koptur-articles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) { .koptur-articles__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.koptur-article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: .2s;
}
.koptur-article__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-2);
}
.koptur-article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.koptur-article:hover .koptur-article__media img { transform: scale(1.04); }
.koptur-article__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}
.koptur-article__cat::before {
  content: ''; width: 16px; height: 1px; background: var(--red);
}
.koptur-article__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.koptur-article__lead {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.koptur-article__date {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
}

/* ============ EXPERT ============ */
.koptur-expert {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.koptur-expert__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.koptur-expert__inner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: var(--sand);
  border-radius: 50%;
  opacity: .4;
  z-index: 0;
}
@media (min-width: 768px) {
  .koptur-expert__inner { grid-template-columns: 280px 1fr; padding: 56px; gap: 56px; }
}
.koptur-expert__photo {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.koptur-expert__photo img { width: 100%; height: 100%; object-fit: cover; }
.koptur-expert__body { position: relative; z-index: 1; }
.koptur-expert__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 8px 0 16px;
  max-width: 18ch;
}
.koptur-expert__title em { font-style: italic; color: var(--red); font-weight: 300; }
.koptur-expert__text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 48ch;
  margin: 0 0 28px;
}
.koptur-expert__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.koptur-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Unbounded', sans-serif;
  letter-spacing: -0.01em;
  border: 0;
  cursor: pointer;
  transition: .2s;
}
.koptur-btn--red { background: var(--red); color: var(--white); }
.koptur-btn--red:hover { background: var(--red-deep); }
.koptur-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.koptur-btn--ghost:hover { border-color: var(--ink); }
.koptur-btn svg { width: 16px; height: 16px; }

/* ============ CONTACT ============ */
.koptur-contact {
  background: var(--paper);
}
.koptur-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (min-width: 1024px) { .koptur-contact__grid { grid-template-columns: 1fr 1.4fr; } }
.koptur-contact__info {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) { .koptur-contact__info { padding: 56px 48px; } }
.koptur-contact__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.koptur-contact__title em { font-style: italic; color: var(--red); font-weight: 300; }

.koptur-contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.koptur-contact-row .koptur-label { display: block; margin-bottom: 4px; }
.koptur-contact-row__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--paper-2);
  display: grid; place-items: center;
}
.koptur-contact-row__icon svg { width: 18px; height: 18px; color: var(--red); }
.koptur-contact-row__value {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: none;
  display: block;
}
.koptur-contact-row__meta {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
  display: block;
}

.koptur-contact__map {
  position: relative;
  background: var(--sea-soft);
  min-height: 420px;
  overflow: hidden;
}
.koptur-contact__map > div { width: 100% !important; height: 100% !important; }

/* ============ FOOTER ============ */
.koptur-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 80px 0 32px;
  margin-top: 80px;
}
.koptur-footer__currency {
  background: rgba(255,255,255,.05);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 32px;
}
.koptur-cur {
  font-size: 13px;
  display: flex;
  flex-direction: column;
}
.koptur-cur__name {
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.koptur-cur__val {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  color: var(--white);
  font-size: 16px;
  margin-top: 2px;
}
.koptur-cur__date {
  margin-left: auto;
  align-self: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

.koptur-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (min-width: 768px) { .koptur-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.koptur-footer__brand {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.koptur-footer__tag {
  font-size: 13px;
  margin-top: 8px;
  max-width: 32ch;
  line-height: 1.5;
}
.koptur-footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 16px;
  font-weight: 500;
}
.koptur-footer__col ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.koptur-footer__col a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: .2s;
}
.koptur-footer__col a:hover { color: #FFC9CD; }

.koptur-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
