:root {
  --bg: #070809;
  --surface: #101214;
  --surface-2: #15181b;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8f7f2;
  --muted: #a9adb3;
  --soft: #6e747c;
  --gold: #ffc21a;
  --gold-2: #ff9f0a;
  --green: #54d2a0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 194, 26, 0.13), transparent 24rem),
    linear-gradient(180deg, #040505 0%, var(--bg) 48%, #090a0b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 17rem;
  height: 17rem;
  border-radius: 50%;
  background: rgba(255, 194, 26, 0.11);
  filter: blur(55px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.25s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(12rem, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--gold);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.nav a {
  position: relative;
  color: #e6e6e6;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-cta,
.button,
.contact-link,
.card-number {
  min-height: 2.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1rem;
  color: #fff9e8;
  border-color: rgba(255, 194, 26, 0.65);
  font-weight: 800;
}

.header-cta:hover,
.button:hover,
.contact-link:hover,
.card-number:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 194, 26, 0.85);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.hero {
  position: relative;
  min-height: 740px;
  display: grid;
  align-items: center;
  padding: clamp(5rem, 10vw, 7.5rem) clamp(1rem, 5vw, 4.5rem) 3rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  transform: scale(1.03);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.98) 0%, rgba(3, 4, 5, 0.78) 32%, rgba(3, 4, 5, 0.2) 74%),
    linear-gradient(180deg, rgba(3, 4, 5, 0.2), rgba(3, 4, 5, 0.96));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 900;
}

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

h1 {
  max-width: 46rem;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--gold);
}

h2 {
  position: relative;
  margin-bottom: 1.5rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: 0;
}

h2::after,
.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 2.2rem;
  height: 2px;
  background: var(--gold);
}

.hero__lead {
  max-width: 36rem;
  margin-bottom: 1.6rem;
  color: #e9ecef;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero__actions,
.button {
  display: flex;
  align-items: center;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.button {
  justify-content: center;
  gap: 0.6rem;
  padding: 0 1.15rem;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.button--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #171100;
  box-shadow: 0 18px 34px rgba(255, 172, 10, 0.2);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #f6f6f6;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 11rem));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.benefits article {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.benefits svg,
.service-card svg,
.secure-note svg {
  color: var(--gold);
  width: 1.65rem;
  height: 1.65rem;
}

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

.benefits span,
.service-card p,
.panel p,
.review-card p,
.review-card time {
  color: var(--muted);
}

.section {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.2rem) 0;
}

.panel,
.service-card,
.review-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--surface);
  box-shadow: var(--shadow);
}

.panel::before,
.service-card::before,
.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 194, 26, 0.15), transparent 35%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.panel:hover::before,
.service-card:hover::before,
.review-card:hover::before {
  opacity: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: -2.8rem;
  position: relative;
  z-index: 2;
}

.panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.about-card__body,
.car-card__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.avatar {
  width: clamp(9rem, 17vw, 14rem);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 194, 26, 0.8);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.stats span {
  display: grid;
  min-width: 6.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.stats b {
  color: var(--gold);
  font-size: 1rem;
}

.car-card__body {
  grid-template-columns: minmax(11rem, 0.8fr) 1.2fr;
}

.car-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.car-card li {
  position: relative;
  padding-left: 1.5rem;
  color: #eceff3;
}

.car-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.car-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
}

.section-title {
  display: grid;
  place-items: center;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card,
.review-card {
  padding: 1.5rem;
}

.service-card {
  min-height: 12rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 194, 26, 0.55);
}

.service-card h3 {
  margin: 1.1rem 0 0.55rem;
  font-size: 1.05rem;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.86fr 0.86fr;
  gap: 1rem;
}

.ride-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ride-form label {
  display: grid;
  gap: 0.35rem;
  color: #d6d7d9;
  font-size: 0.88rem;
}

.ride-form input {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0 0.8rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ride-form input:focus {
  border-color: rgba(255, 194, 26, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 194, 26, 0.1);
}

.ride-form button {
  grid-column: 2;
  margin-top: 0.2rem;
}

.card-number {
  width: 100%;
  margin: 0.8rem 0 1rem;
  padding: 0.8rem;
  background: rgba(255, 194, 26, 0.08);
  color: var(--gold);
  cursor: pointer;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0;
}

.secure-note {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 194, 26, 0.18);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 194, 26, 0.04);
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.telegram-dot {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #2ea7e0;
  color: #fff;
  font-weight: 900;
}

.phone-big {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--gold);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 900;
  text-align: center;
}

.reviews {
  padding-bottom: 0;
}

.reviews__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviews__head p {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 900;
}

.reviews__head p strong {
  font-size: 2rem;
}

.reviews__head p span {
  margin-left: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.review-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.review-card {
  min-height: 12.4rem;
}

.review-card > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card > div span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #ffca38);
  color: #171100;
  font-weight: 900;
}

.stars {
  margin: 0.5rem 0;
  color: var(--gold) !important;
  letter-spacing: 0;
}

.footer {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.3rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer div {
  display: flex;
  gap: 0.55rem;
}

.footer a {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  z-index: 30;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: #f8f4e4;
  color: #171100;
  font-weight: 900;
  transform: translate(-50%, 140%);
  transition: transform 0.28s ease;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

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

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.review-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(760px, calc(100vh - 2rem));
  overflow-y: auto;
  padding: clamp(1.2rem, 5vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    #101214;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.review-modal.is-open .review-modal__dialog {
  transform: translateY(0) scale(1);
}

.review-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.review-modal__text {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.review-form {
  display: grid;
  gap: 0.85rem;
}

.review-form label {
  display: grid;
  gap: 0.35rem;
  color: #d6d7d9;
  font-size: 0.9rem;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0.85rem;
  outline: none;
}

.review-form select option {
  color: #101214;
}

.review-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: rgba(255, 194, 26, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 194, 26, 0.1);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1.03) translateX(0);
  }
  to {
    transform: scale(1.08) translateX(-1.4rem);
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .about-grid,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .review-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .nav {
    width: 100%;
    gap: clamp(0.75rem, 4vw, 1.35rem);
    justify-content: space-between;
    overflow-x: visible;
  }

  .nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: clamp(0.76rem, 3.65vw, 0.95rem);
    line-height: 1.1;
  }

  .hero {
    min-height: auto;
    padding: 5.8rem 1rem 2rem;
  }

  .hero__media img {
    object-position: 58% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(3, 4, 5, 0.98), rgba(3, 4, 5, 0.6)),
      linear-gradient(180deg, rgba(3, 4, 5, 0.08), rgba(3, 4, 5, 0.98));
  }

  .benefits,
  .service-grid,
  .review-track,
  .ride-form {
    grid-template-columns: 1fr;
  }

  .about-grid {
    margin-top: 0;
  }

  .about-card__body,
  .car-card__body {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: 11rem;
  }

  .ride-form button {
    grid-column: auto;
  }

  .reviews__head,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
