/* =============================================================
   KONTAKT PAGE — Specjalistyczna Przychodnia Lekarska Fundacji AK
   ============================================================= */

/* ---- Page Hero ---- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(66,18,20,0.95) 0%, rgba(92,26,27,0.92) 60%, rgba(45,62,44,0.88) 100%);
  color: var(--paper-light);
  padding: 5rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 60px, rgba(241,233,214,0.025) 60px 61px),
    radial-gradient(ellipse at 90% 10%, rgba(168,100,42,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(45,62,44,0.35) 0%, transparent 55%);
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 700px; margin: 0 auto;
  animation: rise 0.8s var(--ease-out) forwards;
  opacity: 0; transform: translateY(30px);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.01em;
}
.page-hero .lead {
  font-size: 1.15rem;
  color: rgba(241,233,214,0.85);
  line-height: 1.6;
}

/* ---- Quick Actions ---- */
.quick-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 2rem;
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}
.qa-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  color: var(--bordeaux-deep);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--sans);
  font-size: 1rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.2s;
  box-shadow: 0 4px 20px rgba(66,18,20,0.1);
}
.qa-btn svg {
  width: 22px; height: 22px;
  fill: var(--copper);
  flex-shrink: 0;
}
.qa-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(66,18,20,0.15);
  background: #fff;
}
.qa-btn:active {
  transform: translateY(0);
}

/* ---- Contact Section ---- */
.contact-section {
  padding: 4rem 2rem 5rem;
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* ---- Contact Info Cards ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--paper-light);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--copper);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.contact-card:hover {
  transform: translateX(4px);
  box-shadow: 6px 6px 0 rgba(92,26,27,0.06);
}
.contact-card-icon {
  width: 44px; height: 44px;
  background: var(--bordeaux);
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--copper);
}
.contact-card-icon svg {
  width: 22px; height: 22px;
  fill: var(--paper-light);
}
.contact-card-body h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bordeaux-deep);
  margin-bottom: 0.5rem;
}
.contact-card-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0.25rem;
}
.contact-card-body strong {
  color: var(--ink);
}
.card-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--bordeaux);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.card-link:hover {
  color: var(--copper);
}
.phone-number {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bordeaux-deep);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.phone-number:hover {
  color: var(--copper);
}
.email-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bordeaux);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}
.email-link:hover {
  color: var(--copper);
}
.small-note {
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  margin-top: 0.35rem;
  font-style: italic;
}

/* ---- Map ---- */
.map-wrapper {
  background: var(--paper-light);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}
.map-actions {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bordeaux);
  color: var(--paper-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s var(--ease-out);
}
.map-btn svg {
  width: 18px; height: 18px;
  fill: currentColor;
}
.map-btn:hover {
  background: var(--copper);
  transform: translateY(-2px);
}

/* ---- Opening Hours Card ---- */
.hours-card {
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: var(--bordeaux-deep);
  color: var(--paper-light);
  border: 1px solid rgba(196,130,74,0.35);
  position: relative;
}
.hours-card::before {
  content: "";
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px solid rgba(196,130,74,0.2);
  pointer-events: none;
}
.hours-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--copper-light);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(196,130,74,0.3);
}
.hours-card h3 svg {
  width: 22px; height: 22px;
  fill: var(--copper-light);
  flex-shrink: 0;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(241,233,214,0.15);
  font-size: 0.92rem;
  transition: opacity 0.3s, background 0.3s;
}
.hours-row:last-of-type {
  border-bottom: none;
}
.hours-day {
  color: var(--copper-light);
  font-weight: 600;
  font-family: var(--serif);
  font-style: italic;
  min-width: 110px;
}
.hours-time {
  color: rgba(241,233,214,0.9);
}

/* Hours: highlight today */
.hours-row.is-today {
  background: rgba(196,130,74,0.18);
  border-left: 3px solid var(--copper-light);
  padding-left: 0.7rem;
  margin: 0 -0.5rem;
  padding-right: 0.5rem;
  border-radius: 4px;
}
.hours-row.is-today .hours-day { color: #fff; }
.hours-row.is-today .hours-time { color: #fff; font-weight: 600; }
.hours-row.is-other-day { opacity: 0.5; }
.hours-row.is-other-day:hover { opacity: 0.75; }

/* Holiday & status */
.hours-holiday {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: rgba(180,40,40,0.25);
  border: 1px solid rgba(220,80,80,0.4);
  border-radius: 4px;
  font-size: 0.85rem;
  color: rgba(255,200,200,0.95);
  font-weight: 500;
}
.hours-status {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---- Transport Card ---- */
.transport-card {
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: var(--paper-light);
  border: 1px solid var(--rule);
}
.transport-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bordeaux-deep);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bordeaux);
}
.transport-card h3 svg {
  width: 22px; height: 22px;
  fill: var(--bordeaux);
  flex-shrink: 0;
}
.transport-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.transport-item:hover {
  background: var(--paper-dark);
}
.transport-badge {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  border-radius: 6px;
  flex-shrink: 0;
}
.transport-badge.metro { background: #c4302b; }
.transport-badge.tram { background: #1a73e8; }
.transport-badge.bus { background: #2d8a4e; }
.transport-badge.car { background: var(--muted); }
.transport-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.transport-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .quick-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: -1.5rem;
    padding: 0 1.5rem;
  }
  .qa-btn {
    justify-content: center;
  }
  .page-hero {
    padding: 3.5rem 1.5rem 3rem;
  }
  .contact-section {
    padding: 3rem 1.5rem 3.5rem;
  }
  .phone-number {
    font-size: 1.3rem;
  }
  .map-wrapper iframe {
    height: 300px;
  }
}
