/* ─────────────────────────────────────────────────────────────────────────
   Контакты — page-specific styles
   Базовые переменные, хедер, футер определены в home/styles.css
───────────────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────────────
   BREADCRUMB
────────────────────────────────────────────────────────────────────── */
.page-crumb-wrap {
  padding: 20px var(--px) 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.breadcrumb-current { color: var(--text-light); }

/* ──────────────────────────────────────────────────────────────────────
   PAGE HERO
────────────────────────────────────────────────────────────────────── */
.ct-hero {
  padding: 32px var(--px) 48px;
}
.ct-page-title {
  font-family: 'Play', Arial, sans-serif;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: #fff;
}

/* ──────────────────────────────────────────────────────────────────────
   MAP + INFO SECTION
────────────────────────────────────────────────────────────────────── */
.ct-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 var(--px) 40px;
  min-height: 504px;
}

/* Левая колонка — карта */
.ct-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a25;
  min-height: 420px;
  position: relative;
}
.ct-map-wrap #ymap {
  width: 100%;
  height: 100%;
  min-height: 420px;
}
.ct-map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a25;
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

/* Правая колонка — инфо-панель */
/* Figma fill_QFAHWB: linear-gradient(-90deg, rgba(57,69,87,1) 0%, rgba(0,22,43,1) 100%) */
.ct-info-panel {
  background: linear-gradient(-90deg, rgba(57,69,87,1) 0%, rgba(0,22,43,1) 100%);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ct-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-info-label {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-light);
}
.ct-info-value {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}
.ct-info-value--large {
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ──────────────────────────────────────────────────────────────────────
   REFERENCE CARDS SECTION
────────────────────────────────────────────────────────────────────── */
.ct-cards-section {
  padding: 0 var(--px) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ct-card {
  border: 1px solid rgba(86,113,143,0.6);
  border-radius: 16px;
  padding: 32px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.ct-card-title {
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.33;
  color: #fff;
  max-width: 320px;
}

/* Техподдержка — фоновая иллюстрация (опционально) */
.ct-card--support {
  background: rgba(255,255,255,0.02);
}

.ct-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ct-card-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ct-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ct-contact-value {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.ct-contact-value:hover { color: var(--accent); }
.ct-contact-label {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ──────────────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤1100px)
────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ct-main { grid-template-columns: 1fr; }
  .ct-map-wrap { min-height: 320px; }
  .ct-map-wrap #ymap,
  .ct-map-placeholder { min-height: 320px; }
  .ct-cards-section { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ct-hero { padding: 24px var(--px) 32px; }

  .ct-main {
    padding: 0 var(--px) 24px;
    gap: 16px;
  }
  .ct-map-wrap { min-height: 280px; border-radius: 8px; }
  .ct-map-wrap #ymap,
  .ct-map-placeholder { min-height: 280px; }

  .ct-info-panel {
    border-radius: 8px;
    padding: 20px 16px;
    /* mobile: vertical gradient */
    background: linear-gradient(180deg, rgba(0,22,43,1) 0%, rgba(57,69,87,1) 100%);
  }

  .ct-cards-section {
    padding: 0 var(--px) 48px;
    gap: 16px;
  }
  .ct-card {
    border-radius: 8px;
    padding: 20px 16px 24px;
    gap: 24px;
  }
  .ct-card-title { font-size: 18px; }
  .ct-contact-value { font-size: 17px; }
}
