/* ═══════════════════════════════════════════════════════════════
   پارس پگاه تجارت — استایل صفحهٔ «تماس با ما»
   (طرح سینمایی تیره — هماهنگ با main.css)
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────
   ۱) هیروی فشرده
────────────────────────────────────────────────────────────── */
.ct-hero {
  position: relative;
  padding: 158px 0 64px;
  background:
    radial-gradient(58% 52% at 82% 8%, var(--deep-1) 0%, transparent 70%),
    radial-gradient(40% 38% at 12% 22%, rgba(223, 181, 79, 0.07) 0%, transparent 72%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  overflow: hidden;
}
.ct-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.ct-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(43, 224, 166, 0.28);
  border-radius: 999px;
  background: rgba(43, 224, 166, 0.07);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ct-hero__title {
  margin: 22px 0 0;
  max-width: 17ch;
  line-height: 1.18;
}

.ct-hero__latin {
  display: block;
  margin-top: 14px;
  font-family: var(--latin);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  color: var(--muted-2);
  direction: ltr;
}

.ct-hero__lead {
  margin-top: 22px;
  max-width: 58ch;
}

/* ──────────────────────────────────────────────────────────────
   ۲) چیپ‌های تماس سریع
────────────────────────────────────────────────────────────── */
.ct-chips {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ct-chip__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
a.ct-chip__link:hover,
a.ct-chip__link:focus-visible {
  border-color: rgba(43, 224, 166, 0.45);
  background: rgba(43, 224, 166, 0.06);
  transform: translateY(-3px);
}

.ct-chip__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(43, 224, 166, 0.3);
  background: rgba(43, 224, 166, 0.1);
  color: var(--teal);
}
.ct-chip__icon svg { width: 20px; height: 20px; }

.ct-chip__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.ct-chip__k {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
.ct-chip__v {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ──────────────────────────────────────────────────────────────
   ۳) شبکهٔ اصلی: کارت اطلاعات + فرم
────────────────────────────────────────────────────────────── */
.ct-main__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: start;
}

/* — کارت اطلاعات — */
.ct-info {
  padding: 26px;
  border: 1px solid var(--hair);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    var(--panel);
  position: relative;
  overflow: hidden;
}
.ct-info::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(43, 224, 166, 0.55), transparent);
}

.ct-info__rows { display: grid; gap: 2px; }

.ct-info__row {
  display: grid;
  gap: 5px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--hair-2);
}
.ct-info__row:last-child { border-bottom: 0; }

.ct-info__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.ct-info__value {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}
.ct-info__value--link { color: var(--ink); text-decoration: none; transition: color 0.25s var(--ease); }
.ct-info__value--link:hover,
.ct-info__value--link:focus-visible { color: var(--teal); }

.ct-info__call { justify-content: center; margin-top: 20px; }

/* — شبکه‌های اجتماعی — */
.ct-info__social {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--hair-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ct-info__social-label { font-size: 0.78rem; color: var(--muted); }
.ct-info__social-btns { display: flex; gap: 9px; }

/* — فرم — */
.ct-form__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 18px;
}

/* ──────────────────────────────────────────────────────────────
   ۴) نقشهٔ دفتر مرکزی
────────────────────────────────────────────────────────────── */
.ct-map__panel {
  position: relative;
  margin-top: 40px;
  border: 1px solid var(--hair);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(27, 58, 42, 0.5) 0%, transparent 68%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.025) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.025) 39px 40px),
    var(--panel-2);
  min-height: 420px;
}

.ct-map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(0.95) brightness(0.78);
  opacity: 0.9;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}
.ct-map__panel:hover .ct-map__frame {
  filter: grayscale(0.25) contrast(1) brightness(0.95);
  opacity: 1;
}

/* کارت آدرس شنا‌رو روی نقشه */
.ct-map__card {
  position: absolute;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 2;
  width: min(340px, calc(100% - 44px));
  padding: 20px 22px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: rgba(7, 10, 8, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.75);
}

.ct-map__pin {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid rgba(43, 224, 166, 0.35);
  background: rgba(43, 224, 166, 0.12);
  color: var(--teal);
}
.ct-map__pin svg { width: 19px; height: 19px; }

.ct-map__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.ct-map__addr {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.9;
}

/* ──────────────────────────────────────────────────────────────
   ۵) ریسپانسیو
────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .ct-chips { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .ct-hero { padding: 132px 0 54px; }
  .ct-hero__title { max-width: none; }

  .ct-main__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ct-info { order: 2; }
  .ct-form { order: 1; }
}

@media (max-width: 640px) {
  .ct-hero { padding: 118px 0 44px; }
  .ct-chips { grid-template-columns: 1fr; gap: 10px; }

  .ct-info { padding: 20px; }

  .ct-map__panel { min-height: 360px; }
  .ct-map__card {
    position: static;
    width: auto;
    margin: 0;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--hair);
    background: rgba(7, 10, 8, 0.92);
  }
  .ct-map__frame { position: static; height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-chip__link,
  .ct-map__frame { transition: none; }
}
