:root {
  --navy: #12467a;
  --navy-deep: #0d365e;
  --navy-soft: #f4f7fb;
  --orange: #ff6600;
  --orange-hover: #e85d00;
  --text: #3a3a3a;
  --muted: #808285;
  --line: #e6eaf0;
  --bg: #fff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgb(18 70 122 / .06), 0 6px 16px rgb(18 70 122 / .07);
  --shadow-md: 0 10px 28px rgb(18 70 122 / .12);
  --shadow-lg: 0 18px 44px rgb(18 70 122 / .16);
  --shadow-orange: 0 8px 20px rgb(255 102 0 / .26);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;
  --z-header: 50;
  --z-dim: 60;
  --z-drawer: 70;
  --header-h: 88px;
  --font: "design", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-weight: 400;
  text-wrap: pretty;
  color-scheme: light;
}
::selection { background: rgb(255 102 0 / .22); color: var(--navy-deep); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--orange);
  color: #fff;
  padding: 8px 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
h1, h2, h3 { font-family: var(--font); font-weight: 300; color: var(--navy); letter-spacing: 0.04em; text-wrap: balance; }
.wrap { width: min(1140px, calc(100% - 32px)); margin-inline: auto; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  font: 600 15px/1 var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 12px 26px rgb(255 102 0 / .34); }
.btn:active { transform: translateY(1px) scale(0.98); box-shadow: 0 4px 12px rgb(255 102 0 / .22); }

.site-header {
  background: #fff;
  color: var(--navy);
  min-height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  box-shadow: 0 1px 0 rgb(18 70 122 / .08), 0 10px 28px rgb(18 70 122 / .06);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.logo img { display: block; height: 58px; width: auto; background: none; border-radius: 0; padding: 0; }
.header-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.phones { display: flex; gap: 14px; font-size: 16px; font-weight: 400; }
.phones a { color: var(--navy); transition: color var(--dur) var(--ease); }
.phones a:hover { color: var(--orange); }
.rates { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-desk { display: flex; gap: 22px; font-size: 14px; font-weight: 300; text-transform: uppercase; letter-spacing: 0.08em; }
.nav-desk a { display: flex; align-items: center; gap: 6px; color: var(--navy); transition: color var(--dur) var(--ease); }
.nav-desk img { width: 18px; height: 18px; object-fit: contain; }
.nav-desk a:hover, .nav-desk a[aria-current="page"] { color: var(--orange); }
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; padding: 10px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-img {
  display: block;
  width: 100%;
  height: min(38vw, 340px);
  min-height: 200px;
  object-fit: cover;
}

.section { padding: 48px 0 40px; }
.section h2 {
  margin: 0 0 32px;
  text-align: left;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.visa-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}
.visa-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
  font-size: 18px;
  color: var(--navy);
  padding: 4px 0;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.visa-grid a:hover { color: var(--orange); transform: translateY(-1px); }
.visa-grid img { width: 32px; height: 22px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px #e5e5e5; }

.tours { background: #fff; padding-bottom: 12px; }
.tours .embed-widget {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #f4f5f7;
}
.tv-search-form { min-height: 220px; }
.drawer-nav input, .drawer-nav select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  font: 400 15px/1.2 var(--font);
  background: #fff;
  color: var(--text);
}

.dest { text-align: center; padding: 8px 0 0; }
.dest-art { display: block; width: min(1100px, 100%); margin: 0 auto; }

.flight-form .flight-row {
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  align-items: end;
}
.flight-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--navy); font-weight: 600; }
.flight-row {
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  align-items: end;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 2px minmax(0, 1.15fr);
  gap: 36px 40px;
  align-items: start;
}
.about-divider { width: 2px; background: var(--orange); align-self: stretch; min-height: 140px; }
.about h2 { text-align: left; }
.prose { font-size: 16px; color: var(--muted); max-width: 54ch; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.stats {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.stats li { display: grid; justify-items: center; gap: 8px; }
.stats img { width: 48px; height: 48px; object-fit: contain; }
.stats strong { color: var(--orange); font-size: 34px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.stats span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; max-width: 14ch; }

.why { padding-top: 8px; }
.why-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  align-items: center;
}
.why-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  text-align: left;
}
.why-grid img { height: 46px; width: 46px; object-fit: contain; flex-shrink: 0; }
.why-grid h3 { margin: 0; text-transform: uppercase; font-size: 18px; font-weight: 300; letter-spacing: 0.08em; }
.why-grid p { display: none; }

.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.review-card {
  border: 2px solid var(--navy);
  border-radius: 40px;
  padding: 20px 28px;
  background: #fff;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.review-head img, .avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
}
.avatar {
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700;
}
.review-head span { display: block; color: var(--muted); font-size: 13px; }
.center { text-align: center; margin-top: 24px; }

.page-plain { padding: 40px 0 56px; }
.page-plain h1 { margin-top: 0; font-weight: 300; letter-spacing: 0.04em; }
.page-plain .prose { max-width: none; }
.page-plain .prose > p { max-width: 68ch; color: var(--text); }
.page-plain .prose a { color: var(--navy); font-weight: 400; }
.page-plain .prose a:hover { color: var(--orange); }
.page-plain .prose img { border-radius: 8px; }
.embed-widget { margin: 24px 0 48px; }
.embed-widget h2 { text-align: left; margin-bottom: 16px; }
#ak-app-9278 { min-height: 420px; }
.tv-search-form { min-height: 220px; }
.yandex-reviews iframe,
.yandex-map iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  border-radius: 16px;
}
.oprosnik-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.oprosnik-form label { display: grid; gap: 6px; font-size: 14px; color: var(--navy); font-weight: 600; }
.oprosnik-form input,
.oprosnik-form select,
.oprosnik-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font: 400 15px/1.2 var(--font);
  background: var(--navy-soft);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.oprosnik-form input:focus,
.oprosnik-form select:focus,
.oprosnik-form textarea:focus {
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgb(255 102 0 / .18);
}
.lead-ok {
  background: #eef7ee;
  border-left: 4px solid #2e7d32;
  padding: 12px 16px;
}
.btn-ghost-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  margin-left: 8px;
  box-shadow: none;
}
.btn-ghost-navy:hover { background: var(--navy); color: #fff; }
.page-strany .prose {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px 16px;
  max-width: none;
  align-items: start;
}
.page-strany .prose h1,
.page-strany .prose h2,
.page-strany .prose > p {
  grid-column: 1 / -1;
}
.page-strany .prose figure { margin: 0; }
.page-strany .prose h3 { margin: 0; font-size: 16px; font-weight: 300; letter-spacing: 0.06em; text-transform: uppercase; }
.page-strany .prose img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-md); }
.country-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  transition: transform var(--dur) var(--ease);
}
.country-card:hover { transform: translateY(-3px); }
.country-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.page-viza .prose {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px 16px;
}
.page-viza .prose > p:not(:has(> a)) { grid-column: 1 / -1; }
.page-viza .prose > p:has(> a:only-child) { margin: 0; }
.page-viza .prose > p:has(> a:only-child) a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.page-viza .prose > p:has(> a:only-child) a:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.page-oprosnik .page-plain { padding-bottom: 8px; }
.page-oprosnik .oprosnik { padding-top: 8px; }
.page-tickets .page-plain { padding-bottom: 12px; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.not-found-actions .btn-ghost-navy { margin-left: 0; box-shadow: none; }
.review-card-wp img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.review-card-wp h5 { margin: 0; color: var(--navy); font-size: 16px; font-weight: 600; }
.review-card-wp h6 { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 400; }
.review-card-wp p { margin: 0; }
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.page-plain .prose ul {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.page-plain .prose li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
}
.page-plain .prose h5 { margin: 0 0 6px; color: var(--navy); font-size: 15px; }
.page-plain .prose h3 { margin: 28px 0 12px; }

.site-footer {
  background-color: var(--navy);
  background-image: url("../img/footer-pattern.png");
  background-repeat: repeat;
  color: #fff;
  padding: 28px 0 18px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.footer-inner { padding-bottom: 8px; }
.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.15fr 0.95fr 1.45fr 1.2fr;
  gap: 20px 16px;
  align-items: start;
}
.foot-col { min-width: 0; }
.foot-title {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: inherit;
  white-space: nowrap;
}
p.foot-title { cursor: default; }
.foot-title:hover { color: #fff; }
a.foot-title:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.foot-visas { display: grid; gap: 6px; }
.foot-visas a {
  color: #fff;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--dur) var(--ease);
}
.site-footer a { transition: color var(--dur) var(--ease); }
.site-footer a:hover { color: var(--orange); }
.foot-badge { display: inline-block; margin-top: 4px; }
.foot-badge iframe {
  display: block;
  width: 150px;
  height: 50px;
  border: 0;
  background: #fff;
  border-radius: 8px;
}
.foot-badge img { display: block; width: 88px; height: 31px; }
.foot-social { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 4px 0 10px; }
.foot-social-link {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
}
.foot-social-link svg { display: block; }
.foot-social-link:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .foot-social-link { transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
  .foot-social-link:hover { transform: scale(1.12); color: var(--orange); }
}
.pay-row { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap; }
.pay-row img { height: 22px; width: auto; background: none; border-radius: 0; padding: 0; }
.footer-contacts {
  margin-top: 22px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}
.footer-contacts p { margin: 0 0 2px; }
.footer-contacts a { color: #fff; }
.footer-mail { text-decoration: underline; text-underline-offset: 3px; }
.dr-slon-credit {
  margin: 14px auto 0;
  padding: 8px 0 0;
  font-size: 12px;
  font-weight: 300;
  color: #d7e4f2;
  text-align: center;
}
.dr-slon-credit a { color: #fff; }
.dr-slon-credit a:hover { color: var(--orange); }

.mobile-drawer {
  display: none;
  background: #fff;
}
.mobile-drawer[hidden] { display: none !important; }
.drawer-photo { height: 140px; background: center/cover; }
.drawer-nav { padding: 16px 20px 28px; display: grid; gap: 14px; }
.drawer-label { margin: 0 0 6px; font-weight: 700; color: var(--navy); text-transform: uppercase; font-size: 13px; }
.drawer-block .btn { width: 100%; margin-top: 8px; }
.drawer-rates { color: var(--navy); font-weight: 600; }
.drawer-dim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(8 24 48 / .45);
  z-index: 60;
  border: 0;
  padding: 0;
}
body.has-drawer .drawer-dim { display: block; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .flight-row, .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-divider { display: none; }
  .site-header { background: #fff; color: var(--navy); }
  .header-inner {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding: 14px 0 16px;
    gap: 8px;
  }
  .header-meta { display: flex; align-items: center; }
  .phones { justify-content: center; }
  .nav-desk { display: none; }
  .burger {
    display: block;
    position: absolute;
    right: 4px;
    top: 10px;
  }
  .hero-img { height: 200px; min-height: 180px; }
  .logo img { height: 64px; }
  .mobile-drawer:not([hidden]) {
    display: block;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    width: min(320px, 88vw);
    z-index: 70;
    overflow: auto;
    box-shadow: 8px 0 32px rgb(8 24 48 / .28);
  }
}
@media (max-width: 640px) {
  .phones { font-size: 14px; }
  .flight-row, .footer-grid, .stats {
    grid-template-columns: 1fr;
  }
  .visa-grid { gap: 18px 16px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .foot-title { white-space: normal; }
  .pay-row { flex-wrap: wrap; }
  .footer-contacts { font-size: 14px; text-align: left; }
  .footer-contacts p { display: flex; flex-direction: column; gap: 4px; }
  .section { padding: 32px 0; }
  .section h2 { letter-spacing: 0.1em; }
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgb(255 255 255 / .45);
  box-shadow: none;
}
.btn-ghost:hover { background: rgb(255 255 255 / .12); }
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--navy-deep);
  color: #e8eef5;
  box-shadow: 0 -8px 28px rgb(8 24 48 / .28);
  padding: 16px 0;
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.cookie-bar-text { max-width: 72ch; font-size: 14px; }
.cookie-bar-text p { margin: 0 0 8px; }
.cookie-bar-text a { color: #ffd2b0; text-decoration: underline; }
.cookie-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }
body.has-cookie-bar { padding-bottom: 168px; }
.cookie-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  background: #f7f9fc;
  color: var(--text);
}
.cookie-note .cookie-reset {
  display: inline-flex;
  margin-top: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  min-height: 40px;
  padding: 0 16px;
}
.cookie-policy { background: #f7f9fc; }
.cookie-policy-inner { max-width: 72ch; }
.cookie-policy h2, .cookie-policy h3 { text-align: left; text-transform: none; }
.cookie-policy h2 { font-size: 26px; }
.cookie-policy h3 { margin: 22px 0 8px; font-size: 18px; color: var(--navy); }
.cookie-policy ul { margin: 0 0 16px; padding-left: 18px; }
.cookie-policy li { margin: 0 0 8px; }
#cookies, #personal-data { scroll-margin-top: 16px; }
.pd-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 10px;
  grid-column: 1 / -1;
}
.pd-consent input { width: auto; min-height: 0; margin-top: 2px; flex-shrink: 0; }
.pd-consent a { text-decoration: underline; }
.tour-card .pd-consent { color: #d7e4f2; }
.tour-card .pd-consent a { color: #ffd2b0; }
.drawer-nav .pd-consent { color: var(--muted); }
.drawer-nav .pd-consent a { color: var(--navy); }
@media (max-width: 800px) {
  .cookie-bar-inner { flex-direction: column; align-items: stretch; }
  .cookie-bar-actions { flex-direction: column; }
  .cookie-bar-actions .btn { width: 100%; }
  body.has-cookie-bar { padding-bottom: 280px; }
}
