:root {
  --dark: #111827;
  --blue: #2563EB;
  --light: #F8FAFC;
  --gray: #F3F4F6;
  --text: #1F2937;
  --white: #FFFFFF;
  --muted: #6B7280;
  --line: rgba(17, 24, 39, 0.1);
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 100;
  transition: 0.25s ease;
}
.site-header.scrolled { inset: 0 0 auto; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(18px); box-shadow: 0 12px 36px rgba(17, 24, 39, 0.08); }
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
}
.site-header.scrolled .header-inner { box-shadow: none; background: transparent; border-color: transparent; }
.logo { display: flex; align-items: baseline; gap: 6px; font-weight: 800; letter-spacing: 0; color: var(--dark); }
.logo span { font-size: 18px; }
.logo strong { font-size: 18px; color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.main-nav a { color: #374151; transition: 0.2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.header-cta { padding: 12px 18px; color: var(--white); background: var(--dark); border-radius: 8px; font-weight: 800; font-size: 14px; white-space: nowrap; transition: 0.2s ease; }
.header-cta:hover { transform: translateY(-1px); background: #0B1220; box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--dark); padding: 12px; }
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: 0.2s ease; }

.hero { min-height: 760px; position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--dark); }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,24,39,0.9), rgba(17,24,39,0.5), rgba(17,24,39,0.18)), url("../images/bg-home-test.png") center/cover; transform: scale(1.02); }
.hero-content { position: relative; padding-top: 72px; max-width: 780px; }
.eyebrow { display: inline-flex; margin-bottom: 18px; color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.hero .eyebrow { color: #93C5FD; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 82px); line-height: 0.98; letter-spacing: 0; margin-bottom: 24px; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; letter-spacing: 0; color: var(--dark); }
h3 { color: var(--dark); line-height: 1.22; }
.hero p, .page-hero p { max-width: 650px; font-size: 20px; color: rgba(255, 255, 255, 0.82); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 8px; font-weight: 800; cursor: pointer; transition: 0.2s ease; }
.btn-primary { color: var(--white); background: var(--blue); box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28); }
.btn-light { color: var(--dark); background: var(--white); }
.btn-small { min-height: 44px; padding: 0 18px; color: var(--white); background: var(--dark); font-size: 14px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16); }

.section { padding: 96px 0; }
.section-muted { background: var(--gray); }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { margin-bottom: 0; }
.features-grid, .fleet-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.features-grid { grid-template-columns: repeat(6, 1fr); }
.feature-card { grid-column: span 2; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 38px rgba(17, 24, 39, 0.06); transition: 0.2s ease; }
.feature-card span { color: var(--blue); font-weight: 800; }
.feature-card:hover, .car-card:hover, .service-card:hover, .info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card p, .car-card p, .service-card p, .info-card p, .content-panel p { color: var(--muted); }
.service-card, .car-card, .info-card, .contact-card, .request-form, .content-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.06);
  transition: 0.2s ease;
}
.service-card picture, .car-card picture, .fleet-item picture { display: block; overflow: hidden; }
.service-card img, .car-card img { width: 100%; height: 230px; object-fit: cover; }
.car-card img.car-image-chery,
.fleet-item img.car-image-chery {
  object-position: center 37%;
}
.service-card div, .car-card div, .info-card, .contact-card, .content-panel { padding: 28px; }
.info-card { min-width: 0; }
.info-card h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.car-card .btn { margin-top: 12px; }
.service-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fleet-grid.compact .car-card img { height: 200px; }
.rent-cars-grid {
  max-width: 860px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rent-cars-grid .car-card img { height: 240px; }
.rent-cars-grid .car-card div { padding: 32px; }

.about-section { background: var(--light); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}
.about-card,
.about-list {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.about-card { padding: 44px; }
.about-card h2 { margin-bottom: 22px; }
.about-card p { color: var(--muted); font-size: 18px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.about-stats div {
  padding: 18px;
  border-radius: 8px;
  background: var(--gray);
}
.about-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}
.about-stats span { color: var(--muted); font-size: 14px; }
.about-list { padding: 44px; }
.about-list h3 { margin-bottom: 24px; font-size: 26px; }
.about-list ul { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
.about-list li {
  position: relative;
  padding-left: 38px;
  color: var(--text);
  font-size: 17px;
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.trust-section { padding-top: 0; }
.trust-box { padding: 54px; color: var(--white); background: linear-gradient(135deg, rgba(17,24,39,0.96), rgba(37,99,235,0.82)), url("../images/route.svg") center/cover; border-radius: 8px; box-shadow: var(--shadow); }
.trust-box h2, .trust-box p { color: var(--white); max-width: 820px; }
.trust-box p { margin-bottom: 0; font-size: 19px; color: rgba(255,255,255,0.86); }
.faq-section { background: var(--light); }
.faq-list { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 18px 58px 18px 22px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 16px;
}
.cta-section { padding: 82px 0; background: #000; color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner h2 { color: var(--white); margin-bottom: 0; }
.site-footer { padding: 68px 0 24px; background: #111827; color: rgba(255,255,255,0.78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr 1.25fr;
  gap: 54px;
}
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  color: var(--white);
  font-weight: 800;
}
.footer-logo span, .footer-logo strong { font-size: 22px; }
.footer-logo strong { color: #60A5FA; }
.footer-brand p { max-width: 280px; margin-bottom: 20px; color: rgba(255,255,255,0.78); }
.footer-company { font-weight: 800; color: var(--white) !important; }
.footer-col { display: grid; align-content: start; gap: 14px; }
.footer-col h3 { margin-bottom: 16px; color: var(--white); font-size: 18px; }
.footer-col a { color: rgba(255,255,255,0.8); transition: 0.2s ease; }
.footer-col a:hover { color: var(--white); transform: translateX(3px); }
.footer-contacts a, .footer-contacts p { display: grid; grid-template-columns: 30px 1fr; gap: 10px; margin: 0; color: rgba(255,255,255,0.86); }
.footer-contacts span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(37, 99, 235, 0.95);
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.62);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--white); font-weight: 800; }

.page-hero { min-height: 520px; display: flex; align-items: center; color: var(--white); background: linear-gradient(90deg, rgba(17,24,39,0.88), rgba(17,24,39,0.42)), url("../images/business.svg") center/cover; }
.rent-hero { background-image: linear-gradient(90deg, rgba(17,24,39,0.88), rgba(17,24,39,0.42)), url("../images/bg-rent-test.png"); }
.page-hero-transfer { background-image: linear-gradient(90deg, rgba(17,24,39,0.88), rgba(17,24,39,0.42)), url("../images/bg-transfer-test.png"); }
.fleet-hero { background-image: linear-gradient(90deg, rgba(17,24,39,0.88), rgba(17,24,39,0.42)), url("../images/bg-fleet-test.png"); }
.contacts-hero { background-image: linear-gradient(90deg, rgba(17,24,39,0.9), rgba(17,24,39,0.45)), url("../images/bg-contacts-test.png"); }
.page-hero-inner { padding-top: 90px; }

@supports (background-image: image-set(url("../images/bg-home-test.webp") type("image/webp"))) {
  .hero-media { background-image: linear-gradient(90deg, rgba(17,24,39,0.9), rgba(17,24,39,0.5), rgba(17,24,39,0.18)), image-set(url("../images/bg-home-test.webp") type("image/webp"), url("../images/bg-home-test.png") type("image/png")); }
  .rent-hero { background-image: linear-gradient(90deg, rgba(17,24,39,0.88), rgba(17,24,39,0.42)), image-set(url("../images/bg-rent-test.webp") type("image/webp"), url("../images/bg-rent-test.png") type("image/png")); }
  .page-hero-transfer { background-image: linear-gradient(90deg, rgba(17,24,39,0.88), rgba(17,24,39,0.42)), image-set(url("../images/bg-transfer-test.webp") type("image/webp"), url("../images/bg-transfer-test.png") type("image/png")); }
  .fleet-hero { background-image: linear-gradient(90deg, rgba(17,24,39,0.88), rgba(17,24,39,0.42)), image-set(url("../images/bg-fleet-test.webp") type("image/webp"), url("../images/bg-fleet-test.png") type("image/png")); }
  .contacts-hero { background-image: linear-gradient(90deg, rgba(17,24,39,0.9), rgba(17,24,39,0.45)), image-set(url("../images/bg-contacts-test.webp") type("image/webp"), url("../images/bg-contacts-test.png") type("image/png")); }
}

.split-layout, .two-columns, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.rounded-picture { display: block; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.rounded-image { width: 100%; height: 480px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.rounded-picture .rounded-image { box-shadow: none; }
.check-list { padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 16px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 999px; background: var(--blue); }
.request-form { padding: 30px; display: grid; gap: 14px; }
.request-form input, .request-form select, .request-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  color: var(--text);
  background: var(--light);
  outline: none;
}
.request-form textarea { min-height: 120px; padding-top: 14px; resize: vertical; }
.request-form input.error, .request-form select.error, .form-consent input.error { border-color: #DC2626; background: #FEF2F2; }
.form-hidden { position: absolute; left: -9999px; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
.form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.form-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}
.request-form button:disabled { cursor: wait; opacity: 0.75; transform: none; }
.fleet-list { display: grid; gap: 28px; }
.fleet-item { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: 24px; background: var(--white); border-radius: 8px; box-shadow: var(--shadow); }
.fleet-item picture { border-radius: 8px; }
.fleet-item img { width: 100%; height: 360px; object-fit: cover; border-radius: 8px; }
.contact-card a { color: var(--blue); font-weight: 800; }
.contact-card h3 { margin-top: 26px; }
.map-section { background: var(--gray); padding: 0 0 80px; }
.map-frame {
  height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 24px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(17,24,39,0.64); opacity: 0; pointer-events: none; transition: 0.2s ease; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; width: min(440px, 100%); padding: 36px; background: var(--white); border-radius: 8px; box-shadow: var(--shadow); }
.modal-box button { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.modal-box p { margin-bottom: 0; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(22px); transition: 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .container { width: min(100% - 28px, 720px); }
  .header-cta { display: none; }
  .burger { display: block; }
  .main-nav {
    position: fixed;
    top: 94px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 16px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 14px; border-radius: 8px; }
  .main-nav a:hover { background: var(--gray); }
  .hero { min-height: 680px; }
  .features-grid, .fleet-grid, .service-grid, .split-layout, .two-columns, .contact-grid, .fleet-item { grid-template-columns: 1fr; }
  .service-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rent-cars-grid { max-width: 620px; }
  .feature-card { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .fleet-item img, .rounded-image { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
}

@media (max-width: 620px) {
  .site-header { inset: 10px 0 auto; }
  .header-inner { min-height: 62px; padding: 0 12px; }
  .logo span, .logo strong { font-size: 16px; }
  .hero { min-height: 720px; }
  .hero p, .page-hero p { font-size: 17px; }
  .section { padding: 68px 0; }
  .service-card img, .car-card img { height: 210px; }
  .trust-box { padding: 30px 24px; }
  .about-card, .about-list { padding: 28px 22px; }
  .about-card p, .about-list li { font-size: 16px; }
  .about-stats { grid-template-columns: 1fr; }
  .site-footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-logo { margin-bottom: 18px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 38px; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; }
  .page-hero { min-height: 470px; }
  .rounded-image, .fleet-item img { height: 240px; }
  .service-grid.four { grid-template-columns: 1fr; }
  .rent-cars-grid { grid-template-columns: 1fr; }
  .info-card h2 { font-size: 28px; overflow-wrap: normal; }
}
