/**
 * Habereta — Contact page
 */

.habereta-contact-page {
  background: var(--hb-bg-soft, #f8fafc);
  font-family: var(--hb-font, "Inter", "Noto Sans Ethiopic", system-ui, sans-serif);
  color: var(--hb-text, #0f172a);
}

.habereta-contact-page .apus-breadcrumb,
.habereta-contact-page .breadcrumb,
.habereta-contact-page .page-title,
.habereta-contact-page #apus-breadscrumb,
.habereta-contact-page .entry-header,
.habereta-contact-page .entry-content {
  display: none !important;
}

.hb-contact-page {
  padding-bottom: 64px;
}

.hb-contact-hero {
  padding: 44px 0 36px;
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(37, 99, 235, 0.18), transparent 58%),
    linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--hb-border, #e2e8f0);
}

.hb-contact-hero__inner {
  max-width: 640px;
  text-align: center;
}

.hb-contact-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hb-contact-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hb-contact-hero__lead {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--hb-text-secondary, #475569);
}

.hb-contact-cards {
  padding: 40px 0 24px;
}

.hb-contact-cards__grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .hb-contact-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hb-contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: var(--hb-surface, #fff);
  border: 1px solid var(--hb-border, #e2e8f0);
  border-radius: var(--hb-radius-lg, 16px);
  box-shadow: var(--hb-shadow-xs, 0 1px 3px rgba(15, 23, 42, 0.05));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hb-contact-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--hb-shadow-sm, 0 4px 12px rgba(15, 23, 42, 0.06));
}

.hb-contact-card--primary {
  border-color: #bfdbfe;
  background: linear-gradient(160deg, #fff 0%, #f8fbff 100%);
}

.hb-contact-card--telegram {
  border-color: #bae6fd;
  background: linear-gradient(160deg, #fff 0%, #f0f9ff 100%);
}

.hb-contact-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
}

.hb-contact-card--telegram .hb-contact-card__icon {
  background: #e0f2fe;
  color: #0284c7;
}

.hb-contact-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.hb-contact-card > p:not(.hb-contact-card__value) {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hb-text-secondary, #475569);
}

.hb-contact-card__value {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hb-text, #0f172a);
  text-decoration: none;
}

a.hb-contact-card__value {
  color: #2563eb;
}

a.hb-contact-card__value:hover {
  text-decoration: underline;
}

.hb-contact-card__phones a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
}

.hb-contact-card__phones a:hover {
  text-decoration: underline;
}

.hb-contact-card__phones .hb-support-phones__sep {
  color: var(--hb-muted, #94a3b8);
  font-weight: 500;
}

.hb-contact-card__address {
  font-weight: 600;
  color: var(--hb-text, #0f172a);
}

.hb-contact-card__telegram.hb-telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0284c7;
}

.hb-contact-help {
  padding: 16px 0 32px;
}

.hb-contact-help__inner {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border-radius: var(--hb-radius-xl, 24px);
  color: #fff;
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.22);
}

@media (min-width: 768px) {
  .hb-contact-help__inner {
    grid-template-columns: 1fr auto;
    gap: 28px;
    padding: 32px 36px;
  }
}

.hb-contact-help__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
}

.hb-contact-help__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 52ch;
}

.hb-contact-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hb-contact-help__actions .hb-btn-primary {
  background: #fff;
  color: #1e3a8a;
  border-color: #fff;
}

.hb-contact-help__actions .hb-btn-primary:hover {
  background: #eff6ff;
}

.hb-contact-help__actions .hb-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hb-contact-help__actions .hb-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.hb-contact-links {
  padding: 8px 0 0;
}

.hb-contact-links__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hb-muted, #64748b);
}

.hb-contact-links__inner a {
  color: #2563eb;
  text-decoration: none;
}

.hb-contact-links__inner a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .hb-contact-help__actions .hb-btn {
    width: 100%;
    justify-content: center;
  }
}
