/* sergeev-home.css — homepage section styles (deploy perf SI) */

#contacts__map:not([data-map-ready]) {
  background: #e8ecf0;
}

/* --- html.80 --- */
/* ===== DESKTOP BANNER ===== */
.ti-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 130px;
  position: relative;
  background-image: url('/image/catalog/tradein-banner-wide.jpg');
  background-size: cover;
  background-position: center;
  padding: 28px 32px;
  margin: 0 0 70px;
}
.ti-banner:hover {
  text-decoration: none;
  color: inherit;
  opacity: 0.97;
}
.ti-banner__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 220px;
}
.ti-banner__title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.15;
}
.ti-banner__desc {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}
.ti-banner__btn {
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== MOBILE: hide desktop, show mobile card ===== */
.ti-banner-mobile-wrap {
  display: none;
}
@media (max-width: 767px) {
  .ti-banner {
    display: none;
  }
  .ti-banner-mobile-wrap {
    display: block;
    margin-bottom: 40px;
  }
}

/* ===== SHARED MOBILE CARD STYLES ===== */
.info-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: #111;
  transition: border-color .2s, box-shadow .2s;
}
.info-banner:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  text-decoration: none;
  color: #111;
}
.info-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-banner__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.info-banner__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #111;
}
.info-banner__desc {
  font-size: 13px;
  color: #888;
  line-height: 1.3;
}
.info-banner__arrow {
  color: #bbb;
  flex-shrink: 0;
}

/* --- html.75 --- */
.promo-simple {
    padding: 64px 0;
    background: #f5f5f7;
    margin-top:40px;
}

.promo-simple__container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.promo-simple__box {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 52px 56px;
    border-radius: 32px;
    background: #111214;
    box-shadow:
        0 25px 60px rgba(15,23,42,0.12),
        inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
}

.promo-simple__box::after {
    content:"";
    position:absolute;
    inset:0;
    border-radius:32px;
    border:1px solid rgba(255,255,255,0.06);
    pointer-events:none;
}

.promo-simple__content {
    max-width: 720px;
}

.promo-simple__badge {
    display: inline-block;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.68);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.promo-simple__title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 44px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align:left !important;
}

.promo-simple__title span {
    color: #d1d5db;
}

.promo-simple__text {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 18px;
    line-height: 1.65;
}

.promo-simple__action {
    display: flex;
    align-items: center;
}

.promo-simple__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: #ffffff;
    color: #111214;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
    white-space: nowrap;
}

.promo-simple__button:hover {
    transform: translateY(-2px);
    opacity: .95;
    box-shadow: 0 18px 34px rgba(0,0,0,0.22);
}

/* планшет */
@media (max-width: 991px) {

.promo-simple {
    padding: 48px 0;
}

.promo-simple__box {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 28px;
}

.promo-simple__title {
    font-size: 36px;
}

.promo-simple__text {
    font-size: 16px;
}

.promo-simple__action {
    justify-content: flex-start;
}

}

/* телефон */
@media (max-width: 575px) {

.promo-simple {
    padding: 36px 0;
    margin-top:20px;
}

.promo-simple__container {
    padding: 0 14px;
}

.promo-simple__box {
    padding: 24px 18px;
    border-radius: 24px;
}

.promo-simple__box::after {
    border-radius: 24px;
}

.promo-simple__title {
    font-size: 28px;
}

.promo-simple__text {
    font-size: 15px;
}

.promo-simple__button {
    width: 100%;
}

}

/* --- html.72 --- */
.about-company {
    padding: 80px 20px;
    background: #fafafa;
    margin-bottom:40px;
}

.about-company__container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-company__header {
    max-width: 720px;
    margin-bottom: 40px;
}

.about-company__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-company__lead {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.about-company__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-company__text p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: #444;
}

.about-company__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-company__feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-company__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    border-radius: 10px;
    font-size: 16px;
    color: #111;
}

.about-company__feature-title {
    font-weight: 600;
    margin-bottom: 3px;
}

.about-company__feature-text {
    font-size: 14px;
    color: #666;
}

.about-company__footer {
    margin-top: 40px;
}

.about-company__cta {
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 768px) {

    .about-company {
        padding: 50px 20px;
        margin-bottom:20px;
    }

    .about-company__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-company__features {
        grid-template-columns: 1fr;
    }

    .about-company__title {
        font-size: 28px;
    }
}

/* --- html.79 --- */
/* ===== DESKTOP BANNER ===== */
.svc-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 130px;
  position: relative;
  background-image: url('/image/catalog/service-banner-wide.jpg');
  background-size: cover;
  background-position: center;
  padding: 28px 32px;
  margin: 0 0 16px;
}
.svc-banner:hover {
  text-decoration: none;
  color: inherit;
  opacity: 0.97;
}
.svc-banner__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 220px;
}
.svc-banner__title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.15;
}
.svc-banner__desc {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}
.svc-banner__btn {
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== MOBILE: hide desktop, show mobile card ===== */
.svc-banner-mobile-wrap {
  display: none;
}
@media (max-width: 767px) {
  .svc-banner {
    display: none;
  }
  .svc-banner-mobile-wrap {
    display: block;
    margin-bottom: 16px;
  }
}

/* ===== SHARED MOBILE CARD STYLES ===== */
.info-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: #111;
  transition: border-color .2s, box-shadow .2s;
}
.info-banner:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  text-decoration: none;
  color: #111;
}
.info-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-banner__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.info-banner__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #111;
}
.info-banner__desc {
  font-size: 13px;
  color: #888;
  line-height: 1.3;
}
.info-banner__arrow {
  color: #bbb;
  flex-shrink: 0;
}

/* --- html.73 --- */
.reviews-home {
    padding: 80px 0;
}

.reviews-home__container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-home__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: stretch;
}

.reviews-home__info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.reviews-home__title {
    margin: 0 0 18px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    color: #111111;
    letter-spacing: -0.02em;
    text-align: left!important;
}

.reviews-home__text {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

.reviews-home__points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
}

.reviews-home__point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #f5f5f5;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #222222;
}

.reviews-home__point i {
    margin-top: 3px;
    color: #111111;
    font-size: 14px;
    flex-shrink: 0;
}

.reviews-home__widget {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.reviews-home__widget > div {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

@media (max-width: 1180px) {
    .reviews-home__grid {
        grid-template-columns: 1fr;
    }

    .reviews-home__widget {
        justify-content: stretch;
    }
}

@media (max-width: 768px) {
    .reviews-home {
        padding: 56px 0;
    }

    .reviews-home__container {
        padding: 0 16px;
    }

    .reviews-home__grid {
        gap: 20px;
    }

    .reviews-home__info {
        padding: 24px;
        border-radius: 20px;
    }

    .reviews-home__title {
        font-size: 30px;
    }

    .reviews-home__text {
        font-size: 15px;
        line-height: 1.65;
    }

    .reviews-home__point {
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .reviews-home__title {
        font-size: 26px;
    }

}

/* --- html.74 --- */
.contacts-section {
    padding: 56px 0;
    background: #f6f8fb;
    margin-bottom:40px;
}

.contacts-section__container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacts-section__head {
    margin-bottom: 28px;
}

.contacts-section__title {
    margin: 0;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.contacts-section__grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.contacts-section__info,
.contacts-section__map-wrap {
    min-width: 0;
}

.contacts-card {
    height: 100%;
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contacts-card__top {
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
}

.contacts-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contacts-card__name {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts-item__title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contacts-item__value {
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
    word-break: break-word;
}

.contacts-item__value--link {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-item__value--link:hover {
    color: #2563eb;
}

.contacts-item__note {
    font-size: 15px;
    line-height: 1.5;
    color: #4b5563;
}

.contacts-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contacts-socials__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: #eef2ff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contacts-socials__link:hover {
    background: #dbeafe;
    color: #1e40af;
    transform: translateY(-1px);
}

.contacts-section__map-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #dfe6ee;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    height: 620px;
}

.contacts__map {
    width: 100%;
    height: 100%;
    height: 620px;
}

@media (max-width: 1199px) {
    .contacts-section__grid {
        grid-template-columns: 360px minmax(0, 1fr);
    }

    .contacts-card {
        padding: 28px;
    }

    .contacts-card__name {
        font-size: 24px;
    }

    .contacts-item__value {
        font-size: 19px;
    }
}

@media (max-width: 991px) {
    .contacts-section {
        padding: 44px 0;
        margin-bottom:20px;
    }

    .contacts-section__title {
        font-size: 32px;
    }

    .contacts-section__grid {
        grid-template-columns: 1fr;
    }

    .contacts-section__map-wrap,
    .contacts__map {
        height: 460px;
    }
}

@media (max-width: 575px) {
    .contacts-section__container {
        padding: 0 14px;
    }

    .contacts-section {
        padding: 36px 0;
    }

    .contacts-section__head {
        margin-bottom: 20px;
    }

    .contacts-section__title {
        font-size: 28px;
    }

    .contacts-card {
        padding: 22px 18px;
        border-radius: 18px;
        gap: 22px;
    }

    .contacts-card__name {
        font-size: 22px;
    }

    .contacts-item__title {
        font-size: 12px;
    }

    .contacts-item__value {
        font-size: 18px;
    }

    .contacts-item__note {
        font-size: 14px;
    }

    .contacts-section__map-wrap,
    .contacts__map {
        height: 340px;
        border-radius: 18px;
    }

    .contacts-socials__link {
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }
}
