/* ============================================================
   KLUB POLSKIEGO KONESERA — tokens
   ============================================================ */
:root {
  --bg-primary: #15110B;
  --bg-panel: #1D1710;
  --bg-panel-deep: #100C08;

  --gold: #C6A24D;
  --gold-light: #E9CE8E;
  --amber: #A9631E;
  --oxblood: #7A3434;

  --cream: #F4ECDA;
  --cream-muted: #C9BFA9;
  --cream-faint: #8F8571;

  --hairline: rgba(198, 162, 77, 0.25);
  --hairline-strong: rgba(198, 162, 77, 0.45);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;

  --content-max: 1160px;
  --pour: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cream);
  margin: 0;
  letter-spacing: 0.005em;
}

h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--gold-light); }

p { margin: 0 0 1rem; max-width: 62ch; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 6.5rem 2rem;
}

.section-inner--narrow { max-width: 720px; }

.section-inner--split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.section-inner--split.section-inner--reverse > *:first-child {
  order: 2;
}

.panel { background: var(--bg-panel); }

.section-head { margin-bottom: 2rem; }

.section-head__label {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.section-head__lead {
  color: var(--cream-muted);
  max-width: 46ch;
  margin-top: 0.9rem;
}

.section-body p { color: var(--cream-muted); }

.problem__thesis {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-light);
  max-width: 40ch;
  margin-top: 1.6rem;
}

/* ============================================================
   HONEY POUR — single scroll-linked motif
   ============================================================ */
.honey-pour {
  position: fixed;
  top: 0;
  right: 0;
  width: 26px;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
}

.honey-pour__svg { width: 100%; height: 100%; }

.honey-pour__fill {
  height: calc(var(--pour) * 100%);
  transition: height 0.05s linear;
}

.honey-pour__drip {
  transform: translateY(calc(var(--pour) * 100vh - 2px));
}

@media (max-width: 720px) {
  .honey-pour { width: 12px; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  background: rgba(21, 17, 11, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
}

.main-nav a { text-decoration: none; color: var(--cream-muted); }
.main-nav a:hover { color: var(--gold-light); }

.main-nav__cta {
  color: var(--bg-primary) !important;
  background: var(--gold);
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
}
.main-nav__cta:hover { background: var(--gold-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold-light);
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-panel-deep);
    border-bottom: 1px solid var(--hairline);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 300px; }
  .main-nav a {
    width: 100%;
    padding: 1rem 2rem;
    border-top: 1px solid var(--hairline);
  }
  .main-nav__cta { border-radius: 0; text-align: center; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem 6rem;
  position: relative;
}

.hero__inner { max-width: 760px; margin: 0 auto; width: 100%; }

.hero__kicker {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 1.8rem;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--cream-muted);
  max-width: 52ch;
  margin-bottom: 2.4rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream-faint);
  font-size: 0.85rem;
}
.hero__scroll-hint span {
  width: 1px;
  height: 32px;
  background: var(--hairline-strong);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg-primary);
}
.btn--primary:hover { background: var(--gold-light); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--hairline-strong);
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ============================================================
   HOW IT WORKS — steps
   ============================================================ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: 1px solid var(--hairline);
  padding-top: 3rem;
}

.step__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1;
}

.step p { color: var(--cream-muted); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ============================================================
   CERTIFICATE VISUAL
   ============================================================ */
.cert-card {
  background: linear-gradient(165deg, #211A10, #150F08);
  border: 1px solid var(--hairline-strong);
  padding: 3rem 2.4rem;
  position: relative;
  max-width: 380px;
  text-align: center;
}
.cert-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.cert-card__seal {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}
.cert-card__eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.cert-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.cert-card__line {
  color: var(--cream-muted);
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
}
.cert-card__rule {
  width: 40px;
  height: 1px;
  background: var(--hairline-strong);
  margin: 0 auto 1.6rem;
}
.cert-card__motto {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   AUDIENCE SECTIONS
   ============================================================ */
.value-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.value-list li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--hairline);
}
.value-list li:last-child { border-bottom: 1px solid var(--hairline); }
.value-list p { color: var(--cream-muted); margin-bottom: 0; }

.audience__aside {
  display: flex;
  align-items: center;
  padding-left: 2rem;
  border-left: 1px solid var(--hairline);
}
.audience__aside-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  max-width: 28ch;
}

@media (max-width: 900px) {
  .section-inner--split { grid-template-columns: 1fr; }
  .section-inner--split.section-inner--reverse > *:first-child { order: 0; }
  .audience__aside { border-left: none; border-top: 1px solid var(--hairline); padding: 2rem 0 0; }
}

/* ============================================================
   KNOWLEDGE / FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--hairline); }

.faq__item {
  border-bottom: 1px solid var(--hairline);
  padding: 1.8rem 0;
}

.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary h3 { margin: 0; color: var(--cream); max-width: 56ch; }

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.35rem;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  top: 50%; left: 50%;
}
.faq__icon::before { width: 100%; height: 1px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1px; height: 100%; transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__content { padding-top: 1.2rem; max-width: 66ch; }
.faq__content p { color: var(--cream-muted); }
.faq__item summary h3 { transition: color 0.15s ease; }
.faq__item summary:hover h3 { color: var(--gold-light); }

/* ============================================================
   FOUNDER QUOTE
   ============================================================ */
.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--cream);
  max-width: 100%;
}
.founder__sign {
  color: var(--gold);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { display: grid; gap: 1.4rem; margin-top: 2rem; }

.form-row { display: flex; flex-direction: column; gap: 0.5rem; }

.form-row label {
  font-size: 0.9rem;
  color: var(--cream-muted);
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-panel-deep);
  border: 1px solid var(--hairline-strong);
  color: var(--cream);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
}

.contact-form .btn { justify-self: start; margin-top: 0.5rem; }

.form-status {
  min-height: 1.2rem;
  color: var(--gold-light);
  font-weight: 600;
}
.form-status.is-error { color: #D98080; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-panel-deep);
  border-top: 1px solid var(--hairline);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
}

.wordmark--footer { font-size: 1rem; margin-bottom: 0.3rem; }

.site-footer__tagline {
  color: var(--cream-faint);
  font-size: 0.9rem;
  margin: 0;
}

.site-footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: 0.9rem; }
.site-footer__nav a { text-decoration: none; color: var(--cream-muted); }
.site-footer__nav a:hover { color: var(--gold-light); }

.site-footer__copy {
  color: var(--cream-faint);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 720px) {
  .section-inner { padding: 4.5rem 1.4rem; }
  .site-header { padding: 1.1rem 1.4rem; }
}
