:root {
  --bg: #f4f7fb;
  --bg-soft: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
}

/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 24px;
  filter: drop-shadow(0 0 12px rgba(37,99,235,0.18));
}

.logo-text {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* NAV */

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #0f172a;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 7px 14px;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 8px;
}

/* CONTACT */

.header-contact {
  text-align: right;
}

.header-contact span {
  font-size: 12px;
  color: var(--muted);
}

.header-contact a {
  color: #0f172a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

/* ================= HERO ================= */

.hero {
  padding: 150px 0 130px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,0.12), transparent 35%),
    linear-gradient(to bottom, #ffffff, #f4f7fb);
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%);
  top: -180px;
  left: -180px;
  filter: blur(30px);
}

.hero-geo {
  font-size: 16px;
  color: #2563eb;
  margin-bottom: 18px;
  font-weight: 500;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 620px;
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  box-shadow: 0 12px 30px rgba(37,99,235,0.18);
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.trust-line {
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

/* ================= STATS ================= */

.stats {
  display: flex;
  gap: 90px;
  margin-top: 60px;
}

.stat .num {
  font-size: 42px;
  font-weight: 600;
}

.stat .label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

/* ================= SECTIONS ================= */

.section {
  padding: 130px 0;
}

h2 {
  font-size: 42px;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

/* ================= CLIENTS ================= */

.clients-box {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 22px;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.05);
}

.panel-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.panel-line {
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  margin: 16px 0 40px;
}

.clients-grid {
  display: flex;
  justify-content: space-between;
}

.client-num {
  font-size: 46px;
  font-weight: 600;
}

.client-text {
  margin-top: 6px;
  color: var(--muted);
}

/* ================= CARDS ================= */

.cards {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 20px;
  padding: 34px;
  transition: 0.35s;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.card-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--muted);
  font-size: 15px;
}

/* ================= DEALER ================= */

.dealer-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 70px;
  padding: 50px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 20px 60px rgba(15,23,42,0.05);
}

.dealer-text {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
}

.dealer-right {
  display: flex;
  gap: 60px;
}

.dealer-num {
  font-size: 44px;
  font-weight: 600;
}

.dealer-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ================= CONTACT ================= */

.contact-wrap {
  display: flex;
  gap: 60px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.08);
  background: #ffffff;
  color: #0f172a;
}

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

.contact-form button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

/* ================= FOOTER ================= */

.footer {
  background: #eef2f7;
  padding: 90px 0 40px;
  border-top: 1px solid rgba(15,23,42,0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

.footer p {
  color: var(--muted);
}

/* ================= CALL BUTTON ================= */

.call-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 50px;
  box-shadow: 0 12px 30px rgba(37,99,235,0.2);
}

/* ================= ANIMATION ================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  nav {
    display: none;
  }

  .hero {
    padding: 90px 0 70px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .stats,
  .clients-grid,
  .dealer-right,
  .contact-wrap,
  .footer-inner,
  .dealer-box {
    flex-direction: column;
    gap: 24px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .clients-box,
  .dealer-box {
    padding: 30px;
  }
}

/* HEADER RIGHT */

.header-right {
  display: flex;
  align-items: center;
  gap: 34px;
}

/* NAV */

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: 0.3s;
}

/* BUTTON */

.nav-btn {
  padding: 0 22px;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 14px;
  height: 42px;
}

/* CONTACT */

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.header-contact span {
  font-size: 14px;
  color: var(--muted);
}

.header-contact a {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

/* ================= WATERMARK ================= */
.hero-watermark {
  position: absolute;
  right: -100px; /* сдвиг вправо за пределы контейнера */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.05; /* прозрачность */
}

.hero-watermark img {
  width: 600px; /* размер логотипа */
  filter:
    blur(2px) /* размытие */
    drop-shadow(0 0 100px rgba(37,99,235,0.25)); /* мягкое свечение */
}

/* HERO CONTENT ABOVE */
.hero .container {
  position: relative;
  z-index: 2;
}

.hero-watermark:first-child {
  z-index: 0; /* фон куба */
  opacity: 0.05;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-watermark:last-child {
  z-index: 1; /* основной логотип */
  opacity: 0.1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
}

.hero .container {
  position: relative;
  z-index: 2;
}
