/* Szlachta — layout v2 (editorial / warm contrast) */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #12131a;
  --ink-soft: #2a2d38;
  --paper: #f3efe6;
  --paper-deep: #ebe4d7;
  --surface: #fffcf7;
  --accent: #b8472a;
  --accent-hover: #9d3a22;
  --accent-muted: #e8d5cf;
  --cool: #2c4a6e;
  --cool-soft: #5a7aa3;
  --muted: #5c5f6a;
  --line: #d4cdc0;
  --line-dark: #2a2c35;
  --radius-tight: 2px;
  --radius: 6px;
  --radius-lg: 12px;
  --font-ui: "Manrope", system-ui, sans-serif;
  --font-head: "Playfair Display", Georgia, serif;
  --shadow-soft: 0 4px 24px rgba(18, 19, 26, 0.08);
  --shadow-cta: 0 12px 32px rgba(184, 71, 42, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--paper);
  color: var(--ink-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ——— Advert ——— */
.advertorial-bar {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.advertorial-bar::before {
  content: "";
  width: 3px;
  background: var(--accent);
  flex-shrink: 0;
}

.advertorial-bar .container {
  flex: 1;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ——— Header (subpages) ——— */
.header {
  position: relative;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header--sticky {
  position: sticky;
  top: 0;
}

.header--sticky {
  position: sticky;
  top: 0;
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.header__center {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 720px) {
  .header__center {
    display: flex;
  }
}

.header__center a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.header__center a:hover {
  color: var(--accent);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-tight);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 20px;
  height: 20px;
}

.logo-word {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Back / home control — square, icon bottom-aligned in flex end */
.header__back {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 46px;
  height: 46px;
  padding-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-tight);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.header__back:hover {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
}

.header__back svg {
  width: 20px;
  height: 20px;
}

/* ——— Contact page ——— */
.page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 28px 88px;
}

.page-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 10px;
}

.page-lead {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 36rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-card--span {
    grid-column: 1 / -1;
  }
}

/* Icons on the RIGHT */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.contact-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--paper-deep);
}

.contact-card-ic {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-tight);
  background: var(--ink);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-ic svg {
  width: 22px;
  height: 22px;
}

.contact-card-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.contact-card-body h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cool-soft);
  margin-bottom: 8px;
}

.contact-card-body p,
.contact-card-body a {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}

.contact-card-body a {
  color: var(--cool);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 74, 110, 0.35);
}

.contact-card-body a:hover {
  border-bottom-color: var(--cool);
}

.legal-entity {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  padding: 26px 28px;
  margin-bottom: 28px;
}

.legal-entity h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 14px;
}

.legal-entity .company {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.legal-entity dl {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.legal-entity dt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.legal-entity dd {
  color: var(--ink-soft);
  margin: 0 0 4px 0;
}

.info-note {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.info-note strong {
  color: var(--ink);
  font-weight: 600;
}

/* ——— Legal (privacy) ——— */
.legal-main {
  padding: 64px 0 88px;
}

.legal-inner h1,
.legal-content h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 10px;
}

.legal-updated,
.legal-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-inner h2,
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.2rem 0 0.75rem;
  line-height: 1.3;
}

.legal-content h2:first-of-type,
.legal-inner h2:first-of-type {
  margin-top: 0;
}

.legal-inner p,
.legal-inner li,
.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.legal-inner ul,
.legal-content ul,
.legal-content ol {
  margin: 0 0 1.1rem 1.2rem;
}

.legal-inner li,
.legal-content li {
  margin-bottom: 0.45rem;
}

.legal-inner a,
.legal-content a {
  color: var(--cool);
  text-underline-offset: 2px;
}

.legal-inner a:hover,
.legal-content a:hover {
  color: var(--ink);
}

.legal-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cool);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
  margin: 1.2rem 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 28px 88px;
}

.doc-date {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

/* ——— Footer (dark) ——— */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
  border-top: 3px solid var(--accent);
}

.footer > .container {
  padding-bottom: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer .logo {
  color: #fff;
}

.footer .logo-mark {
  background: var(--accent);
  color: #fff;
}

.footer .logo-word {
  color: #fff;
  font-weight: 600;
}

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

.footer-legal {
  margin-top: 14px;
  font-size: 0.7rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Icons after text: row with text first */
.footer-contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 10px;
}

.footer-contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.footer-contact-item span:first-child {
  flex: 1;
  min-width: 0;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-muted);
  opacity: 0.9;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-disclosures {
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
}

.disclosure {
  font-size: 10px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.disclosure strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.footer-bottom {
  padding: 20px 0 28px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Disclaimer page compact footer variant uses same .footer; optional inner */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .page-wrap { padding-left: 18px; padding-right: 18px; }
  .legal-content { padding-left: 18px; padding-right: 18px; }
}
