/* ── KrzyżanDetail — Local / Programmatic pages ── */

/* ══════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden],
.breadcrumb > span:last-child { color: oklch(72% 0.1 75 / 35%); }

/* ══════════════════════════════════════════════════
   LOC HERO
══════════════════════════════════════════════════ */
.loc-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Subtle background image — very dark overlay */
.loc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 20% 110%, oklch(72% 0.1 75 / 10%), transparent 65%),
    radial-gradient(ellipse 50% 40% at 90% 10%, oklch(72% 0.1 75 / 4%), transparent 60%);
  pointer-events: none;
}

/* Top accent line */
.loc-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, oklch(72% 0.1 75 / 40%) 40%, transparent 100%);
  pointer-events: none;
}

.loc-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.loc-h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 20px 0 28px;
}

.loc-lead {
  font-size: 1.05rem;
  color: var(--light);
  line-height: 1.8;
  max-width: 60ch;
  margin: 0;
}

.loc-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  font-size: 0.72rem;
  color: var(--muted);
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line-dim);
}
.loc-meta span[aria-hidden] {
  color: var(--gold);
  font-size: 0.4rem;
  opacity: 0.5;
}

/* ══════════════════════════════════════════════════
   SERVICE LINKS LIST  (city hub)
══════════════════════════════════════════════════ */
.loc-services { padding: 80px 0; }

.service-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 44px;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--white);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  position: relative;
}
.service-link:hover {
  background: oklch(72% 0.1 75 / 6%);
  border-color: oklch(72% 0.1 75 / 40%);
  transform: translateX(6px);
}

.sl-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: oklch(72% 0.1 75 / 35%);
  line-height: 1;
  min-width: 36px;
  flex-shrink: 0;
  padding-top: 1px;
  transition: color 0.25s;
}
.service-link:hover .sl-num { color: oklch(72% 0.1 75 / 70%); }

.sl-body,
.service-link > div { flex: 1; min-width: 0; }

.sl-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.sl-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Arrow on right */
.service-link::after {
  content: '→';
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.service-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════════════
   WHY GRID  (city hub)
══════════════════════════════════════════════════ */
.loc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.loc-why-item {
  padding: 32px 28px;
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.25s;
}
.loc-why-item:hover { border-color: oklch(72% 0.1 75 / 30%); }

.lw-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: oklch(72% 0.1 75 / 30%);
  line-height: 1;
  margin-bottom: 20px;
}
.loc-why-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}
.loc-why-item p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 44px;
}

.faq-item {
  padding: 26px 32px;
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.25s;
  position: relative;
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: oklch(72% 0.1 75 / 0%);
  border-radius: 2px;
  transition: background 0.25s;
}
.faq-item:hover { border-color: oklch(72% 0.1 75 / 25%); }
.faq-item:hover::before { background: oklch(72% 0.1 75 / 60%); }

.faq-q {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--white);
}
.faq-a {
  font-size: 0.83rem;
  color: var(--light);
  line-height: 1.75;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   NEARBY LINKS / "INNE USŁUGI" SECTION
══════════════════════════════════════════════════ */
.nearby-section {
  padding: 64px 0;
  border-top: 1px solid var(--line-dim);
}

.nearby-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.nearby-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--light);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.nearby-link:hover {
  background: oklch(72% 0.1 75 / 10%);
  border-color: oklch(72% 0.1 75 / 45%);
  color: var(--gold);
}
.nearby-link.nearby-all {
  border-color: oklch(72% 0.1 75 / 25%);
  color: var(--gold);
}
.nearby-link.nearby-all:hover {
  background: oklch(72% 0.1 75 / 15%);
  border-color: oklch(72% 0.1 75 / 60%);
}

/* ══════════════════════════════════════════════════
   NEARBY SECTION wrapper (formerly inline padding)
══════════════════════════════════════════════════ */
.nearby-section .section {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* ══════════════════════════════════════════════════
   LOC CTA SECTION
══════════════════════════════════════════════════ */
.loc-cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.loc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, oklch(72% 0.1 75 / 5%), transparent);
  pointer-events: none;
}
.loc-cta .section,
.loc-cta .loc-cta-inner { position: relative; text-align: center; }

.loc-cta-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
  opacity: 0.6;
}
/* Auto-inject rule if .loc-cta-rule not in HTML */
.loc-cta .label + h2.serif::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto 28px;
  opacity: 0.55;
}

/* ══════════════════════════════════════════════════
   CHECK LIST  (service detail)
══════════════════════════════════════════════════ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.check-dot {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: oklch(72% 0.1 75 / 8%);
  border: 1px solid oklch(72% 0.1 75 / 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.check-item:hover .check-dot {
  background: oklch(72% 0.1 75 / 15%);
  border-color: oklch(72% 0.1 75 / 55%);
}
.check-item p {
  font-size: 0.9rem;
  color: var(--light);
  line-height: 1.65;
  margin: 0;
}
.check-item strong { color: var(--white); }

/* ══════════════════════════════════════════════════
   CITY HUB — nearby cities section
══════════════════════════════════════════════════ */
.loc-nearby-cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.loc-city-card {
  display: block;
  padding: 28px 24px;
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--white);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.loc-city-card:hover {
  background: oklch(72% 0.1 75 / 6%);
  border-color: oklch(72% 0.1 75 / 35%);
  transform: translateY(-3px);
}
.loc-city-card .city-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.loc-city-card .city-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════
   SVC DESC  (service detail — text-only after image removal)
══════════════════════════════════════════════════ */
.svc-desc {
  max-width: 760px;
}

/* ══════════════════════════════════════════════════
   SECTION HEAD (shared utility)
══════════════════════════════════════════════════ */
.section-head { margin-bottom: 0; }
.section-head .label { display: block; }
.section-head h2 { margin-top: 12px; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .loc-hero {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 72px;
  }

  .loc-h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .loc-lead { font-size: 0.95rem; }

  .loc-meta { gap: 12px; padding-top: 20px; }

  .loc-services { padding: 60px 0; }

  .service-link {
    padding: 18px 20px;
    gap: 16px;
  }
  .sl-num { font-size: 1.2rem; min-width: 28px; }

  .loc-why-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .loc-why-item { padding: 24px 20px; }
  .lw-num { font-size: 2.2rem; margin-bottom: 14px; }

  .faq-item { padding: 20px 22px; }

  .loc-cta { padding: 72px 0; }

  .loc-nearby-cities { grid-template-columns: 1fr; }

  .nearby-link { font-size: 0.75rem; padding: 9px 16px; }
}
