/* === ЧЕРЕДОВАНИЕ ЦВЕТОВ РАЗДЕЛОВ ===
   Hero (тёмный) → Services (белый) → Our Work (тёмный) → Reviews (белый)
   → Brands (тёмный) → Contact Us (белый) → Footer (тёмный)
   Подключается после style.css и reviews.css. */

/* --- Brands: тёмный --- */
.brands {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
  color: #D4AF37;
}

/* Логотипы брендов — на белой подложке со скруглёнными углами */
#brands .brands-grid {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 24px;
  border: 2px solid #D4AF37;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

#brands .brands-grid img {
  background: transparent;
  box-shadow: none;
}

/* На планшете и телефоне — логотипы в 3 колонки, а не столбиком */
@media (max-width: 768px) {
  #brands .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 24px;
    border-radius: 18px;
  }

  #brands .brands-grid img {
    width: 100%;
    max-width: 140px;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  #brands .brands-grid {
    gap: 8px;
    padding: 14px;
    border-radius: 14px;
  }
}

/* --- Contact Us: белый --- */
#contact.contact {
  background: #ffffff !important;
  color: #D4AF37;
}

/* Окно формы — чёрное на белом фоне раздела */
#contact .contact-form-full {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border: 2px solid #000000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Текст согласия и ссылка — светлые на чёрном */
#contact .consent-text {
  color: #e6e6e6;
}

#contact .privacy-inline-link {
  color: #D4AF37;
}

#contact .privacy-inline-link:hover {
  color: #ffffff;
}

/* iPhone сам превращает номера телефонов в синие ссылки — делаем их в стиле сайта */
#contact .consent-text a,
#contact .consent-text a[href^="tel"],
#contact a[x-apple-data-detectors] {
  color: #D4AF37 !important;
  text-decoration: underline !important;
  font-weight: 600;
  -webkit-text-decoration-color: #D4AF37;
  text-decoration-color: #D4AF37;
}

/* Поля ввода — затемнённые, полупрозрачные */
#contact .contact-input,
#contact .contact-textarea {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #ffffff;
}

#contact .contact-input::placeholder,
#contact .contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

#contact .contact-input:focus,
#contact .contact-textarea:focus {
  background: rgba(255, 255, 255, 0.27);
  border-color: #D4AF37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

/* Автозаполнение браузера не должно делать поле белым/жёлтым */
#contact .contact-input:-webkit-autofill,
#contact .contact-input:-webkit-autofill:hover,
#contact .contact-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0 1000px #3d3d3d inset;
  caret-color: #ffffff;
  transition: background-color 9999s ease-in-out 0s;
}

/* Квадратик согласия — тоже тёмный, галочка золотая */
#contact .consent-box {
  background: rgba(255, 255, 255, 0.22);
}

#contact .consent-checkbox:checked + .consent-box::after {
  color: #D4AF37;
}

/* --- Фото к заявке --- */
#contact .photo-upload {
  margin: 0 0 10px;
  text-align: left;
}

#contact .photo-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border: 1.5px dashed rgba(212, 175, 55, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

#contact .photo-upload-btn small {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

#contact .photo-upload-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: #D4AF37;
}

#contact .photo-upload-hint {
  margin: 8px 2px 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

#contact .photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

#contact .photo-previews:empty {
  display: none;
}

#contact .photo-preview {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact .photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#contact .photo-noprev {
  color: #D4AF37;
  font-size: 0.75rem;
  font-weight: 700;
}

#contact .photo-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

#contact .photo-remove:hover {
  background: #D4AF37;
  color: #000;
}

/* Кнопка отправки — золотая рамка, чтобы не сливалась с чёрным окном */
#contact .contact-submit {
  border: 2px solid #D4AF37;
}

/* --- Footer: тёмный --- */
footer.footer {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
  color: #D4AF37;
  margin-top: 0;
  border-top: none;
}

footer.footer .footer-heading,
footer.footer .business-hours-text {
  color: #D4AF37;
}

footer.footer .contact-info a,
footer.footer .contact-info a:link,
footer.footer .contact-info a:visited,
footer.footer .social-text-links a {
  color: #ffffff !important;
}

footer.footer .contact-info a:hover,
footer.footer .social-text-links a:hover {
  color: #D4AF37 !important;
}

/* --- Слоган в шапке: на телефоне всегда в одну строку --- */
@media (max-width: 768px) {
  .hero-content p.tagline {
    white-space: nowrap;
    font-size: clamp(0.65rem, 3.6vw, 1.1rem);
    letter-spacing: 0;
    max-width: 100%;
  }
}

/* --- Окно «Learn More» в брендах: чёрный фон, окно по центру --- */
#brands-modal.modal-fullscreen-white {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  align-items: flex-start;   /* центрирование через margin:auto — не обрезает верх, если окно выше экрана */
}

#brands-modal .brands-modal-content {
  margin: auto;
}

#brands-modal .close {
  position: fixed;
  color: #D4AF37;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.5);
  z-index: 2100;
}

#brands-modal .close:hover {
  background: #D4AF37;
  color: #000000;
}

/* На телефоне — отступ сверху, чтобы крестик не закрывал логотипы */
@media (max-width: 768px) {
  #brands-modal.modal-fullscreen-white {
    padding-top: 75px;
  }
}

/* =========================================================
   ОКНО «LEARN MORE» в Our Services — в стиле сайта
   ========================================================= */

#services-modal.modal-fullscreen-orange {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

/* Содержимое — без белой подложки */
#services-modal .services-modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* Заголовок окна */
.modal-heading {
  text-align: center;
  margin-bottom: 36px;
}

.modal-heading h2 {
  color: #D4AF37;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.15);
}

.modal-heading p {
  color: #C9A227;
  font-size: 1.1rem;
  margin: 0;
}

/* Крестик — золотой круг, как в окне брендов */
#services-modal .close {
  position: fixed;
  color: #D4AF37;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.5);
  z-index: 2100;
}

#services-modal .close:hover {
  background: #D4AF37;
  color: #000000;
}

/* --- Our Services: группы и карточки --- */
#services-modal .services-detail-section {
  background: #111111;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

#services-modal .services-detail-section h3 {
  color: #D4AF37 !important;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  text-align: left;
}

#services-modal .service-category {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

#services-modal .service-category:hover {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-3px);
}

#services-modal .service-category h4 {
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

#services-modal .service-category li {
  color: #cfcfcf !important;
  font-size: 0.93rem;
  padding: 7px 0 7px 18px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#services-modal .service-category li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #D4AF37;
}

#services-modal .service-category li:last-child {
  border-bottom: none;
}

#services-modal .service-category li:hover {
  color: #D4AF37 !important;
  padding-left: 22px;
}

/* Кнопка «Leave Request» внизу */
#services-modal .services-modal-bottom {
  border-top: none;
  padding-top: 10px;
}

#services-modal .leave-request-btn {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%) !important;
  color: #D4AF37 !important;
  border: 2px solid #D4AF37;
  padding: 16px 40px;
}

#services-modal .leave-request-btn:hover {
  background: #D4AF37 !important;
  color: #000000 !important;
}

/* --- Телефон --- */
@media (max-width: 768px) {
  #services-modal .services-modal-content {
    padding: 60px 4px 40px;
  }

  .modal-heading h2 {
    font-size: 2rem;
  }

  .modal-heading p {
    font-size: 0.95rem;
  }

  #services-modal .services-detail-section {
    padding: 20px 16px;
  }

  #services-modal .services-detail-section h3 {
    font-size: 1.3rem;
  }
}

/* =========================================================
   OUR WORK — острые углы у фото и окно «Learn More» в стиле сайта
   ========================================================= */

/* Острые углы у всех фото «до/после» — на главной и в окне */
#portfolio-grid img,
#portfolio-modal .portfolio-images-grid img {
  border-radius: 0 !important;
}

#portfolio-modal.modal-fullscreen-orange {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

#portfolio-modal .portfolio-modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

#portfolio-modal .close {
  position: fixed;
  color: #D4AF37;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.5);
  z-index: 2100;
}

#portfolio-modal .close:hover {
  background: #D4AF37;
  color: #000000;
}

/* Картинки целиком (без обрезки), 2 в ряд */
#portfolio-modal .portfolio-images-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 28px;
  padding: 0;
  max-height: none;
  overflow: visible;
}

#portfolio-modal .portfolio-images-grid img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}

#portfolio-modal .portfolio-images-grid img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 10px 24px rgba(212, 175, 55, 0.3));
}

@media (max-width: 768px) {
  #portfolio-modal .portfolio-modal-content {
    padding: 60px 4px 40px;
  }

  #portfolio-modal .portfolio-images-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
}

/* =========================================================
   OUR WORK на главной — фото на белой подложке, как у брендов
   ========================================================= */
#portfolio #portfolio-grid {
  max-width: 1100px;
  padding: 40px;
  background: #ffffff;
  border-radius: 24px;
  border: 2px solid #D4AF37;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

@media (max-width: 768px) {
  #portfolio #portfolio-grid {
    padding: 20px;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  #portfolio #portfolio-grid {
    padding: 12px;
    border-radius: 14px;
  }
}

/* =========================================================
   Крестик закрытия окон — ровно по центру круга
   (символ «×» из шрифта стоял со смещением, рисуем крестик линиями)
   ========================================================= */
#brands-modal .close,
#services-modal .close,
#portfolio-modal .close {
  font-size: 0 !important;
  line-height: 0;
  width: 46px !important;
  height: 46px !important;
  padding: 0;
}

#brands-modal .close::before,
#brands-modal .close::after,
#services-modal .close::before,
#services-modal .close::after,
#portfolio-modal .close::before,
#portfolio-modal .close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

#brands-modal .close::before,
#services-modal .close::before,
#portfolio-modal .close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#brands-modal .close::after,
#services-modal .close::after,
#portfolio-modal .close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 480px) {
  #brands-modal .close,
  #services-modal .close,
  #portfolio-modal .close {
    width: 40px !important;
    height: 40px !important;
  }
}

/* =========================================================
   ПРОСМОТР ФОТО (по клику на картинку Our Work)
   ========================================================= */
#image-viewer-modal.modal-fullscreen {
  background: rgba(0, 0, 0, 0.96);
  align-items: center;
  justify-content: center;
}

#image-viewer-modal .image-viewer-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 100%;
  padding: 80px 90px;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#image-viewer-modal .fullscreen-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  border-radius: 0;
  transition: opacity 0.15s ease;
}

/* Стрелки — по бокам картинки */
#image-viewer-modal .image-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

/* =========================================================
   ЕДИНЫЙ СТИЛЬ КРУГЛЫХ КНОПОК В ОКНАХ:
   крестик и стрелки — тёмный круг, золотая рамка, золотой значок,
   при наведении круг золотой, значок чёрный
   ========================================================= */
#brands-modal .close,
#services-modal .close,
#portfolio-modal .close,
#image-viewer-modal .close,
#image-viewer-modal .nav-btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px !important;
  height: 46px !important;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1.5px solid #D4AF37 !important;
  color: #D4AF37 !important;
  font-size: 0 !important;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  z-index: 3100;
}

#image-viewer-modal .nav-btn {
  position: relative;
  pointer-events: all;
}

#brands-modal .close,
#services-modal .close,
#portfolio-modal .close,
#image-viewer-modal .close {
  top: 20px;
  right: 20px;
}

#brands-modal .close:hover,
#services-modal .close:hover,
#portfolio-modal .close:hover,
#image-viewer-modal .close:hover,
#image-viewer-modal .nav-btn:hover {
  background: #D4AF37 !important;
  color: #000000 !important;
  transform: scale(1.08);
}

/* Крестик в окне просмотра фото — линиями, ровно по центру */
#image-viewer-modal .close::before,
#image-viewer-modal .close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

#image-viewer-modal .close::before { transform: translate(-50%, -50%) rotate(45deg); }
#image-viewer-modal .close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* Стрелки ‹ › — уголком из линий, ровно по центру */
#image-viewer-modal .nav-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

#image-viewer-modal .nav-btn:first-child::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

#image-viewer-modal .nav-btn:last-child::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

/* Телефон: картинка во всю ширину, стрелки снизу по центру */
@media (max-width: 768px) {
  #image-viewer-modal .image-viewer-content {
    padding: 80px 12px 110px;
  }

  #image-viewer-modal .image-nav {
    top: auto;
    bottom: 30px;
    transform: none;
    justify-content: center;
    gap: 24px;
  }

  #brands-modal .close,
  #services-modal .close,
  #portfolio-modal .close,
  #image-viewer-modal .close {
    top: 14px;
    right: 14px;
  }

  #brands-modal .close,
  #services-modal .close,
  #portfolio-modal .close,
  #image-viewer-modal .close,
  #image-viewer-modal .nav-btn {
    width: 42px !important;
    height: 42px !important;
  }
}

/* --- Строка «Serving …» в Contact Us --- */
.service-area-line {
  max-width: 760px;
  margin: -24px auto 30px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333333;
}

.service-area-line a {
  color: #000000;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================================
   БАННЕР COOKIE
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 5000;
  width: calc(100% - 32px);
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid #D4AF37;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e6e6e6;
  text-align: left;
}

.cookie-banner a {
  color: #D4AF37;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cookie-accept {
  background: #D4AF37;
  color: #000;
  border: 1.5px solid #D4AF37;
}

.cookie-accept:hover {
  background: #e6c14a;
}

.cookie-decline {
  background: transparent;
  color: #D4AF37;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
}

.cookie-decline:hover {
  border-color: #D4AF37;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    bottom: 12px;
  }

  .cookie-actions .cookie-btn {
    flex: 1;
  }
}

/* --- Главный заголовок (H1) в шапке — выглядит как прежний --- */
.hero-content h1.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #D4AF37;
  margin: 10px 0;
  white-space: nowrap;
  text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.3);
}

.hero-content p.hero-sub {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #e6e6e6;
}

@media (max-width: 768px) {
  .hero-content h1.hero-title {
    font-size: 2.2rem;
    white-space: normal;
    line-height: 1.2;
  }

  .hero-content p.hero-sub {
    font-size: 0.85rem;
  }
}

/* --- Ссылка «Learn more» на страницу услуги в окне Our Services --- */
#services-modal .svc-link {
  display: inline-block;
  margin-top: 12px;
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

#services-modal .svc-link:hover {
  color: #ffffff;
}

/* --- Подписи к фото «до/после» --- */
#portfolio-modal .work-figure {
  margin: 0;
}

#portfolio-modal .work-figure figcaption {
  margin-top: 10px;
  color: #d6d6d6;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
}

#image-viewer-modal .viewer-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 26px;
  margin: 0;
  color: #e6e6e6;
  font-size: 1rem;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 768px) {
  #image-viewer-modal .image-viewer-content {
    padding-bottom: 160px;
  }

  #image-viewer-modal .viewer-caption {
    bottom: 90px;
    font-size: 0.92rem;
  }
}

/* =========================================================
   ABOUT US на главной (белый фон; перед Contact Us — золотая черта)
   ========================================================= */
.about-home {
  background: #ffffff !important;
  color: #111111;
  min-height: auto;
}

.about-home .container {
  max-width: 1100px;
}

.about-home .about-motto {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
  font-style: italic;
}

.about-home-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
  text-align: left;
}

.about-home-text p {
  margin: 0 0 20px;
  color: #222222;
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.about-facts li {
  padding: 9px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.9rem;
}

.about-home-cards {
  display: grid;
  gap: 16px;
}

.about-card {
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.about-card h3 {
  margin: 0 0 12px;
  color: #D4AF37;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-price {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e6e6e6;
  font-size: 0.98rem;
}

.about-price strong {
  color: #D4AF37;
  text-align: right;
  white-space: nowrap;
}

.about-card .about-price:last-of-type {
  border-bottom: none;
}

.about-small {
  margin: 10px 0 0;
  color: #b8b8b8;
  font-size: 0.85rem;
  line-height: 1.5;
}

.about-team-title {
  margin: 50px 0 22px;
  color: #D4AF37;
  font-size: 1.6rem;
}

.about-team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.about-tech {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.about-tech img,
.about-tech-initial {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 3px solid #D4AF37;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.3);
}

.about-tech-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #D4AF37;
  font-size: 3.4rem;
  font-weight: 800;
}

.about-tech strong {
  color: #000000;
  font-size: 1.15rem;
}

.about-tech span {
  color: #555555;
  font-size: 0.9rem;
}

.about-home .learn-more-btn {
  text-decoration: none;
  margin-top: 40px;
}

/* Золотая черта между About Us и Contact Us (оба белые) */
#about + #contact {
  border-top: 1px solid rgba(212, 175, 55, 0.45);
}

@media (max-width: 768px) {
  .about-home-grid {
    grid-template-columns: 1fr;
  }

  .about-tech {
    width: 140px;
  }

  .about-tech img,
  .about-tech-initial {
    width: 110px;
    height: 110px;
  }
}

/* About Us — исправления: буква-аватар, перенос длинных значений, ширина на телефоне */
.about-home .container {
  width: 100%;
}

.about-home-grid > * {
  min-width: 0;
}

.about-price strong {
  white-space: normal;
}

.about-price span {
  flex: 1 1 auto;
  min-width: 0;
}

.about-price strong {
  flex: 0 1 auto;
  max-width: 62%;
}

.about-home .about-tech img {
  border: 3px solid #D4AF37;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.3);
}

.about-tech .about-tech-initial,
.about-page-tech .about-tech-initial {
  color: #D4AF37;
  font-size: 3.4rem;
  font-weight: 800;
}
