
/* ======================================================
   PRIVOZ — ABOUT PAGE
   BLOCK 06: ADDRESSES
   MODX EVOLUTION
====================================================== */

/* ======================================================
   ОСНОВНАЯ СЕКЦИЯ
====================================================== */

#about-page .about-addresses {
  position: relative;
  width: 100%;
  padding: 60px 0 70px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(255, 104, 30, 0.10),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #080808 0%,
      #0d0d0d 55%,
      #17100d 100%
    );

  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,.06);
}

#about-page .about-addresses,
#about-page .about-addresses *,
#about-page .about-addresses *::before,
#about-page .about-addresses *::after {
  box-sizing: border-box;
}

/* СВЕЧЕНИЕ */

#about-page .about-addresses-glow {
  position: absolute;
  width: 500px;
  height: 500px;

  left: -320px;
  bottom: -180px;

  border-radius: 50%;
  background: rgba(255,104,30,.10);
  filter: blur(120px);
  pointer-events: none;
}

/* ======================================================
   КОНТЕЙНЕР
====================================================== */

#about-page .about-addresses-container {
  position: relative;
  z-index: 2;

  width: calc(100% - 100px);
  max-width: 1450px;
  margin: 0 auto;
}

/* ======================================================
   ЗАГОЛОВОК
====================================================== */

#about-page .about-addresses-head {
  max-width: 1000px;
  margin-bottom: 35px;
}

#about-page .about-addresses-head .about-section-label {
  margin-bottom: 18px;
}

#about-page .about-addresses-title {
  margin: 0 0 20px;

  color: #ffffff;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.055em;
}

#about-page .about-addresses-title span {
  display: block;
  color: rgba(255,255,255,.40);
}

#about-page .about-addresses-description {
  max-width: 760px;
  margin: 0;

  color: rgba(255,255,255,.55);
  font-size: 15px;
  line-height: 1.65;
}

/* ======================================================
   СЕТКА — 4 КАРТОЧКИ
====================================================== */

#about-page .about-addresses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

/* ======================================================
   КАРТОЧКА
====================================================== */

#about-page .about-address-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 440px;
  padding: 22px;

  overflow: hidden;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,.055),
    rgba(255,255,255,.015)
  );

  border: 1px solid rgba(255,255,255,.08);

  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease;
}

#about-page .about-address-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,104,30,.32);

  background: linear-gradient(
    145deg,
    rgba(255,104,30,.07),
    rgba(255,255,255,.018)
  );
}

/* ДЕКОРАТИВНАЯ ЛИНИЯ */

#about-page .about-address-card::after {
  content: "";
  position: absolute;

  width: 180px;
  height: 180px;

  top: -120px;
  right: -115px;

  transform: rotate(30deg);
  border: 1px solid rgba(255,255,255,.045);
  pointer-events: none;
}

/* ======================================================
   ПЕРВАЯ КАРТОЧКА — ОФИС
====================================================== */

#about-page .about-address-card-office {
  background: linear-gradient(
    145deg,
    rgba(255,104,30,.18),
    rgba(255,104,30,.035)
  );

  border-color: rgba(255,104,30,.23);
}

/* ======================================================
   ВЕРХ КАРТОЧКИ
====================================================== */

#about-page .about-address-card-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;
  margin-bottom: 30px;
}

/* ТИП */

#about-page .about-address-type {
  display: inline-flex;
  align-items: center;

  min-height: 28px;
  padding: 0 11px;

  background: rgba(255,104,30,.10);
  color: #ff681e;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

#about-page .about-address-card-office
.about-address-type {
  background: #ff681e;
  color: #ffffff;
}

/* НОМЕР */

#about-page .about-address-number {
  color: rgba(255,255,255,.25);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
}

/* ======================================================
   СОДЕРЖИМОЕ
====================================================== */

#about-page .about-address-card-content {
  position: relative;
  z-index: 2;

  flex: 1;
  min-width: 0;
}

/* НАЗВАНИЕ */

#about-page .about-address-card-content h3 {
  margin: 0 0 14px;

  color: #ffffff;
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.04em;
}

/* ОПИСАНИЕ */

#about-page .about-address-card-description {
  min-height: 58px;
  margin: 0 0 20px;

  color: rgba(255,255,255,.5);
  font-size: 12px;
  line-height: 1.55;
}

/* ======================================================
   АДРЕС, ВРЕМЯ РАБОТЫ, ТЕЛЕФОН
====================================================== */

#about-page .about-address-details {
  border-top: 1px solid rgba(255,255,255,.09);
}

#about-page .about-address-detail {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

#about-page .about-address-detail-label {
  display: block;
  margin-bottom: 6px;

  color: rgba(255,255,255,.35);
  font-size: 9px;
  font-weight: 600;

  letter-spacing: .13em;
  text-transform: uppercase;
}

#about-page .about-address-detail p {
  margin: 0;

  color: rgba(255,255,255,.75);
  font-size: 12px;
  line-height: 1.5;

  overflow-wrap: anywhere;
}

#about-page .about-address-detail a {
  color: inherit;
  text-decoration: none;
}

#about-page .about-address-detail a:hover {
  color: #ff681e;
}

/* ======================================================
   КНОПКА «ПОКАЗАТЬ НА КАРТЕ»
====================================================== */

#about-page .about-address-button {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  width: 100%;
  min-height: 49px;

  margin-top: 22px;
  padding: 0 15px;

  border: 1px solid rgba(255,255,255,.2);
  background: transparent;

  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;

  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );

  transition:
    background .25s ease,
    border-color .25s ease;
}

#about-page .about-address-button:hover {
  background: #ff681e;
  border-color: #ff681e;
  color: #ffffff;
}

#about-page .about-address-button-arrow {
  flex-shrink: 0;
  color: #ff681e;
  font-size: 20px;
  line-height: 1;
}

#about-page .about-address-button:hover
.about-address-button-arrow {
  color: #ffffff;
}

/* ======================================================
   НИЗКИЕ МОНИТОРЫ
====================================================== */

@media (min-width: 1121px) and (max-height: 800px) {

  #about-page .about-addresses {
    padding: 35px 0 45px;
  }

  #about-page .about-addresses-head {
    margin-bottom: 24px;
  }

  #about-page .about-addresses-title {
    font-size: clamp(36px, 3.4vw, 50px);
    margin-bottom: 12px;
  }

  #about-page .about-addresses-description {
    font-size: 13px;
    line-height: 1.5;
  }

  #about-page .about-address-card {
    min-height: 400px;
    padding: 18px;
  }

  #about-page .about-address-card-top {
    margin-bottom: 22px;
  }

  #about-page .about-address-card-content h3 {
    font-size: 22px;
  }

  #about-page .about-address-detail {
    padding: 9px 0;
  }

  #about-page .about-address-button {
    margin-top: 16px;
  }
}

/* ======================================================
   ПЛАНШЕТЫ
====================================================== */

@media (max-width: 1120px) {

  #about-page .about-addresses {
    padding: 75px 0 85px;
  }

  #about-page .about-addresses-container {
    width: calc(100% - 50px);
  }

  #about-page .about-addresses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #about-page .about-address-card {
    min-height: 440px;
  }

  #about-page .about-address-card-content h3 {
    font-size: 26px;
  }
}

/* ======================================================
   ТЕЛЕФОНЫ
====================================================== */

@media (max-width: 768px) {

  #about-page .about-addresses {
    padding: 65px 0 75px;
  }

  #about-page .about-addresses-container {
    width: calc(100% - 32px);
  }

  #about-page .about-addresses-head {
    margin-bottom: 35px;
  }

  #about-page .about-addresses-title {
    font-size: clamp(37px, 9vw, 50px);
  }

  #about-page .about-addresses-description {
    font-size: 15px;
  }

  #about-page .about-addresses-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  #about-page .about-address-card {
    min-height: 0;
    padding: 23px;
  }

  #about-page .about-address-card-top {
    margin-bottom: 28px;
  }

  #about-page .about-address-card-description {
    min-height: 0;
  }

  #about-page .about-address-card-content h3 {
    font-size: 27px;
  }

  #about-page .about-address-detail p {
    font-size: 13px;
  }

  #about-page .about-address-button {
    margin-top: 25px;
  }
}

/* ======================================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
====================================================== */

@media (max-width: 430px) {

  #about-page .about-addresses {
    padding: 55px 0 65px;
  }

  #about-page .about-addresses-title {
    font-size: 35px;
  }

  #about-page .about-address-card {
    padding: 20px;
  }

  #about-page .about-address-card-content h3 {
    font-size: 25px;
  }
}

/* ======================================================
   ЯКОРЬ И АНИМАЦИИ
====================================================== */

#about-page #addresses {
  scroll-margin-top: 80px;
}

@media (prefers-reduced-motion: reduce) {

  #about-page .about-address-card,
  #about-page .about-address-button {
    transition: none;
  }

  #about-page .about-address-card:hover {
    transform: none;
  }
}
