:root {
  color-scheme: light;
  --blue: #0757b8;
  --blue-strong: #003f91;
  --yellow: #ffd51f;
  --ink: #172033;
  --muted: #65718a;
  --line: #dfe6f1;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --green: #12805c;
  --shadow: 0 18px 45px rgba(18, 39, 74, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 230, 241, 0.9);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand img {
  width: 190px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a,
.header-phone {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
}

.main-nav a:hover,
.header-phone:hover {
  background: var(--soft);
}

.header-phone {
  color: var(--blue-strong);
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  place-items: center;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  display: block;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(244, 247, 251, 0.96), rgba(255, 255, 255, 0.72));
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 48%, rgba(255, 255, 255, 0.32) 100%),
    linear-gradient(180deg, rgba(255, 213, 31, 0.16), rgba(7, 87, 184, 0.14));
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 44px;
  align-items: center;
}

.hero__copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.3vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 680px;
  color: #33415f;
  font-size: 18px;
}

.hero__actions,
.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(18, 39, 74, 0.14);
}

.btn--primary {
  background: var(--yellow);
  color: #111827;
  border-color: #edc000;
}

.btn--quiet {
  border-color: rgba(7, 87, 184, 0.2);
  color: var(--blue-strong);
}

.btn--small {
  min-height: 38px;
  padding: 9px 13px;
}

.hero-stats {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(223, 230, 241, 0.9);
  border-radius: var(--radius);
}

.hero-stats dt {
  color: var(--blue-strong);
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.booking-panel,
.request-form,
.contact-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(223, 230, 241, 0.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.booking-panel {
  padding: 22px;
}

.booking-panel__head h2 {
  margin-bottom: 10px;
  font-size: 30px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  color: #2f3c54;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd7e6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 213, 31, 0.75);
  outline-offset: 2px;
}

.booking-panel__submit {
  width: 100%;
  margin-top: 16px;
}

.booking-panel__note {
  min-height: 44px;
  margin: 14px 0 0;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--soft);
  color: #45516a;
  font-size: 14px;
}

.quick-strip {
  background: var(--blue);
  color: #fff;
}

.quick-strip__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 0;
}

.quick-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section__head p:not(.eyebrow),
.feature-band__content > p,
.charter-section .section__head--split > p {
  color: var(--muted);
  font-size: 17px;
}

.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
}

.route-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 9px 13px;
  font-weight: 800;
}

.chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.routes-grid {
  display: grid;
  gap: 14px;
}

.route-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 39, 74, 0.06);
}

.route-card.is-highlighted {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 213, 31, 0.26), 0 14px 34px rgba(18, 39, 74, 0.12);
}

.route-card__tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: #eaf2ff;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 900;
}

.route-card__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
}

.route-card__dash {
  width: 28px;
  height: 3px;
  background: var(--yellow);
}

.route-card__stops {
  margin: 10px 0 0;
  color: var(--muted);
}

.route-card__times {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.time-block span,
.price-block span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.time-block strong,
.price-block strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
}

.duration-pill {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--soft);
  color: #45516a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.route-card__side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.route-card__action {
  min-height: 44px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
}

.feature-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 72px max(16px, calc((100vw - 1180px) / 2));
  background: #f9fbff;
  border-block: 1px solid var(--line);
}

.feature-band__image img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.benefit-grid span {
  color: var(--yellow);
  font-weight: 900;
}

.benefit-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.request-form textarea {
  min-height: 120px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-footer p {
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-footer a {
  color: var(--blue-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
}

.contact-card {
  padding: 28px;
}

.contact-card address {
  color: var(--muted);
  font-style: normal;
}

.contact-links,
.doc-links,
.site-footer__links {
  display: grid;
  gap: 8px;
}

.contact-links {
  margin: 22px 0;
}

.contact-links a {
  width: fit-content;
  color: var(--blue-strong);
  font-size: 20px;
  font-weight: 900;
}

.doc-links a,
.site-footer__links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form h2 {
  font-size: 34px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 160px;
  height: auto;
  margin-bottom: 12px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer__copy {
  text-align: right;
}

.cookie-banner,
.toast {
  position: fixed;
  z-index: 100;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner {
  right: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  display: none;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #111827;
  color: #fff;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
}

.toast {
  left: 50%;
  bottom: 20px;
  width: min(520px, calc(100vw - 32px));
  padding: 14px 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-align: center;
  transform: translate(-50%, 120%);
  transition: transform 0.2s ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .main-nav,
  .header-phone {
    display: none;
  }

  .main-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    padding-bottom: 14px;
  }

  .main-nav.is-open a {
    background: var(--soft);
  }

  .hero__inner,
  .feature-band,
  .contacts-section,
  .section__head--split,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding-top: 42px;
  }

  .feature-band {
    padding-inline: 16px;
  }

  .field-grid--wide,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-card {
    grid-template-columns: 1fr;
  }

  .route-card__side {
    justify-items: start;
  }

  .site-footer__copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .hero__inner,
  .section,
  .quick-strip__inner,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 152px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-stats,
  .field-grid,
  .field-grid--wide,
  .benefit-grid,
  .route-card__times {
    grid-template-columns: 1fr;
  }

  .booking-panel,
  .request-form,
  .contact-card {
    padding: 18px;
  }

  .hero__actions,
  .form-footer {
    align-items: stretch;
  }

  .hero__actions .btn,
  .form-footer .btn {
    width: 100%;
  }

  .route-card {
    padding: 16px;
  }

  .route-card__cities {
    font-size: 23px;
  }

  .duration-pill {
    width: fit-content;
  }

  .quick-strip__inner {
    display: grid;
  }

  .cookie-banner {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 12px;
  }

  .cookie-banner .btn {
    min-height: 42px;
    white-space: nowrap;
  }
}
