* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #f3f7ff;
  background: #060b1a;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 95vh;
  background:
    linear-gradient(180deg, rgba(6, 11, 26, 0.4), rgba(6, 11, 26, 0.86)),
    url("https://upload.wikimedia.org/wikipedia/commons/e/e5/Moscow%2C_Gazelle_Next_box_truck%2C_Aug_2025_01.jpg")
      center / cover no-repeat;
  padding: 24px;
  padding-bottom: 120px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #00d1a8;
  color: #032417 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(0, 209, 168, 0.35);
  white-space: nowrap;
}

.nav-call-btn:hover {
  filter: brightness(1.06);
}

.hero-phone {
  margin-top: 0.25rem;
}

.hero-phone a,
.contact-line a {
  color: #7fffd4;
  text-decoration: none;
  font-weight: 700;
}

.hero-phone a:hover,
.contact-line a:hover {
  text-decoration: underline;
}

.contact-line {
  margin: 0 0 1rem 0;
  color: #dbebff;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: #2c73ff;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(44, 115, 255, 0.45);
  min-width: 160px;
  min-height: 48px;
}

.contact-btn:hover {
  filter: brightness(1.08);
}

.contact-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.fab-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  gap: 10px;
}

.phone-fab,
.max-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.phone-fab:hover {
  filter: brightness(1.05);
}

.phone-fab {
  background: #00d1a8;
  color: #032417;
}

.max-fab {
  background: #7b61ff;
  color: #ffffff;
}

.max-fab:hover {
  filter: brightness(1.05);
}

.phone-fab-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.max-fab-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 22px;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin-top: 110px;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-overlay {
    margin-top: 48px;
  }

  .phone-fab-text {
    display: inline;
  }
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 16px;
}

.hero p {
  font-size: 19px;
  line-height: 1.5;
  color: #dbebff;
}

.primary-btn,
.secondary-btn {
  border: none;
  border-radius: 14px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
}

.primary-btn {
  background: #00d1a8;
  color: #032417;
}

#request .contact-btn {
  min-width: 220px;
}

.secondary-btn {
  background: #2c73ff;
  color: white;
}

main {
  position: relative;
  z-index: 1;
  width: min(1080px, 95vw);
  margin: -48px auto 40px auto;
  display: grid;
  gap: 18px;
}

.card {
  background: linear-gradient(160deg, #101f3f, #0b1630);
  border: 1px solid #1d356e;
  border-radius: 20px;
  padding: 24px;
}

.card h2 {
  margin-top: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid #2c4584;
  background: #08122b;
  color: #f5f8ff;
  padding: 12px;
  font-size: 16px;
}

.result {
  margin-top: 12px;
  font-weight: 700;
}

.reviews-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.review-item {
  background: #08163a;
  border-radius: 12px;
  border: 1px solid #17306a;
  padding: 12px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.fleet-grid article {
  border: 1px solid #1f3a76;
  background: #08163a;
  border-radius: 12px;
  padding: 12px;
}

.fleet-grid h3 {
  margin: 0 0 8px 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 14px;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 12, 0.72);
  backdrop-filter: blur(2px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: calc(100vh - 28px);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid #2d4e93;
  border-radius: 10px;
  background: #09122b;
  color: #f5f8ff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
