/* ==========================================================================
   ABOUT MODERN SECTION - FINAL VERSION (ИСПРАВЛЕННАЯ АДАПТИВНОСТЬ)
   ========================================================================== */
.about-modern {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0c0c0c 100%);
  overflow-x: visible !important;
  display: flex;
  flex-direction: column;
  padding: 10px 20px 40px;
}

/* Фоновые элементы */
.about-modern__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-modern__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(207, 123, 60, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(207, 123, 60, 0.05) 0%, transparent 50%);
}

/* Линии */
.about-modern__lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.about-modern__line {
  position: absolute;
  background: rgba(207, 123, 60, 0.15);
  border-radius: 1px;
}

.about-modern__line--1 {
  top: 15%;
  left: 8%;
  width: 250px;
  height: 1px;
  transform: rotate(45deg);
  animation: line-move-1 25s infinite linear;
}

.about-modern__line--2 {
  top: 65%;
  right: 12%;
  width: 180px;
  height: 1px;
  transform: rotate(-25deg);
  animation: line-move-2 30s infinite linear reverse;
}

.about-modern__line--3 {
  bottom: 35%;
  left: 15%;
  width: 140px;
  height: 1px;
  transform: rotate(10deg);
  animation: line-move-3 35s infinite linear;
}

.about-modern__line--4 {
  top: 30%;
  right: 20%;
  width: 200px;
  height: 1px;
  transform: rotate(60deg);
  animation: line-move-4 28s infinite linear;
}

.about-modern__line--5 {
  bottom: 25%;
  right: 8%;
  width: 160px;
  height: 1px;
  transform: rotate(-15deg);
  animation: line-move-5 32s infinite linear reverse;
}

@keyframes line-move-1 {
  0% { transform: rotate(45deg) translateX(0); opacity: 0.1; }
  50% { opacity: 0.3; }
  100% { transform: rotate(45deg) translateX(80px); opacity: 0.1; }
}

@keyframes line-move-2 {
  0% { transform: rotate(-25deg) translateY(0); opacity: 0.1; }
  50% { opacity: 0.2; }
  100% { transform: rotate(-25deg) translateY(-70px); opacity: 0.1; }
}

@keyframes line-move-3 {
  0% { transform: rotate(10deg) translateX(0); opacity: 0.1; }
  50% { opacity: 0.25; }
  100% { transform: rotate(10deg) translateX(60px); opacity: 0.1; }
}

@keyframes line-move-4 {
  0% { transform: rotate(60deg) translateY(0); opacity: 0.1; }
  50% { opacity: 0.2; }
  100% { transform: rotate(60deg) translateY(50px); opacity: 0.1; }
}

@keyframes line-move-5 {
  0% { transform: rotate(-15deg) translateX(0); opacity: 0.1; }
  50% { opacity: 0.15; }
  100% { transform: rotate(-15deg) translateX(-40px); opacity: 0.1; }
}

/* Круги */
.about-modern__circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.about-modern__circle {
  position: absolute;
  border: 1px solid rgba(207, 123, 60, 0.1);
  border-radius: 50%;
}

.about-modern__circle--1 {
  top: 12%;
  right: 8%;
  width: 100px;
  height: 100px;
  animation: circle-float-1 20s infinite linear;
}

.about-modern__circle--2 {
  bottom: 25%;
  left: 4%;
  width: 70px;
  height: 70px;
  animation: circle-float-2 25s infinite linear reverse;
}

.about-modern__circle--3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  animation: circle-float-3 35s infinite linear;
}

.about-modern__circle--4 {
  top: 70%;
  right: 15%;
  width: 60px;
  height: 60px;
  animation: circle-float-4 22s infinite linear;
}

.about-modern__circle--5 {
  top: 25%;
  left: 20%;
  width: 90px;
  height: 90px;
  animation: circle-float-5 28s infinite linear reverse;
}

@keyframes circle-float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes circle-float-2 {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(10px) rotate(-180deg); }
}

@keyframes circle-float-3 {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes circle-float-4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(10px) rotate(120deg); }
}

@keyframes circle-float-5 {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(-8px) rotate(-120deg); }
}

/* 3D многогранники */
.about-modern__polyhedra {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.about-modern__polyhedron {
  position: absolute;
  filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15));
}

.about-modern__polyhedron--1 {
  top: 15%;
  right: 10%;
  width: 180px;
  height: 180px;
  animation: polyhedron-3d-rotate-1 45s infinite linear;
}

.about-modern__polyhedron--2 {
  bottom: 30%;
  left: 8%;
  width: 135px;
  height: 135px;
  animation: polyhedron-3d-rotate-2 50s infinite linear reverse;
}

.about-modern__polyhedron--3 {
  top: 70%;
  left: 25%;
  width: 165px;
  height: 165px;
  animation: polyhedron-3d-rotate-3 55s infinite linear;
}

.about-modern__polyhedron--4 {
  top: 20%;
  left: 12%;
  width: 150px;
  height: 150px;
  animation: polyhedron-3d-rotate-4 48s infinite linear;
}

.about-modern__polyhedron--5 {
  bottom: 20%;
  right: 25%;
  width: 120px;
  height: 120px;
  animation: polyhedron-3d-rotate-5 52s infinite linear reverse;
}

@keyframes polyhedron-3d-rotate-1 {
  0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
  25% { transform: rotateX(90deg) rotateY(90deg) rotateZ(90deg); filter: drop-shadow(0 0 15px rgba(207, 123, 60, 0.2)); }
  50% { transform: rotateX(180deg) rotateY(180deg) rotateZ(180deg); filter: drop-shadow(0 0 20px rgba(207, 123, 60, 0.25)); }
  75% { transform: rotateX(270deg) rotateY(270deg) rotateZ(270deg); filter: drop-shadow(0 0 15px rgba(207, 123, 60, 0.2)); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
}

@keyframes polyhedron-3d-rotate-2 {
  0% { transform: rotateX(0deg) rotateY(45deg) rotateZ(0deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
  33% { transform: rotateX(120deg) rotateY(165deg) rotateZ(120deg); filter: drop-shadow(0 0 18px rgba(207, 123, 60, 0.22)); }
  66% { transform: rotateX(240deg) rotateY(285deg) rotateZ(240deg); filter: drop-shadow(0 0 15px rgba(207, 123, 60, 0.18)); }
  100% { transform: rotateX(360deg) rotateY(405deg) rotateZ(360deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
}

@keyframes polyhedron-3d-rotate-3 {
  0% { transform: rotateX(30deg) rotateY(0deg) rotateZ(30deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
  50% { transform: rotateX(210deg) rotateY(180deg) rotateZ(210deg); filter: drop-shadow(0 0 25px rgba(207, 123, 60, 0.3)); }
  100% { transform: rotateX(390deg) rotateY(360deg) rotateZ(390deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
}

@keyframes polyhedron-3d-rotate-4 {
  0% { transform: rotateX(0deg) rotateY(60deg) rotateZ(0deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
  25% { transform: rotateX(90deg) rotateY(150deg) rotateZ(90deg); filter: drop-shadow(0 0 20px rgba(207, 123, 60, 0.25)); }
  50% { transform: rotateX(180deg) rotateY(240deg) rotateZ(180deg); filter: drop-shadow(0 0 15px rgba(207, 123, 60, 0.2)); }
  75% { transform: rotateX(270deg) rotateY(330deg) rotateZ(270deg); filter: drop-shadow(0 0 22px rgba(207, 123, 60, 0.28)); }
  100% { transform: rotateX(360deg) rotateY(420deg) rotateZ(360deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
}

@keyframes polyhedron-3d-rotate-5 {
  0% { transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
  33% { transform: rotateX(165deg) rotateY(165deg) rotateZ(120deg); filter: drop-shadow(0 0 18px rgba(207, 123, 60, 0.22)); }
  66% { transform: rotateX(285deg) rotateY(285deg) rotateZ(240deg); filter: drop-shadow(0 0 12px rgba(207, 123, 60, 0.17)); }
  100% { transform: rotateX(405deg) rotateY(405deg) rotateZ(360deg); filter: drop-shadow(0 0 10px rgba(207, 123, 60, 0.15)); }
}

.about-modern__polyhedron svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(207, 123, 60, 0.2);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

/* Заголовок секции */
.about-modern__header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 20px;
  padding-top: 20px;
  overflow: visible;
}

.about-modern__title {
  color: #fff;
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  overflow: visible;
  white-space: normal; /* гарантируем перенос */
}

.about-modern__title::before,
.about-modern__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 1px;
  background: #cf7b3c;
  transform: translateY(-50%);
  z-index: 10;
}

.about-modern__title::before {
  left: -30px;
}

.about-modern__title::after {
  right: -30px;
}

.about-modern__title-line {
  width: 80px;
  height: 2px;
  background: #cf7b3c;
  margin: 0 auto 10px;
}

.about-modern__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
  margin: 0;
}

/* Основной контент - переделано на Grid для равной высоты колонок */
.about-modern__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 28% 38% 28%;
  gap: 40px;
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  margin-bottom: 70px;
  align-items: stretch; /* все колонки растягиваются по высоте */
}

/* Колонки - убираем flex-свойства, оставляем только ширину через grid */
.about-modern__col {
  display: flex;
  flex-direction: column;
}

.about-modern__col--photo {
  max-width: 100%; /* переопределяем, так как ширину задаёт grid */
}

.about-modern__col--info {
  max-width: 100%;
}

.about-modern__col--advantages {
  max-width: 100%;
}

/* Фото архитектора */
.about-modern__photo-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-modern__photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: rgba(20, 20, 20, 0.5);
  overflow: hidden;
  max-width: 100%; /* чтобы не выходило за пределы колонки */
}

.about-modern__photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(20, 20, 20, 0.3);
}

.about-modern__photo-frame::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 0.8px solid #cf7b3c;
  z-index: 2;
  pointer-events: none;
}

/* Информационный блок */
.about-modern__info-container {
  width: 100%;
  background: rgba(20, 20, 20, 0.7);
  padding: 30px 25px;
  position: relative;
  backdrop-filter: blur(10px);
  overflow: hidden;
  flex: 1; /* занимает всю доступную высоту внутри колонки */
}

.about-modern__info-container::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 0.8px solid #cf7b3c;
  pointer-events: none;
}

.about-modern__bureau-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-align: center;
}

.about-modern__info-line {
  width: 50px;
  height: 2px;
  background: #cf7b3c;
  margin: 0 auto 20px;
}

.about-modern__bureau-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 300;
}

/* Контакты */
.about-modern__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.about-modern__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.about-modern__contact-icon {
  color: #cf7b3c;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
}

.about-modern__contact-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-modern__contact-copy {
  background: rgba(207, 123, 60, 0.1);
  border: 1px solid rgba(207, 123, 60, 0.2);
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #cf7b3c;
  transition: background-color 0.3s ease;
  padding: 0;
  flex-shrink: 0;
  position: relative;
}

.about-modern__contact-copy:hover {
  background: rgba(207, 123, 60, 0.2);
}

.contact-copy-notification {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #cf7b3c;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.contact-copy-notification::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #cf7b3c;
}

.contact-copy-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Адаптивность для контактов на мобильных устройствах */
@media (max-width: 768px) {
  .about-modern__contact-item {
    gap: 8px;
    padding: 8px 10px;
  }
  .about-modern__contact-value {
    font-size: 0.9rem;
  }
  .about-modern__contact-copy {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 576px) {
  .about-modern__contact-value {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .about-modern__contact-item {
    gap: 6px;
    padding: 6px 8px;
  }
  .about-modern__contact-value {
    font-size: 0.8rem;
  }
  .about-modern__contact-copy {
    width: 26px;
    height: 26px;
  }
  .contact-copy-notification {
    font-size: 0.75rem;
    padding: 5px 10px;
    top: -35px;
  }
}

/* Блок преимуществ */
.about-modern__advantages-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-modern__advantages-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.5);
  overflow: hidden;
  padding: 33px;
  flex: 1; /* занимает всю высоту колонки */
}

.about-modern__advantages-frame::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 0.8px solid #cf7b3c;
  z-index: 2;
  pointer-events: none;
}

.about-modern__advantages-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start; /* пункты прижаты к верху */
}

.about-modern__advantage {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.3;
  padding: 13.6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  backdrop-filter: blur(5px);
  border: 1px solid transparent;
}

.about-modern__advantage:hover {
  background: rgba(207, 123, 60, 0.08);
  box-shadow: 0 0 20px rgba(207, 123, 60, 0.3), 0 0 40px rgba(207, 123, 60, 0.2), inset 0 0 20px rgba(207, 123, 60, 0.1);
  border: 1px solid rgba(207, 123, 60, 0.3);
  transform: translateY(-2px);
}

/* Навигационная панель */
.about-modern__nav-panel {
  width: 100%;
  height: 100px;
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  flex-shrink: 0;
  position: absolute;
  bottom: 0;
  left: 0;
}

.about-modern__nav-line-left,
.about-modern__nav-line-right {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 123, 60, 0.7), transparent);
  margin: 0 1rem;
}

.about-modern__nav-center {
  position: relative;
  min-width: 100px;
  display: flex;
  justify-content: center;
}

.about-modern__nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.about-modern__nav-link:hover {
  opacity: 0.8;
}

.about-modern__nav-label {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
}

.about-modern__nav-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(207, 123, 60, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cf7b3c;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(207, 123, 60, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(207, 123, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 123, 60, 0); }
}

/* Уведомление */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  background: #cf7b3c;
  color: white;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.show {
  transform: translateX(0);
}

/* ==========================================================================
   ABOUT MODERN SECTION – АДАПТИВНОСТЬ (как в SERVICES) – ИСПРАВЛЕННАЯ
   ========================================================================== */

/* ------------------------------------ */
/*   Широкие десктопы (1400px и выше)   */
/* ------------------------------------ */
@media (min-width: 1400px) {
    .about-modern__content {
        gap: 60px;
    }
    .about-modern__polyhedron--1 { width: 220px; height: 220px; }
    .about-modern__polyhedron--2 { width: 165px; height: 165px; }
    .about-modern__polyhedron--3 { width: 195px; height: 195px; }
    .about-modern__polyhedron--4 { width: 180px; height: 180px; }
    .about-modern__polyhedron--5 { width: 150px; height: 150px; }
}

/* ------------------------------------ */
/*   Десктопы средние (1200–1399px)     */
/* ------------------------------------ */
@media (min-width: 1200px) and (max-width: 1399px) {
    .about-modern__content {
        gap: 40px;
    }
    .about-modern__polyhedron--1 { width: 180px; height: 180px; }
    .about-modern__polyhedron--2 { width: 140px; height: 140px; }
    .about-modern__polyhedron--3 { width: 160px; height: 160px; }
    .about-modern__polyhedron--4 { width: 150px; height: 150px; }
    .about-modern__polyhedron--5 { width: 130px; height: 130px; }
}

/* ------------------------------------ */
/*   Ноутбуки / небольшие десктопы (1025–1199px) */
/* ------------------------------------ */
@media (min-width: 1025px) and (max-width: 1199px) {
    .about-modern__content {
        gap: 30px;
    }
    .about-modern__polyhedron--1 { width: 150px; height: 150px; }
    .about-modern__polyhedron--2 { width: 120px; height: 120px; }
    .about-modern__polyhedron--3 { width: 135px; height: 135px; }
    .about-modern__polyhedron--4 { width: 125px; height: 125px; }
    .about-modern__polyhedron--5 { width: 110px; height: 110px; }
}

/* ------------------------------------ */
/*   Планшеты (до 1024px) – заголовок как в SERVICES */
/* ------------------------------------ */
@media (max-width: 1024px) {
    .about-modern__title {
        font-size: 3rem;
        margin-bottom: 8px;
    }
    .about-modern__title-line {
        width: 80px;
        height: 2px;
        margin: 0 auto 10px;
    }
    .about-modern__subtitle {
        font-size: 1rem;
    }
    .about-modern__polyhedron--1 { width: 130px; height: 130px; }
    .about-modern__polyhedron--2 { width: 100px; height: 100px; }
    .about-modern__polyhedron--3 { width: 115px; height: 115px; }
    .about-modern__polyhedron--4 { width: 105px; height: 105px; }
    .about-modern__polyhedron--5 { width: 90px; height: 90px; }
}

/* ------------------------------------ */
/*   Планшеты вертикальные (до 992px) – перестроение колонок */
/* ------------------------------------ */
@media (max-width: 992px) {
    .about-modern {
        padding: 10px 15px 100px;
        min-height: auto;
    }
    .about-modern__content {
        grid-template-columns: 1fr; /* одна колонка */
        gap: 30px;
    }
    .about-modern__col,
    .about-modern__col--photo,
    .about-modern__col--info,
    .about-modern__col--advantages {
        width: 85%;
        max-width: 500px;
        margin: 0 auto; /* центрируем колонки */
    }
    .about-modern__photo-frame {
        width: 100%;
        aspect-ratio: 4/5;
        height: auto;
        max-width: 380px;
        margin: 0 auto;
    }
    .about-modern__advantages-frame,
    .about-modern__info-container {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    /* Фоновые элементы уменьшаем */
    .about-modern__line--1 { top: 10%; left: 5%; width: 150px; }
    .about-modern__line--2 { top: 50%; right: 5%; width: 120px; }
    .about-modern__line--3 { bottom: 20%; left: 10%; width: 100px; }
    .about-modern__line--4,
    .about-modern__line--5 { opacity: 0.4; }
    .about-modern__circle--1 { top: 8%; right: 5%; width: 70px; height: 70px; }
    .about-modern__circle--2 { bottom: 15%; left: 5%; width: 50px; height: 50px; }
    .about-modern__circle--3 { width: 120px; height: 120px; }
    /* Перецентрирование полиэдров, чтобы они были видны */
    .about-modern__polyhedron--1 {
        top: 15%;
        right: auto;
        left: 60%;
        transform: translateX(-50%);
    }
    .about-modern__polyhedron--2 {
        bottom: 20%;
        left: 40%;
        transform: translateX(-50%);
    }
    .about-modern__polyhedron--3 {
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .about-modern__polyhedron--4 {
        top: 30%;
        left: 30%;
    }
    .about-modern__polyhedron--5 {
        bottom: 10%;
        right: 30%;
    }
}

/* ------------------------------------ */
/*   Мобильные (до 767px) – заголовок как в SERVICES, навигация унифицирована */
/* ------------------------------------ */
@media (max-width: 767px) {
    .about-modern {
        padding: 20px 15px 90px;
    }
    .about-modern__title {
        font-size: 2.5rem;
        margin-bottom: 6px;
    }
    .about-modern__subtitle {
        font-size: 0.9rem;
    }
    .about-modern__content {
        gap: 25px;
    }
    .about-modern__col,
    .about-modern__col--photo,
    .about-modern__col--info,
    .about-modern__col--advantages {
        width: 90%;
        max-width: 480px;
    }
    .about-modern__photo-frame {
        max-width: 350px;
    }
    .about-modern__advantages-frame,
    .about-modern__info-container {
        max-width: 450px;
    }
    /* Фоновые элементы */
    .about-modern__line--1 { top: 8%; left: 10%; width: 120px; opacity: 0.5; }
    .about-modern__line--2 { top: 45%; right: 10%; width: 100px; opacity: 0.5; }
    .about-modern__line--3,
    .about-modern__line--4,
    .about-modern__line--5 { opacity: 0.3; }
    .about-modern__circle--1 { width: 50px; height: 50px; }
    .about-modern__circle--2 { width: 40px; height: 40px; }
    .about-modern__circle--3 { width: 80px; height: 80px; }
    .about-modern__circle--4,
    .about-modern__circle--5 { opacity: 0.3; }
    .about-modern__polyhedron--1 { width: 80px; height: 80px; top: 10%; right: 10%; }
    .about-modern__polyhedron--2 { width: 60px; height: 60px; bottom: 20%; left: 10%; }
    .about-modern__polyhedron--3 { width: 70px; height: 70px; }
    .about-modern__polyhedron--4,
    .about-modern__polyhedron--5 { opacity: 0.3; }

    /* Навигация как в услугах */
    .about-modern__nav-panel {
        height: 90px;
        padding: 0 2rem;
    }
    .about-modern__nav-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    .about-modern__nav-arrow {
        width: 35px;
        height: 35px;
    }
}

/* ------------------------------------ */
/*   Маленькие мобильные (до 575px)     */
/* ------------------------------------ */
@media (max-width: 575px) {
    .about-modern {
        padding: 15px 12px 80px;
    }
    .about-modern__title {
        font-size: 2.2rem;
    }
    .about-modern__subtitle {
        font-size: 0.85rem;
    }
    .about-modern__col,
    .about-modern__col--photo,
    .about-modern__col--info,
    .about-modern__col--advantages {
        width: 95%;
        max-width: 420px;
    }
    .about-modern__photo-frame {
        max-width: 320px;
    }
    .about-modern__advantages-frame,
    .about-modern__info-container {
        max-width: 400px;
    }
    /* Фоновые элементы */
    .about-modern__line--1 { top: 5%; left: 15%; width: 100px; opacity: 0.4; }
    .about-modern__line--2 { top: 40%; right: 15%; width: 80px; opacity: 0.4; }
    .about-modern__line--3,
    .about-modern__line--4,
    .about-modern__line--5 { opacity: 0.2; }
    .about-modern__circle--1 { width: 40px; height: 40px; top: 5%; right: 10%; }
    .about-modern__circle--2 { width: 30px; height: 30px; bottom: 15%; left: 10%; }
    .about-modern__circle--3 { width: 60px; height: 60px; }
    .about-modern__circle--4,
    .about-modern__circle--5 { opacity: 0.2; }
    .about-modern__polyhedron--1 { width: 60px; height: 60px; top: 8%; right: 12%; }
    .about-modern__polyhedron--2 { width: 50px; height: 50px; bottom: 18%; left: 12%; }
    .about-modern__polyhedron--3 { width: 55px; height: 55px; }
    .about-modern__polyhedron--4,
    .about-modern__polyhedron--5 { opacity: 0.2; }

    /* Навигация */
    .about-modern__nav-panel {
        height: 80px;
        padding: 0 1.5rem;
    }
    .about-modern__nav-label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    .about-modern__nav-arrow {
        width: 32px;
        height: 32px;
    }
}

/* ------------------------------------ */
/*   Очень маленькие (до 480px)         */
/* ------------------------------------ */
@media (max-width: 480px) {
    .about-modern {
        padding: 12px 10px 75px;
    }
    .about-modern__title {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    .about-modern__title-line {
        width: 80px;
        height: 2px;
        margin: 0 auto 8px;
    }
    .about-modern__subtitle {
        font-size: 0.8rem;
    }
    .about-modern__col,
    .about-modern__col--photo,
    .about-modern__col--info,
    .about-modern__col--advantages {
        width: 100%;
        max-width: 380px;
    }
    .about-modern__photo-frame {
        max-width: 300px;
    }
    .about-modern__advantages-frame,
    .about-modern__info-container {
        max-width: 360px;
    }
    /* Фоновые элементы */
    .about-modern__line--1 { top: 5%; left: 20%; width: 80px; opacity: 0.3; }
    .about-modern__line--2 { top: 35%; right: 20%; width: 60px; opacity: 0.3; }
    .about-modern__line--3,
    .about-modern__line--4,
    .about-modern__line--5 { opacity: 0.15; }
    .about-modern__circle--1 { width: 35px; height: 35px; top: 5%; right: 15%; }
    .about-modern__circle--2 { width: 25px; height: 25px; bottom: 12%; left: 15%; }
    .about-modern__circle--3 { width: 50px; height: 50px; }
    .about-modern__circle--4,
    .about-modern__circle--5 { opacity: 0.15; }
    .about-modern__polyhedron--1 { width: 50px; height: 50px; top: 6%; right: 15%; }
    .about-modern__polyhedron--2 { width: 40px; height: 40px; bottom: 15%; left: 15%; }
    .about-modern__polyhedron--3 { width: 45px; height: 45px; }
    .about-modern__polyhedron--4,
    .about-modern__polyhedron--5 { opacity: 0.15; }

    /* Навигация */
    .about-modern__nav-panel {
        height: 75px;
        padding: 0 1rem;
    }
    .about-modern__nav-label {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }
    .about-modern__nav-arrow {
        width: 30px;
        height: 30px;
    }
}

/* ------------------------------------ */
/*   Экстремально маленькие (до 375px)  */
/* ------------------------------------ */
@media (max-width: 375px) {
    .about-modern {
        padding: 10px 8px 70px;
    }
    .about-modern__title {
        font-size: 1.8rem;
        margin-bottom: 4px;
    }
    .about-modern__title-line {
        width: 60px;
        height: 2px;
        margin: 0 auto 6px;
    }
    .about-modern__subtitle {
        font-size: 0.75rem;
    }
    .about-modern__col,
    .about-modern__col--photo,
    .about-modern__col--info,
    .about-modern__col--advantages {
        max-width: 320px;
    }
    .about-modern__photo-frame {
        max-width: 280px;
    }
    .about-modern__advantages-frame,
    .about-modern__info-container {
        max-width: 300px;
    }
    /* Фоновые элементы */
    .about-modern__line--1 { top: 5%; left: 25%; width: 60px; opacity: 0.25; }
    .about-modern__line--2 { top: 30%; right: 25%; width: 50px; opacity: 0.25; }
    .about-modern__line--3,
    .about-modern__line--4,
    .about-modern__line--5 { opacity: 0.1; }
    .about-modern__circle--1 { width: 30px; height: 30px; top: 5%; right: 20%; }
    .about-modern__circle--2 { width: 20px; height: 20px; bottom: 10%; left: 20%; }
    .about-modern__circle--3 { width: 40px; height: 40px; }
    .about-modern__circle--4,
    .about-modern__circle--5 { opacity: 0.1; }
    .about-modern__polyhedron--1 { width: 40px; height: 40px; top: 5%; right: 20%; }
    .about-modern__polyhedron--2 { width: 35px; height: 35px; bottom: 12%; left: 20%; }
    .about-modern__polyhedron--3 { width: 38px; height: 38px; }
    .about-modern__polyhedron--4,
    .about-modern__polyhedron--5 { opacity: 0.1; }

    /* Навигация */
    .about-modern__nav-panel {
        height: 70px;
        padding: 0 0.8rem;
    }
    .about-modern__nav-label {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    .about-modern__nav-arrow {
        width: 28px;
        height: 28px;
    }
}

/* ------------------------------------ */
/*   Минимальные экраны (до 320px)      */
/* ------------------------------------ */
@media (max-width: 320px) {
    .about-modern {
        padding: 8px 6px 65px;
    }
    .about-modern__title {
        font-size: 1.6rem;
        margin-bottom: 3px;
    }
    .about-modern__title-line {
        width: 50px;
        height: 2px;
        margin: 0 auto 5px;
    }
    .about-modern__subtitle {
        font-size: 0.7rem;
    }
    .about-modern__col,
    .about-modern__col--photo,
    .about-modern__col--info,
    .about-modern__col--advantages {
        max-width: 280px;
    }
    .about-modern__photo-frame {
        max-width: 250px;
    }
    .about-modern__advantages-frame,
    .about-modern__info-container {
        max-width: 260px;
    }
    /* Фоновые элементы */
    .about-modern__line--1,
    .about-modern__line--2,
    .about-modern__line--3 { opacity: 0.2; width: 40px; }
    .about-modern__circle--1 { width: 25px; height: 25px; }
    .about-modern__circle--2 { width: 18px; height: 18px; }
    .about-modern__circle--3 { width: 30px; height: 30px; }
    .about-modern__polyhedron--1 { width: 30px; height: 30px; }
    .about-modern__polyhedron--2 { width: 25px; height: 25px; }
    .about-modern__polyhedron--3 { width: 28px; height: 28px; }

    /* Навигация */
    .about-modern__nav-panel {
        height: 65px;
        padding: 0 0.6rem;
    }
    .about-modern__nav-label {
        font-size: 0.65rem;
        margin-bottom: 3px;
    }
    .about-modern__nav-arrow {
        width: 24px;
        height: 24px;
    }
}

/* ------------------------------------ */
/*   Трёхмерные полиэдры (Three.js)     */
/* ------------------------------------ */
#three-polyhedra {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
    mix-blend-mode: screen;
}
@media (max-width: 992px) {
    #three-polyhedra { opacity: 0.2; }
}
@media (max-width: 768px) {
    #three-polyhedra { opacity: 0.15; }
}
@media (max-width: 480px) {
    #three-polyhedra { opacity: 0.12; }
}
@media (max-width: 375px) {
    #three-polyhedra { opacity: 0.1; }
}
@media (max-width: 320px) {
    #three-polyhedra { opacity: 0.08; }
}

/* ------------------------------------ */
/*   Высокие экраны (дополнительно)     */
/* ------------------------------------ */
@media (min-height: 900px) and (min-width: 992px) {
    .about-modern {
        padding: 20px 40px 120px;
    }
    .about-modern__content {
        min-height: calc(100vh - 220px);
    }
    .about-modern__photo-frame {
        max-height: 500px;
    }
    .about-modern__advantages-frame {
        max-height: 450px;
    }
}
@media (min-height: 900px) and (min-width: 1600px) {
    .about-modern__photo-frame {
        height: 550px;
    }
    .about-modern__advantages-frame {
        height: 550px;
    }
}