/* =========================================
   O FIRMIE – KIM JESTEŚMY
   ========================================= */

.section-about-intro {
  padding-block: clamp(3rem, 5vw, 4rem);
  background: var(--color-bg);
  border-bottom: 1px solid #e5e7eb;
}

.about-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.about-intro-text .section-subtitle {
  margin-bottom: 0.4rem;
}

.about-intro-text .section-description {
  max-width: 60ch;
}

.about-intro-text p + p {
  margin-top: 0.75rem;
}

.about-intro-facts {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.maplink{
  color: var(--color-brand);
  text-decoration: underline;
}
.about-intro-fact {
  min-width: 9rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-intro-fact__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main, #0f172a);
}

.about-intro-fact__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted, #6b7280);
}

.about-intro-media {
  justify-self: stretch;
}

.about-intro-photo-frame {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 40%, #ffffff 100%);
  box-shadow:
    0 26px 55px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(241, 245, 249, 0.95);
}

.about-intro-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15, 23, 42, 0.14), transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.about-intro-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================================
   JAK PRACUJEMY – GALERIA
   ========================================= */

.section-about-gallery {
  padding-block: clamp(3rem, 5vw, 3.8rem);
  background: #ffffff;
}

.about-gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.about-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-gallery-thumb {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.about-gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(15, 23, 42, 0.16),
    transparent 40%,
    rgba(15, 23, 42, 0.32)
  );
  mix-blend-mode: multiply;
  opacity: 0.7;
  pointer-events: none;
}

.about-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(148, 163, 184, 0.8);
}

.about-gallery-caption {
  font-size: 0.88rem;
  color: var(--color-text-muted, #4b5563);
}

/* =========================================
   LOKALIZACJA I ZASIĘG – MAPA
   ========================================= */

.section-about-location {
  padding-block: clamp(3rem, 5vw, 3.8rem);
  background: var(--color-bg);
  border-top: 1px solid #e5e7eb;
}

.about-location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.about-location-text .section-subtitle {
  margin-bottom: 0.4rem;
}

.about-location-text .section-description {
  max-width: 55ch;
}

.about-location-list {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-main, #0f172a);
}

.about-location-list li + li {
  margin-top: 0.25rem;
}

/* Mapka / wizualka */

.about-location-visual {
  justify-self: stretch;
}

.about-location-map-frame {
  border-radius: 1.1rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow:
    0 22px 45px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(241, 245, 249, 0.95);
  padding: 0.75rem;
}

.about-location-map-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
}

.about-location-map-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted, #6b7280);
}

/* Jeśli użyjesz iframe z Google Maps – opcjonalne style */
.about-location-map-embed {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  min-height: 250px;
}

.about-location-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   RESPONSYWNOŚĆ DLA O-FIRMIE
   ========================================= */

@media (max-width: 1024px) {
  .about-intro-layout,
  .about-location-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-location-visual {
    order: -1;
  }
}

@media (max-width: 900px) {
  .about-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section-about-intro,
  .section-about-gallery,
  .section-about-location {
    padding-block: 2.4rem;
  }

  .about-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-intro-facts {
    flex-direction: column;
  }
}
