html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f7fb;
  color: #172033;
  font-family: Tahoma, Arial, sans-serif;
}

.modern-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #f3f8fb;
}

.modern-hero__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.93) 34%, rgba(255,255,255,0.28) 64%, rgba(255,255,255,0) 100%),
    url("https://xn--q3cba5aad2hkc0ud.com/image/hero-moving-modern.webp");
  background-size: cover;
  background-position: center right;
}

.modern-hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 590px;
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.modern-hero__content {
  max-width: 620px;
  padding: 52px 0 58px;
}

.modern-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8f7f0;
  color: #0b7a53;
  font-size: 16px;
  font-weight: 700;
}

.modern-hero h1 {
  margin: 0;
  color: #0f1f3d;
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.12;
  font-weight: 800;
}

.modern-lead {
  margin: 22px 0 0;
  color: #3d4a5d;
  font-size: 20px;
  line-height: 1.6;
}

.modern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15,31,61,0.14);
}

.modern-btn--primary {
  background: #f97316;
  color: #ffffff;
}

.modern-btn--line {
  background: #06c755;
  color: #ffffff;
}

.modern-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.modern-proof {
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 18px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.modern-proof__item {
  min-height: 94px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e1e8f0;
  box-shadow: 0 10px 24px rgba(15,31,61,0.10);
}

.modern-proof__item strong {
  display: block;
  margin-bottom: 6px;
  color: #0f1f3d;
  font-size: 19px;
}

.modern-proof__item span {
  display: block;
  color: #4d5a6d;
  font-size: 15px;
  line-height: 1.55;
}

.modern-trust span,
.modern-service-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d9e3ef;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  color: #20304a;
  font-size: 15px;
  font-weight: 700;
}

.modern-service-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 8px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15,31,61,0.08);
}

.modern-service-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.modern-service-strip strong {
  margin-right: 6px;
  color: #0f1f3d;
  font-size: 19px;
}

.topnav {
  background: #0f1f3d !important;
  box-shadow: 0 6px 18px rgba(15,31,61,0.16);
  position: sticky;
  top: 0;
  z-index: 2000;
  overflow: visible !important;
}

.topnav a,
.dropdown .dropbtn {
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 18px !important;
}

.topnav a:hover,
.dropdown:hover .dropbtn,
.dropdown.open .dropbtn,
.dropdown:focus-within .dropbtn {
  background: #17345f !important;
}

.dropdown-content {
  max-height: 70vh;
  overflow-y: auto;
  border-radius: 0 0 8px 8px;
  z-index: 9999 !important;
}

.keymain1 span,
.titleContent1 span,
.typeCar {
  background: #e8f7f0 !important;
  color: #0f1f3d;
  border-radius: 8px;
}

.content1 {
  display: block !important;
  max-width: 1120px;
  margin: 0 auto !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  color: #243148;
}

.keymain1,
.titleContent1 {
  font-size: 24px !important;
  line-height: 1.35 !important;
}

.typeCar {
  font-size: 18px !important;
  line-height: 1.35 !important;
}

.modern-contact-panel {
  width: min(1120px, calc(100% - 32px));
  margin: 26px auto 12px;
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: #0f1f3d;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15,31,61,0.14);
}

.modern-contact-panel p,
.modern-contact-panel strong,
.modern-contact-panel span {
  display: block;
  margin: 0;
}

.modern-contact-panel p {
  color: #c6d5e8;
  font-size: 15px;
}

.modern-contact-panel strong {
  margin-top: 4px;
  font-size: 30px;
  line-height: 1.15;
}

.modern-contact-panel span {
  margin-top: 4px;
  color: #dbeafe;
  font-size: 16px;
}

.modern-contact-panel__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.modern-contact-panel__actions a {
  min-width: 132px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.modern-contact-panel__actions a:first-child {
  background: #f97316;
}

.modern-contact-panel__actions a:last-child {
  background: #06c755;
}

.contentContact a {
  color: #0b7a53;
  font-weight: 800;
}

.contentContact {
  font-size: 17px !important;
  line-height: 1.45 !important;
}

.imgsCar,
.imgSocialMedia,
.imgReview,
.imgPortfolio {
  border-radius: 8px;
}

.imgsCar {
  max-width: min(760px, 94%) !important;
  height: auto !important;
  box-shadow: 0 8px 20px rgba(15,31,61,0.10);
}

.imgSocialMedia {
  max-width: 340px !important;
}

.modern-sticky-contact {
  display: none;
}

.modern-footer {
  margin-top: 34px;
  padding: 38px 0 34px;
  background: #0f1f3d !important;
  color: #dbeafe;
}

.modern-footer .divRowFooter {
  width: min(1120px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr) !important;
  gap: 28px !important;
  align-items: start !important;
  background: transparent !important;
}

.modern-footer .f1,
.modern-footer .f2,
.modern-footer .f2 > div,
.modern-footer .f2 > div > div {
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.modern-footer__title {
  margin: 0 0 12px !important;
  color: #ffffff !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  text-align: left !important;
  text-decoration: none !important;
}

.modern-footer__title a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.modern-footer__desc,
.modern-footer__note {
  margin: 0 0 14px !important;
  color: #b8c7dc !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.modern-footer .linkF {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  color: #b8c7dc !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.modern-footer .f1 .linkF a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(219,234,254,0.18) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.07) !important;
  color: #eaf2ff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.modern-footer .f1 .linkF a:hover {
  background: rgba(255,255,255,0.13) !important;
}

.modern-footer .f2 .linkF {
  display: grid !important;
  gap: 10px !important;
}

.modern-footer__contact,
.modern-footer__link {
  display: grid !important;
  gap: 2px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(219,234,254,0.18) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.07) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.modern-footer__contact span {
  color: #93c5fd !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.modern-footer__contact strong {
  color: #ffffff !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
}

.modern-footer__contact em {
  color: #b8c7dc !important;
  font-size: 13px !important;
  font-style: normal !important;
}

.modern-footer__link {
  display: block !important;
  color: #dbeafe !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.modern-footer .imgF {
  display: none !important;
}

@media (max-width: 800px) {
  body {
    padding-bottom: 68px;
  }

  .modern-hero {
    min-height: auto;
  }

  .modern-hero__media {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.94) 48%, rgba(255,255,255,0.68) 100%),
      url("https://xn--q3cba5aad2hkc0ud.com/image/hero-moving-modern.webp");
    background-position: center right;
  }

  .modern-hero__overlay {
    min-height: 540px;
    width: min(100% - 28px, 680px);
    align-items: flex-start;
  }

  .modern-hero__content {
    padding: 28px 0 160px;
  }

  .modern-eyebrow {
    font-size: 14px;
  }

  .modern-hero h1 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.15;
  }

  .modern-lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .modern-actions {
    flex-direction: column;
  }

  .modern-btn {
    width: 100%;
    min-height: 50px;
    padding: 0 12px;
    font-size: 16px;
  }

  .modern-trust span,
  .modern-service-strip span {
    font-size: 13px;
  }

  .modern-proof {
    width: calc(100% - 24px);
    margin: -28px auto 12px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .modern-proof__item {
    min-height: 0;
    padding: 14px 15px;
  }

  .modern-proof__item strong {
    font-size: 16px;
  }

  .modern-proof__item span {
    font-size: 14px;
  }

  .modern-service-strip {
    width: calc(100% - 24px);
    padding: 14px 10px;
  }

  .modern-service-strip strong {
    width: 100%;
    text-align: center;
    font-size: 16px;
  }

  .topnav a,
  .dropdown .dropbtn {
    font-size: 16px !important;
  }

  .keymain1,
  .titleContent1 {
    font-size: 20px !important;
  }

  .typeCar {
    font-size: 16px !important;
  }

  .content1 {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }

  .modern-contact-panel {
    width: calc(100% - 24px);
    margin: 18px auto 10px;
    padding: 16px 14px;
    display: block;
    text-align: center;
  }

  .modern-contact-panel strong {
    font-size: 25px;
  }

  .modern-contact-panel p,
  .modern-contact-panel span {
    font-size: 14px;
  }

  .modern-contact-panel__actions {
    margin-top: 12px;
    justify-content: center;
  }

  .modern-contact-panel__actions a {
    flex: 1 1 130px;
    min-width: 0;
  }

  .modern-sticky-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 -8px 22px rgba(15,31,61,0.16);
  }

  .modern-sticky-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
  }

  .modern-sticky-contact a:first-child {
    background: #f97316;
  }

  .modern-sticky-contact a:last-child {
    background: #06c755;
  }

  .modern-footer {
    padding: 28px 0 88px;
  }

  .modern-footer .divRowFooter {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .modern-footer__title {
    font-size: 20px !important;
  }

  .modern-footer__desc,
  .modern-footer__note {
    font-size: 14px !important;
  }

  .modern-footer .f1 .linkF a {
    font-size: 13px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
  }

  .modern-footer__contact strong {
    font-size: 20px !important;
  }
}
