@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --red: #c22629;
}
* {
  font-family: "Montserrat", sans-serif !important;
}
body {
  background-color: #f3f3f3;
}
.quick-apply-row input {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 16px;
}

input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1450px;
  padding: 0 20px;
  margin: auto;
}
section {
  padding: 60px 0;
}
.section-title {
  font-size: 42px;
  /* color: var(--red); */
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}
.section-title:before {
  content: "";
  display: block;
  background-color: #ff0600;
  height: 7px;
  position: absolute;
  left: 0;
  bottom: 4px;
  right: 0;
  z-index: -1;
}
/* hamburger */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  transition: 0.35s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* overlay */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* menu */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 320px;
  background: #000;
  transform: translateX(-100%);
  transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* logo */

.mobile-menu-header img {
  width: 140px;
  margin-bottom: 30px;
}

/* nav */

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.mobile-nav a:hover {
  color: #d60000;
  transform: translateX(6px);
}

/* contacts */

.mobile-contacts {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #ccc;
}

.m-phone {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.m-mail {
  font-size: 14px;
  color: #aaa;
}

/* social */

.mobile-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.mobile-social a {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.mobile-address {
  font-size: 13px;
  color: #888;
}

header {
  position: fixed;
  z-index: 999;
  width: 100%;
  transition: box-shadow 0.25s ease;
}
/* Компактный header при скролле: скрываем topbar, слегка уменьшаем меню */
header.header--scrolled .topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.25s ease;
}
header.header--scrolled .header-menu {
  padding: 16px 40px;
}
header.header--scrolled .header-menu img {
  max-height: 44px;
  width: auto;
}
header.header--scrolled .menu a {
  font-size: 15px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  font-size: 14px;
  background-color: #f3f3f3;
  transition:
    max-height 0.3s ease,
    padding 0.25s ease,
    font-size 0.25s ease;
  max-height: 120px;
  overflow: hidden;
}

.topbar-left,
.topbar-center,
.topbar-right {
  display: flex;
  align-items: center;
}
.topbar-left .icon:last-child {
  margin-left: 20px;
}
.topbar-center {
  gap: 30px;
}
.item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
}
.item.mail {
  text-decoration: underline;
  margin-right: 20px;
}

.item.phone {
  font-weight: bold;
  font-size: 15px;
  margin-right: 20px;
}

.arrow-btn {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrow-btn span {
  font-size: 18px;
}

.arrow-btn:hover {
  color: #d60000;
}
.call-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: none;
  font-size: 16px;
  cursor: pointer;
  color: #222;
  transition: 0.3s;
}

.header-menu {
  background-color: #000000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: padding 0.25s ease;
}
.header-menu img {
  max-height: 65px;
  width: auto;
  transition: max-height 0.25s ease;
}
.menu a {
  font-size: 16px;
  transition: font-size 0.25s ease;
}
.menu {
  display: flex;
  gap: 20px;
  color: #fff;
}
.menu a {
  color: #fff;
  font-weight: bold;
  transition: 0.3s ease;
}

.slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 0.6s;
  display: flex;
  align-items: center;
  padding: 60px;
}

/* active slide */
.slide.active {
  opacity: 1;
}

/* dark overlay */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.553);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* content */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
  color: #fff;
  margin-top: 180px;
}

.slide-content h3 {
  font-size: 38px;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 700;
}
.slide-content h3 span {
  position: relative;
}
.slide-content h3 span:before {
  content: "";
  display: block;
  background-color: #ff0600;
  height: 7px;
  position: absolute;
  left: 0;
  bottom: 7px;
  right: 0;
  z-index: -1;
}

/* button */
.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 20px 20px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: color 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #9a1f22;
  border-radius: 6px;
  transition: width 0.35s ease;
  z-index: 0;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  color: #fff;
}

.btn-text {
  position: relative;
  z-index: 1;
}

/* Блок быстрой заявки после слайдера */
.quick-apply {
  padding: 40px 0;
}

.quick-apply-form {
  max-width: 100%;
}

.quick-apply-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.quick-apply-row input {
  flex: 1;
  min-width: 140px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.quick-apply-row input:focus {
  outline: none;
  border-color: var(--red);
}

.quick-apply-btn {
  flex-shrink: 0;
  height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.quick-apply-btn:hover {
  background: #a01f22;
}

.quick-apply-consent {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  text-align: center;
}

.quick-apply-consent a {
  color: var(--red);
  text-decoration: underline;
}

.quick-apply-hint {
  margin: 0;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.adv-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s ease;
}
.adv-card:hover {
  transform: translateY(-10px);
}
.adv-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.adv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.adv-image h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 22px;
  font-weight: 600;
}

/* qirmizi xett */
.adv-image h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--red);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s ease;
}

.adv-card:hover .adv-image h3::after {
  transform: scaleX(1);
}
.adv-card ul {
  padding: 25px 25px 10px 40px;
  margin: 0;
}

.adv-card li {
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
  list-style: disc;
}

.adv-card li::marker {
  color: var(--red);
}

.adv-card a {
  display: inline-block;
  padding: 15px 25px 25px;
  font-size: 15px;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.adv-card a.btn {
  padding: 20px 20px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin: 0 0 25px 40px;
}

.adv-card a.btn:hover {
  text-decoration: none;
}

.adv-card a:hover {
  text-decoration: underline;
}

.about {
  position: relative;
  overflow: hidden;
}

.about-wrapper {
  display: flex;
  align-items: stretch;
}

/* TEXT */

.about-content {
  width: 40%;
  padding: 80px;
  position: relative;
  z-index: 2;
  background: white;
}

.about-content h2 {
  font-size: 48px;
  margin-bottom: 30px;
}

.about-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-bold {
  font-weight: 700;
}

/* IMAGE */

.about-image {
  position: relative;
  width: 60%;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* FOG EFFECT */

.about-image::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 0;
  height: 100%;
  width: 320px;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.98) 10%,
    rgba(255, 255, 255, 0.95) 20%,
    rgba(255, 255, 255, 0.9) 30%,
    rgba(255, 255, 255, 0.8) 40%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.45) 60%,
    rgba(255, 255, 255, 0.25) 70%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0.03) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(8px);
}
.whyus .section-title {
  margin-bottom: 20px;
}
.whyus-subtitle {
  text-align: left;
  font-size: 18px;
  margin: 0 0 40px;
  color: #444;
}

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

/* card */
.whyus-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 130px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.whyus-thumb {
    width: 100%;
    height: 100%;
    background: #eee;
    max-height: 153px;
}

.whyus-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whyus-body {
  padding: 22px 26px;
}

.whyus-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: #111;
  position: relative;
  display: inline-block;
}

/* modern accent underline (hoverda çıxır) */
.whyus-body h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--red); /* qırmızı accent */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.whyus-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #444;
}

/* hover — card tərpənmir, yalnız vurğu artır */
.whyus-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.whyus-card:hover .whyus-body h3::after {
  transform: scaleX(1);
}

/* Блок шагов «Купить машину — легко!» */
.steps-block {
  padding: 60px 0;
  background: #1a1a1a;
  color: #fff;
}

.steps-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 50px;
  color: #fff;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-num-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 700;
  border: 3px solid var(--red);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-line {
  position: absolute;
  left: 50%;
  margin-left: 28px;
  top: 50%;
  width: calc(50% - 28px);
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
  z-index: 0;
}

.step-item:last-child .step-line,
.step-line-last {
  display: none;
}

.step-heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.step-desc {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.step-desc .step-link {
  color: var(--red);
  text-decoration: underline;
  font-weight: 600;
}

.step-desc .step-link:hover {
  opacity: 0.9;
}

/* FAQ блок */
.faq-block {
  padding: 60px 0;
  background: #1a1a1a;
  color: #fff;
}

.faq-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 40px;
  color: #fff;
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-item:nth-child(5),
.faq-item:nth-child(10) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-item:first-child,
.faq-item:nth-child(6) {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--red);
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  margin-left: 16px;
  font-size: 24px;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  margin: 0;
  padding: 12px 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.faq-item.active .faq-answer p:last-child {
  padding-bottom: 20px;
}

.partners-subtitle {
  text-align: left;
  font-size: 18px;
  color: #444;
  margin-bottom: 40px;
  line-height: 1.6;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: #fff;
  width: 90%;
  margin: auto;
  border-radius: 10px;
}

/* item */

.partner-item {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO */

.partner-item img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

/* VERTICAL LINES */

.partner-item:not(:nth-child(4n)) {
  border-right: 1px solid rgba(128, 128, 128, 0.249);
}

/* HORIZONTAL LINES */

.partner-item:nth-child(-n + 8) {
  border-bottom: 1px solid rgba(128, 128, 128, 0.249);
}

.partner-item img {
  transition: 0.3s;
}

.partner-item:hover img {
  opacity: 1;
  filter: none;
}

.reviews-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 50px;
}

.review-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  cursor: pointer;
  height: 280px;
}

.review-text {
  position: relative;
  max-height: 120px;
  overflow: hidden;
  transition: 0.4s;
}

.review-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 60%,
    rgba(255, 255, 255, 1) 100%
  );
}

/* open */

.review-card.active .review-text {
  max-height: 500px;
}

.review-card.active .review-text::after {
  display: none;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.review-top img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.review-top h3 {
  font-size: 26px;
  margin: 0;
}
.reviews-slider {
  margin-left: 100px;
}
.review-top span {
  color: #888;
  font-size: 16px;
}

.review-card p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}
.review-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}
.review-modal .review-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}
.review-modal.active {
  opacity: 1;
  visibility: visible;
}

.review-modal-content {
  background: white;
  padding: 50px;
  max-width: 900px;
  width: 90%;
  border-radius: 10px;
  position: relative;
}

.review-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.review-modal-body .review-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.review-modal-body img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.review-modal-body .review-text {
  max-height: none;
  overflow: visible;
}

.review-modal-body .review-text::after {
  display: none;
}

/* Модальное окно заявки */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.apply-modal.active {
  opacity: 1;
  visibility: visible;
}

.apply-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.apply-modal-content {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.apply-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f3f3;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
  transition:
    background 0.2s,
    color 0.2s;
}

.apply-modal-close:hover {
  background: #e0e0e0;
  color: #000;
}

.apply-modal-title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.apply-form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apply-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.apply-field:focus-within label {
  color: var(--red);
}

.apply-form-row .apply-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

input {
  outline: none;
}

.apply-form-row .apply-field input:focus {
  outline: none;
  border-color: var(--red);
}

.apply-submit {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.apply-submit:hover {
  background: #a01f22;
}

.apply-consent {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  text-align: center;
}

.apply-consent a {
  color: var(--red);
  text-decoration: underline;
}

.apply-consent a:hover {
  opacity: 0.9;
}

.apply-hint {
  margin: 8px 0 0;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.consult {
  position: relative;
  padding: 140px 0;
  border-radius: 10px;
  background: url("https://optim.tildacdn.com/tild6165-3266-4533-b930-646462366338/-/format/webp/close-up-hands-using.jpg.webp")
    center/cover no-repeat;
}

.consult-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.consult-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.consult h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
}

.consult p {
  font-size: 20px;
  max-width: 650px;
  line-height: 1.4;
  margin-bottom: 50px;
}

/* form */

.consult-form {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.consult-form input {
  height: 60px;
  padding: 0 20px;
  border: none;
  width: 320px;
  font-size: 18px;
  border-radius: 10px;
}

.consult-form button {
  height: 60px;
  padding: 0 40px;
  border: none;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.consult-form button:hover {
  opacity: 0.7;
}
.map {
  padding: 0;
}
#map {
  height: 400px;
  width: 100%;
  padding: 0 !important;
  border-radius: 10px;
}
#map {
  border-radius: 10px;
}
footer {
  background: #000;
  color: #fff;
  padding: 70px 30px 40px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  opacity: 0.7;
}

.footer-address .footer-social a.item:hover,
.footer-contact a.item.mail:hover {
  opacity: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  width: 220px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col {
  min-width: 0;
}

.footer-col li {
  margin-bottom: 15px;
}

.footer-col a {
  font-size: 17px;
}

.footer-contact a {
  font-size: 18px;
}
.footer-contact div {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
}
footer .mail {
  margin-bottom: 20px;
}
.footer-contact div svg {
  width: 23px;
  height: 23px;
}
.footer-work {
  color: #aaa;
  font-size: 16px;
}

.footer-address p {
  font-size: 18px;
  line-height: 1.6;
}

.footer-address .footer-social {
  flex-direction: column;
  align-items: flex-start;
  margin-top: 16px;
}

.footer-address .footer-social .item {
  flex-shrink: 0;
}

.footer-address .footer-social .item.phone {
  white-space: nowrap;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.footer-social img {
  width: 26px;
  filter: invert(1);
}

.footer-divider {
  height: 1px;
  background: #333;
  margin: 50px 0;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-credit {
  margin: 0;
  font-size: 16px;
  color: #bbb;
}

.footer-credit a {
  color: #fff;
}

.footer-credit a:hover {
  opacity: 0.8;
}

.footer-legal {
  max-width: 450px;
  font-size: 16px;
  line-height: 1.6;
  color: #bbb;
}

.footer-center {
  text-align: center;
  font-size: 18px;
}

.footer-policy {
  font-weight: 600;
  margin-top: 10px;
}

.footer-design {
  font-size: 18px;
  color: #bbb;
}
.fixed-social {
  position: fixed;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 999;
}

.social-item {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eee;
  transition: 0.3s;
}

.social-item:last-child {
  border-bottom: none;
}

.social-item svg {
  width: 22px;
  height: 22px;
  fill: #000;
  transition: 0.3s;
}
.social-item:hover svg path {
  stroke: #fff;
  fill: #fff;
}
/* hover colors */
html {
  scroll-behavior: smooth;
}

.phone:hover {
  background: #012752;
}
.whatsapp:hover {
  background: #25d366;
}

.telegram:hover {
  background: #2aabee;
}

.vk:hover {
  background: #4c75a3;
}
.mail:hover {
  background: var(--red);
}

.social-item:hover svg {
  fill: #fff;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-close {
  width: 26px;
  height: 26px;
  position: relative;
  cursor: pointer;
}

.mobile-close span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #fff;
  top: 50%;
  left: 0;
}

.mobile-close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-close span:nth-child(2) {
  transform: rotate(-45deg);
}

@media (max-width: 1200px) {
  .whyus-thumb {
    width: 100%;
    height: 100%;
    background: #eee;
    max-height: 202px;
}
  .about-content {
    padding-bottom: 0;
  }
  .fixed-social {
    position: fixed;
    right: 35px;
  }
  .topbar-center {
    display: none;
  }
  .about-image {
    position: relative;
    width: 50%;
  }
  .about-content {
    width: 50%;
  }
}
input[type="date"]{
  -webkit-appearance: auto;
}
input[type="date"]{
  font-size:16px;
  padding:10px;
}
@media (max-width: 992px) {
  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}
  .whyus-thumb {
    width: 100%;
    height: 100%;
    background: #eee;
    max-height: 130px;
}
  .about-content {
    width: 80%;
  }
  .header-menu {
    padding: 20px;
  }
  .header-menu img {
    max-height: 56px;
    width: auto;
    transition: max-height 0.25s ease;
  }
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }
  .topbar {
    display: none;
  }
  .whyus-title {
    font-size: 44px;
  }
  .whyus-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-line {
    display: none;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .whyus-thumb {
        width: 100%;
        height: 100%;
        background: #eee;
        max-height: 201px;
    }
  .about-wrapper {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  .about-content {
    width: 100%;
  }
  .about-image {
    position: relative;
    width: 100%;
  }
  .about-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    background: white;
  }
  .section-title {
    font-size: 27px;
  }
  .container {
    max-width: 1450px;
    padding: 0 10px;
    margin: auto;
  }
  .slide-content {
    max-width: 100%;
    margin-top: 0;
  }
  .hero-slider .slide {
    padding: 20px;
    padding-top: 0;
  }

  .slide-content h3 {
    font-size: 22px;
  }
  .fixed-social {
    position: fixed;
    right: 15px;
  }
  .faq-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-item:nth-child(6) {
    border-top: none;
  }
  .quick-apply-row input,
  .quick-apply-btn {
    width: 100%;
    min-width: 0;
  }
  .reviews-slider {
    margin-left: 30px;
}
.review-top {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 25px;
    flex-direction: column;
}
.consult h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
}
.consult p {
    font-size: 18px;
    max-width: 650px;
    line-height: 1.4;
    margin-bottom: 50px;
}
}

@media (max-width: 520px) {
  .whyus-card {
    grid-template-columns:1fr;
  }
  .whyus-thumb {
    height: 110px;
  }
  .whyus-body {
    padding: 16px 16px;
  }
  .whyus-body h3 {
    font-size: 20px;
  }
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .quick-apply-row {
    flex-direction: column;
  }
  .quick-apply-row input,
  .quick-apply-btn {
    width: 100%;
    min-width: 0;
    padding: 10px;
  }
  .steps-list {
    grid-template-columns: 1fr;
  }
  .steps-title {
    font-size: 28px;
  }
}
