/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}
body, html {
    overflow-x: hidden;
}
body {
  background: #050816;
  color: #e5e7eb;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.fx-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.fx-container {
  width: 92%;
  max-width: 1160px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.fx-header {
  background: rgba(5,8,22,0.96);
  border-bottom: 1px solid rgba(148,163,184,0.25);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.fx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

/* Logo */
.fx-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.fx-logo-mark {
  width: 70px;
  height: auto;
}

.fx-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fx-logo-main {
  text-transform: lowercase;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: #f9fafb;
}

.fx-logo-sub {
  font-size: 10px;
  color: #9ca3af;
}

/* Nav */
.fx-nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
}

.fx-nav a {
  color: #d1d5db;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.fx-nav a:hover,
.fx-nav a.active {
  color: #4ade80;
  border-bottom-color: #4ade80;
}

/* Header contact */
.fx-header-contact {
  font-size: 13px;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fx-header-contact a {
  color: inherit;
  text-decoration: none;
}

/* Burger */
.fx-burger {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.fx-burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin-bottom: 4px;
}

/* Mobile menu */
.fx-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 230px;
  height: 100vh;
  background: #020617;
  border-left: 1px solid rgba(148,163,184,0.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 72px;
  padding-left: 24px;
  transition: right 0.3s ease;
  z-index: 100;
}

.fx-mobile-menu a {
  text-decoration: none;
  color: #f9fafb;
  font-size: 14px;
}

.fx-mobile-menu.open {
  right: 0;
}

/* ===== MAIN ===== */
.fx-main {
  flex: 1;
  padding: 18px 0 20px;
}

/* ===== HERO ===== */
.fx-hero {
  padding-top: 10px;
  padding-bottom: 18px;
  background: radial-gradient(circle at 0 0,#0f172a,#020617 55%,#020617 100%);
  border-bottom: 1px solid rgba(15,23,42,0.8);
}

.fx-hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,1.3fr);
  gap: 26px;
  align-items: center;
}

/* Hero left */
.fx-hero-left {
  max-width: 620px;
}

.fx-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #a5f3fc;
}

.fx-hero-left h1 {
  font-size: 28px;
  line-height: 1.25;
  margin-top: 6px;
  color: #f9fafb;
}

.fx-hero-text {
  font-size: 13px;
  color: #d1d5db;
  margin-top: 10px;
}

.fx-hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hero stats */
.fx-hero-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

.fx-stat {
  border-radius: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(148,163,184,0.45);
  background: radial-gradient(circle at 0 0,rgba(45,212,191,0.14),rgba(15,23,42,0.9));
  font-size: 12px;
  color: #e5e7eb;
}

.fx-stat span {
  display: block;
  color: #a5f3fc;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.fx-stat strong {
  display: block;
  margin-top: 2px;
}

/* Hero right */
.fx-hero-right {
  display: grid;
  grid-template-rows: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 10px;
}

.fx-hero-photo {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(56,189,248,0.6);
  box-shadow: 0 20px 60px rgba(15,23,42,0.9);
  max-height: 220px;
}

.fx-hero-photo img {
  width: 100%;
  height: 100%;
}

.fx-hero-panel {
  border-radius: 18px;
  padding: 12px 12px 14px;
  background: radial-gradient(circle at 0 0,rgba(45,212,191,0.18),#020617);
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 13px;
}

.fx-hero-panel h2 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #f9fafb;
}

.fx-hero-panel ul {
  list-style: none;
  color: #d1d5db;
}

.fx-hero-panel li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.fx-hero-panel i {
  color: #4ade80;
  margin-top: 3px;
}

/* ===== BUTTONS ===== */
.fx-btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.fx-btn-primary {
  background: #22c55e;
  color: #022c22;
  border-color: #16a34a;
  box-shadow: 0 12px 30px rgba(34,197,94,0.4);
}

.fx-btn-primary:hover {
  background: #16a34a;
  border-color: #15803d;
  transform: translateY(-1px);
}

.fx-btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148,163,184,0.7);
}

.fx-btn-outline:hover {
  background: rgba(15,23,42,0.7);
}

/* Pills */
.fx-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(45,212,191,0.15);
  color: #6ee7b7;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.fx-section {
  margin-bottom: 18px;
}

.fx-section-head {
  margin-bottom: 10px;
}

.fx-section-head h2 {
  font-size: 18px;
  margin-bottom: 4px;
  color: #f9fafb;
}

.fx-section-head p {
  font-size: 13px;
  color: #9ca3af;
}

/* Grid 3 */
.fx-grid-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.fx-card {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.6);
  background: radial-gradient(circle at 0 0,rgba(45,212,191,0.12),#020617);
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #d1d5db;
}

.fx-card h3 {
  font-size: 15px;
  margin-top: 6px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

/* Layout split */
.fx-layout {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1.1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.fx-layout-left h2 {
  font-size: 18px;
  margin: 4px 0;
  color: #f9fafb;
}

.fx-layout-left p {
  font-size: 13px;
  color: #d1d5db;
}

.fx-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a5f3fc;
}

.fx-list {
  margin-left: 18px;
  margin-top: 4px;
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.8;
}

/* Timeline */
.fx-timeline {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.6);
  background: #020617;
  padding: 10px 12px 12px;
  font-size: 13px;
}

.fx-timeline-row {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  gap: 10px;
  padding: 6px 0;
  color: #d1d5db;
}

.fx-timeline-row + .fx-timeline-row {
  border-top: 1px dashed rgba(55,65,81,0.8);
}

.fx-timeline-row span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6ee7b7;
}

/* Band (mosaic) */
.fx-band {
  background: radial-gradient(circle at 0 0,#0f172a,#020617 60%);
  padding: 18px 0 20px;
  margin-bottom: 10px;
}

.fx-mosaic {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
  gap: 14px;
}

.fx-mosaic-item {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.6);
  background: #020617;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #d1d5db;
}

.fx-mosaic-main {
  grid-row: span 2;
}

.fx-mosaic-img {
  max-height: 190px;
  overflow: hidden;
}

.fx-mosaic-img img {
  width: 100%;
  height: 100%;
}

.fx-mosaic-body {
  padding: 10px 12px 12px;
}

.fx-mosaic-body h3 {
  font-size: 15px;
  margin-top: 6px;
  margin-bottom: 4px;
  color: #f9fafb;
}

/* Split cards: “для кого” */
.fx-split-cards {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.4fr);
  gap: 18px;
}

.fx-split-col h2 {
  font-size: 18px;
  margin-bottom: 4px;
  color: #f9fafb;
}

.fx-split-col p {
  font-size: 13px;
  color: #d1d5db;
}

.fx-split-cards-inner {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.fx-mini-card {
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.6);
  background: #020617;
  padding: 10px 11px 12px;
  font-size: 13px;
  color: #d1d5db;
}

.fx-mini-card h3 {
  font-size: 14px;
  margin-bottom: 3px;
  color: #f9fafb;
}

/* Page head */
.fx-page-head {
  margin-bottom: 10px;
}

.fx-page-head h1 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #f9fafb;
}

.fx-page-head p {
  font-size: 13px;
  color: #9ca3af;
}

/* Tours page */
.fx-tours-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.fx-tour-card {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #020617;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.8;
}

.fx-tour-card h2 {
  font-size: 16px;
  margin-top: 4px;
  margin-bottom: 4px;
  color: #f9fafb;
}

/* Routes page */
.fx-routes-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.fx-route-card {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #020617;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.8;
}

.fx-route-card h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #f9fafb;
}

/* About page */
.fx-about-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.fx-about-col h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #f9fafb;
}

.fx-about-col p,
.fx-about-col li {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.8;
}

/* Contact */
.fx-contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.fx-contact-panel {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #020617;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #d1d5db;
}

.fx-contact-panel p {
  margin-bottom: 4px;
}

.fx-contact-note {
  margin-top: 6px;
  margin-bottom: 10px;
}

.fx-contact-panel form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fx-contact-panel label {
  font-size: 12px;
  color: #e5e7eb;
}

.fx-contact-panel input,
.fx-contact-panel textarea {
  font-size: 13px;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.9);
  background: #020617;
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fx-contact-panel textarea {
  resize: vertical;
  min-height: 110px;
}

.fx-contact-panel input:focus,
.fx-contact-panel textarea:focus {
  border-color: #22c55e;
  background: #020617;
  box-shadow: 0 0 0 1px rgba(34,197,94,0.35);
}

.fx-map-panel {
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid rgba(148,163,184,0.7);
}

/* Contact strip */
.fx-contact-strip {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #020617;
  padding: 11px 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.fx-contact-left h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #f9fafb;
}

.fx-contact-left p {
  font-size: 13px;
  color: #d1d5db;
}

.fx-contact-right {
  text-align: right;
  font-size: 13px;
}

.fx-contact-right p {
  margin-bottom: 4px;
  color: #d1d5db;
}

.fx-contact-right i {
  margin-right: 4px;
}

/* Note box */
.fx-note-box {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #020617;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #d1d5db;
}

/* Policy pages */
.fx-page-simple {
  flex-direction: column;
}

.fx-main-simple {
  padding: 20px 0 20px;
}

.fx-policy-card {
  max-width: 820px;
  margin: 18px auto 16px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #020617;
  padding: 16px 18px 18px;
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.8;
}

.fx-policy-card h1 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #f9fafb;
}

.fx-policy-card h2 {
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 4px;
  color: #f9fafb;
}

.fx-policy-card ul {
  margin-left: 18px;
}

/* FOOTER */
.fx-footer {
  border-top: 1px solid rgba(148,163,184,0.7);
  padding: 10px 0 14px;
  font-size: 11px;
  color: #9ca3af;
  background: #020617;
}

.fx-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fx-footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 10px;
  font-size: 11px;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 320px;
  z-index: 120;
}

.cookie-box {
  background: #020617;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 10px 12px;
  font-size: 12px;
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15,23,42,0.8);
}

.cookie-box button {
  margin-top: 8px;
  width: 100%;
  padding: 7px;
  border-radius: 999px;
  border: none;
  background: #22c55e;
  color: #022c22;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* REVEAL */
.fx-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fx-reveal.fx-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .fx-nav {
    display: none;
  }

  .fx-burger {
    display: block;
  }

  .fx-hero-inner {
    grid-template-columns: minmax(0,1fr);
    align-items: flex-end;
    gap: 18px;
  }

  .fx-hero-right {
    grid-template-rows: minmax(0,1fr);
  }

  .fx-grid-3,
  .fx-tours-grid,
  .fx-routes-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .fx-mosaic {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-split-cards {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-split-cards-inner {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .fx-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-about-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-contact-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-contact-right {
    text-align: left;
  }

  .fx-footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .fx-container {
    width: 94%;
  }

  .fx-hero-inner {
    padding-bottom: 8px;
  }

  .fx-hero-left h1 {
    font-size: 22px;
  }

  .fx-hero-text,
  .fx-section-head p {
    font-size: 12px;
  }

  .fx-grid-3,
  .fx-tours-grid,
  .fx-routes-grid,
  .fx-mosaic,
  .fx-split-cards-inner {
    grid-template-columns: minmax(0,1fr);
  }

  #cookie-banner {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}
