/* Clearer first visit for the federal 3334333.ru site. */
:root {
  --green: #33845b;
  --green-strong: #286e4a;
  --green-soft: #edf5ef;
  --orange: #e98a2c;
  --orange-strong: #d9771f;
  --ink: #183338;
  --ink-2: #40575b;
  --muted: #64777a;
  --line: #e1e8e5;
  --canvas: #f7f9f7;
}

/* One calm header; the phone stays visible and the secondary compare action
   remains available in the page and mobile menu. */
.site-header.site-header-two-row {
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 18px rgba(24,51,56,.055);
  backdrop-filter: blur(14px);
}
.site-header.site-header-two-row::before { height: 2px; background: #e98a2c; }
.site-header.site-header-two-row .header-shell { padding-block: 7px 8px; }
.site-header.site-header-two-row .header-top { gap: 18px; }
.site-header.site-header-two-row .brand.brand-large { gap: 10px; }
.site-header.site-header-two-row .brand.brand-large .brand-logo { width: 56px; height: 56px; flex-basis: 56px; filter: none; }
.site-header.site-header-two-row .brand.brand-large .brand-text strong {
  color: #183338;
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
.site-header.site-header-two-row .brand.brand-large .brand-text small { margin-top: 4px; font-size: .7rem; }
.site-header.site-header-two-row .contact-stack.contact-card {
  width: auto;
  min-width: 0;
  min-height: 48px;
  padding: 3px 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}
.site-header.site-header-two-row .contact-stack .phone-pill { gap: 8px; }
.site-header.site-header-two-row .contact-stack .phone-copy strong { font-size: 1rem; }
.site-header.site-header-two-row .contact-stack .phone-address { font-size: .68rem; }
.site-header.site-header-two-row .contact-stack .brand-messengers { gap: 5px; }
.site-header.site-header-two-row .contact-stack .messenger-btn { width: 34px; height: 34px; box-shadow: none; }
.site-header.site-header-two-row .btn-header-cta { display: none !important; }
.site-header.site-header-two-row .header-bottom { padding-top: 3px; }
.site-header.site-header-two-row .desktop-nav { justify-content: flex-end; gap: 5px; }
.site-header.site-header-two-row .desktop-nav a {
  min-height: 38px;
  padding-inline: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  font-size: .82rem;
}
.site-header.site-header-two-row .desktop-nav a.is-active,
.site-header.site-header-two-row .desktop-nav a:hover {
  color: #245b43;
  border-color: #e1e8e5;
  background: #f3f7f4;
}

/* Homepage: the search is the main action, with a single secondary route to an expert. */
body[data-page="index.php"] {
  color: #183338;
  background: #fff;
}
body[data-page="index.php"] .home-hero-slider.home-search-first {
  padding: 28px 0 30px;
  overflow: hidden;
  background: #f6f8f6;
}
body[data-page="index.php"] .home-hero-container { display: flex; flex-direction: column; gap: 18px; }
body[data-page="index.php"] .home-hero-intro {
  width: min(100%, 1020px);
  margin: 0;
  padding: 0;
  text-align: left;
}
body[data-page="index.php"] .home-kicker {
  display: block;
  margin-bottom: 8px;
  color: #4a765f;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
}
body[data-page="index.php"] .home-hero-intro h1 {
  max-width: 760px;
  margin: 0;
  color: #183338;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.045em;
}
body[data-page="index.php"] .home-hero-intro p {
  max-width: 690px;
  margin: 10px 0 0;
  color: #52676b;
  font-size: 1rem;
  line-height: 1.55;
}
body[data-page="index.php"] .destination-rail {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
body[data-page="index.php"] .destination-rail::-webkit-scrollbar { display: none; }
body[data-page="index.php"] .destination-chip {
  min-height: 40px;
  padding: 0 14px;
  flex: 0 0 auto;
  border: 1px solid #dfe8e2;
  border-radius: 999px;
  color: #314b4d;
  background: #fff;
  box-shadow: none;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
body[data-page="index.php"] .destination-chip:hover,
body[data-page="index.php"] .destination-chip:focus-visible {
  border-color: #8eaa98;
  background: #edf5ef;
}
body[data-page="index.php"] .home-search-layout {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.55fr);
  gap: 16px;
  align-items: stretch;
}
body[data-page="index.php"] .home-search-visual {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 20px;
  background: #dfe9e3;
}
body[data-page="index.php"] .home-search-visual::after {
  position: absolute;
  inset: 28% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(13,36,37,.76));
}
body[data-page="index.php"] .home-search-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
body[data-page="index.php"] .home-search-visual-copy {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  gap: 7px;
  color: #fff;
}
body[data-page="index.php"] .home-search-visual-copy strong { max-width: 360px; font-size: 1.28rem; line-height: 1.2; }
body[data-page="index.php"] .home-search-visual-copy span { max-width: 360px; color: rgba(255,255,255,.88); font-size: .88rem; line-height: 1.45; }
body[data-page="index.php"] .home-search-panel {
  min-width: 0;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid #e1e8e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(24,51,56,.055);
}
body[data-page="index.php"] .home-search-panel .tourvisor-shell { margin: 0; }
body[data-page="index.php"] .home-search-panel .tourvisor-compact-title { margin: 0 0 12px; }
body[data-page="index.php"] .home-search-panel .tourvisor-widget,
body[data-page="index.php"] .home-search-panel .tourvisor-bridge-card { width: 100%; max-width: 100%; }
body[data-page="index.php"] .home-search-panel .tourvisor-bridge-frame { display: block; width: 100%; max-width: 100%; }
body[data-page="index.php"] .home-search-help { margin: 12px 0 0; color: #596d70; font-size: .9rem; }
body[data-page="index.php"] .home-search-help a { color: #286e4a; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

/* Destination pages: keep the useful explanation compact and align the checklist to the top. */
body[data-page$="-tours.php"] .seo-hero.section-lite { padding-block: 34px; background: #f6f8f6; }
body[data-page$="-tours.php"] .seo-hero-grid { align-items: start; gap: 18px; }
body[data-page$="-tours.php"] .seo-hero-copy,
body[data-page$="-tours.php"] .seo-hero-card { border: 1px solid #e2e9e5; border-radius: 20px; box-shadow: none; }
body[data-page$="-tours.php"] .seo-hero-copy { padding: clamp(20px, 3vw, 36px); background: #fff; }
body[data-page$="-tours.php"] .seo-hero-copy h1 { max-width: 760px; font-size: clamp(2rem, 4.3vw, 3.2rem); font-weight: 750; line-height: 1.08; letter-spacing: -.045em; }
body[data-page$="-tours.php"] .seo-hero-copy > p { max-width: 680px; color: #52676b; font-size: 1rem; }
body[data-page$="-tours.php"] .seo-hero-card { align-self: start; min-height: 0; padding: 22px; background: #edf3ef; }
body[data-page$="-tours.php"] .seo-hero-card strong { color: #285a43; }

@media (max-width: 860px) {
  .site-header.site-header-two-row .header-shell { padding-block: 7px; }
  .site-header.site-header-two-row .brand.brand-large .brand-logo { width: 46px; height: 46px; flex-basis: 46px; }
}
@media (max-width: 640px) {
  body[data-page="index.php"] .home-hero-slider.home-search-first { padding: 21px 0 22px; }
  body[data-page="index.php"] .home-hero-container { gap: 13px; }
  body[data-page="index.php"] .destination-rail {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  body[data-page="index.php"] .destination-chip {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    justify-content: flex-start;
    white-space: normal;
  }
  body[data-page="index.php"] .home-hero-intro { padding-inline: 2px; }
  body[data-page="index.php"] .home-kicker { margin-bottom: 6px; font-size: .65rem; }
  body[data-page="index.php"] .home-hero-intro h1 { max-width: 560px; font-size: clamp(1.8rem, 8vw, 2.3rem); line-height: 1.08; }
  body[data-page="index.php"] .home-hero-intro p { margin-top: 7px; font-size: .92rem; }
  body[data-page="index.php"] .home-search-layout { grid-template-columns: 1fr; gap: 0; }
  body[data-page="index.php"] .home-search-visual { display: none; }
  body[data-page="index.php"] .home-search-panel { padding: 12px; border-radius: 16px; }
  body[data-page="index.php"] .home-search-panel .tourvisor-compact-title { margin-bottom: 8px; }
  body[data-page="index.php"] .home-search-help { font-size: .84rem; }
  body[data-page$="-tours.php"] .seo-hero.section-lite { padding-block: 16px; }
  body[data-page$="-tours.php"] .seo-hero-copy { padding: 20px 17px; }
  body[data-page$="-tours.php"] .seo-hero-copy h1 { font-size: clamp(1.75rem, 7.5vw, 2.25rem); }
  body[data-page$="-tours.php"] .seo-hero-card { padding: 17px; }
}

/* Country overviews: source-confirmed market segments and clearly historical examples. */
.seo-birga-segment { margin-top: 22px; }
.seo-country-hero { padding-block: 20px 14px; }
.seo-country-hero .seo-hero-copy { padding: clamp(16px, 3vw, 28px); }
.seo-country-hero h1 { margin-top: 0; font-size: clamp(1.85rem, 4vw, 3.5rem); }
.seo-country-city-filter, .seo-country-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.seo-country-city-filter label { font-weight: 800; }
.seo-country-city-filter select {
  min-width: min(12rem, 100%); max-width: 100%; min-height: 44px; padding: 8px 12px;
  border: 1px solid #719285; border-radius: 10px; background: #fff; color: var(--ink); font: inherit;
}
.seo-country-city-filter > a,
.seo-country-links > a {
  display: inline-flex; min-height: 44px; align-items: center; padding: 7px 13px;
  border: 1px solid #d4e3d7; border-radius: 999px; background: #fff; color: #286e4a; font-weight: 800;
}
.seo-country-city-filter :focus-visible, .seo-country-links a:focus-visible {
  outline: 3px solid #bb6010; outline-offset: 2px;
}
.seo-country-city-filter + .seo-birga-note { margin-top: 10px; }
.seo-country-nearby { margin-top: 8px; }
.seo-country-archive { margin-top: 26px; }
.seo-country-archive .seo-birga-archive-intro p { margin-block: 4px 12px; }
#seo-birga-title, #destination-manager, #destination-departures, #destination-archive { scroll-margin-top: 92px; }
@media (max-width: 640px) {
  .seo-country-city-filter label { flex-basis: 100%; }
  .seo-country-city-filter select { flex: 1 1 auto; }
}
.seo-birga-segment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.seo-birga-segment-head h3,
.seo-birga-archive-intro h3 { margin: 0; color: var(--ink); font-size: clamp(1.12rem, 2vw, 1.4rem); }
.seo-birga-segment-head > span,
.seo-birga-archive-group summary span { color: var(--muted); font-size: .82rem; }
.seo-birga-card h4,
.seo-birga-card h5 { margin: 0 0 14px; color: var(--ink); font-size: 1.1rem; line-height: 1.25; }
.seo-birga-offer-id { margin: 0 0 7px; color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.seo-birga-source { margin-top: 10px; color: var(--ink-2); font-size: .84rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.seo-birga-source-segments { margin: 0 0 8px; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.seo-birga-archive-intro { margin: 28px 0 12px; }
.seo-birga-archive-intro p { max-width: 760px; margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.seo-birga-archive-group { margin: 10px 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfb; }
.seo-birga-archive-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; color: var(--ink); font-weight: 800; cursor: pointer; }
.seo-birga-archive-group[open] summary { margin-bottom: 14px; }
.seo-birga-archive-destination { margin-top: 16px; }
.seo-birga-archive-destination > h4 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 9px; color: var(--ink-2); font-size: .96rem; }
.seo-birga-archive-destination > h4 span { color: var(--muted); font-size: .78rem; }
.seo-birga-archive-group .seo-birga-grid { padding-top: 2px; }
.seo-birga-archive-group .seo-birga-note { margin-top: 12px; }
@media (max-width: 640px) {
  .seo-birga-segment-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .seo-birga-archive-group { padding: 11px; }
  .seo-birga-archive-group summary { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
  .seo-birga-archive-destination > h4 { align-items: flex-start; flex-direction: column; gap: 2px; }
}
