/* ==========================================================================
   Tre Kronor Pizzeria — contacts page
   About, contact cards, map
   ========================================================================== */

.contacts-main {
  padding-top: calc(var(--header-h) + 2.5rem);
}

.page-heading {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-heading::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 2px;
  background: var(--accent);
}

.page-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 3rem;
}

/* ---------- About ---------- */

.about-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  margin-bottom: 3.5rem;
}

.about-card img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact cards ---------- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card .icon-badge {
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.contact-card p {
  margin: 0.15rem 0;
  color: var(--ink-soft);
}

.contact-card a {
  color: var(--accent-dark);
  font-weight: 700;
}

.contact-card .phone-link {
  font-size: 1.15rem;
}

/* ---------- Map ---------- */

.map-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  text-align: center;
}

.map-card #map {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-card .map-cta {
  margin-top: 1.25rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .about-card {
    grid-template-columns: 1fr;
  }

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