/* ═══════════════════════════════════════════════════════════════════
   PK Doradztwo – Custom Styles (Tailwind extensions & utilities)
   ═══════════════════════════════════════════════════════════════ */

/* ── Base overrides ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ── Colour tokens ──────────────────────────────────────────────── */
:root {
  --gold:       #C9A86A;
  --gold-light: #DEC187;
  --gold-dark:  #B09259;
  --navy-dark:  #0F1C2E;
  --navy-mid:   #1C2F4A;
}

/* ── Navbar state ───────────────────────────────────────────────── */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(15, 28, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

/* ── Colour helpers ─────────────────────────────────────────────── */
.bg-navy-mid   { background-color: var(--navy-mid); }

/* ── Section tag ────────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,106,.25);
  border-radius: 50%;
  background: rgba(201,168,106,.06);
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .3s, color .3s;
}
a.section-tag:hover {
  border-color: var(--gold);
  background: rgba(201,168,106,.2);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(201,168,106,.45);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .02em;
  border-radius: 50%;
  transition: background .25s, transform .2s, box-shadow .25s;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding: 0 .25rem;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(201,168,106,.45);
}

.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  font-size: .8rem;
  border-radius: 50%;
  transition: background .2s, transform .2s;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding: 0 .25rem;
}
.btn-gold-sm:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .8rem;
  border-radius: 50%;
  transition: all .3s;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding: 0 .25rem;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(201,168,106,.45);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .62rem;
  font-weight: 600;
  border-radius: 50%;
  transition: all .3s;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  line-height: 1.1;
  padding: 0;
}
.btn-outline-sm:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-1px);
}

/* ── Stat cards ─────────────────────────────────────────────────── */
.stat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 1.25rem;
  transition: border-color .3s, background .3s;
}
.stat-card:hover {
  border-color: rgba(201,168,106,.3);
  background: rgba(201,168,106,.04);
}
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: .5rem;
}

/* ── Badges ─────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .35rem .85rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,106,.3);
  border-radius: 999px;
  background: rgba(201,168,106,.07);
}

/* ── Partners ───────────────────────────────────────────────────── */
.partner-logo {
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  transition: color .3s;
}
.partner-logo:hover { color: rgba(255,255,255,.55); }

/* ── FAQ ────────────────────────────────────────────────────────── */
/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color .25s;
}
.faq-btn:hover { color: var(--gold); }
.faq-icon {
  width: 1.25rem; height: 1.25rem;
  flex-shrink: 0;
  color: rgba(255,255,255,.4);
  transition: transform .35s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--gold); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ── Contact ────────────────────────────────────────────────────── */
.contact-icon {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,106,.09);
  border-radius: .65rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.form-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.5rem;
  padding: 2.25rem;
  display: flex; flex-direction: column; gap: 1.15rem;
}

.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  padding: .85rem 1rem;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  outline: none;
  transition: border-color .25s, background .25s;
  font-family: inherit;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,106,.05);
}

/* ── Reveal animation (Intersection Observer) ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll line (hero) ─────────────────────────────────────────── */
.scroll-line {
  animation: pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: .3; }
  50%       { opacity: .8; }
}

/* ── Floating CTA ───────────────────────────────────────────────── */
#floating-cta {
  animation: float-in .5s ease-out both;
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive tweaks ──────────────────────────────────────────── */
@media (max-width: 767px) {
  .stat-number { font-size: 2.1rem; }
}

/* ── PC Form alignment ──────────────────────────────────────────── */
@media (min-width: 768px) {
  .pc-form-offset {
    padding-top: 7.3rem; /* 117px - Align with Heading top (Tag 85px + Margin 32px) */
  }
}
