/* 24istanbul.ru — лендинг в духе референса: светлая сетка, синие акценты, тёмный футер */
:root {
  --i24-blue: #2563eb;
  --i24-blue-dark: #1d4ed8;
  --i24-blue-soft: #eff6ff;
  --i24-navy: #0f172a;
  --i24-text: #111827;
  --i24-muted: #4b5563;
  --i24-border: #e5e7eb;
  --i24-bg: #f9fafb;
  --i24-white: #ffffff;
  --i24-green: #22c55e;
  --i24-footer: #111827;
  --ms-primary: #2563eb;
  --ms-primary-dark: #1d4ed8;
  --ms-accent: #2563eb;
  --ms-text: #111827;
  --ms-muted: #4b5563;
  --ms-bg: #f9fafb;
  --ms-card: #ffffff;
  --ms-hero-bg: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  --ms-booking-max: 71rem;
  --ms-prose-max: 42rem;
}

body.ms24 {
  background: var(--i24-bg);
  color: var(--i24-text);
}

/* Липкий хедер */
.ms24-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--i24-white);
  box-shadow: 0 1px 3px rgb(15 23 42 / 8%);
}

.ms24-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.ms24-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--i24-navy);
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
}

.ms24-logo svg {
  flex-shrink: 0;
  color: var(--i24-blue);
}

.ms24-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.ms24-nav a {
  color: var(--i24-text);
  text-decoration: none;
  padding: 0.35rem 0.25rem;
  border-radius: 0.375rem;
}

.ms24-nav a:hover {
  color: var(--i24-blue);
  opacity: 1;
}

.ms24-nav a[aria-current="page"] {
  color: var(--i24-blue);
}

/* Герой с фото */
.ms24-hero {
  position: relative;
  min-height: min(70dvh, 36rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
}

.ms24-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1e293b;
  background-size: cover;
  background-position: center;
}

.ms24-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 55%);
}

.ms24-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 48rem;
  color: #f9fafb;
}

.ms24-hero h1 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.ms24-hero .ms24-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.55;
  margin: 0 0 1.75rem;
  color: rgb(249 250 251 / 0.92);
}

.ms24-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.ms24-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.ms24-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.ms24-btn-primary {
  background: var(--i24-blue);
  color: #fff;
}

.ms24-btn-primary:hover {
  background: var(--i24-blue-dark);
  opacity: 1;
}

.ms24-btn-ghost {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.35);
  backdrop-filter: blur(6px);
}

.ms24-btn-ghost:hover {
  background: rgb(255 255 255 / 0.22);
  opacity: 1;
}

/* Секции */
.ms24-section {
  padding: 3.5rem 1.25rem;
}

.ms24-section--white {
  background: var(--i24-white);
}

.ms24-section--muted {
  background: var(--i24-bg);
}

.ms24-section-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.ms24-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ms24-section-head h2 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--i24-navy);
}

.ms24-section-head p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--i24-muted);
  max-width: 36rem;
  margin-inline: auto;
}

/* Карточки услуг */
.ms24-grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ms24-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ms24-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ms24-svc {
  background: var(--i24-white);
  border: 1px solid var(--i24-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

.ms24-svc-icon {
  width: 3rem;
  height: 3rem;
  color: var(--i24-blue);
  margin-bottom: 1rem;
}

.ms24-svc h3 {
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.ms24-svc p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--i24-muted);
  line-height: 1.55;
}

.ms24-price-note {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--i24-blue);
}

/* Маршруты */
.ms24-grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .ms24-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ms24-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ms24-route {
  background: var(--i24-white);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--i24-border);
  box-shadow: 0 2px 8px rgb(15 23 42 / 6%);
}

.ms24-route-img {
  aspect-ratio: 16 / 10;
  background: #e2e8f0 center / cover no-repeat;
}

.ms24-route-body {
  padding: 1.25rem;
}

.ms24-route-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.ms24-route-meta {
  font-size: 0.875rem;
  color: var(--i24-muted);
  margin: 0 0 0.5rem;
}

/* Преимущества + статистика */
.ms24-split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .ms24-split {
    grid-template-columns: 1fr 1fr;
  }
}

.ms24-split h2 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.ms24-split .ms24-intro {
  font-size: 1.05rem;
  color: var(--i24-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.ms24-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms24-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.98rem;
  color: var(--i24-text);
}

.ms24-check-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: var(--i24-green);
  margin-top: 0.15rem;
  position: relative;
}

.ms24-check-icon::after {
  content: "";
  position: absolute;
  left: 0.38rem;
  top: 0.32rem;
  width: 0.35rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ms24-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ms24-stat {
  background: var(--i24-blue-soft);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}

.ms24-stat .material-symbols-outlined {
  font-size: 2.5rem;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  display: block;
  margin: 0 auto 0.5rem;
  color: var(--i24-blue);
}

.ms24-stat-label a {
  color: var(--i24-blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.ms24-stat-label a:hover {
  text-decoration: underline;
  opacity: 1;
}

.ms24-stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--i24-navy);
}

.ms24-stat-label {
  font-size: 0.8125rem;
  color: var(--i24-muted);
}

/* Блок бронирования */
.ms24-booking-band {
  background: linear-gradient(135deg, #eff6ff 0%, #f9fafb 100%);
  padding: 3rem 1rem;
}

.ms24-booking-band .booking-wrap h2 {
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 55%, #3b82f6 100%);
}

/* Футер */
.ms24-footer {
  background: var(--i24-footer);
  color: #e5e7eb;
  padding: 3rem 1.25rem 2rem;
}

.ms24-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.ms24-footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ms24-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.ms24-footer h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: #fff;
}

.ms24-footer a {
  color: #93c5fd;
}

.ms24-footer a:hover {
  color: #bfdbfe;
  opacity: 1;
}

.ms24-footer-muted {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.ms24-footer-links a {
  display: block;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.ms24-footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #9ca3af;
}

/* Внутренние страницы: компактный герой */
.ms24-page-hero {
  background: var(--ms-hero-bg);
  color: #f8fafc;
  padding: 2rem 1.25rem 2.25rem;
  margin: 0;
}

.ms24-page-hero h1 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  margin: 0 0 0.5rem;
}

.ms24-page-hero p {
  margin: 0;
  opacity: 0.9;
  max-width: 40rem;
}

.ms24-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.ms24-main .faq-stack {
  max-width: 48rem;
  margin: 0 auto;
}

.ms24-main .faq-page-title {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}

.ms24-main h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.ms24-main p,
.ms24-main li {
  color: var(--i24-muted);
  line-height: 1.65;
}

.ms24-main p {
  margin: 0 0 0.85rem;
}
