/* === Страницы Service Area и районов === */

.subpage {
  background: #000000;
}

.subpage .container {
  max-width: 1100px;
}

/* --- Первый экран --- */
.area-hero {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  padding: 150px 20px 80px;
  text-align: center;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 28px;
}

.breadcrumbs a {
  color: #C9A227;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 6px;
  color: #666;
}

.area-logo {
  width: 120px;
  margin-bottom: 20px;
}

.area-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #D4AF37;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.15);
}

.area-answer {
  max-width: 760px;
  margin: 0 auto 26px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f2f2f2;
}

.area-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.area-facts li {
  padding: 8px 16px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 30px;
  color: #e6e6e6;
  font-size: 0.92rem;
}

.area-facts strong {
  color: #D4AF37;
}

/* --- Кнопки --- */
.area-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.area-cta-bottom {
  margin-top: 36px;
}

.area-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 15px;
  border: 2px solid #D4AF37;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.3);
}

.area-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.45);
}

.area-btn-gold {
  background: #D4AF37;
  color: #000000;
}

.area-btn-gold:hover {
  background: #e6c14a;
}

/* --- Блоки --- */
.area-block {
  padding: 80px 20px;
  text-align: center;
}

.area-block h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #D4AF37;
  margin-bottom: 30px;
}

.area-block h3 {
  font-size: 1.2rem;
  color: #D4AF37;
  margin: 36px 0 16px;
}

.area-light {
  background: #ffffff;
}

.area-dark {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.area-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #e6e6e6;
  text-align: left;
}

.area-note {
  margin-top: 26px;
  font-size: 1rem;
}

.area-note a {
  color: #000;
  font-weight: 700;
}

/* --- Чипы: районы, ZIP, ссылки --- */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.chip {
  padding: 9px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.chip-zip {
  background: #ffffff;
  color: #000000;
  border: 2px solid #D4AF37;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.chip-link {
  color: #D4AF37;
  transition: transform 0.2s ease;
}

.chip-link:hover {
  transform: translateY(-2px);
}

/* --- Таблица фактов --- */
.area-table {
  margin: 30px auto 0;
  max-width: 720px;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 1rem;
}

.area-table th,
.area-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e6e6e6;
  color: #111;
}

.area-table th {
  width: 36%;
  color: #000;
  font-weight: 700;
}

.area-table a {
  color: #000;
  font-weight: 700;
}

/* --- Список услуг --- */
.area-services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.area-services li {
  padding: 12px 16px 12px 34px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  color: #f2f2f2;
  font-size: 0.95rem;
}

.area-services li::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #D4AF37;
}

.area-brands {
  max-width: 900px;
  margin: 0 auto;
  color: #cfcfcf;
  line-height: 1.9;
}

/* --- FAQ --- */
.area-faq {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.area-faq details {
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.area-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 50px 18px 20px;
  position: relative;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.02rem;
}

.area-faq summary::-webkit-details-marker {
  display: none;
}

.area-faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #D4AF37;
  font-size: 1.5rem;
  font-weight: 400;
}

.area-faq details[open] summary::after {
  content: '–';
}

.area-faq details p {
  padding: 0 20px 18px;
  margin: 0;
  color: #d6d6d6;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* --- Список районов (Service Area) --- */
.sa-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
}

.sa-item {
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border: 1px solid #000;
  scroll-margin-top: 120px;
}

.sa-item h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.sa-item h3 a {
  color: #D4AF37;
  text-decoration: none;
}

.sa-item p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #e6e6e6;
}

.sa-item p strong {
  color: #C9A227;
}

.sa-more {
  display: inline-block;
  margin-top: 10px;
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.sa-zips {
  margin-top: 30px;
  color: #111;
  font-size: 1rem;
}

/* --- Ссылки на районы в подвале --- */
.footer-areas a {
  font-size: 0.9rem;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .area-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .area-hero {
    padding: 130px 16px 60px;
  }

  .area-hero h1 {
    font-size: 2rem;
  }

  .area-answer {
    font-size: 1.05rem;
  }

  .area-block {
    padding: 60px 16px;
  }

  .area-block h2 {
    font-size: 1.6rem;
  }

  .area-services,
  .sa-list {
    grid-template-columns: 1fr;
  }

  .area-table th {
    width: 42%;
  }

  .area-btn {
    width: 100%;
  }
}

/* --- Страницы услуг: карточки проблем --- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
}

.problem-card {
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.problem-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: #D4AF37;
}

.problem-card p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #e6e6e6;
}

.chip-outline {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.6);
}

.area-services a {
  color: #f2f2f2;
  text-decoration: none;
}

.area-services a:hover {
  color: #D4AF37;
}

.sa-zips a {
  color: #000;
  font-weight: 700;
}

@media (max-width: 640px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

.area-light .area-note {
  color: #333333;
}

/* --- Статьи (Repair Guides) --- */
.guide-byline {
  color: #aaaaaa;
  font-size: 0.9rem;
  margin: -6px 0 24px;
}

.guide-answer {
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 26px;
  text-align: left;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.guide-answer strong {
  display: block;
  margin-bottom: 8px;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.guide-answer p {
  margin: 0;
  color: #f2f2f2;
  font-size: 1.08rem;
  line-height: 1.7;
}

.guide-body .container {
  max-width: 820px;
  text-align: left;
}

.guide-body h2 {
  font-size: 1.55rem;
  margin: 40px 0 14px;
  text-align: left;
}

.guide-body h2:first-child {
  margin-top: 0;
}

.guide-body p,
.guide-body li {
  color: #222222;
  font-size: 1.05rem;
  line-height: 1.75;
}

.guide-body p {
  margin: 0 0 14px;
}

.guide-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.guide-body li {
  margin-bottom: 8px;
}

.guide-body li::marker {
  color: #D4AF37;
}

.guide-call {
  grid-template-columns: repeat(2, 1fr);
}

.guide-cta-text {
  margin-top: 30px;
  text-align: center;
}

.guide-cta-text a {
  color: #D4AF37;
}

/* FAQ на белом фоне */
.area-light .guide-faq details {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border-color: #000;
}

@media (max-width: 640px) {
  .guide-call {
    grid-template-columns: 1fr;
  }

  .guide-body h2 {
    font-size: 1.3rem;
  }
}

/* --- Телефон в тексте: золотая ссылка (iPhone больше не красит в синий) --- */
a.phone-link,
.area-faq a,
a[x-apple-data-detectors] {
  color: #D4AF37 !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* FAQ на белом фоне — тёмные карточки */
.area-light .area-faq details {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border-color: #000;
}

/* --- Расширенная зона обслуживания --- */
.ext-intro {
  text-align: center;
  margin-bottom: 34px;
}

.ext-intro strong {
  color: #D4AF37;
}

.ext-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
}

.ext-group {
  padding: 22px 24px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.ext-group h3 {
  margin: 0 0 12px;
}

.ext-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ext-group li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f2f2f2;
  font-size: 0.95rem;
}

.ext-group li:last-child {
  border-bottom: none;
}

.ext-group em {
  font-style: normal;
  color: #b8b8b8;
  font-size: 0.85rem;
  text-align: right;
}

/* --- «Our Recent Work» на страницах районов --- */
.area-work {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.area-work figure {
  margin: 0;
}

.area-work img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.area-work img:hover {
  transform: scale(1.02);
}

.area-work figcaption {
  margin-top: 8px;
  color: #cfcfcf;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .ext-groups,
  .area-work {
    grid-template-columns: 1fr;
  }
}

/* --- Страница About Us --- */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.about-gallery figure {
  margin: 0;
}

.about-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.about-gallery figcaption {
  margin-top: 6px;
  color: #555;
  font-size: 0.85rem;
}

.about-page-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.about-page-cards .about-card {
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.about-page-cards .about-small {
  font-size: 0.92rem;
  color: #cfcfcf;
}

.about-team-intro {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: left;
}

.about-page-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.about-page-tech {
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-page-tech img {
  width: 160px;
  height: 160px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 3px solid #D4AF37;
  object-fit: cover;
}

.about-page-tech .about-tech-initial {
  margin-bottom: 14px;
}

.about-page-tech h3 {
  margin: 0;
  font-size: 1.35rem;
}

.about-tech-role {
  margin: 4px 0 12px;
  color: #b8b8b8;
  font-size: 0.9rem;
}

.about-page-tech p:last-child {
  margin: 0;
  color: #e6e6e6;
  line-height: 1.65;
  font-size: 0.97rem;
}

@media (max-width: 640px) {
  .about-gallery,
  .about-page-cards {
    grid-template-columns: 1fr;
  }
}

.about-page-team .about-page-tech img {
  border: 3px solid #D4AF37;
  border-radius: 50%;
}
