/* === WERSALPARYZ.PL — STYLE v5 === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  --brand: #e36344;
  --brand-dk: #c44e32;
  --brand-lt: #f5ece9;
  --gold: #b8972e;
  --gold-lt: #f7f1e0;
  --ink: #1c1a18;
  --ink-soft: #4a4540;
  --ink-muted: #7d7670;
  --line: #e5e0da;
  --bg: #fdfcfb;
  --bg-warm: #f9f6f2;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 14px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 860px;
  --max-w-wide: 1100px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.content-wrap { max-width: var(--max-w); margin: 0 auto; }

/* === HEADER === */
.page-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,252,251,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-w-wide); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}
/* Text logo */
.site-logo {
  display: flex; align-items: center; gap: 0;
  text-decoration: none; flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-logo .logo-accent { color: var(--brand); }

.header-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.header-links a {
  font-size: .875rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  transition: color .2s; white-space: nowrap;
}
.header-links a:hover, .header-links a.active { color: var(--brand); }
.nav-cta-btn {
  background: var(--brand) !important; color: var(--white) !important;
  padding: 8px 18px; border-radius: var(--radius); transition: background .2s !important;
}
.nav-cta-btn:hover { background: var(--brand-dk) !important; }

.burger-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; flex-direction: column; gap: 5px;
}
.burger-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--white); z-index: 200;
  flex-direction: column; padding: 80px 32px 32px; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.1rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.mobile-nav .close-btn {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink-muted);
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 12px 20px; background: var(--bg-warm);
  border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--ink-muted);
}
.bc-inner {
  max-width: var(--max-w-wide); margin: 0 auto;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--line); }

/* === HERO — full width === */
.hero-block {
  background: var(--bg-warm);
  padding: 52px 20px 44px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; }
.hero-tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600; line-height: 1.15; color: var(--ink); margin-bottom: 20px;
}
.hero-inner .lead {
  font-size: 1.05rem; color: var(--ink-soft); max-width: 700px; margin-bottom: 24px; line-height: 1.8;
}
.hero-inner .hero-p2 {
  font-size: 1rem; color: var(--ink-soft); max-width: 700px; line-height: 1.8; margin-top: 20px;
}
/* Widget slot between hero paragraphs */
.widget-slot { margin: 24px 0; }
/* Override widget link colors to brand */
.widget-slot a { color: var(--brand) !important; }

/* === CTA BUTTON === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: var(--white);
  font-family: var(--font-body); font-size: .85rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 14px 28px; border-radius: var(--radius); border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--brand-dk); transform: translateY(-1px); }

/* === ARTICLE === */
.article-body { padding: 52px 20px 68px; }

/* Section image — fixed height, always correct */
.sec-img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  margin: 14px 0 28px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.05rem); font-weight: 600; color: var(--ink);
  margin: 52px 0 12px; padding-top: 8px; border-top: 2px solid var(--line);
}
.article-body h2:first-child { margin-top: 0; border-top: none; }
.article-body h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--ink); margin: 32px 0 12px;
}
.article-body p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1rem; line-height: 1.8; }
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { color: var(--ink); font-weight: 600; }

.article-body a.txt-link {
  color: var(--brand); text-decoration: underline;
  text-underline-offset: 3px; font-weight: 500;
}
.article-body a.txt-link:hover { color: var(--brand-dk); }

/* Lists */
.article-body ul, .article-body ol {
  margin: 16px 0 22px; padding-left: 0; list-style: none;
}
.article-body ul li, .article-body ol li {
  position: relative; padding: 10px 12px 10px 36px;
  font-size: 1rem; color: var(--ink-soft); line-height: 1.7;
  border-radius: var(--radius); margin-bottom: 5px; background: var(--bg-warm);
}
.article-body ul li::before {
  content: ''; position: absolute; left: 14px; top: 19px;
  width: 6px; height: 6px; background: var(--brand); border-radius: 50%;
}
.article-body ol { counter-reset: ol-cnt; }
.article-body ol li { counter-increment: ol-cnt; }
.article-body ol li::before {
  content: counter(ol-cnt);
  position: absolute; left: 11px; top: 10px;
  width: 20px; height: 20px; background: var(--brand);
  color: var(--white); font-size: .7rem; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

.info-box {
  background: var(--gold-lt); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 18px 20px; margin: 22px 0;
  font-size: 1rem; color: var(--ink-soft); line-height: 1.75;
}
.info-box a { color: var(--brand); font-weight: 500; text-decoration: underline; }

.address-block {
  background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; margin: 22px 0;
}
.address-block .addr-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px;
}
.address-block .addr-val { font-size: 1rem; color: var(--ink); font-weight: 500; margin-bottom: 10px; }
.address-block .addr-web { font-size: .92rem; }
.address-block .addr-web a {
  color: var(--brand); text-decoration: underline; text-underline-offset: 2px;
}

/* === TABLES === */
.tbl-wrap {
  overflow-x: auto; margin: 20px 0 26px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.data-tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-tbl thead th {
  background: var(--ink); color: var(--white); font-weight: 600;
  text-align: left; padding: 12px 16px;
  font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
}
.data-tbl thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.data-tbl thead th:last-child { border-radius: 0 var(--radius-lg) 0 0; }
.data-tbl tbody tr { border-bottom: 1px solid var(--line); }
.data-tbl tbody tr:last-child { border-bottom: none; }
.data-tbl tbody tr:nth-child(even) { background: var(--bg-warm); }
.data-tbl tbody td { padding: 12px 16px; color: var(--ink-soft); vertical-align: top; line-height: 1.55; font-size: .95rem; }
.data-tbl .price-c { font-weight: 600; color: var(--brand); white-space: nowrap; }
.data-tbl .hi-row td { background: var(--brand-lt); }

/* === GYG CARD === */
.gyg-card {
  background: linear-gradient(135deg, var(--brand-lt) 0%, #fff 100%);
  border: 2px solid var(--brand); border-radius: var(--radius-lg);
  padding: 28px; margin: 28px 0;
}
.gyg-card .badge {
  display: inline-block; background: var(--brand); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
}
.gyg-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 16px; color: var(--ink); }
.benefit-list { list-style: none; display: grid; gap: 10px; margin: 0 0 22px; padding: 0; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .97rem; color: var(--ink-soft);
  background: none !important; padding: 0 !important; margin: 0 !important;
}
.benefit-list li::before { display: none !important; }
.benefit-list .chk {
  flex-shrink: 0; width: 20px; height: 20px;
  background: var(--brand); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; margin-top: 2px;
}

/* === HOURS === */
.hours-grid { display: grid; gap: 4px; margin: 16px 0 22px; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--bg-warm); border-radius: var(--radius); font-size: .95rem;
}
.hours-row .day { font-weight: 500; color: var(--ink); }
.hours-row .tm { color: var(--ink-soft); }
.hours-row.closed .tm { color: var(--brand); font-weight: 500; }

/* === FAQ === */
.faq-list { margin-top: 12px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-q {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin: 0; padding: 0; border: none;
  line-height: 1.4; cursor: pointer; background: none; width: 100%; text-align: left;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.fq-ico {
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--brand-lt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: .9rem; transition: transform .25s; margin-top: 2px;
}
.faq-item.open .fq-ico { transform: rotate(45deg); }
.faq-answer { font-size: 1rem; color: var(--ink-soft); line-height: 1.8; display: none; padding-top: 12px; }
.faq-item.open .faq-answer { display: block; }

/* === SUPPORT PAGES === */
.simple-page { padding: 48px 20px 80px; max-width: var(--max-w); margin: 0 auto; }
.simple-page h1 {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600;
  color: var(--ink); margin-bottom: 28px;
}
.simple-page h2 {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600;
  color: var(--ink); margin: 36px 0 12px;
}
.simple-page p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1rem; line-height: 1.8; }
.simple-page ul { margin: 12px 0 20px 22px; }
.simple-page ul li { color: var(--ink-soft); margin-bottom: 8px; font-size: 1rem; }
.simple-page a { color: var(--brand); text-decoration: underline; }

/* === LLM HELP PAGE === */
.llm-page { padding: 48px 20px 80px; max-width: var(--max-w); margin: 0 auto; }
.llm-page h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ink); margin-bottom: 24px; }
.llm-page h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin: 32px 0 10px; }
.llm-page p, .llm-page li { color: var(--ink-soft); font-size: 1rem; line-height: 1.8; margin-bottom: 14px; }
.llm-page table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .92rem; }
.llm-page table th { background: var(--bg-warm); font-weight: 600; color: var(--ink); padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--line); }
.llm-page table td { padding: 9px 14px; color: var(--ink-soft); border-bottom: 1px solid var(--line); vertical-align: top; }
.llm-page ul { margin: 0 0 18px 20px; }

/* === FOOTER === */
.page-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 48px 20px 32px; }
.footer-inner { max-width: var(--max-w-wide); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
  align-items: start; margin-bottom: 36px;
}
/* Text logo in footer */
.footer-logo-text {
  display: block; margin-bottom: 12px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  color: var(--white); text-decoration: none; letter-spacing: 0.01em;
}
.footer-logo-text .fa { color: var(--brand); }
.footer-brand p { font-size: .85rem; line-height: 1.65; max-width: 300px; }
.footer-brand .ft-addr { margin-top: 14px; font-size: .85rem; line-height: 1.65; }
.footer-brand .ft-addr strong { color: rgba(255,255,255,.75); display: block; margin-bottom: 2px; }
.footer-brand .ft-addr a {
  color: rgba(255,255,255,.6); text-decoration: underline;
  text-underline-offset: 2px; transition: color .2s;
}
.footer-brand .ft-addr a:hover { color: var(--white); }
.footer-col h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-links { display: none; }
  .burger-toggle { display: flex; }

  .hero-block { padding: 36px 16px 32px; }
  .article-body { padding: 36px 16px 52px; }
  .sec-img { height: 200px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .gyg-card { padding: 20px 16px; }

  /* Mobile table: card style */
  .data-tbl { display: block; }
  .data-tbl thead { display: none; }
  .data-tbl tbody { display: block; }
  .data-tbl tbody tr {
    display: block; border: 1px solid var(--line);
    border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
  }
  .data-tbl tbody td {
    display: flex; align-items: baseline; gap: 10px;
    padding: 9px 14px; font-size: .92rem; border-bottom: 1px solid var(--line);
  }
  .data-tbl tbody td:last-child { border-bottom: none; }
  .data-tbl tbody td::before {
    content: attr(data-label);
    font-weight: 600; color: var(--ink-muted); flex-shrink: 0;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
    min-width: 72px;
  }
}
@media (max-width: 480px) {
  .hero-inner h1 { font-size: 1.8rem; }
  .site-logo { font-size: 1.05rem; }
}

/* FAQ H2 as interactive heading */
h2.faq-q {
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
  border: none;
  border-top: none !important;
  cursor: pointer;
  user-select: none;
}

/* FAQ trigger wrapper — H2 clean, icon outside */
.faq-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}
.faq-trigger h2.faq-q {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  padding: 0;
  border: none !important;
  border-top: none !important;
  line-height: 1.4;
  cursor: pointer;
}
.faq-item.open .faq-trigger .fq-ico { transform: rotate(45deg); }
