:root {
  --brand-orange: #ff6b5f;
  --brand-orange-dark: #de4f45;
  --brand-blue: #2a3678;
  --ink: #222634;
  --muted: #6e758b;
  --surface: #ffffff;
  --surface-soft: #f4f6fb;
  --line: #d9deea;
  --ok: #2a9954;
  --shadow: 0 14px 34px rgba(32, 42, 76, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f0f2f8;
  overflow-x: hidden;
  overflow-x: clip;
}

body.site-popup-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(17, 27, 56, 0.48);
  backdrop-filter: blur(2px);
}

.site-popup-dialog {
  position: relative;
  width: min(560px, 92vw);
  background: #fff;
  border: 1px solid #d5deef;
  border-radius: 16px;
  box-shadow: 0 24px 52px rgba(25, 39, 84, 0.28);
  padding: 22px 20px 18px;
}

.site-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef2fb;
  color: #596488;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.site-popup-close:hover {
  background: #e4ebfa;
}

.site-popup-title {
  margin: 0 30px 10px 0;
  color: #26346d;
  font-size: 1.38rem;
}

.site-popup-text {
  margin: 0;
  color: #35405f;
  font-size: 1.02rem;
  line-height: 1.58;
  white-space: pre-line;
}

.container {
  width: min(1180px, 94vw);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, var(--brand-orange) 0%, #ff8b73 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.topbar-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-mark {
  font-size: 32px;
  font-weight: 700;
}

.brand-text {
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.topnav {
  display: flex;
  gap: 10px;
}

.topnav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.08);
  padding: 14px 22px;
  border-radius: 8px;
  transition: background 160ms ease;
}

.topnav-link:hover {
  background: rgba(0, 0, 0, 0.17);
}

.hero {
  background: radial-gradient(circle at 22% 35%, #f8f9ff 0%, #e7ebf8 52%, #d9dfef 100%);
  padding: 54px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 28px;
  align-items: center;
}

.search-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 24px 22px;
  animation: rise 450ms ease;
}

.search-card h1 {
  margin: 4px 0 18px;
  color: var(--brand-blue);
  font-size: clamp(1.7rem, 2vw, 2.5rem);
  line-height: 1.1;
}

.trip-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.trip-tab {
  border: 0;
  background: #8ea3bd;
  color: #f4f7fe;
  padding: 12px;
  font-size: 1.07rem;
  font-weight: 700;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
}

.trip-tab.is-active {
  background: #fff;
  color: var(--brand-blue);
  box-shadow: inset 0 0 0 1px var(--line);
}

.conversion-panel .trip-tabs {
  margin: 0;
  padding: 12px 12px 10px;
  gap: 10px;
  background: #eef3fb;
  border-bottom: 1px solid #dce4f4;
}

.conversion-panel .trip-tab {
  min-height: 44px;
  padding: 8px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #8ea3c2;
  color: #eff4ff;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
  letter-spacing: 0.1px;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.conversion-panel .trip-tab:hover {
  transform: translateY(-1px);
  background: #8097b8;
}

.conversion-panel .trip-tab.is-active {
  background: #fff;
  color: var(--brand-blue);
  border-color: #c9d5ee;
  box-shadow:
    0 8px 18px rgba(39, 58, 112, 0.12),
    inset 0 0 0 1px rgba(201, 213, 238, 0.8);
}

.search-form {
  display: grid;
  gap: 11px;
}

.search-form label {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: #59607a;
}

.search-form input,
.search-form select {
  width: 100%;
  padding: 14px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.date-range-field {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 6px;
}

.date-range-field.is-open {
  z-index: 320;
}

.date-range-label {
  font-size: 0.95rem;
  color: #59607a;
}

.date-range-trigger {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: #1f2a44;
  font: inherit;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.date-range-trigger.is-placeholder {
  color: #7a8193;
}

.date-range-trigger:focus-visible,
.date-range-field.is-open .date-range-trigger {
  outline: 2px solid rgba(42, 54, 120, 0.18);
  border-color: #2a56b2;
}

.date-range-icon {
  color: #e8703c;
  font-size: 1.22rem;
  line-height: 1;
}

.date-range-popover {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 8px);
  z-index: 320;
  width: min(760px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  border: 1px solid #cfdaf1;
  border-radius: 12px;
  padding: 12px;
  background: #f7f9ff;
  box-shadow: 0 14px 28px rgba(33, 46, 88, 0.18);
}

.date-range-field.is-single .date-range-popover {
  width: min(400px, calc(100vw - 28px));
}

.date-range-field.is-single .date-range-months {
  grid-template-columns: 1fr;
}

.date-range-calendar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.date-range-nav-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #c7d4ee;
  border-radius: 10px;
  background: #eef3fd;
  color: var(--brand-blue);
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.date-range-nav-btn:hover {
  border-color: #b7c7e9;
  background: #e5ecfb;
}

.date-range-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.date-range-month h4 {
  margin: 0 0 8px;
  color: var(--brand-blue);
  font-size: 1.08rem;
  text-transform: lowercase;
}

.date-range-weekdays,
.date-range-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.date-range-weekdays span {
  font-size: 0.86rem;
  color: #8c93a8;
  text-align: center;
  text-transform: lowercase;
  line-height: 1.8;
}

.date-range-day-empty,
.date-range-day-btn {
  height: 38px;
}

.date-range-day-btn {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1b2135;
  font: inherit;
  font-size: 1rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  cursor: pointer;
}

.date-range-day-btn:hover {
  background: #eaf0fd;
}

.date-range-day-number {
  line-height: 1;
}

.date-range-day-btn.is-price-cheap:not(.is-selected):not(.is-start):not(.is-end) {
  box-shadow: inset 0 -2px 0 #38a76f;
}

.date-range-day-btn.is-price-average:not(.is-selected):not(.is-start):not(.is-end) {
  box-shadow: inset 0 -2px 0 #9aa4bf;
}

.date-range-day-btn.is-price-expensive:not(.is-selected):not(.is-start):not(.is-end) {
  box-shadow: inset 0 -2px 0 #db6a61;
}

.date-range-day-btn.is-in-range {
  background: rgba(255, 107, 95, 0.18);
  border-radius: 0;
}

.date-range-day-btn.is-preview {
  background: rgba(255, 107, 95, 0.14);
  border-radius: 0;
}

.date-range-day-btn.is-preview-edge {
  background: rgba(255, 107, 95, 0.65);
  color: #fff;
  font-weight: 700;
}

.date-range-day-btn.is-selected {
  background: var(--brand-orange);
  color: #fff;
  font-weight: 700;
}

.date-range-day-btn.is-start {
  border-radius: 10px 0 0 10px;
}

.date-range-day-btn.is-end {
  border-radius: 0 10px 10px 0;
}

.date-range-day-btn.is-start.is-end {
  border-radius: 10px;
}

.date-range-footer {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.date-range-price-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #9aa4bf;
}

.date-range-price-dot.is-cheap {
  background: #38a76f;
}

.date-range-price-dot.is-average {
  background: #9aa4bf;
}

.date-range-price-dot.is-expensive {
  background: #db6a61;
}

.date-range-price-legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #5f6a89;
  font-size: 0.83rem;
}

.date-range-price-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.date-range-summary {
  margin: 0;
  margin-right: auto;
  color: #4f5b7f;
  font-size: 0.93rem;
  font-weight: 600;
}

.date-range-summary.is-preview {
  color: #3d4b74;
}

.date-range-clear {
  border: 0;
  background: transparent;
  color: var(--brand-orange);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.traveler-picker {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: #59607a;
}

.traveler-picker.is-open {
  z-index: 110;
}

.traveler-toggle {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 13px;
  background: #fff;
  color: #1f2a44;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.traveler-toggle:focus-visible,
.traveler-picker.is-open .traveler-toggle {
  outline: 2px solid rgba(42, 54, 120, 0.18);
  border-color: #2a56b2;
}

.traveler-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  background: #fff;
  border: 1px solid #d3daeb;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(33, 46, 88, 0.18);
  max-height: min(340px, calc(100vh - 140px));
  overflow-y: auto;
}

.traveler-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.traveler-popover-head h3 {
  margin: 0;
  font-size: 1.12rem;
  color: #1f2a44;
  text-transform: lowercase;
}

.traveler-close {
  border: 0;
  background: transparent;
  color: #8c92a7;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
}

.traveler-close:hover {
  background: #f3f6fc;
  color: #5e6885;
}

.traveler-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.traveler-row span {
  font-size: 1.16rem;
  color: #2d354c;
  font-weight: 600;
}

.traveler-stepper {
  border: 1px solid #cfd6e7;
  border-radius: 10px;
  background: #fdfefe;
  display: grid;
  grid-template-columns: 44px 44px 44px;
  align-items: center;
  justify-items: center;
}

.traveler-stepper strong {
  font-size: 1.24rem;
  color: #11182f;
}

.traveler-stepper-btn {
  border: 0;
  background: transparent;
  color: #11182f;
  width: 44px;
  height: 40px;
  font: inherit;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.traveler-stepper-btn:disabled {
  color: #c0c6d8;
  cursor: not-allowed;
}

.search-form input:focus,
.search-form select:focus,
.filters-panel input:focus {
  outline: 2px solid rgba(255, 107, 95, 0.2);
  border-color: var(--brand-orange);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field-row > * {
  min-width: 0;
}

.field-row input,
.field-row select {
  min-width: 0;
}

.field-row.is-oneway {
  grid-template-columns: 1fr;
}

.is-hidden-force {
  display: none !important;
}

.primary-btn,
.small-btn,
.outline-btn {
  border: 0;
  font: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 180ms ease;
}

.primary-btn {
  margin-top: 8px;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 800;
  padding: 14px 16px;
  font-size: 1.32rem;
  box-shadow: 0 8px 18px rgba(255, 107, 95, 0.24);
}

.primary-btn:hover {
  transform: translateY(-1px);
  background: var(--brand-orange-dark);
}

.hero-map {
  position: relative;
  height: 410px;
  border-radius: 20px;
  background: linear-gradient(140deg, #90a5c3 0%, #738eb4 50%, #5f7ca4 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-map::before,
.hero-map::after {
  content: "";
  position: absolute;
  inset: -28% -14%;
  background:
    radial-gradient(circle at 28% 34%, rgba(255, 255, 255, 0.44) 0%, transparent 16%),
    radial-gradient(circle at 59% 46%, rgba(255, 255, 255, 0.35) 0%, transparent 21%),
    radial-gradient(circle at 71% 73%, rgba(255, 255, 255, 0.35) 0%, transparent 15%),
    radial-gradient(circle at 41% 74%, rgba(255, 255, 255, 0.28) 0%, transparent 17%);
}

.hero-map::after {
  transform: rotate(7deg);
  opacity: 0.45;
}

.map-shape {
  position: absolute;
  inset: 15% 12% 13%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.15)),
    radial-gradient(circle at 16% 40%, rgba(255, 255, 255, 0.48) 0, transparent 22%),
    radial-gradient(circle at 66% 54%, rgba(255, 255, 255, 0.52) 0, transparent 19%);
  border-radius: 20px;
}

.price-chip {
  position: absolute;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
  animation: float 2.9s ease-in-out infinite;
}

.benefits {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 0;
}

.benefits-grid p {
  margin: 0;
  font-size: 1.42rem;
  color: #313a4e;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefits-grid span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  display: inline-grid;
  place-items: center;
  font-size: 0.9rem;
}

.content {
  padding: 34px 0 46px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.content h2 {
  margin: 0 0 8px;
  color: var(--brand-blue);
  font-size: clamp(1.8rem, 2.1vw, 2.6rem);
}

.content p {
  margin: 0;
  color: #394158;
  font-size: 1.25rem;
  line-height: 1.45;
}

.results-page {
  padding: 24px 0 40px;
}

.results-top {
  display: grid;
  grid-template-columns: 286px 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 12px;
}

.results-top-summary {
  min-width: 0;
}

.results-top-right {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.filters-mobile-head,
.mobile-filter-trigger-wrap,
.mobile-filters-backdrop {
  display: none;
}

.search-context-compact {
  border: 1px solid #d9e1f2;
  border-radius: 12px;
  background: #f8f9fd;
  padding: 10px 12px;
}

.search-context-compact-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #25346f;
  font-size: 1.12rem;
  font-weight: 800;
}

.search-context-compact-route span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-context-compact-meta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64739a;
  font-size: 0.92rem;
  font-weight: 700;
}

.search-context-card {
  margin-top: 12px;
  background: #f8f9fd;
  border: 1px solid #d9e1f2;
  border-radius: 12px;
  padding: 12px 12px 10px;
}

.search-context-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.route-point {
  color: #23316a;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.15;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-arrow {
  color: #6d7ba1;
  font-size: 1.2rem;
  font-weight: 800;
}

.search-context-meta {
  margin-top: 9px;
  display: grid;
  gap: 5px;
}

.context-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8e1f3;
  border-radius: 9px;
  background: #fff;
  padding: 6px 8px;
}

.context-pill-label {
  color: #6b7a9f;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.context-pill strong {
  color: #253778;
  font-size: 0.94rem;
  font-weight: 800;
}

.date-compare-card {
  background: #f8f9fd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.date-compare-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.date-compare-head h3 {
  margin: 0;
  color: #24326a;
  font-size: 1.25rem;
}

.date-compare-head p {
  margin: 0;
  color: #60709a;
  font-size: 0.9rem;
}

.date-compare-nav {
  display: inline-flex;
  gap: 6px;
}

.date-nav-btn {
  border: 1px solid #c7d2ea;
  background: #fff;
  color: #2f3f78;
  border-radius: 9px;
  min-width: 36px;
  height: 36px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 10px;
  cursor: pointer;
}

.date-nav-btn.reset {
  min-width: 46px;
  font-size: 0.86rem;
}

.date-nav-btn:hover:not(:disabled) {
  background: #f3f7ff;
  border-color: #b9c7e6;
}

.date-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.date-compare-range {
  margin: 0 0 8px;
  color: #6f7d9f;
  font-size: 0.83rem;
  font-weight: 700;
}

.date-compare-empty {
  margin: 0;
  color: #637295;
  font-size: 0.95rem;
}

.date-compare-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.date-chip {
  text-decoration: none;
  border: 1px solid #d6dff1;
  background: #fff;
  color: #2f3a57;
  border-radius: 10px;
  padding: 8px 7px;
  min-height: 84px;
  display: grid;
  gap: 2px;
  align-content: start;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.date-chip:hover {
  transform: translateY(-1px);
  border-color: #f2b7b0;
  box-shadow: 0 8px 18px rgba(39, 58, 112, 0.12);
}

.date-chip.is-active {
  border-color: #f3a49a;
  background: #fff4f2;
}

.date-chip.is-best {
  border-color: #9ad1a8;
}

.date-chip.is-best:not(.is-active) {
  background: #f4fbf6;
}

.date-chip.is-disabled {
  background: #f3f6fc;
  color: #8a96b4;
  border-style: dashed;
}

.chip-weekday {
  color: #7b87a9;
  text-transform: capitalize;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.chip-date {
  color: #24326a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.date-chip.is-disabled .chip-date {
  color: #7380a0;
}

.chip-price {
  margin-top: 4px;
  color: #253778;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.chip-best-tag {
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: #e6f6eb;
  color: #267449;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 4px 7px;
}

.date-chip.is-disabled .chip-price {
  color: #8a96b4;
  font-weight: 700;
}

.outline-btn {
  display: inline-block;
  border: 1px solid #f3b1a8;
  color: var(--brand-orange);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 11px 13px;
}

.outline-btn:hover {
  border-color: var(--brand-orange);
  background: rgba(255, 107, 95, 0.09);
}

.query-summary {
  margin: 14px 0 3px;
  color: var(--brand-blue);
  font-size: 1.8rem;
  font-weight: 700;
}

.result-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.date-matrix-wrap {
  overflow: auto;
}

.date-matrix {
  width: 100%;
  min-width: 420px;
  border-collapse: separate;
  border-spacing: 2px;
}

.date-matrix caption {
  text-align: left;
  margin-bottom: 7px;
  color: var(--brand-blue);
  font-weight: 700;
}

.date-matrix th,
.date-matrix td {
  padding: 9px 8px;
  text-align: center;
  border-radius: 4px;
}

.date-matrix thead th {
  color: #fff;
  background: var(--brand-orange);
  font-weight: 700;
}

.date-matrix tbody th {
  color: var(--brand-blue);
  background: #e9edf7;
}

.date-matrix td {
  background: #f2f4fb;
  color: #5c6480;
  font-weight: 700;
}

.date-matrix td.best {
  background: #ffe7e2;
  color: #9c3c35;
}

.results-layout {
  display: grid;
  grid-template-columns: 286px 1fr;
  gap: 26px;
}

.filters-panel {
  background: #f8f9fd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  position: sticky;
  top: 12px;
  height: fit-content;
  max-height: none;
  overflow: visible;
}

.filter-modify-btn {
  display: block;
  text-align: center;
}

.filters-mobile-head {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.filters-mobile-head strong {
  color: #24326a;
  font-size: 1.1rem;
}

.filters-mobile-close {
  border: 1px solid #f1b8b0;
  border-radius: 8px;
  background: #fff7f5;
  color: var(--brand-orange);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.mobile-filter-trigger-wrap {
  margin-bottom: 10px;
}

.mobile-filter-trigger {
  border: 1px solid #d9e1f2;
  border-radius: 10px;
  background: #fff;
  color: #24326a;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 9px 12px;
  cursor: pointer;
}

.filter-group {
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid #dce2f0;
}

.filter-group:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #2a2f45;
}

.filter-head {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.filter-head h3 {
  margin: 0;
}

.filter-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.filter-action-btn {
  border: 1px solid #c7d2ea;
  border-radius: 10px;
  width: 100%;
  padding: 6px 8px;
  background: #fff;
  color: #3e4d78;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.filter-action-btn:hover:not(:disabled) {
  background: #f3f7ff;
}

.filter-action-btn.ghost {
  border-color: #f1b8b0;
  color: var(--brand-orange);
  background: #fff6f4;
}

.filter-action-btn.ghost:hover:not(:disabled) {
  background: #ffece8;
}

.filter-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.muted {
  color: var(--muted);
  margin: 0 0 8px;
}

#xml-files {
  width: 100%;
  font: inherit;
  margin-bottom: 8px;
}

.small-btn {
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 7px;
  font-weight: 700;
  background: var(--brand-orange);
  color: #fff;
}

.small-btn.ghost {
  background: #fff;
  color: #9c3c35;
  border: 1px solid #f4bcb4;
}

.small-btn.danger {
  background: #c93a3a;
  color: #fff;
}

.small-btn.danger:hover {
  background: #b23232;
}

.small-btn:hover {
  transform: translateY(-1px);
}

.small-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.import-feedback {
  margin: 5px 0 0;
  font-size: 0.92rem;
  color: #4a5168;
}

.checklist {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr minmax(68px, auto);
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: #30374e;
}

.check-item .check-price {
  color: var(--brand-blue);
  font-weight: 700;
  min-width: 68px;
  text-align: right;
  justify-self: end;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.range-label {
  font-size: 1.03rem;
  color: #30374e;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.range-grid {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.range-double {
  --range-left: 0%;
  --range-right: 100%;
  position: relative;
  height: 28px;
  margin-bottom: 12px;
}

.range-double-track,
.range-double-active {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.range-double-track {
  left: 0;
  right: 0;
  height: 10px;
  background: #383c45;
}

.range-double-active {
  left: var(--range-left);
  width: calc(var(--range-right) - var(--range-left));
  height: 8px;
  background: var(--brand-orange);
}

.range-handle {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}

.range-handle::-webkit-slider-runnable-track {
  height: 10px;
  background: transparent;
  border: 0;
}

.range-handle::-moz-range-track {
  height: 10px;
  background: transparent;
  border: 0;
}

.range-handle::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -3px;
  border-radius: 50%;
  border: 2px solid #ff7f70;
  background: #ff6b5f;
  box-shadow: 0 0 0 2px #f8f9fd;
  cursor: pointer;
  pointer-events: auto;
}

.range-handle::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ff7f70;
  background: #ff6b5f;
  box-shadow: 0 0 0 2px #f8f9fd;
  cursor: pointer;
  pointer-events: auto;
}

.filters-panel input[type="range"] {
  width: 100%;
  accent-color: var(--brand-orange);
}

.results-content {
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.sort-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #cdd3e2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.sort-tab {
  border: 0;
  background: #eff2f9;
  color: #2f3551;
  padding: 10px 8px;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.sort-tab.is-active {
  background: #fff3f1;
  color: var(--brand-orange);
  box-shadow: inset 0 -3px 0 var(--brand-orange);
}

.results-toolbar {
  margin-bottom: 0;
}

.results-toolbar .sort-tabs {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

.results-list {
  display: grid;
  gap: 12px;
}

.result-card {
  display: grid;
  grid-template-columns: 1fr 220px;
  border: 1px solid #ced5e6;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  animation: rise 300ms ease;
}

.result-main {
  padding: 8px 16px;
}

.flight-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 40px 1.1fr 1fr 1.1fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #ebeff8;
}

.flight-row:last-child {
  border-bottom: 0;
}

.airline-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(140deg, #58a 0%, #2a3678 100%);
  border: 1px solid transparent;
  overflow: hidden;
}

.airline-badge span {
  line-height: 1;
}

.airline-badge.has-logo {
  background: #fff;
  border-color: #d8e0f2;
}

.airline-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}

.route {
  font-size: 1.1rem;
  font-weight: 700;
  color: #272f45;
}

.time-block {
  display: grid;
  gap: 2px;
  align-items: start;
}

.time-main {
  color: #313850;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.time-meta {
  color: #6f7690;
  font-size: 0.95rem;
  white-space: nowrap;
}

.meta {
  color: #6f7690;
  font-size: 0.98rem;
}

.tag-direct {
  color: var(--ok);
  font-weight: 700;
}

.result-side {
  border-left: 1px solid #e4e9f4;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  text-align: center;
}

.result-side > div:first-child {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  justify-items: center;
}

.price {
  color: var(--brand-blue);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.per-person {
  font-size: 0.9rem;
  color: #3e4660;
  margin-bottom: 2px;
  white-space: nowrap;
}

.select-btn {
  border: 0;
  background: var(--brand-orange);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 8px;
  width: 100%;
  min-height: 56px;
  padding: 8px 10px;
  line-height: 1.08;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 95, 0.22);
}

.select-btn:hover {
  background: var(--brand-orange-dark);
}

.providers-count {
  color: #8088a2;
  font-size: 0.98rem;
  line-height: 1.15;
}

.empty-state {
  border: 1px dashed #c8cfdf;
  border-radius: 12px;
  background: #fbfcff;
  padding: 22px;
}

.empty-state h3 {
  margin: 0 0 7px;
  color: var(--brand-blue);
  font-size: 1.65rem;
}

.empty-state p {
  margin: 0;
  color: #515a73;
  font-size: 1.1rem;
}

.offers-modal {
  border: 0;
  border-radius: 10px;
  padding: 0;
  width: min(480px, 90vw);
  box-shadow: var(--shadow);
}

.offers-modal::backdrop {
  background: rgba(0, 0, 0, 0.42);
}

.offers-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  background: var(--brand-orange);
  color: #fff;
  padding: 14px 16px;
}

.offers-head h3 {
  margin: 0;
  font-size: 1.58rem;
}

#close-modal {
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.offers-body {
  padding: 0;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 40px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #ecf0f7;
}

.offer-row:last-child {
  border-bottom: 0;
}

.offer-name {
  color: #d4564c;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  min-width: 0;
}

.offer-price {
  font-size: 1.8rem;
  color: #1f2640;
  font-weight: 800;
  text-align: right;
  justify-self: end;
  min-width: 92px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.offer-link {
  border: 0;
  background: var(--brand-orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

@media (max-width: 1090px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-map {
    height: 290px;
  }

  .results-top,
  .results-layout {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: min(420px, 92vw);
    height: 100dvh;
    border-radius: 0 14px 14px 0;
    z-index: 70;
    overflow-y: auto;
    box-shadow: 0 22px 48px rgba(17, 24, 44, 0.32);
  }

  .filters-panel.is-open {
    display: block;
  }

  .filters-mobile-head,
  .mobile-filter-trigger-wrap {
    display: flex;
  }

  .mobile-filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(19, 28, 54, 0.4);
    z-index: 65;
  }

  .date-compare-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .search-context-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .context-pill {
    display: grid;
    gap: 2px;
    justify-items: start;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 72px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand-text {
    font-size: 1.9rem;
  }

  .topnav {
    width: 100%;
  }

  .topnav-link {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 1.02rem;
  }

  .benefits-grid,
  .content {
    grid-template-columns: 1fr;
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .results-toolbar .sort-tabs {
    max-width: none;
  }

  .result-side {
    border-left: 0;
    border-top: 1px solid #e4e9f4;
  }

  .flight-row {
    grid-template-columns: 34px minmax(84px, 1fr) minmax(94px, 1fr) minmax(84px, 1fr);
    grid-template-areas: "badge from times to";
    gap: 8px;
    align-items: center;
    padding: 7px 0;
  }

  .flight-row .airline-badge {
    grid-area: badge;
  }

  .flight-row .route:first-of-type {
    grid-area: from;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .flight-row .route:last-of-type {
    grid-area: to;
    color: #3f4a68;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .flight-row .time-block {
    grid-area: times;
    justify-items: center;
    text-align: center;
  }

  .flight-row .time-main {
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .flight-row .time-meta {
    font-size: 0.78rem;
  }

  .search-context-card {
    margin-top: 10px;
    padding: 10px;
  }

  .search-context-compact-route {
    font-size: 1rem;
  }

  .search-context-compact-meta {
    font-size: 0.86rem;
    gap: 6px;
  }

  .search-context-route {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-arrow {
    display: none;
  }

  .route-point {
    font-size: 1.14rem;
  }

  .search-context-meta {
    grid-template-columns: 1fr;
  }

  .context-pill {
    display: flex;
    align-items: center;
  }

  .date-compare-head {
    display: grid;
    gap: 4px;
  }

  .date-compare-card {
    padding: 10px;
  }

  .date-compare-head h3 {
    font-size: 1.05rem;
  }

  .date-compare-head p {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .date-compare-nav {
    justify-self: start;
    gap: 5px;
  }

  .date-nav-btn {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    font-size: 0.92rem;
  }

  .date-nav-btn.reset {
    min-width: 40px;
    font-size: 0.78rem;
  }

  .date-compare-range {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }

  .date-compare-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .date-chip {
    flex: 0 0 122px;
    min-height: 64px;
    padding: 6px;
    scroll-snap-align: start;
  }

  .chip-weekday {
    font-size: 0.72rem;
  }

  .chip-date {
    font-size: 0.82rem;
  }

  .chip-price {
    margin-top: 2px;
    font-size: 0.78rem;
  }

  .chip-best-tag {
    margin-top: 2px;
    font-size: 0.66rem;
    padding: 3px 6px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow:
      0 12px 26px rgba(255, 107, 95, 0.34),
      0 0 0 3px rgba(255, 107, 95, 0.14);
  }
  50% {
    box-shadow:
      0 16px 34px rgba(255, 107, 95, 0.42),
      0 0 0 6px rgba(255, 107, 95, 0.12);
  }
}

.autocomplete-field {
  position: relative;
}

.autocomplete-field:focus-within {
  z-index: 100;
}

.autocomplete-wrap {
  position: relative;
}

.autocomplete-wrap input {
  padding-right: 42px;
}

.autocomplete-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #edf1fb;
  color: #677192;
  font: inherit;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}

.autocomplete-clear:hover {
  background: #e3e9f9;
  color: #4f597a;
}

.autocomplete-wrap input:disabled ~ .autocomplete-clear,
.autocomplete-clear:disabled {
  opacity: 0;
  pointer-events: none;
}

.airport-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 105;
  background: #fff;
  border: 1px solid #cfd6e8;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(32, 42, 76, 0.16);
  padding: 6px;
  max-height: min(260px, calc(100vh - 220px));
  overflow-y: auto;
}

.airport-suggestions-head {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--brand-orange);
  padding: 8px 10px 6px;
}

.airport-suggestion {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 11px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font: inherit;
}

.airport-suggestion:hover,
.airport-suggestion.is-active {
  background: #f4f7ff;
}

.airport-label {
  color: #2a3147;
  font-size: 1.2rem;
  font-weight: 600;
}

.airport-code {
  color: #9ca4bb;
  font-weight: 800;
}

.link-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.admin-page {
  padding: 22px 0 44px;
  display: grid;
  gap: 16px;
}

body.admin-auth-pending .admin-page {
  visibility: hidden;
}

body.admin-auth-pending::before {
  content: "Admin laden...";
  display: block;
  width: min(420px, 90vw);
  margin: 28px auto 0;
  padding: 14px 16px;
  border: 1px solid #d4dbea;
  border-radius: 11px;
  background: #fff;
  color: #4f5873;
  text-align: center;
  font-weight: 600;
}

.admin-session-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid #d4dbea;
  background: #fff;
  border-radius: 11px;
  padding: 12px 15px;
}

.admin-session-bar p {
  margin: 0;
  color: #3a4460;
  font-weight: 600;
}

.admin-logout-btn {
  width: auto;
  margin-bottom: 0;
  min-width: 130px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  background: #fff;
  border: 1px solid #d4dbea;
  border-radius: 11px;
  padding: 14px;
}

.stat-card h3 {
  margin: 0;
  color: #69708b;
  font-size: 1rem;
}

.stat-card p {
  margin: 8px 0 0;
  color: var(--brand-blue);
  font-size: 1.45rem;
  font-weight: 800;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.admin-card {
  background: #fff;
  border: 1px solid #d4dbea;
  border-radius: 11px;
  padding: 15px;
}

.admin-card h2 {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 1.7rem;
}

.admin-card h3 {
  margin: 16px 0 10px;
  color: #2f3650;
  font-size: 1.25rem;
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-form textarea,
.admin-form input,
.admin-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.inline-check input {
  width: 18px;
  height: 18px;
}

.admin-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.imports-list {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #e2e7f2;
  border-radius: 8px;
}

.import-row {
  display: grid;
  grid-template-columns: 1.4fr auto auto auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #eef2f8;
  padding: 8px 10px;
}

.import-row:last-child {
  border-bottom: 0;
}

.import-status {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.import-status.ok {
  color: #1f8f4f;
}

.import-status.err {
  color: #b92f2f;
}

.sources-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.sources-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
}

.sources-table th,
.sources-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e8edf6;
  vertical-align: top;
}

.sources-table th {
  color: #5d6480;
  font-size: 0.95rem;
}

.source-meta {
  color: #8089a2;
  font-size: 0.9rem;
  margin-top: 2px;
}

.source-name-cell {
  width: 46%;
}

.source-feed-url {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
}

.source-meta.error {
  color: #b92f2f;
}

.source-status {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.source-status.active {
  color: #1f8f4f;
  background: #e8f8ef;
}

.source-status.inactive {
  color: #8f2632;
  background: #ffe9ee;
}

.source-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 6px;
}

.upload-label {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.upload-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-login-page {
  min-height: calc(100vh - 130px);
  display: grid;
  align-content: center;
  padding: 24px 0 44px;
}

.admin-login-card {
  width: min(520px, 94vw);
  margin: 0 auto;
  border: 1px solid #d4dbea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 43, 79, 0.12);
  padding: 20px;
}

.admin-login-card h1 {
  margin: 0 0 8px;
  color: var(--brand-blue);
}

.admin-login-card p {
  margin: 0 0 14px;
  color: #5d6480;
}

.admin-login-form .primary-btn {
  width: 100%;
}

@media (max-width: 980px) {
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .import-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 760px) {
  .airport-label {
    font-size: 1.05rem;
  }

  .admin-session-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-logout-btn {
    width: 100%;
  }

  .admin-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.conversion-hero {
  padding: 38px 0 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 166, 150, 0.24) 0%, transparent 33%),
    radial-gradient(circle at 82% 11%, rgba(128, 157, 238, 0.24) 0%, transparent 36%),
    linear-gradient(155deg, #f7f9ff 0%, #ebeff9 48%, #dde4f2 100%);
}

.conversion-grid {
  display: grid;
  grid-template-columns: 1.1fr minmax(330px, 420px);
  gap: 20px;
  align-items: stretch;
}

.hero-copy {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 18px 46px rgba(32, 42, 76, 0.11);
  height: 100%;
}

.hero-kicker {
  margin: 0 0 10px;
  color: var(--brand-orange);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-copy h1 {
  margin: 0;
  color: #1f2e66;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.02;
}

.hero-lead {
  margin: 14px 0 0;
  color: #3a445f;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.4;
  max-width: 60ch;
}

.hero-proof-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-proof-grid div {
  background: #ffffff;
  border: 1px solid #dbe2f2;
  border-radius: 12px;
  padding: 11px;
}

.hero-proof-grid strong {
  display: block;
  color: #1f2e66;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1;
}

.hero-proof-grid span {
  color: #67708a;
  font-size: 0.92rem;
}

.hero-points {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-points li {
  font-size: 1.12rem;
  color: #2c3651;
  display: flex;
  align-items: start;
  gap: 9px;
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-orange) 0%, #ffad95 100%);
  flex-shrink: 0;
}

.quick-routes {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-photo {
  margin: 18px 0 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d8e1f2;
  box-shadow: 0 12px 28px rgba(31, 47, 96, 0.14);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: clamp(180px, 22vw, 260px);
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 73, 0.06) 28%, rgba(20, 32, 73, 0.52) 100%);
}

.hero-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  margin: 0;
  color: #f4f8ff;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.quick-route {
  border: 1px solid #d2dcf2;
  background: #fff;
  color: #273152;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
  transition: all 160ms ease;
}

.quick-route:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-1px);
}

.conversion-panel {
  display: flex;
  flex-direction: column;
  background: #fdfefe;
  border: 1px solid #d8e0f1;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(29, 45, 88, 0.16);
  overflow: visible;
  height: 100%;
}

.panel-head {
  padding: 16px 18px 12px;
  background: linear-gradient(155deg, #243770 0%, #2f488f 100%);
  color: #f8fbff;
  border-radius: 20px 20px 0 0;
}

.panel-head h2 {
  margin: 0;
  font-size: 1.66rem;
}

.panel-head p {
  margin: 4px 0 0;
  font-size: 1rem;
  color: #ced9f6;
}

.conversion-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  padding: 14px 16px 16px;
  background: #f4f6fb;
  border-radius: 0 0 20px 20px;
}

.multi-route-fields {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.multi-legs-list {
  display: grid;
  gap: 10px;
}

.multi-leg {
  position: relative;
  border: 1px solid #d8e0f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.multi-leg-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 10px;
}

.multi-leg-title {
  margin: 0;
  font-size: 1.06rem;
  color: #2a3352;
}

.multi-leg-remove {
  border: 0;
  background: transparent;
  color: #d26254;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.multi-route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.multi-route-btn {
  border: 0;
  background: transparent;
  color: #df6b45;
  font: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.multi-route-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.conversion-form .primary-btn {
  font-size: 1.28rem;
  padding: 16px 16px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, var(--brand-orange) 0%, #ff9f86 100%);
  border: 1px solid #ffb8ab;
  box-shadow:
    0 12px 26px rgba(255, 107, 95, 0.36),
    0 0 0 3px rgba(255, 107, 95, 0.16);
  animation: ctaPulse 2.6s ease-in-out infinite;
}

.conversion-form .primary-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 16px 34px rgba(255, 107, 95, 0.42),
    0 0 0 4px rgba(255, 107, 95, 0.18);
}

.conversion-form .primary-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255, 107, 95, 0.2),
    0 0 0 8px rgba(42, 54, 120, 0.16),
    0 14px 30px rgba(255, 107, 95, 0.4);
}

.panel-note {
  margin: 8px 0 0;
  color: #5f6985;
  font-size: 0.95rem;
}

.conversion-trust {
  background: #ffffff;
  border-top: 1px solid #d7deef;
  border-bottom: 1px solid #d7deef;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0;
}

.trust-grid p {
  margin: 0;
  color: #2e3752;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust-grid span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
  display: inline-grid;
  place-items: center;
  font-size: 0.84rem;
  font-weight: 700;
}

.conversion-cards {
  padding: 28px 0 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.popular-destinations {
  padding: 44px 0 34px;
}

.popular-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.popular-head h3 {
  margin: 0;
  color: #27336e;
  font-size: clamp(1.55rem, 2.1vw, 2.2rem);
}

.popular-head p {
  margin: 0;
  color: #617095;
  font-size: 1rem;
  font-weight: 600;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.popular-card {
  border: 1px solid #d8e1f3;
  background: #fff;
  border-radius: 14px;
  padding: 14px 10px 12px;
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(39, 58, 112, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.popular-card:hover {
  transform: translateY(-2px);
  border-color: #f2b5ae;
  box-shadow: 0 14px 28px rgba(39, 58, 112, 0.12);
}

.popular-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 9px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.46rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-orange) 0%, #ff9f86 100%);
  letter-spacing: 0.6px;
}

.popular-city {
  display: block;
  color: #283470;
  font-size: 1.12rem;
  font-weight: 800;
}

.popular-price {
  display: block;
  margin-top: 4px;
  color: var(--brand-orange);
  font-size: 1rem;
  font-weight: 700;
}

.conversion-cards article {
  background: #fff;
  border: 1px solid #d9e0f0;
  border-radius: 14px;
  padding: 17px;
}

.conversion-cards h3 {
  margin: 0;
  color: #25336a;
  font-size: 1.44rem;
}

.conversion-cards p {
  margin: 8px 0 0;
  color: #3e4760;
  font-size: 1.05rem;
  line-height: 1.45;
}

.destinations-page {
  padding: 28px 0 40px;
}

.destinations-hero {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(34, 47, 96, 0.1);
}

.destinations-kicker {
  margin: 0;
  color: var(--brand-orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.destinations-hero h1 {
  margin: 8px 0 0;
  color: #1f2e66;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
}

.destinations-hero p {
  margin: 10px 0 0;
  color: #4c587b;
  max-width: 70ch;
}

.destinations-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.destination-link-card {
  text-decoration: none;
}

.destination-card {
  background: #fff;
  border: 1px solid #d9e1f1;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(37, 51, 106, 0.08);
}

.destination-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 51, 106, 0.14);
  border-color: #f0b4ad;
}

.destination-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.destination-card h2 {
  margin: 0;
  color: #24326a;
  font-size: 1.52rem;
}

.destination-card-head span {
  color: #7a87a8;
  font-size: 0.98rem;
  font-weight: 700;
}

.destination-card p {
  margin: 10px 0 0;
  color: #435071;
  line-height: 1.5;
}

.destination-card-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.destination-card-meta strong {
  color: var(--brand-blue);
}

.destination-card-meta span {
  color: #6f7c9d;
  font-size: 0.95rem;
}

.destination-page {
  padding: 28px 0 40px;
}

.destination-hero-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 14px 32px rgba(34, 47, 96, 0.1);
}

.breadcrumb {
  margin: 0;
  color: #6d7899;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: inherit;
}

.destination-hero-card h1 {
  margin: 8px 0 0;
  color: #1f2e66;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.destination-intro {
  margin: 10px 0 0;
  color: #465172;
  font-size: 1.05rem;
  line-height: 1.56;
}

.destination-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.2fr minmax(320px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.country-layout {
  grid-template-columns: minmax(320px, 0.95fr) 1.25fr;
}

.destination-main-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.destination-content,
.weather-panel,
.routes-panel {
  background: #fff;
  border: 1px solid #d9e1f1;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(37, 51, 106, 0.08);
}

.destination-content h2,
.weather-panel h3,
.routes-panel h3 {
  margin: 0;
  color: #24326a;
}

.destination-content p {
  margin: 10px 0 0;
  color: #435071;
  line-height: 1.6;
}

.country-city-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.country-city-link {
  display: grid;
  gap: 2px;
  text-decoration: none;
  border: 1px solid #d8e1f2;
  border-radius: 12px;
  padding: 11px;
  background: #fbfdff;
}

.country-city-link strong {
  color: #24326a;
  font-size: 1.1rem;
}

.country-city-link span {
  color: #7381a3;
  font-weight: 700;
}

.country-city-link em {
  color: var(--brand-orange);
  font-style: normal;
  font-weight: 700;
}

.destination-photo-section {
  margin-top: 22px;
  padding: 12px;
  border: 1px solid #dbe4f4;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f7ff 100%);
}

.destination-photo-section h3 {
  margin: 0 0 10px;
  color: #24326a;
  letter-spacing: 0.1px;
}

.destination-photo-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.destination-photo-slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(34, 49, 100, 0.18);
}

.destination-photo-viewport {
  overflow: hidden;
  border: 1px solid #d7e0f2;
  border-radius: 14px;
  background: #f2f6ff;
}

.destination-photo-track {
  display: flex;
  width: 100%;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.destination-photo-item {
  flex: 0 0 100%;
  margin: 0;
}

.destination-photo-item img {
  width: 100%;
  height: clamp(260px, 32vw, 380px);
  object-fit: cover;
  display: block;
}

.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 2px solid #bdd0ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  color: #25336a;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(26, 40, 88, 0.22);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.photo-nav.prev {
  left: 14px;
}

.photo-nav.next {
  right: 14px;
}

.photo-nav:hover {
  transform: translateY(-50%) scale(1.04);
  border-color: #88a2d1;
  background: #fff;
}

.destination-photo-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.photo-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #bccae7;
  cursor: pointer;
  padding: 0;
  transition: width 140ms ease, background 140ms ease, transform 140ms ease;
}

.photo-dot.active {
  width: 24px;
  background: #2c3d83;
}

.photo-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(28, 41, 88, 0.72);
  color: #eef3ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.destination-sidebar {
  display: grid;
  gap: 14px;
}

.destination-search-panel {
  background: #fff;
  border: 1px solid #d9e1f1;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(37, 51, 106, 0.08);
  overflow: visible;
}

.destination-search-head {
  padding: 14px 14px 12px;
  border-bottom: 1px solid #d9e1f1;
  background: linear-gradient(155deg, #243770 0%, #2f488f 100%);
  color: #f7fbff;
  border-radius: 14px 14px 0 0;
}

.destination-search-head h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.14;
}

.destination-search-head p {
  margin: 6px 0 0;
  color: #cfdbf8;
  font-size: 0.95rem;
  line-height: 1.4;
}

.destination-search-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 12px;
  background: #eef3fb;
  border-bottom: 1px solid #dce4f4;
}

.destination-search-tab {
  border: 1px solid transparent;
  background: #8ea3c2;
  color: #eff4ff;
  min-height: 42px;
  border-radius: 11px;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
}

.destination-search-tab.is-active {
  background: #fff;
  color: var(--brand-blue);
  border-color: #c9d5ee;
  box-shadow: inset 0 0 0 1px rgba(201, 213, 238, 0.8);
}

.destination-search-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f4f6fb;
  border-radius: 0 0 14px 14px;
}

.destination-search-panel .date-range-trigger,
.destination-search-panel .traveler-toggle,
.destination-search-panel .autocomplete-wrap input,
.destination-search-panel .destination-locked-input {
  border-radius: 10px;
}

.destination-search-panel .date-range-popover {
  right: 0;
  left: auto;
  width: min(640px, calc(100vw - 28px));
}

.destination-locked-field {
  display: grid;
  gap: 6px;
}

.destination-locked-field > span {
  font-size: 0.95rem;
  color: #59607a;
}

.destination-locked-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfd7e9;
  padding: 12px 14px;
  background: #fff;
  color: #24315d;
  font-size: 1.03rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.destination-search-cta {
  margin-top: 2px;
  width: 100%;
  min-height: 52px;
  font-size: 1.16rem;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.destination-search-note {
  margin: -2px 0 0;
  color: #5b688b;
  font-size: 0.95rem;
  line-height: 1.45;
}

.weather-panel label {
  display: block;
  margin-top: 10px;
  color: #586387;
  font-size: 0.92rem;
}

.weather-panel select {
  margin-top: 6px;
  width: 100%;
  border: 1px solid #ccd6ea;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}

.weather-expectation {
  margin-top: 10px;
}

.weather-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.weather-stat-grid div {
  border: 1px solid #dbe3f3;
  border-radius: 10px;
  padding: 8px;
  background: #f9fbff;
}

.weather-stat-grid span {
  display: block;
  color: #7080a3;
  font-size: 0.82rem;
}

.weather-stat-grid strong {
  display: block;
  margin-top: 2px;
  color: #24326a;
}

.weather-expectation p {
  margin: 10px 0 0;
  color: #465172;
}

.destination-routes-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.destination-routes-table th,
.destination-routes-table td {
  text-align: left;
  border-bottom: 1px solid #e8edf6;
  padding: 8px 4px;
  font-size: 0.94rem;
}

.destination-routes-table th {
  color: #5d6787;
}

.destination-routes-table td {
  color: #33405f;
}

.destination-seo-extra {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.destination-seo-card {
  background: #fff;
  border: 1px solid #d9e1f1;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(37, 51, 106, 0.08);
}

.destination-seo-card h2 {
  margin: 0;
  color: #24326a;
  font-size: 1.34rem;
  line-height: 1.25;
}

.destination-seo-card p {
  margin: 10px 0 0;
  color: #435071;
  line-height: 1.65;
}

.city-admin-grid {
  grid-template-columns: 1.4fr 0.9fr;
}

.city-weather-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dbe3f3;
  border-radius: 10px;
}

.city-weather-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.city-weather-table th,
.city-weather-table td {
  border-bottom: 1px solid #ecf0f8;
  padding: 7px;
  text-align: left;
}

.city-weather-table th {
  color: #5d6480;
  font-size: 0.9rem;
}

.city-weather-table td input {
  width: 100%;
  border: 1px solid #d4dbea;
  border-radius: 8px;
  padding: 8px 9px;
  font: inherit;
  font-size: 0.92rem;
}

.destination-list {
  display: grid;
  gap: 10px;
}

.destination-admin-item {
  border: 1px solid #d9e1f1;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.destination-admin-item h3 {
  margin: 0;
  color: #25336a;
  font-size: 1.1rem;
}

.destination-admin-item h3 span {
  color: #73809f;
  font-weight: 600;
  font-size: 0.95rem;
}

.destination-admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-content {
  padding: 8px 0 42px;
}

.seo-content h2 {
  margin: 0;
  color: #24326a;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.seo-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-block {
  background: #fff;
  border: 1px solid #d9e0f0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(35, 49, 102, 0.08);
}

.seo-block h3 {
  margin: 0;
  color: #25336a;
  font-size: 1.24rem;
  line-height: 1.2;
}

.seo-block p {
  margin: 10px 0 0;
  color: #3e4760;
  font-size: 1rem;
  line-height: 1.58;
}

.site-footer {
  border-top: 1px solid #d6deee;
  background: #f7f9ff;
}

.site-footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: #617095;
  font-size: 0.96rem;
}

.site-footer-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-footer-nav a {
  color: #445277;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer-nav a:hover {
  text-decoration: underline;
}

.contact-page {
  padding: 26px 0 40px;
}

.contact-hero {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(34, 47, 96, 0.1);
}

.contact-hero h1 {
  margin: 8px 0 0;
  color: #1f2e66;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.contact-hero p {
  margin: 10px 0 0;
  color: #4c587b;
}

.contact-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.1fr minmax(300px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid #d9e1f1;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(37, 51, 106, 0.08);
}

.contact-card h2 {
  margin: 0 0 12px;
  color: #24326a;
}

.privacy-card ul {
  margin: 8px 0 14px;
  padding-left: 20px;
  color: #3a4668;
  line-height: 1.6;
}

.privacy-card p {
  margin: 8px 0 12px;
  color: #3a4668;
  line-height: 1.65;
}

.contact-address-card address {
  margin: 0;
  color: #3a4668;
  font-style: normal;
  line-height: 1.7;
  font-size: 1.02rem;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1090px) {
  .conversion-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
  }

  .conversion-panel {
    order: 1;
  }

  .hero-proof-grid,
  .trust-grid,
  .conversion-cards,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-layout {
    grid-template-columns: 1fr;
  }

  .weather-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .destination-seo-extra {
    grid-template-columns: 1fr;
  }

  .city-admin-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-popup-dialog {
    width: min(94vw, 460px);
    border-radius: 12px;
    padding: 16px 14px 14px;
  }

  .site-popup-title {
    font-size: 1.2rem;
  }

  .site-popup-text {
    font-size: 0.96rem;
  }

  .conversion-hero {
    padding-top: 18px;
  }

  .hero-copy {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .conversion-panel {
    border-radius: 14px;
  }

  .conversion-panel .trip-tabs {
    padding: 8px;
    gap: 8px;
  }

  .conversion-panel .trip-tab {
    min-height: 42px;
    border-radius: 10px;
    font-size: clamp(0.95rem, 4vw, 1.12rem);
  }

  .panel-head {
    padding: 13px 14px 10px;
  }

  .panel-head h2 {
    font-size: 1.34rem;
  }

  .conversion-form {
    padding: 11px 12px 14px;
    border-radius: 0 0 14px 14px;
  }

  .search-form input,
  .search-form select,
  .autocomplete-wrap input,
  .traveler-toggle,
  .date-range-trigger {
    font-size: 16px;
  }

  .date-range-popover {
    position: static;
    margin-top: 8px;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
  }

  .date-range-months {
    grid-template-columns: 1fr;
  }

  .date-range-day-empty,
  .date-range-day-btn {
    height: 34px;
  }

  .quick-routes {
    gap: 6px;
  }

  .quick-route {
    font-size: 0.92rem;
    padding: 7px 10px;
  }

  .hero-photo {
    border-radius: 12px;
    margin-top: 14px;
  }

  .popular-destinations {
    padding: 28px 0 24px;
  }

  .destinations-page,
  .destination-page {
    padding-top: 18px;
  }

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

  .country-city-grid {
    grid-template-columns: 1fr;
  }

  .destination-hero-card,
  .destinations-hero {
    border-radius: 12px;
    padding: 14px;
  }

  .weather-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-photo-item img {
    height: 230px;
  }

  .destination-search-head h3 {
    font-size: 1.2rem;
  }

  .destination-search-head p {
    font-size: 0.9rem;
  }

  .destination-search-tab {
    font-size: 1rem;
  }

  .photo-nav {
    width: 38px;
    height: 38px;
    font-size: 1.42rem;
  }

  .photo-nav.prev {
    left: 8px;
  }

  .photo-nav.next {
    right: 8px;
  }

  .photo-counter {
    top: 8px;
    right: 8px;
    font-size: 0.76rem;
    padding: 4px 8px;
  }

  .seo-content {
    padding: 6px 0 26px;
  }

  .seo-block {
    padding: 14px;
    border-radius: 12px;
  }

  .seo-block h3 {
    font-size: 1.1rem;
  }

  .seo-block p {
    font-size: 0.95rem;
  }

  .site-footer-inner {
    min-height: 64px;
    justify-content: center;
  }

  .site-footer p {
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
  }

  .site-footer-nav {
    width: 100%;
    justify-content: center;
  }

  .popular-head {
    align-items: center;
  }

  .popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .popular-card {
    min-height: 160px;
    padding: 12px 10px 10px;
  }

}

@media (max-width: 520px) {
  .conversion-form #date-row {
    grid-template-columns: 1fr;
  }
}
