/* =====================================================================
   POLSKI PRAWNIK LONDYN — Design system & stylesheet
   Palette: midnight navy + warm off-white + restrained brass/gold
   Type: Fraunces (display serif) / Inter (UI + body)
   ===================================================================== */

:root {
  /* Colour tokens */
  --navy-950: #0a1220;
  --navy-900: #0f1b2d;
  --navy-800: #172a44;
  --navy-700: #203a5c;
  --off-white: #f6f3ec;
  --warm-white: #fdfbf7;
  --grey-600: #5b6472;
  --grey-400: #93989f;
  --grey-200: #e2e0da;
  --hairline: #d9d5cb;
  --gold: #a3814f;
  --gold-light: #c6a468;
  --gold-dim: #8a7250;
  --text: #16202e;
  --text-on-navy: #eef1f5;
  --text-on-navy-dim: #b7c1cf;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container-w: 1200px;
  --header-h: 92px;
  --radius-s: 3px;
  --radius-m: 6px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 500; color: var(--navy-900); line-height: 1.15; }
p { margin: 0; }
input, textarea, select { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--navy-900); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-s); z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 7rem 0; } }

.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 0.6rem; }
.section-intro { margin-top: 1rem; color: var(--grey-600); font-size: 1.05rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold-dim);
  margin: 0;
}
.eyebrow-light { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-primary:active { transform: translateY(1px); }
.btn-small { padding: 0.65rem 1.35rem; font-size: 0.74rem; }
.btn-block { width: 100%; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 18, 32, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  height: var(--header-h);
  padding-inline: 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .header-inner { padding-inline: 2rem; } }

.wordmark { display: flex; align-items: center; gap: 0.65rem; color: var(--text-on-navy); }
.wordmark-icon { height: 52px; width: auto; display: block; }
.wordmark-crest { color: var(--gold-light); display: inline-flex; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-main { font-family: var(--font-display); font-size: 0.98rem; letter-spacing: 0.03em; white-space: nowrap; }
@media (max-width: 400px) { .wordmark-main { font-size: 0.82rem; } .wordmark-icon { height: 42px; } }
.wordmark-sub { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.28em; color: var(--gold-light); margin-top: 3px; }

.main-nav { display: none; }
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: 1.5rem; white-space: nowrap; }
  .main-nav a {
    position: relative; font-size: 0.86rem; color: var(--text-on-navy-dim);
    padding-block: 0.4rem; transition: color 0.2s var(--ease);
  }
  .main-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
    background: var(--gold-light); transition: right 0.25s var(--ease);
  }
  .main-nav a:hover { color: var(--text-on-navy); }
  .main-nav a:hover::after { right: 0; }
}

.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--text-on-navy-dim); border: 1px solid rgba(255,255,255,0.18);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.social-link:hover { color: var(--gold-light); border-color: var(--gold-light); background: rgba(255,255,255,0.05); }

.lang-switch { display: flex; align-items: center; gap: 0.4rem; }
.lang-btn {
  background: none; border: none; color: var(--text-on-navy-dim);
  font-size: 0.78rem; letter-spacing: 0.06em; font-weight: 600; padding: 0.25rem 0.15rem;
}
.lang-btn[aria-pressed="true"] { color: var(--gold-light); }
.lang-sep { color: rgba(255,255,255,0.25); font-size: 0.78rem; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: none; border: none; color: var(--text-on-navy);
}
@media (min-width: 1080px) { .menu-toggle { display: none; } }
.menu-toggle-bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.menu-toggle-bars span { display: block; height: 1.5px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 1.25rem 2rem;
}
.mobile-nav ul { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.mobile-nav a {
  display: block; padding: 0.85rem 0; font-size: 1.05rem; color: var(--text-on-navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav-social {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.25rem; color: var(--text-on-navy-dim); font-size: 0.9rem;
}
.mobile-nav-social:hover { color: var(--gold-light); }
@media (min-width: 1080px) { .mobile-nav { display: none !important; } }

/* =====================================================================
   HERO SLIDER
   ===================================================================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  overflow: hidden;
  color: var(--text-on-navy);
}
@media (min-width: 700px) { .hero { min-height: 660px; } }
@media (min-width: 1080px) { .hero { min-height: 720px; } }

.hero-motif {
  position: absolute; inset: 0; color: var(--gold);
  opacity: 0.16; pointer-events: none;
}
.hero-motif svg { width: 100%; height: 100%; }

.hero-track { position: relative; flex: 1; display: flex; align-items: flex-end; }

.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 6.5rem 1.25rem 6.5rem;
  opacity: 0; visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); position: relative; }
@media (min-width: 768px) { .hero-slide { padding: 8rem 2rem 7rem; } }

.hero-slide-inner { max-width: 760px; }
.hero-eyebrow {
  font-size: 0.95rem; letter-spacing: 0.18em; font-weight: 700; color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.1rem;
}
.hero-lead { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-on-navy); margin-bottom: 1.1rem; max-width: 44ch; }
.hero-body-intro { font-size: 0.95rem; color: var(--text-on-navy-dim); margin-bottom: 0.75rem; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; margin-bottom: 1.5rem; }
.hero-tags li {
  font-size: 0.78rem; letter-spacing: 0.03em; font-weight: 600;
  padding: 0.5rem 0.9rem; border: 1px solid rgba(198, 164, 104, 0.4);
  border-radius: 999px; color: var(--text-on-navy);
  background: rgba(255,255,255,0.03);
}

.hero-highlight {
  display: inline-flex; flex-direction: column; gap: 0.15rem;
  border-left: 2px solid var(--gold);
  padding: 0.4rem 0 0.4rem 0.9rem;
  margin-bottom: 1.4rem;
}
.hero-highlight-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); letter-spacing: 0.02em; }
.hero-highlight-sub { font-size: 0.8rem; color: var(--text-on-navy-dim); }

.hero-body { font-size: 0.98rem; color: var(--text-on-navy-dim); max-width: 56ch; margin-bottom: 1.75rem; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.hero-contact { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.92rem; }
.hero-contact a { color: var(--text-on-navy); border-bottom: 1px solid rgba(255,255,255,0.25); }
.hero-contact a:hover { border-color: var(--gold-light); color: var(--gold-light); }

.hero-slide-final .hero-title { font-size: clamp(1.9rem, 6vw, 3rem); }
.hero-slide-final .hero-lead { font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: #fff; max-width: 40ch; }

.hero-controls {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  padding: 0 1.25rem 1.75rem;
}
.hero-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.hero-arrow:hover { border-color: var(--gold-light); background: rgba(255,255,255,0.05); }

.hero-dots { display: flex; gap: 0.55rem; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.hero-dot[aria-selected="true"] { background: var(--gold-light); transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.4s linear; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   HELP / SERVICE CARDS
   ===================================================================== */
.help-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .help-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .help-grid { grid-template-columns: repeat(4, 1fr); } }

.help-card {
  background: var(--off-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  padding: 1.9rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.help-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(15, 27, 45, 0.35);
}
.help-card-tag { font-family: var(--font-display); font-size: 0.85rem; color: var(--gold-dim); }
.help-card h3 { font-size: 1.15rem; }
.help-card p { color: var(--grey-600); font-size: 0.94rem; flex: 1; }
.help-card-link {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; color: var(--navy-800);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.help-card-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.help-card:hover .help-card-link::after { transform: translateX(3px); }

.fee-note {
  margin-top: 2.5rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy-800);
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
}
.fee-note-mark { color: var(--gold); font-size: 1.3rem; }

/* =====================================================================
   WHY US
   ===================================================================== */
.why-section { background: var(--navy-900); color: var(--text-on-navy); }
.why-section .eyebrow { color: var(--gold-light); }
.why-section h2 { color: #fff; }

.why-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; } }

.why-intro { position: relative; }
.why-accent-image {
  display: none;
  margin-top: 2rem;
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius-m);
  opacity: 0.85;
  filter: saturate(0.9);
}
@media (min-width: 900px) { .why-accent-image { display: block; } }

.why-list { display: grid; gap: 1.6rem; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }

.why-item { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.1rem; }
.why-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-item p { color: var(--text-on-navy-dim); font-size: 0.92rem; }

/* =====================================================================
   PROCESS
   ===================================================================== */
.process-steps {
  display: grid; gap: 1.5rem; counter-reset: step;
}
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.process-section { position: relative; }
.process-accent-image {
  display: none;
  position: absolute;
  top: 3rem;
  right: 2.5rem;
  width: 120px;
  border-radius: var(--radius-m);
  opacity: 0.5;
  filter: saturate(0.85);
}
@media (min-width: 1200px) { .process-accent-image { display: block; } }

.process-step { position: relative; padding-top: 2.75rem; counter-increment: step; }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  position: absolute; top: 0; left: 0;
}
.process-step::after {
  content: ""; position: absolute; top: 0.55rem; left: 2.3rem; right: 0; height: 1px; background: var(--hairline);
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--grey-600); font-size: 0.94rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-section { background: var(--navy-950); color: var(--text-on-navy); }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; } }

.contact-info h2 { color: #fff; margin-top: 0.6rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.contact-intro { color: var(--text-on-navy-dim); margin-top: 1rem; max-width: 44ch; }

.contact-methods { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1.35rem; }
.contact-method { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-method-label { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gold-light); text-transform: uppercase; }
.contact-method-value {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: #fff;
  border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); width: max-content;
}
.contact-method:hover .contact-method-value { color: var(--gold-light); border-color: var(--gold-light); }
.contact-method-value-social { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.15rem; }

.contact-form {
  background: var(--warm-white); color: var(--text);
  border-radius: var(--radius-m); padding: 2rem 1.6rem;
}
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }

.form-row { margin-bottom: 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row-split { display: grid; grid-template-columns: 1fr; gap: 1.15rem; }
@media (min-width: 480px) { .form-row-split { grid-template-columns: 1fr 1fr; } }
.form-row-split > div { display: flex; flex-direction: column; gap: 0.4rem; }

.form-row label { font-size: 0.82rem; font-weight: 600; color: var(--navy-800); }
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--grey-200); border-radius: var(--radius-s);
  padding: 0.8rem 0.9rem; background: #fff; color: var(--text);
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--gold); outline: none;
}
.form-row textarea { resize: vertical; min-height: 100px; }

.form-hidden-field {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.form-privacy { font-size: 0.78rem; color: var(--grey-600); margin-top: 0.9rem; }

.form-success {
  margin-top: 1.25rem; padding: 1.1rem 1.25rem;
  background: #f1ede2; border-left: 3px solid var(--gold);
  border-radius: var(--radius-s);
}
.form-success-title { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--navy-900); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--navy-950); color: var(--text-on-navy-dim); padding-top: 0; }

.footer-image-band { width: 100%; height: 160px; overflow: hidden; position: relative; }
.footer-image-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.55; display: block; }
.footer-image-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,32,0.1) 0%, var(--navy-950) 100%);
}
@media (min-width: 768px) { .footer-image-band { height: 220px; } }

.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer-brand p { margin-top: 1.25rem; font-size: 0.9rem; max-width: 32ch; }
.wordmark-footer { margin-bottom: 0.25rem; }
.wordmark-logo-footer { height: 130px; width: auto; display: block; }
.footer-social { margin-top: 1.1rem; }
.social-link-footer { border-color: rgba(255,255,255,0.15); }
.footer-lang { margin-top: 1.25rem; }

.footer-col h3 { color: #fff; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-legal ul { color: var(--grey-400); font-size: 0.82rem; }

.footer-bottom { padding: 1.5rem 0 2.5rem; font-size: 0.8rem; }
.footer-bottom .container { display: flex; }

/* =====================================================================
   MOBILE STICKY CONTACT BAR
   ===================================================================== */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 900px) { .sticky-bar { display: none; } }
.sticky-bar-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 0.5rem; color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
}
.sticky-bar-btn-alt { background: var(--gold); color: var(--navy-950); }

@media (min-width: 900px) { body { padding-bottom: 0; } }
@media (max-width: 899px) { body { padding-bottom: 56px; } }
