/* ==========================================================================
   AK Windykacja — shared stylesheet
   Professional navy / gold theme for a debt-collection services website
   ========================================================================== */

:root {
  --navy-950: #0a1628;
  --navy-900: #0f2540;
  --navy-800: #16345a;
  --navy-700: #1f4a7a;
  --navy-600: #2a5f9e;
  --gold-500: #c9a227;
  --gold-400: #d9b84a;
  --gold-100: #f7ecc8;
  --gray-900: #1a1f2b;
  --gray-700: #4a5568;
  --gray-500: #718096;
  --gray-300: #cbd5e0;
  --gray-100: #f4f6f9;
  --white: #ffffff;
  --success: #2f855a;
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 37, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 37, 64, 0.12);
  --shadow-lg: 0 16px 40px rgba(15, 37, 64, 0.18);
  --max-width: 1180px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-950);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--gray-700); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--gray-100);
}

.section--navy {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 0.8em;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }

.btn-block { width: 100%; }
.btn:disabled { cursor: wait; opacity: 0.7; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}

.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
}

.brand span.full { color: var(--gold-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-400);
  border-bottom-color: var(--gold-400);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.form-msg {
  display: none;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-msg.is-success,
.form-msg.is-error { display: block; }
.form-msg.is-success { color: var(--success); }
.form-msg.is-error { color: #b42318; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (min-width: 860px) {
  .nav-phone { display: inline-flex; align-items: center; gap: 6px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(201,162,39,0.25);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 520px) {
  .nav { padding: 12px 16px; }
  .brand { font-size: 1.12rem; }
  .brand .mark { width: 36px; height: 36px; }
  .nav-cta { gap: 10px; }
  .nav-cta > .btn { display: none; }
  .hero { padding-top: 72px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(201,162,39,0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding: 96px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { color: var(--white); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 540px; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}

.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.trust-item {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item strong {
  color: var(--gold-400);
  font-size: 1.4rem;
  font-family: var(--font-heading);
  display: block;
}

/* ---------- Contact form card ---------- */
.form-card {
  background: var(--white);
  color: var(--gray-900);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.form-card h3 { margin-bottom: 6px; }
.form-card .sub { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 22px; }

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--white);
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
}

.field textarea { resize: vertical; min-height: 100px; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 18px;
}

.consent input { margin-top: 3px; }

/* ---------- Value props / grid cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-700);
  border-bottom: 2px solid var(--gold-500);
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  padding: 28px 20px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.25);
}

.step .num {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 14px;
}

.step .num::before { content: counter(step); }

.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.9rem; }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--gold-500);
}
.stat span {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Table (pricing / comparison) ---------- */
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.compare th, table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-300);
  font-size: 0.92rem;
}
table.compare th {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-heading);
}
table.compare tr:last-child td { border-bottom: none; }

@media (max-width: 520px) {
  table.compare {
    table-layout: fixed;
    overflow-wrap: anywhere;
  }
  table.compare th,
  table.compare td {
    padding: 10px 7px;
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

/* ---------- Testimonial ---------- */
.quote {
  background: var(--gray-100);
  border-left: 4px solid var(--gold-500);
  padding: 24px 28px;
  border-radius: 8px;
  font-style: italic;
  color: var(--navy-800);
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--gray-300);
  padding: 20px 0;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy-800); }
.faq-item p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy-950); }
.cta-band .btn-primary { background: var(--navy-950); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-grid h4 {
  color: var(--gold-400);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-400); }

.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.social-links a:hover { border-color: var(--gold-400); color: var(--gold-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge {
  display: inline-block;
  background: var(--gold-100);
  color: var(--navy-800);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.placeholder-note {
  background: #fff8e1;
  border: 1px dashed var(--gold-500);
  color: #7a5c00;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 24px;
}
