/* /contacts/ — упрощённый современный тёмный стиль, классы ct-* */
.ct-page {
  --ct-bg: #06080B;
  --ct-bunker: #0D1014;
  --ct-coral: #FF3740;
  --ct-crimson: #ED1B24;
  --ct-athens: #F7F8FA;
  --ct-iron: #D0D3D8;
  --ct-aluminium: #A8ADB6;
  --ct-gray-chateau: #9DA2AB;
  --ct-white-10: rgba(255, 255, 255, 0.10);
  --ct-white-16: rgba(255, 255, 255, 0.16);
  --ct-white-22: rgba(255, 255, 255, 0.22);
  --ct-crimson-15: rgba(237, 27, 36, 0.15);
  --ct-crimson-25: rgba(237, 27, 36, 0.25);
  --ct-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  background: var(--ct-bg);
  color: var(--ct-athens);
  font-family: var(--ct-font);
  padding: 0 0 110px;
  line-height: 1.5;
}

.ct-page .ct-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.ct-page h1 {
  font-family: var(--ct-font);
  margin: 0;
}

.ct-label {
  display: inline-block;
  color: var(--ct-coral);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Hero */
.ct-hero {
  padding: 60px 0 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.ct-hero__title {
  margin: 18px 0 0;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
}

.ct-hero__text {
  margin-top: 28px;
  color: var(--ct-iron);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}

.ct-hero__text p {
  margin: 0 auto;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ct-hero__text p.bottom-subtitle.dark,
.ct-hero__text .bottom-title.dark {
  color: #fff !important;
}

.ct-hero__text .mark-gradient.ct-mark {
  display: inline;
  padding: 6px 12px;
  margin: 0 2px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7a7e 0%, var(--ct-coral) 35%, #b51b24 100%);
  color: #fff !important;
  font-weight: 800;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 8px 28px rgba(255, 55, 64, 0.42);
}

.ct-hero__text .mark-gradient.ct-mark::before,
.ct-hero__text .mark-gradient.ct-mark::after {
  display: none !important;
}

.ct-hero__text p.bottom-subtitle.dark,
.ct-hero__text .bottom-subtitle.dark {
  color: #fff !important;
  font-size: 24px;
  line-height: 1.5;
}

/* Cards */
.ct-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ct-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 38px 40px;
  background: radial-gradient(circle at 100% 0%, var(--ct-crimson-15) 0%, transparent 35%), var(--ct-bunker);
  border: 1px solid var(--ct-white-10);
  border-radius: 24px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ct-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 55, 64, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ct-card:hover,
.ct-card:focus {
  transform: translateY(-6px);
  border-color: var(--ct-white-22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 55, 64, 0.12);
}

.ct-card:hover::after,
.ct-card:focus::after {
  opacity: 1;
}

.ct-card__label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ct-aluminium);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ct-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 55, 64, 0.14);
  border: 1px solid rgba(255, 55, 64, 0.18);
  color: var(--ct-coral);
}

.ct-card__icon svg {
  width: 20px;
  height: 20px;
}

.ct-card__value {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.12;
  word-break: break-word;
}

.ct-card__value--sm {
  font-size: 20px;
  font-weight: 500;
  color: var(--ct-iron);
  line-height: 1.45;
}

.ct-phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-phones a {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ct-phones a:hover {
  color: var(--ct-coral);
}

.ct-card--wide {
  grid-column: 1 / -1;
}

.ct-card--address {
  grid-column: 1 / -1;
}

/* Messengers */
.ct-messenger {
  position: relative;
  overflow: hidden;
}

.ct-card__icon--messenger {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ct-coral) 0%, var(--ct-crimson) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 55, 64, 0.35);
}

.ct-card__icon--messenger svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  color: #fff;
}

.ct-card__icon--messenger svg use {
  fill: #fff;
}

.ct-messenger__glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--ct-coral);
  filter: blur(50px);
  opacity: 0.18;
  z-index: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.ct-messenger:hover .ct-messenger__glow {
  opacity: 0.32;
  transform: scale(1.15);
}

.ct-messenger:hover .ct-card__icon--messenger {
  animation: ct-messenger-pop 0.5s ease;
}

@keyframes ct-messenger-pop {
  50% { transform: scale(1.12) rotate(-4deg); }
  100% { transform: scale(1) rotate(0); }
}

.ct-messenger:hover .ct-card__value--sm {
  color: #fff;
}

/* Responsive */
@media screen and (max-width: 1366px) {
  .ct-hero__title {
    font-size: 50px;
  }
  .ct-hero__text {
    font-size: 20px;
  }
}

@media screen and (max-width: 991px) {
  .ct-page {
    padding: 0 0 80px;
  }
  .ct-hero {
    padding-top: 48px;
    padding-bottom: 45px;
  }
  .ct-hero__title {
    font-size: 38px;
  }
  .ct-hero__text {
    font-size: 18px;
  }
  .ct-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ct-card--wide,
  .ct-card--address {
    grid-column: auto;
  }
  .ct-card {
    padding: 30px;
  }
  .ct-card__value {
    font-size: 28px;
  }
  .ct-phones a {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) {
  .ct-page {
    padding-top: 0;
  }
  .ct-hero {
    padding-top: 36px;
  }
  .ct-hero__title {
    font-size: 30px;
    line-height: 1.15;
  }
  .ct-hero__text {
    font-size: 16px;
  }
  .ct-card {
    padding: 24px;
    border-radius: 18px;
  }
  .ct-card__value {
    font-size: 23px;
  }
  .ct-phones a {
    font-size: 21px;
  }
  .ct-card__value--sm {
    font-size: 16px;
  }
}

#map {
  width: 100%;
  margin-top: 2rem;
  height: 600px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  /* Главный фильтр — превращает всё в чёрно‑белое */
  filter: grayscale(100%);
  /* Для лучшей чёткости в некоторых браузерах */
  -webkit-filter: grayscale(100%);
}