/* hepatolog.az - "Bizimlə əlaqə" page.
   Scoped to the .ct_* blocks used only on that page. */

/* ---------- intro ---------- */

.ct_intro {
  padding: 90px 0 70px;
}

.ct_head {
  max-width: 660px;
  margin-bottom: 50px;
}

.ct_eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--wine);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ct_head h1 {
  margin-top: 22px;
  font-size: 44px;
  line-height: 1.18;
  font-weight: 700;
  color: var(--wine);
}

.ct_head p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 32px;
  color: #4b5563;
}

/* ---------- contact channels ---------- */

.ct_cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ct_card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ink-soft);
  box-shadow: 0 3px 16px -10px rgba(22, 47, 98, 0.35);
  transition: all 0.3s var(--ease);
}

.ct_card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 28px 46px -26px rgba(119, 28, 46, 0.5);
}

.ct_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--wine-deep) 0%, var(--red) 100%);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 16px 26px -16px rgba(119, 28, 46, 0.8);
  transition: transform 0.35s var(--ease);
}

.ct_icon_two {
  background: linear-gradient(180deg, #ff9f14 0%, var(--coral) 100%);
  box-shadow: 0 16px 26px -16px rgba(255, 159, 20, 0.8);
}

.ct_icon_three {
  background: linear-gradient(180deg, var(--coral) 0%, #eb58b9 100%);
  box-shadow: 0 16px 26px -16px rgba(235, 88, 185, 0.8);
}

.ct_card:hover .ct_icon {
  transform: translateY(-3px) scale(1.04);
}

.ct_card h2 {
  margin-top: 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #6b7280;
}

.ct_card strong {
  margin-top: 10px;
  font-size: 21px;
  line-height: 32px;
  font-weight: 600;
  color: var(--wine);
}

.ct_go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--coral);
}

.ct_go i {
  transition: transform 0.3s var(--ease);
}

.ct_card:hover .ct_go i {
  transform: translateX(4px);
}

/* ---------- map ---------- */

.ct_map_sec {
  padding: 30px 0 90px;
}

.ct_map_head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.ct_map_head h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--wine);
  position: relative;
  padding-bottom: 18px;
}

.ct_map_head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--wine) 100%);
}

.ct_map_link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--wine);
  white-space: nowrap;
}

.ct_map_link i {
  transition: transform 0.3s var(--ease);
}

.ct_map_link:hover {
  color: var(--coral);
}

.ct_map_link:hover i {
  transform: translateX(4px);
}

.ct_map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ink-soft);
  box-shadow: 0 30px 55px -36px rgba(22, 47, 98, 0.6);
  background: var(--surface);
}

.ct_map iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

/* ---------- social ---------- */

.ct_social_sec {
  padding: 0 0 100px;
}

.ct_social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 38px 44px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 60%, #5d1526 100%);
  box-shadow: 0 30px 55px -34px rgba(119, 28, 46, 0.85);
}

.ct_social h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.ct_social p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.ct_social ul {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct_social ul a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  transition: all 0.3s var(--ease);
}

.ct_social ul a:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- responsive ---------- */

@media (max-width: 1199px) {
  .ct_cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .ct_intro { padding: 70px 0 50px; }
  .ct_head h1 { font-size: 36px; }
  .ct_map_head h2 { font-size: 26px; }
  .ct_map iframe { height: 400px; }
  .ct_social { grid-template-columns: minmax(0, 1fr); padding: 32px; }
}

@media (max-width: 767px) {
  .ct_intro { padding: 56px 0 40px; }
  .ct_cards { grid-template-columns: minmax(0, 1fr); }
  .ct_head h1 { font-size: 30px; }
  .ct_map_sec { padding-bottom: 60px; }
  .ct_map iframe { height: 320px; }
  .ct_social_sec { padding-bottom: 70px; }
  .ct_social ul { flex-wrap: wrap; }
}

/* breadcrumbs on the light intro of the contact page */

.ct_intro .speedbar1 {
  margin-bottom: 22px;
}

.ct_intro .speedbar .over,
.ct_intro .speedbar .over a,
.ct_intro .speedbar .over span {
  color: #6b7280;
  font-size: 14px;
}

.ct_intro .speedbar .over span {
  color: #374151;
}

.ct_intro .speedbar .over a:hover {
  color: var(--wine);
}

/* ---------- часы приёма ---------- */

.ct_hours {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 520px;
  margin: 26px auto 0;
  padding: 20px 24px;
  border: 1px solid var(--ink-soft);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px -4px rgba(22, 47, 98, 0.08);
}

.ct_hours h2 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a8699;
}

.ct_hours strong { display: block; font-size: 18px; color: var(--wine); }

/* только текст, не обёртка иконки: .ct_hours span ловил и её и ломал центровку */
.ct_hours > div span {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: #4a5568;
}

@media (max-width: 480px) {
  .ct_hours { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---------- просьба оставить отзыв ---------- */

.ct_review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 860px;
  margin: 20px auto 0;
  padding: 24px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--wine-deep) 0%, var(--red) 100%);
  color: #fff;
}

.ct_review h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}

.ct_review p {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 25px;
  opacity: 0.88;
}

.ct_review .theme_btn {
  background-image: none;
  background: #fff;
  color: var(--wine) !important;
}

.ct_review .theme_btn:hover { background: var(--coral); color: #fff !important; }

@media (max-width: 600px) {
  .ct_review { flex-direction: column; align-items: flex-start; }
}
