/* =============================================================================
   shared.css — wspólne style kierunku cieply-rzemieslniczy-serif
   Dla Meble Okaro | Żagań
   ============================================================================= */
:root {
  --color-bg: #FAF7F2;
  --color-surface: #F2EDE4;
  --color-primary: #3D2B1A;
  --color-accent: #A67A46;
  --color-accentHover: #8C632E;
  --color-border: #DDD6CB;
  --text-strong: #2A1C0E;
  --text-body: #5C4535;
  --text-muted: #9E8672;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --cream: #FAF7F2;
  --ink: #2A1C0E;
  --gold: #A67A46;
  --paper: #F2EDE4;
}
body { background: var(--cream); font-family: var(--font-body); color: var(--text-body); }
h1,h2,h3,h4 { font-family: var(--font-heading); color: var(--ink); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  background: rgba(250,247,242,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-border);
}
.site-logo { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--ink); }
.site-logo span { color: var(--gold); }
.site-nav { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: .05em; text-transform: uppercase; opacity: .7; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: var(--color-primary); color: #fff;
  border-radius: 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; transition: background .2s; white-space: nowrap;
}
.header-cta:hover { background: var(--color-accentHover); }
.header-tel { display: none; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 768px) { .header-tel { display: block; } }
.nav-toggle { display: none; }
@media (max-width: 899px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-open .site-nav { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--cream); justify-content: center; align-items: center; gap: 40px; z-index: 99; }
  .nav-open .site-nav a { font-size: 18px; opacity: 1; }
}

/* Page hero / breadcrumb dla podstron */
.sub-hero {
  padding: 120px 24px 60px;
  max-width: 1140px;
  margin-inline: auto;
}
.sub-hero .eyebrow { font-family: var(--font-display); font-size: 13px; font-style: italic; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 16px; }
.sub-hero h1 { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 60px); font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 20px; }
.sub-hero .lead { font-size: 18px; color: var(--text-body); max-width: 56ch; line-height: 1.7; }
hr.line-gold { display: block; width: 56px; height: 2px; background: var(--gold); border: none; margin: 28px 0 0; }

/* Sec-head */
.sec-head { margin-inline: auto; max-width: 680px; text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { font-family: var(--font-display); font-size: 13px; font-style: italic; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 16px; }
.sec-head h2 { font-family: var(--font-heading); font-size: clamp(26px, 3.5vw, 42px); font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.sec-head p { margin: 20px auto 0; font-size: 17px; color: var(--text-body); max-width: 56ch; }

/* Section wrap */
.section-wrap { padding-block: 72px; }
.section-inner { max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--color-primary); color: #fff; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: var(--color-primary); color: #fff; border-radius: 4px; font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; transition: background .2s; text-decoration: none; }
.btn-primary:hover { background: var(--gold); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border: 1.5px solid var(--color-border); border-radius: 4px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-body); transition: border-color .2s, color .2s; text-decoration: none; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-gold { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: var(--gold); color: #fff; border-radius: 4px; font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; transition: background .2s; text-decoration: none; }
.btn-gold:hover { background: var(--color-accentHover); }

/* Pre-footer */
.prefooter { background: var(--color-primary); padding: 72px 24px; text-align: center; }
.prefooter-inner { max-width: 580px; margin-inline: auto; }
.prefooter h2 { font-family: var(--font-heading); font-size: clamp(26px, 3.5vw, 44px); font-weight: 700; color: #fff; margin-bottom: 14px; }
.prefooter p { color: rgba(255,255,255,.72); font-size: 17px; margin-bottom: 36px; max-width: 48ch; margin-inline: auto; }
.prefooter .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-tel-light { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 4px; color: rgba(255,255,255,.9); font-size: 15px; font-weight: 600; text-decoration: none; }

/* Footer */
.site-footer { background: #1A100A; color: rgba(255,255,255,.6); padding: 48px 24px 24px; }
.footer-inner { max-width: 1140px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px 32px; margin-bottom: 40px; }
@media (max-width: 767px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .site-logo { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 12px; }
.footer-col h4 { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; text-decoration: none; }
.footer-col ul a:hover { color: rgba(255,255,255,.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* Mobile sticky CTA */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; padding: 12px 16px; background: var(--color-primary); justify-content: center; align-items: center; gap: 12px; }
.sticky-cta a { flex: 1; max-width: 240px; text-align: center; padding: 12px 20px; background: var(--gold); color: #fff; border-radius: 4px; font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.sticky-cta .tel-btn { background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff; padding: 12px 16px; border-radius: 4px; font-size: 14px; font-weight: 600; }
@media (max-width: 767px) { .sticky-cta { display: flex; } }

/* FAQ akordeon overrides */
.faq-wrap .fx-akordeon-faq details { border-bottom: 1px solid var(--color-border); border-left: none; border-right: none; border-top: none; border-radius: 0; margin-bottom: 0; }
.faq-wrap .fx-akordeon-faq details:first-child { border-top: 1px solid var(--color-border); }
.faq-wrap .fx-akordeon-faq summary { padding: 20px 0; font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--ink); }
.faq-wrap .fx-akordeon-faq details p { padding: 0 0 20px; font-size: 15px; color: var(--text-body); max-width: 100%; }
.faq-arrow { width: 20px; height: 20px; border: 1.5px solid var(--color-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); font-size: 14px; transition: transform .3s; }
details[open] .faq-arrow { transform: rotate(45deg); }

/* Realizacje kolaż */
.fx-kolaz__item { position: relative; }
.kolaz-caption { position: absolute; bottom: 10px; left: 12px; right: 12px; background: rgba(42,28,14,.72); color: rgba(255,255,255,.9); padding: 6px 10px; border-radius: 4px; font-family: var(--font-display); font-size: 12px; font-style: italic; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
