:root {
  --bg: #0c1117;
  --bg-elevated: #141b24;
  --surface: #1a2330;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf4;
  --text-muted: #8b9aaf;
  --accent: #3d9a6e;
  --accent-hover: #4fb584;
  --accent-soft: rgba(61, 154, 110, 0.15);
  --wb: #a855f7;
  --ozon: #3b82f6;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Manrope", system-ui, sans-serif;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom);
}

main {
  display: block;
  min-width: 0;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

iframe,
video {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(12, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  min-width: 0;
}

.logo {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.45rem;
  font-weight: 700;
  font-size: clamp(0.82rem, 2.8vw, 1.1rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  min-width: 0;
}

.logo__sep {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo__brand {
  font-weight: 700;
}

.logo__muted {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.85em;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.85rem, 1.9vw, 1.45rem);
  margin-left: auto;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.89rem;
  line-height: 1;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
}

.nav .nav__pill {
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid transparent;
}

.nav .nav__pill:hover {
  color: #fff;
  filter: brightness(1.08);
}

.nav .nav__pill--formats {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 45%, #7c3aed 78%, #ec4899 100%);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.28), 0 4px 12px rgba(124, 58, 237, 0.22);
}

.header__cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  height: 2px;
  width: 1.35rem;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 4rem 0 auto 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
    max-height: min(70vh, calc(100dvh - 4rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.2s, visibility 0.2s;
  }

  .nav a {
    white-space: normal;
    padding: 0.35rem 0;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__cta {
    display: none;
  }

  .header .logo {
    flex: 1 1 auto;
    max-width: calc(100% - 3.5rem);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn--small {
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn--block {
  width: 100%;
}

.btn--max {
  background: linear-gradient(135deg, #6b5cff 0%, #4f46e5 100%);
  color: #fff;
  border: none;
}

.btn--max:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn--tg {
  background: #229ed9;
  color: #fff;
  border: none;
}

.btn--tg:hover {
  color: #fff;
  filter: brightness(1.06);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.contact__actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 9rem);
  justify-content: center;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(61, 154, 110, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 10% 30%, rgba(168, 85, 247, 0.08), transparent);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-width: 0;
}

.hero__content {
  min-width: 0;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }

  .card-float {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
  }

  .card-float__badge {
    text-transform: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.65rem;
    line-height: 1.3;
  }

  .card-float__text {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.hero__lead strong {
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 100%;
}

.hero__stats li {
  min-width: 0;
  max-width: 100%;
}

.hero__stats .stat__num {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-float {
  position: absolute;
  inset: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 27, 36, 0.9);
  border: 1px solid var(--border);
}

.card-float__badge {
  display: block;
  margin-bottom: 1rem;
  font-size: clamp(1.2rem, 4.2vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  line-height: 1.2;
  color: var(--wb);
  overflow-wrap: anywhere;
}

.card-float__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.card-float__text--mobile {
  display: none;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section--accent {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.section--location {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0 0 2.5rem;
  max-width: 52ch;
  color: var(--text-muted);
}

/* Grid cards */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(61, 154, 110, 0.35);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Reviews */
.section--reviews {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
  position: relative;
  z-index: 8;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.review-card:hover {
  border-color: rgba(61, 154, 110, 0.35);
}

.review-card__stars {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #d4a24c;
  line-height: 1;
}

.review-card__text {
  margin: 0 0 1rem;
  flex: 1 1 auto;
  min-height: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.review-card__author {
  margin: auto 0 0;
  padding-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.review-card__meta {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-card--extra {
  display: none;
}

.reviews-wrap.is-open .review-card--extra {
  display: flex;
}

.reviews-wrap {
  position: relative;
  z-index: 1;
}

.reviews-extra {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-wrap.is-open .reviews-extra {
  max-height: 4800px;
}

.reviews-curtain {
  height: 5rem;
  margin-top: -5rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(20, 27, 36, 0) 0%, rgba(20, 27, 36, 0.65) 45%, var(--bg-elevated) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease, height 0.35s ease, margin 0.35s ease;
}

.reviews-wrap.is-open .reviews-curtain {
  opacity: 0;
  height: 0;
  margin: 0;
}

.reviews-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 22rem;
  margin: 0.75rem auto 0;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.reviews-toggle:hover {
  border-color: rgba(61, 154, 110, 0.45);
  background: rgba(61, 154, 110, 0.08);
  color: var(--accent-hover);
}

.reviews-toggle__arrow {
  display: inline-block;
  font-size: 0.7rem;
  line-height: 1;
  transition: transform 0.35s ease;
}

.reviews-wrap.is-open .reviews-toggle__arrow {
  transform: rotate(180deg);
}

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.reviews-head .section__title {
  margin-bottom: 0.5rem;
}

.reviews-head__subtitle {
  margin-bottom: 0;
}

.reviews-head__cta {
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 560px) {
  .reviews-head__cta {
    width: 100%;
    justify-content: center;
  }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.team-card:hover {
  border-color: rgba(61, 154, 110, 0.35);
}

.team-card__photo {
  margin: 0 auto 1rem;
  width: min(100%, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-elevated);
}

.team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__photo--sky img {
  object-position: center 32%;
}

.team-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.team-card__role {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.team-card--clickable {
  cursor: pointer;
}

.team-card--clickable:focus-visible {
  outline: 2px solid rgba(61, 154, 110, 0.65);
  outline-offset: 2px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.68);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.modal__title {
  margin: 0 0 1rem;
  padding-right: 2rem;
  font-size: 1.2rem;
}

.modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.modal__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (max-width: 760px) {
  .modal__gallery {
    grid-template-columns: 1fr;
  }
}

.modal__gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

/* Fleet */
.section--fleet {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  border-block: 1px solid var(--border);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.fleet-grid > .fleet-card {
  height: 100%;
}

@media (max-width: 720px) {
  .fleet-grid {
    grid-template-columns: 1fr;
  }
}

.fleet-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
  position: relative;
  z-index: 1;
}

.fleet-card:hover {
  border-color: rgba(61, 154, 110, 0.35);
}

.fleet-card__media {
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: var(--bg-elevated);
  overflow: visible;
  position: relative;
}

.fleet-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.45s ease;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.fleet-card__media--ford img {
  object-position: center 38%;
}

@media (hover: hover) and (pointer: fine) {
  .fleet-card:hover {
    z-index: 6;
  }

  .fleet-card:hover .fleet-card__media img {
    transform: scale(1.3);
    z-index: 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fleet-card__media img {
    transition: none;
  }

  .fleet-card:hover .fleet-card__media img {
    transform: scale(1);
  }
}

.fleet-card__title {
  margin: 0;
  padding: 1.15rem 1.25rem 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fleet-card__text {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Pricing */
.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.pricing-head .section__title {
  margin-bottom: 0;
}

.pricing-badge {
  margin: 0;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.pricing-intro {
  margin-bottom: 1.75rem;
  max-width: 72ch;
}

.pricing-table-wrap {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.pricing-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  background: var(--bg-elevated);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table__market {
  color: var(--text-muted);
}

.pricing-table__our {
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  white-space: nowrap;
}

.pricing {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.pricing__main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.25rem;
}

.pricing__main--compact {
  margin-top: 0.25rem;
}

.pricing__main--compact .pricing__amount {
  font-size: clamp(2.35rem, 7vw, 3.35rem);
}

.pricing__from {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing__amount {
  font-size: clamp(3.5rem, 10vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}

.pricing__currency {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing__unit {
  width: 100%;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
}

.steps__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.steps__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FBS/FBO sections */
.section--format {
  border-block: 1px solid var(--border);
}

.section--format-fbs {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, var(--bg) 80%);
}

.section--format-fbo {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, var(--bg-elevated) 85%);
}

.section--format-scheme {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 55%, var(--bg-elevated) 100%);
}

.format-columns {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .format-columns {
    grid-template-columns: 1fr;
  }
}

.format-panel {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.1rem 1.1rem 1rem;
}

.format-panel__title {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}

.format-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.format-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.format-list li span {
  line-height: 1;
  font-size: 1.05rem;
  margin-top: 0.1rem;
}

.format-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.format-flow__item {
  flex: 1 1 1rem;
  min-height: 5.2rem;
  border: 5px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.65rem;
}

.format-flow__item span {
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.format-flow__item p {
  margin: 0;
  font-size: 0.888rem;
  color: var(--text-muted);
}

.format-flow__arrow {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 700;
}

/* Location */
.location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.location__text {
  margin: 0.75rem 0 0;
  max-width: 55ch;
  color: var(--text-muted);
}

.location__badge {
  padding: 1.25rem 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.location__badge span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.location__badge strong {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
}

.location__address {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

.location__address strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.location__address span {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
}

.location__map-links {
  margin: 0.85rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.map-embed {
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 360px;
  border: 0;
}

.map-embed__subhead {
  margin: 2rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.map-embed__hint {
  margin: 0 0 1rem;
  max-width: 70ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.map-embed__hint code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.map-embed--panorama {
  margin-top: 0;
}

.panorama-player {
  width: 100%;
  height: 420px;
  min-height: 420px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1e242c;
}

.panorama-player canvas {
  display: block;
  max-width: 100%;
}

.panorama-player--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  border: 1px dashed var(--border);
  background: var(--surface);
}

.panorama-placeholder__text {
  margin: 0;
  max-width: 42rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.panorama-placeholder__text code {
  font-size: 0.88em;
  color: var(--accent);
}

.panorama-fallback {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.map-embed__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
}

.map-embed__link {
  font-weight: 600;
  color: var(--accent);
}

.map-embed__link:hover {
  color: var(--accent-hover);
}

.map-embed__sep {
  color: var(--text-muted);
  user-select: none;
}

.map-embed__link--yandex {
  color: #fc3f1e;
}

.map-embed__link--yandex:hover {
  color: #ff6b4a;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

.contact__info p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact__info strong {
  color: var(--text);
}

.hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form__field input,
.form__field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: rgba(61, 154, 110, 0.5);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form__hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 1.75rem 0 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
}

.footer__inner {
  display: grid;
  gap: 1rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1rem;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.footer__nav a:hover {
  color: var(--text);
}

.footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Узкие экраны и тач: читаемость и отсутствие горизонтального скролла */
@media (max-width: 520px) {
  .hero__lead {
    max-width: none;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero__visual {
    padding: 0.65rem;
  }

  .card-float {
    padding: 0.65rem 0.75rem;
  }

  .card-float__badge {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.35;
  }

  .card-float__text--full {
    display: none;
  }

  .card-float__text--mobile {
    display: block;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .format-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .format-flow__arrow {
    align-self: center;
    transform: rotate(90deg);
    line-height: 1;
    padding: 0.15rem 0;
  }

  .contact__actions {
    flex-direction: column;
  }

  .contact__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .map-embed iframe {
    min-height: 280px;
  }

  .section__subtitle {
    margin-bottom: 1.75rem;
  }
}
