/* Topaz Business Park — custom CSS */

:root {
  --topaz-bg: #ffffff;
  --topaz-fg: #1a1a1a;
  --topaz-muted: #f5f3ef;
  --topaz-muted-fg: #5b5b5b;
  --topaz-border: #e6e2da;
  --topaz-primary: #b8945a;
  --topaz-primary-fg: #1a1a1a;
  --topaz-secondary: #1c2233;
  --topaz-secondary-fg: #ffffff;
}

body { color: var(--topaz-fg); background: var(--topaz-bg); }

/* Eyebrow — małe wielkie litery z odstępem (np. "DLA KOGO") */
.topaz-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--topaz-primary);
  font-weight: 600;
}

/* Hero z gradientem na zdjęciu */
.topaz-hero {
  position: relative;
  isolate: isolate;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: var(--topaz-secondary);
}
.topaz-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,34,51,0.92), rgba(28,34,51,0.45));
  z-index: -1;
}
.topaz-hero h1, .topaz-hero p { color: #fff; }
@media (min-width: 1024px) { .topaz-hero { min-height: 68vh; } }

/* Galeria archiwalna — sepia */
.topaz-gallery-archive img {
  filter: grayscale(1) contrast(0.95) sepia(0.18);
  transition: filter 0.4s;
}
.topaz-gallery-archive img:hover {
  filter: grayscale(0.4) contrast(1) sepia(0.05);
}

/* Karty */
.topaz-card {
  background: var(--topaz-bg);
  border: 1px solid var(--topaz-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.topaz-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

/* Ikonki w kółku */
.topaz-icon-circle {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(184,148,90,0.12);
  color: var(--topaz-primary);
  margin-bottom: 1rem;
}

/* Pasek atutów (granatowy pasek pod hero) */
.topaz-stats {
  background: var(--topaz-secondary);
  color: var(--topaz-secondary-fg);
  padding: 1.5rem 0;
}
.topaz-stats .topaz-eyebrow { color: var(--topaz-primary); }

/* CTA pełnoekranowe */
.topaz-cta-band {
  background: var(--topaz-secondary);
  color: var(--topaz-secondary-fg);
  text-align: center;
  padding: 4rem 1rem;
}
.topaz-cta-band h2 { color: #fff; }
.topaz-cta-band .wp-block-button__link {
  background: var(--topaz-primary);
  color: var(--topaz-primary-fg);
}

/* Sekcja muted */
.topaz-section-muted {
  background: var(--topaz-muted);
  border-top: 1px solid var(--topaz-border);
  border-bottom: 1px solid var(--topaz-border);
}

/* Breadcrumb */
.topaz-breadcrumb {
  font-size: 0.8rem;
  color: var(--topaz-muted-fg);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--topaz-border);
  background: var(--topaz-muted);
}
.topaz-breadcrumb a { color: var(--topaz-muted-fg); text-decoration: none; }
.topaz-breadcrumb a:hover { color: var(--topaz-fg); }

/* Nagłówek strony */
.topaz-site-header {
  border-bottom: 1px solid var(--topaz-border);
  background: var(--topaz-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topaz-site-header .wp-block-navigation a {
  color: var(--topaz-fg);
  font-weight: 500;
  font-size: 0.95rem;
}
.topaz-site-header .wp-block-navigation a:hover { color: var(--topaz-primary); }

/* Stopka */
.topaz-site-footer {
  background: var(--topaz-bg);
  border-top: 1px solid var(--topaz-border);
  padding: 3rem 0 1.5rem;
  color: var(--topaz-muted-fg);
  font-size: 0.9rem;
}
.topaz-site-footer a { color: var(--topaz-muted-fg); text-decoration: none; }
.topaz-site-footer a:hover { color: var(--topaz-fg); }

/* Formularz CF7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--topaz-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--topaz-bg);
}
.wpcf7 label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 1rem; }
.wpcf7 input[type="submit"] {
  background: var(--topaz-primary);
  color: var(--topaz-primary-fg);
  border: 0;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
}
.wpcf7 input[type="submit"]:hover { transform: translateY(-1px); }

/* Akordeon FAQ (natywny <details>) */
.topaz-faq details {
  border: 1px solid var(--topaz-border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  background: var(--topaz-bg);
  margin-bottom: 0.75rem;
}
.topaz-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topaz-faq summary::after { content: "+"; color: var(--topaz-primary); font-size: 1.25rem; font-weight: 400; }
.topaz-faq details[open] summary::after { content: "−"; }
.topaz-faq details p { margin-top: 1rem; color: var(--topaz-muted-fg); font-size: 0.95rem; line-height: 1.6; }

/* Lista najemców — siatka */
.topaz-tenants-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .topaz-tenants-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .topaz-tenants-grid { grid-template-columns: repeat(4, 1fr); } }
.topaz-tenant-card {
  background: var(--topaz-bg);
  border: 1px solid var(--topaz-border);
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.topaz-tenant-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.topaz-tenant-card strong { display: block; margin-top: 0.75rem; }
.topaz-tenant-card span { color: var(--topaz-muted-fg); font-size: 0.875rem; }

/* Pomocnicze paddingi sekcji */
.topaz-section { padding: 4rem 0; }
@media (min-width: 1024px) { .topaz-section { padding: 6rem 0; } }
