:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1d2533;
  --muted: #677287;
  --primary: #1f6feb;
  --border: #dde3ed;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  padding: 0;
}

.hero-grid {
  position: relative;
  min-height: clamp(420px, 55vh, 560px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(22, 37, 101, 0.88) 0%, rgba(22, 37, 101, 0.55) 55%, rgba(22, 37, 101, 0.25) 100%),
    url("./assets/gallery/ZM_20190412022435.webp") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3rem;
  max-width: 640px;
  color: #fff;
}

.hero .eyebrow {
  color: #c8d4ff;
}

.hero h1 {
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  font-weight: 600;
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.68rem 1.1rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

.section {
  padding: 3rem 0;
}

.section-muted {
  background: #eef2f8;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

/* Aktualności */
.news-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.news-section h2 {
  margin-bottom: 1rem;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border-left: 4px solid transparent;
}

.news-item--info {
  background: #eef4ff;
  border-left-color: var(--primary);
}

.news-item--warning {
  background: #fff8e1;
  border-left-color: #f59e0b;
}

.news-item--danger {
  background: #fff1f1;
  border-left-color: #ef4444;
}

.news-icon {
  font-size: 1.25rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.news-item div strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.news-item div p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.news-item div p a {
  color: var(--primary);
  text-decoration: none;
}

.news-item div p a:hover {
  text-decoration: underline;
}

/* Klasa do ukrycia sekcji gdy brak aktualności */
.hidden {
  display: none;
}

.about-content {
  max-width: 720px;
}

.about-lead {
  font-size: 1.08rem;
  color: var(--text);
}

.about-content p {
  color: var(--muted);
}

.about-nfz {
  margin-top: 1.5rem;
}

.about-nfz h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--primary);
}

.about-nfz ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.about-nfz li + li {
  margin-top: 0.35rem;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--primary);
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 0.45rem;
}

.price-list-block {
  margin-top: 2rem;
}

.price-list-block:first-of-type {
  margin-top: 1.25rem;
}

.price-list-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--text);
}

.price-list-effective {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-category {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.05rem;
  color: var(--primary);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table th,
.price-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-table th {
  background: #eef2f8;
  font-weight: 600;
  color: var(--text);
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table td:first-child {
  width: 3.5rem;
  white-space: nowrap;
}

.price-table td:last-child {
  width: 7rem;
  white-space: nowrap;
  font-weight: 500;
}

.price-subitem {
  padding-left: 1.5rem;
  color: var(--muted);
}

.price-note {
  margin: 2rem 0 0;
  max-width: 72ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.doctor-group + .doctor-group {
  margin-top: 2.5rem;
}

.doctor-group-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--primary);
}

.doctor-card h4 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.doctor-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.doctor-card p:last-child {
  margin-bottom: 0;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.map-embed {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  min-height: 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 45vw, 420px);
  border: 0;
}

.map-link {
  margin: 0.75rem 0 0;
}

.map-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.map-link a:hover {
  text-decoration: underline;
}

.downloads {
  padding-left: 1rem;
}

.downloads a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.downloads a:hover {
  text-decoration: underline;
}

.contact-card {
  max-width: 480px;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card p {
  margin: 0 0 0.75rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.footer-clause {
  margin-top: 1rem;
  max-width: 72ch;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #8a93a3;
}

@media (max-width: 900px) {
  .cols-2,
  .cols-3 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 0.45rem 0.8rem;
    cursor: pointer;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 4vw;
  }

  .main-nav.open {
    display: flex;
  }
}

/* Godziny otwarcia */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
  color: var(--muted);
  max-width: 280px;
}

/* Opinie */
.review-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.review-video-wrap video {
  width: 100%;
  border-radius: 10px;
  display: block;
  background: #000;
}

.review-text {
  margin: 0;
  padding: 0;
  border: none;
}

.review-text p {
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.review-author strong {
  color: var(--text);
  font-size: 1rem;
}

.review-author span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .review-card {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq-content {
  max-width: 760px;
}

.faq-list {
  margin: 1.5rem 0 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item dt {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item dd a {
  color: var(--primary);
  text-decoration: none;
}

.faq-item dd a:hover {
  text-decoration: underline;
}
