/* Service & Showroom sections */

/* About */
.section-about {
  position: relative;
  padding: 60px 0;
  scroll-margin-top: var(--mp-header-h);
  color: var(--mp-text);
  background-color: #fff;
  background-image: url("../img/pattern_3_3c9532a922.svg");
  background-repeat: repeat;
  background-position: center;
}

.section-about__logo {
  display: block;
  width: min(492px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.section-about__lead {
  max-width: 910px;
  margin: 25px auto 0;
  text-align: center;
  font-size: 21px;
  line-height: 1.4;
}

.section-about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 50px;
  margin-top: 60px;
}

.about-stat {
  padding: 30px 20px;
  border-radius: 10px;
  background: linear-gradient(to right, rgba(113, 99, 238, 0.15) 0%, rgba(23, 21, 36, 0) 100%);
}

.about-stat__value {
  margin: 0;
  text-align: center;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: var(--mp-accent);
}

.about-stat__text {
  margin: 10px 0 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.4;
  color: var(--mp-accent);
}

.section-about__branches {
  margin-top: 80px;
}

.section-about__branches-title {
  margin: 0;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800;
  line-height: 1.2;
}

.section-about__branches-sub {
  margin: 10px 0 0;
  font-size: 21px;
  line-height: 1.6;
}

.about-branches__map {
  position: relative;
  margin-top: 10px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.about-branches__map-img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.about-branches__labels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  pointer-events: none;
}

.about-branches__labels-col--left {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 6% 0 10%;
}

.about-branches__labels-col--right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  min-height: 68%;
  padding: 4% 10% 4% 0;
}

.about-branch {
  text-align: center;
}

.about-branch__country {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  line-height: 1;
  color: var(--mp-accent);
}

.about-branch__city {
  margin: 0;
  padding-top: 5px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--mp-accent);
}

.section-about__expo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.about-expo__photo {
  display: block;
  overflow: hidden;
}

.about-expo__photo img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.about-expo__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1;
}

.about-expo__caption img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.section-service {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 0;
  padding: 80px 0;
  scroll-margin-top: var(--mp-header-h);
  color: #fff;
  background: linear-gradient(317deg, #8f23c0 0%, #3c18ad 100%);
}

.section-service__decor {
  display: none;
  position: absolute;
  top: 0;
  left: calc(50vw + min(590px, 50vw));
  width: 458px;
  min-width: 458px;
  max-width: none;
  height: 890px;
  object-fit: contain;
  object-position: left top;
  pointer-events: none;
  opacity: 0.95;
  z-index: 0;
}

@media (min-width: 1100px) {
  .section-service__decor {
    display: block;
  }
}

.section-service__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 50px;
}

.section-service__title {
  margin: 0;
  align-self: start;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-card__icon--wide {
  width: 100px;
}

.service-card__copy {
  margin: 15px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: none;
}

.service-card__lead {
  display: block;
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.service-card__rest {
  display: block;
  margin-top: 0;
  padding-top: 0;
}

/* Showroom */
.section-showroom {
  padding: 60px 0;
  scroll-margin-top: var(--mp-header-h);
  color: #fff;
  background: #161424;
}

.section-showroom__layout {
  display: grid;
  grid-template-columns: 39.98fr 60.02fr;
  gap: 40px;
  align-items: center;
  min-height: 614px;
}

.section-showroom__title {
  margin: 0 0 81px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.showroom-benefits {
  margin: 0 0 55px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 25px;
}

.showroom-benefits__item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.showroom-benefits__icon {
  width: 26px;
  height: 22px;
  margin-top: 2px;
}

.showroom-benefits__text {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.btn--showroom {
  width: min(360px, 100%);
  min-width: 0;
  max-width: 100%;
  height: 60px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(91.95deg, #7365ee 0%, #8842e0 100%);
  box-shadow: 0 10px 20px rgba(115, 101, 238, 0.3);
  box-sizing: border-box;
}

.btn--showroom:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(115, 101, 238, 0.36);
}

.showroom-media {
  display: grid;
  grid-template-columns: 56.23fr 43.77fr;
  gap: 20px;
  align-items: stretch;
}

.showroom-media__photos {
  display: grid;
  gap: 40px;
  align-content: start;
}

.showroom-media__photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #0f0d18;
}

.showroom-media__photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.showroom-media__video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.showroom-media__video img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.showroom-media__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease;
}

.showroom-media__play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7365ee 0%, #8842e0 100%);
  box-shadow: 0 10px 28px rgba(115, 101, 238, 0.45);
}

.showroom-media__play span::after {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

.showroom-media__video:hover .showroom-media__play {
  background: rgba(0, 0, 0, 0.28);
}

@media (max-width: 1099px) {
  .section-about__stats {
    gap: 30px;
  }

  .section-about__expo {
    gap: 16px;
  }

  .about-expo__photo img {
    height: 240px;
  }

  .section-service {
    min-height: 0;
    padding: 60px 0;
  }

  .section-service__title {
    font-size: 36px;
  }

  .service-card__lead {
    font-size: 24px;
  }

  .section-service__grid {
    gap: 28px 32px;
  }

  .section-showroom__title {
    font-size: 36px;
  }

  .showroom-benefits__text {
    font-size: 18px;
  }

  .section-showroom__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }

  .showroom-media__photo img {
    height: 180px;
  }

  .showroom-media__video img {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .section-about {
    padding: 30px 0;
  }

  .section-about {
    padding: 40px 0;
  }

  .section-about__logo {
    margin-bottom: 0;
  }

  .section-about__lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .section-about__stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .about-stat {
    padding: 16px 14px;
  }

  .about-stat__value,
  .about-stat__text {
    text-align: left;
  }

  .about-stat__value {
    font-size: 36px;
  }

  .about-stat__text {
    font-size: 15px;
    margin-top: 8px;
  }

  .section-about__branches {
    margin-top: 40px;
  }

  .section-about__branches-title {
    font-size: 28px;
  }

  .section-about__branches-sub {
    margin-top: 8px;
    font-size: 16px;
  }

  .about-branches__labels {
    position: static;
    display: grid;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-branches__labels-col--left,
  .about-branches__labels-col--right {
    display: contents;
  }

  .about-branch {
    text-align: left;
    min-width: 0;
    max-width: 100%;
  }

  .about-branch__country {
    font-size: 18px;
    white-space: nowrap;
    overflow-wrap: normal;
    letter-spacing: -0.02em;
  }

  .about-branch__city {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .section-about__expo {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .about-expo__photo img {
    height: 220px;
  }

  .about-expo__caption {
    margin-bottom: 0;
  }

  .section-service {
    min-height: 0;
    padding: 48px 0;
  }

  .section-service__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .service-card__lead {
    font-size: 18px;
  }

  .service-card__copy {
    font-size: 15px;
  }

  .section-service__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    row-gap: 28px;
  }

  .section-showroom {
    padding: 40px 0;
  }

  .section-showroom__title {
    font-size: 28px;
    text-align: center;
  }

  .showroom-media {
    grid-template-columns: 1fr;
  }

  .showroom-media__photo img {
    height: 130px;
  }

  .showroom-media__video img {
    min-height: 320px;
  }

  .btn--showroom {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.25;
    height: auto;
    min-height: 56px;
  }
}

@media (max-width: 620px) {
  .section-service {
    min-height: 0;
    padding: 48px 0;
  }

  .section-service__grid {
    row-gap: 28px;
    column-gap: 0;
  }

  .section-service__title {
    margin-bottom: 24px;
  }

  .showroom-benefits__text {
    font-size: 16px;
  }

  .section-showroom__title {
    margin-bottom: 25px;
  }

  .showroom-media__photos {
    gap: 14px;
  }

  .showroom-media__photo img {
    height: 140px;
  }

  .showroom-media__video img {
    min-height: 280px;
  }

  .btn--showroom {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.25;
    height: auto;
    min-height: 56px;
  }
}

/* Catalog CTA — mockup KP + quiz trigger */
.section-catalog-cta {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
  color: #f4f6fb;
  background:
    radial-gradient(ellipse 70% 55% at 50% 70%, rgba(44, 110, 246, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(136, 66, 224, 0.16), transparent 65%),
    #07080c;
  scroll-margin-top: var(--mp-header-h);
}

.catalog-cta {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.catalog-cta__head {
  display: grid;
  gap: 10px;
  max-width: 36ch;
}

.catalog-cta__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.catalog-cta__lead {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.45;
  color: rgba(244, 246, 251, 0.78);
}

.catalog-cta__stage {
  position: relative;
  width: min(620px, 100%);
  margin: 0 auto;
  isolation: isolate;
}

.catalog-cta__mock {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
  transform: translateY(0) scale(1);
  animation: catalog-cta-float 5.5s ease-in-out infinite;
}

.catalog-cta__btn {
  position: absolute;
  left: 50%;
  bottom: 14%;
  z-index: 2;
  transform: translateX(-50%);
  min-width: min(380px, calc(100% - 32px));
  min-height: 62px;
  padding: 0 32px;
  font-size: clamp(17px, 1.8vw, 20px);
  box-shadow: 0 14px 36px rgba(44, 110, 246, 0.38);
  animation: catalog-cta-btn-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.catalog-cta__btn:hover {
  transform: translateX(-50%) translateY(-2px);
}

@keyframes catalog-cta-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes catalog-cta-btn-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-cta__mock,
  .catalog-cta__btn {
    animation: none;
  }
}

@media (max-width: 767px) {
  .section-catalog-cta {
    padding: 36px 0 32px;
  }

  .catalog-cta {
    gap: 14px;
  }

  .catalog-cta__head {
    max-width: none;
    padding: 0 4px;
    gap: 8px;
  }

  .catalog-cta__title {
    font-size: clamp(20px, 5.8vw, 26px);
  }

  .catalog-cta__lead {
    font-size: 14px;
  }

  .catalog-cta__stage {
    width: min(480px, 100%);
  }

  .catalog-cta__btn {
    bottom: 10%;
    min-width: min(300px, calc(100% - 24px));
    min-height: 56px;
    padding-left: 22px;
    padding-right: 22px;
    font-size: 17px;
  }

  .catalog-cta__mock {
    animation: none;
  }
}
