/* =================================== */
/* File: /assets/css/stylecontact.css  */
/* Stiluri dedicate paginii contact.html — completează componentele din base.css */
/* =================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero scurt tip Medilab */
.page-hero {
  padding: 3.5rem 0 2.75rem;
  background:
    radial-gradient(700px 280px at 15% 0%, rgba(217, 143, 224, .22), transparent 60%),
    var(--brand-50);
  border-bottom: 1px solid var(--border);
}
.page-hero-eyebrow {
  margin: 0 0 .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.page-hero h1 {
  margin: 0 0 .75rem;
}
.page-hero-lead {
  margin: 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

/* Info boxes Medilab */
.info-section {
  padding: 0 0 1rem;
  margin-top: -1.75rem;
  border-top: none;
  position: relative;
  z-index: 2;
  background: transparent;
}
.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.info-box {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 28px rgba(99, 31, 122, .1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.info-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
  text-decoration: none;
}
.info-ico {
  width: 54px;
  height: 54px;
  margin: 0 auto .85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  border: 1px solid var(--brand-200);
}
.info-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-box h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  color: var(--brand-ink);
}
.info-box p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  word-break: break-word;
}

@media (max-width: 760px) {
  .info-boxes { grid-template-columns: 1fr; }
  .info-section { margin-top: 0; padding-top: 1.5rem; }
}

.contact-cta-section {
  padding-top: 3.5rem;
}
.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-cta-big {
  margin-top: 0;
  min-height: 60px;
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  border-radius: 16px;
}
.contact-cta-big svg {
  width: 22px;
  height: 22px;
}
.contact-cta-note {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
@media (max-width: 560px) {
  .contact-cta-actions { flex-direction: column; }
  .contact-cta-big { width: 100%; }
}

/* Grid principal: foto + hartă */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Foto intrare cabinet, cu efect zoom la hover */
.panel-photo {
  display: block;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(99, 31, 122, .12);
  min-height: 320px;
  border: 1px solid var(--border);
}
.panel-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.panel-photo:hover img { transform: scale(1.04); }

.map-address-link {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.map-profile-link {
  margin: 1.25rem 0 0;
  text-align: center;
}

/* Hartă (iframe) */
.map-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 32px rgba(99, 31, 122, .12);
  min-height: 320px;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

/* ====== Zoom imagine (lightbox) ====== */
#imgLightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 96vw;
  max-height: 94vh;
}
#imgLightbox::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
#imgLightbox img {
  display: block;
  max-width: 96vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
#imgLightbox .lb-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
#imgLightbox .lb-close:hover {
  background: #fff;
}
