/**
 * Page-specific styles for Contact page (page-contact.php)
 * Only new elements that don't exist in style.css or front.css
 */

/* Hero section - Contact specific (smaller than other pages) */
.hero--contact {
  padding: calc(var(--header-h) + clamp(32px, 5vw, 52px)) 0 clamp(42px, 6vw, 72px);
  text-align: center;
}

.hero--contact .hero-content {
  max-width: 680px;
}

.hero--contact h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 12px;
}

.hero--contact h1::after {
  width: min(400px, 80%);
}

.hero-subtitle--contact {
  max-width: 52ch;
  padding: 14px 16px;
  margin-bottom: 0;
}

.hero-subtitle--contact p {
  font-size: clamp(15px, 1.2vw, 17px);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 38, 56, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(10, 124, 255, 0.22);
}

a.contact-card:hover .contact-card-value {
  color: var(--accent);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(10, 124, 255, 0.10);
  border: 1px solid rgba(10, 124, 255, 0.14);
  color: var(--accent-strong);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-card-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  word-break: break-word;
  transition: color 0.18s ease;
}

/* Contact card variants */
.contact-card--phone .contact-card-icon {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.18);
  color: #16a34a;
}

.contact-card--email .contact-card-icon {
  background: rgba(10, 124, 255, 0.10);
  border-color: rgba(10, 124, 255, 0.14);
  color: var(--accent-strong);
}

.contact-card--address .contact-card-icon {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.18);
  color: #d97706;
}

.contact-card--hours .contact-card-icon {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.18);
  color: #7c3aed;
}

/* Trust Block */
.trust-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 38, 56, 0.08);
  box-shadow: var(--shadow);
}

.trust-block-content .section-title {
  margin-bottom: 10px;
}

.trust-block-content .section-lead {
  margin-bottom: 0;
  max-width: 48ch;
}

.trust-details {
  display: flex;
  align-items: center;
}

.trust-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(10, 124, 255, 0.04);
  border: 1px solid rgba(10, 124, 255, 0.10);
}

.trust-item dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-item dd {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

/* Map section */
.section--map {
  padding-bottom: 0;
}

.section--map .section-title {
  margin-bottom: 8px;
}

.section--map .section-lead {
  margin-bottom: 20px;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 38, 56, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 400px;
}

/* SEO cities text */
.section--seo-cities {
  padding: clamp(24px, 3vw, 36px) 0;
}

.seo-cities-text {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  max-width: 72ch;
  margin: 0 auto;
}

/* Contact info section spacing */
.section--contact-info {
  padding-top: clamp(32px, 4vw, 48px);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trust-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 16px 14px;
  }

  .contact-card-icon {
    width: 44px;
    height: 44px;
  }

  .contact-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .map-wrapper iframe {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .hero--contact h1 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .trust-item {
    padding: 12px 14px;
  }

  .trust-item dd {
    font-size: 15px;
  }
}
