@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   TRAVEL GEO — Stylesheet
   Russian only. Designed for older readers.
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-warm: #FEF7E8;

  --royal: #1E3A8A;
  --royal-hover: #2545A1;
  --royal-light: #DBEAFE;

  --red: #DC2626;
  --red-hover: #B91C1C;
  --red-light: #FEE2E2;

  --amber: #D97706;
  --amber-light: #FEF3C7;

  --green: #15803D;
  --green-light: #DCFCE7;

  --ink: #111827;
  --muted: #4B5563;
  --muted-light: #6B7280;
  --hairline: rgba(17, 24, 39, 0.12);
  --hairline-strong: rgba(17, 24, 39, 0.24);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--royal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--royal-hover); }

button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--royal);
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.home-link {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.home-link:hover { border-bottom-color: #fff; color: #fff; }
.home-link svg { width: 18px; height: 18px; }

.contact-link {
  color: var(--royal);
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.125rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.1s;
}
.contact-link:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--royal);
  transform: translateY(-1px);
}
.contact-link svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--royal) 0%, #2545A1 100%);
  color: #fff;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  max-width: 16ch;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 50ch;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.hero-cta:hover { background: var(--red-hover); color: #fff; transform: translateY(-1px); }
.hero-cta svg { width: 18px; height: 18px; }

/* Ophir partner logo in hero */
.hero-partner {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 480px;
}

.hero-partner-logo {
  background: #fff;
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hero-partner-logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
}

/* ---------- Tours section ---------- */
.tours-section {
  padding: 4rem 0 5rem;
  background: var(--bg);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-label {
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Month filter */
.month-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline);
}

.month-btn {
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--hairline-strong);
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.month-btn:hover { border-color: var(--royal); color: var(--royal); }
.month-btn.active {
  background: var(--royal);
  border-color: var(--royal);
  color: #fff;
}
.month-btn .count {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.8;
  margin-left: 0.25rem;
}

/* ---------- Tour cards ---------- */
.tour-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

.tour-card {
  background: var(--bg);
  border: 1.5px solid var(--hairline);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.tour-card:hover {
  border-color: var(--royal);
  box-shadow: 0 6px 24px rgba(30, 58, 138, 0.1);
  transform: translateY(-2px);
}

.tour-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hairline);
}

.tour-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.tour-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.tour-meta-item svg { width: 18px; height: 18px; color: var(--royal); flex-shrink: 0; }
.tour-meta-item.muted { color: var(--muted); font-weight: 500; }
.tour-meta-item.muted svg { color: var(--muted); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
}
.status-badge svg { width: 14px; height: 14px; }
.status-badge.guaranteed { background: var(--green-light); color: var(--green); }
.status-badge.soldout    { background: var(--red-light); color: var(--red); }

.tour-card-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.destination {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}

.flight-block {
  background: var(--bg-soft);
  border-left: 4px solid var(--royal);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
}

.flight-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--royal);
  margin-bottom: 0.5rem;
}
.flight-label svg { width: 14px; height: 14px; }

.flight-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 500;
  white-space: pre-line;
}

.tour-note {
  font-size: 0.9375rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.875rem;
  padding-left: 0.875rem;
  border-left: 3px solid var(--hairline-strong);
}

.seats-indicator {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.seats-indicator svg { width: 20px; height: 20px; flex-shrink: 0; }
.seats-indicator.plenty { background: var(--green-light); color: var(--green); }
.seats-indicator.few    { background: var(--amber-light); color: var(--amber); }
.seats-indicator.last   { background: var(--red-light); color: var(--red); font-weight: 700; }

.tour-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  gap: 1.5rem;
}

.price-block { display: flex; flex-direction: column; gap: 0.25rem; }

.price-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.price {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}

.tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--royal);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.tour-btn:hover { background: var(--royal-hover); color: #fff; }
.tour-btn svg { width: 16px; height: 16px; transition: transform 0.15s; }
.tour-btn:hover svg { transform: translateX(3px); }

.no-tours {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
  font-size: 1.125rem;
  background: var(--bg-soft);
  border-radius: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-partner-logo {
  background: #fff;
  display: inline-block;
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
}
.footer-partner-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 600;
}
.footer-email svg { width: 20px; height: 20px; color: rgba(255, 255, 255, 0.6); }
.footer-email:hover { color: #fff; }
.footer-email:hover svg { color: #fff; }

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Sticky mobile contact bar ---------- */
.mobile-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 0.75rem;
  z-index: 50;
  gap: 0.5rem;
}

.mobile-contact-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
}
.mobile-contact-bar .call { background: var(--royal); color: #fff; }
.mobile-contact-bar .email { background: var(--red); color: #fff; }
.mobile-contact-bar a svg { width: 18px; height: 18px; }

/* ---------- Tour page ---------- */
.tour-page-hero {
  background: var(--bg-warm);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--hairline);
}

.tour-page-hero .eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 1rem;
  font-weight: 700;
}

.tour-page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  max-width: 18ch;
  color: var(--ink);
}

.tour-page-hero .lede {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.tour-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
  max-width: 700px;
}

.tour-meta-grid dt {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-weight: 700;
}

.tour-meta-grid dd {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
}

.tour-content {
  padding: 4rem 0 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.tour-content h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  margin: 3rem 0 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tour-content h2:first-child { margin-top: 0; }

.tour-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.tour-content ul { list-style: none; padding: 0; }

.tour-content ul li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}
.tour-content ul li:last-child { border-bottom: none; }

.tour-content ul li strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.cta-block {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--royal);
  color: #fff;
  border-radius: 12px;
  margin: 3rem 0;
}

.cta-block h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-block p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  font-size: 1.125rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-block .tour-btn {
  background: var(--red);
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}
.cta-block .tour-btn:hover { background: var(--red-hover); }

/* ---------- Contact page ---------- */
.contact-section {
  padding: 5rem 0 3rem;
}

.contact-section h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.contact-section .intro {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Office directory */
.offices-section {
  padding: 3rem 0 4rem;
  background: var(--bg);
}

.offices-section .partner-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.offices-section .partner-strip-text { flex: 1; min-width: 240px; }

.offices-section .partner-strip-label {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.offices-section .partner-strip-title {
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.offices-section .partner-strip-logo {
  background: #fff;
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  border: 1.5px solid var(--hairline);
}
.offices-section .partner-strip-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.office-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--hairline);
  border-radius: 8px;
  padding: 1.25rem 1.375rem;
  transition: border-color 0.15s, transform 0.15s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.office-card:hover {
  border-color: var(--royal);
  transform: translateY(-2px);
  color: inherit;
}

.office-card .city {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.office-card.is-headquarters .city::after {
  content: 'Главный офис';
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--royal);
  color: #fff;
  padding: 3px 7px;
  border-radius: 3px;
  margin-left: 0.25rem;
}

.office-card .address {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.office-card .phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--royal);
  text-decoration: none;
}
.office-card .phone svg { width: 16px; height: 16px; }

/* Direct contact section (now at the bottom) */
.direct-contact-section {
  padding: 3rem 0 5rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--hairline);
}

.direct-contact-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.direct-contact-section .intro {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 50ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 760px;
}

.contact-card {
  background: var(--bg);
  border: 1.5px solid var(--hairline);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: border-color 0.2s, transform 0.15s;
}
.contact-card:hover {
  border-color: var(--royal);
  transform: translateY(-2px);
  color: var(--ink);
}

.contact-card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--royal);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.contact-card .icon-wrap svg { width: 26px; height: 26px; color: #fff; }

.contact-card .label {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-card .value {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  word-break: break-word;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .container { padding: 0 1rem; }

  .site-header { padding: 0.75rem 0; }
  .home-link { font-size: 0.9375rem; }
  .contact-link {
    font-size: 0.9375rem;
    padding: 0.55rem 1rem;
  }
  .contact-link svg { width: 16px; height: 16px; }

  .hero { padding: 3rem 0 4rem; }
  .hero h1 { max-width: 100%; }
  .hero-partner { margin-top: 2.5rem; padding-top: 1.5rem; }
  .hero-partner-logo { padding: 0.75rem 1rem; }
  .hero-partner-logo img { height: 44px; }

  .tours-section { padding: 2.5rem 0 5rem; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .month-filter { padding: 0.75rem 0 1.5rem; gap: 0.4rem; }
  .month-btn { padding: 0.5rem 0.875rem; font-size: 0.9375rem; }

  .tour-card { padding: 1.25rem; }
  .tour-card-top { flex-direction: column; align-items: flex-start; }
  .tour-card-body { grid-template-columns: 1fr; gap: 1.25rem; }
  .destination { font-size: 1.625rem; }
  .price { font-size: 1.875rem; }
  .tour-card-bottom { flex-direction: column; align-items: stretch; gap: 1rem; }
  .tour-card .tour-btn { width: 100%; justify-content: center; }

  .tour-page-hero { padding: 2.5rem 0 2rem; }
  .tour-content { padding: 3rem 0 1rem; }
  .tour-meta-grid { gap: 1.25rem 1.5rem; }

  .contact-section { padding: 3rem 0 1.5rem; }
  .offices-section { padding: 2rem 0 3rem; }
  .direct-contact-section { padding: 2.5rem 0 4rem; }

  .mobile-contact-bar { display: flex; }
  body { padding-bottom: 80px; }
}
