﻿:root {
  --ink: #10201e;
  --muted: #5f6f6a;
  --line: #d9e4df;
  --paper: #fbfdfa;
  --soft: #eef6f2;
  --brand: #0f766e;
  --brand-dark: #0b4f49;
  --accent: #e8a22a;
  --blue: #22577a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 32, 30, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

h1,
h2,
.brand,
.quick-card h2 {
  font-family: Unbounded, Manrope, system-ui, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(16, 32, 30, 0.86);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #261700;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  border-radius: 6px;
}

.nav-links .lucide,
.nav-links [data-lucide] {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 2.4;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-links a[href="#booking"] {
  color: #241600;
  background: var(--accent);
  font-weight: 800;
}

.nav-links a[href="#booking"]:hover {
  color: #241600;
  background: #f2b843;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.lang-switch a,
.lang-switch button {
  min-width: 42px;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
}

.lang-switch a.active,
.lang-switch button.active {
  color: var(--brand-dark);
  background: var(--white);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 22, 20, 0.82), rgba(6, 22, 20, 0.34) 54%, rgba(6, 22, 20, 0.64)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Sanny%20beach.%20Foto%20by%20Victor%20Belousov.%20-%20panoramio%20-%20Victor%20Belousov%20(4).jpg?width=1800") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--paper));
  z-index: -1;
}

.hero-inner {
  padding: 58px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 420px;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  max-width: 780px;
  margin: 20px 0 16px;
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn .lucide,
.btn [data-lucide],
.fast-contact .lucide,
.contact-box .lucide {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2.4;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #241600;
  box-shadow: 0 14px 26px rgba(232, 162, 42, 0.24);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.quick-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.quick-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
}

.quick-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.quick-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.quick-row strong {
  color: var(--ink);
  white-space: nowrap;
}

.quick-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.quick-form input,
.quick-form select {
  min-height: 44px;
  background: #f8fbf9;
}

.quick-submit {
  width: 100%;
  min-height: 50px;
  background: var(--accent);
  color: #241600;
}

.fast-contact {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.fast-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

section {
  padding: 74px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(34, 87, 122, 0.86)),
    var(--soft);
  box-shadow: 0 12px 34px rgba(16, 32, 30, 0.1);
}

.route-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.route-card:hover img {
  transform: scale(1.05);
}

.route-card.image-missing img {
  display: none;
}

.route-card .overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 18px 18px;
  background: linear-gradient(transparent, rgba(4, 17, 16, 0.85));
  color: var(--white);
}

.route-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.route-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.info-band {
  background: #e9f2ed;
  border-block: 1px solid var(--line);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.benefit-icon .lucide,
.benefit-icon [data-lucide] {
  width: 21px;
  height: 21px;
  stroke-width: 2.6;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 24px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(16, 32, 30, 0.08);
  overflow: hidden;
}

.panel-pad {
  padding: 22px;
}

.notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 7px;
  color: #47300d;
  background: #fff5da;
  border: 1px solid #f2d58d;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--brand-dark);
  background: #f5faf7;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody tr:hover {
  background: #fbf6eb;
}

.side-list {
  display: grid;
  gap: 12px;
}

.side-list div {
  padding: 15px;
  border-radius: 7px;
  background: var(--soft);
}

.side-list strong {
  display: block;
  margin-bottom: 4px;
}

.transport {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.transport-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.transport-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.transport-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.transport-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 10px 26px rgba(16, 32, 30, 0.1);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.booking {
  background:
    linear-gradient(rgba(15, 118, 110, 0.92), rgba(15, 118, 110, 0.92)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--white);
}

.booking-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  align-items: start;
}

.booking h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
}

.booking p {
  color: rgba(255, 255, 255, 0.82);
}

form {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #2a3d38;
  font-weight: 750;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cddbd6;
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.13);
}

.form-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #e6b34b;
  border-radius: 7px;
  color: #2b1b04;
  background: #fff1bd;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.form-submit {
  width: 100%;
  margin-top: 16px;
  color: var(--white);
  background: var(--brand);
}

.contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand);
}

.contact-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-box a {
  color: var(--brand-dark);
  font-weight: 800;
}

footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 17, 15, 0.66);
}

.modal.open {
  display: flex;
}

.modal-box {
  width: min(520px, 100%);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-box h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.modal-box p {
  margin: 0 0 18px;
  color: var(--muted);
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 12, 11, 0.88);
}

.photo-modal.open {
  display: flex;
}

.photo-modal img {
  max-width: min(1120px, 96vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.photo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.photo-close .lucide,
.photo-close [data-lucide] {
  width: 22px;
  height: 22px;
}

.mobile-call {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(16, 32, 30, 0.25);
}

.mobile-order {
  left: 16px;
  right: auto;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .schedule-layout,
  .transport,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    max-width: 520px;
  }

  .routes,
  .benefits,
  .contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand span:last-child {
    max-width: 176px;
    white-space: normal;
    line-height: 1.1;
  }

  .hero-inner {
    padding: 38px 0 44px;
  }

  .actions,
  .actions .btn {
    width: 100%;
  }

  section {
    padding: 52px 0;
  }

  .routes,
  .benefits,
  .contacts,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .route-card,
  .route-card img {
    min-height: 220px;
  }

  .mobile-call {
    display: inline-flex;
  }

  .table-wrap {
    overflow-x: visible;
  }

  table {
    min-width: 0;
    table-layout: fixed;
  }

  th,
  td {
    padding: 11px 6px;
    font-size: 13px;
    white-space: normal;
  }

  th:nth-child(1),
  td:nth-child(1) {
    width: 40%;
  }

  th:nth-child(2),
  td:nth-child(2) {
    width: 19%;
    white-space: nowrap;
  }

  th:nth-child(3),
  td:nth-child(3),
  th:nth-child(4),
  td:nth-child(4) {
    width: 20.5%;
    white-space: nowrap;
    text-align: right;
  }

  th {
    font-size: 11px;
  }
}
