@font-face {
  font-family: "Lora";
  src: url("fonts/lora.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0A0B0E;
  --navy: #0A0F1B;
  --panel: #111318;
  --line-dark: #2A2E37;
  --gold: #C9A063;
  --gold-light: #E0BE85;
  --gold-dark: #7A5A28;
  --cream: #F6F4EF;
  --text: #1A1D24;
  --muted: #555A63;
  --on-dark: #F2EEE6;
  --on-dark-muted: #C2BDB3;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-light); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 14px 26px; font: 600 14px/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold); cursor: pointer; transition: background .15s, color .15s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--gold); color: #1A1408; }
.btn-gold:hover { background: var(--gold-light); color: #1A1408; }
.btn-line { background: transparent; color: #fff; }
.btn-line:hover { background: rgba(201,160,99,.12); color: #fff; }

/* Header */
.site-header { background: var(--black); border-bottom: 1px solid #1E2129; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.logo img { width: 180px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav a { color: var(--on-dark); text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a.active { color: var(--gold); }
.nav .btn { color: var(--gold); padding: 12px 22px; }
.nav .btn:hover { color: #1A1408; background: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--on-dark); width: 48px; height: 48px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid #1E2129; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #1E2129; }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 1px solid var(--gold); }
  .logo img { width: 170px; }
}

/* Hero */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 38%, rgba(10,15,27,.55) 62%, rgba(10,15,27,0) 100%); }
.hero .wrap { position: relative; padding-top: 80px; padding-bottom: 88px; }
.hero-text { max-width: 780px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; color: #fff; }
.hero h1 span { color: var(--gold); }
.hero p { margin: 0; font-size: 18px; color: #E4E0D8; max-width: 620px; }
.features { display: flex; flex-wrap: wrap; gap: 28px; color: #E4E0D8; font-size: 14px; line-height: 1.4; }
.features div { display: flex; align-items: center; gap: 12px; }
.features svg { width: 30px; height: 30px; flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 6px; }
@media (max-width: 760px) {
  .hero-img { width: 100%; }
  .hero-ov { background: rgba(10,15,27,.86); }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
}

/* Section titles */
.sec-title { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 28px; }
.sec-title::before, .sec-title::after { content: ""; width: 80px; height: 1px; background: var(--gold); }
.sec-title h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; text-align: center; }
@media (max-width: 600px) { .sec-title::before, .sec-title::after { width: 28px; } .sec-title h2 { font-size: 24px; } }

/* Case cards */
.cases { background: var(--cream); padding: 48px 0 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.card { background: #fff; box-shadow: 0 1px 4px rgba(20,20,20,.08); padding: 22px 16px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); border: 1px solid transparent; text-align: left; font: inherit; cursor: pointer; width: 100%; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(20,20,20,.1); color: var(--text); }
.card .ico { width: 44px; height: 44px; flex: none; }
.card .txt { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card strong { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.card small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.card .chev { width: 16px; height: 16px; flex: none; }

/* Check (chat) */
.check { background: var(--navy); color: var(--on-dark); padding: 72px 0; }
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
@media (max-width: 920px) { .check-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.check-intro { display: flex; flex-direction: column; gap: 18px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.check-intro h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.15; color: #fff; }
.check-intro p { margin: 0; color: var(--on-dark-muted); }
.note { font-size: 13px; color: var(--on-dark-muted); border-left: 2px solid var(--gold); padding-left: 14px; }

.chat { background: var(--panel); border: 1px solid var(--line-dark); display: flex; flex-direction: column; min-height: 520px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); }
.chat-head .av { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; position: relative; flex: none; }
.chat-head .av::before { content: ""; position: absolute; width: 27px; height: 27px; border: 1px solid var(--gold); transform: rotate(45deg); }
.chat-head .av span { position: relative; font-family: var(--serif); font-size: 13px; color: var(--gold); }
.chat-head b { display: block; font-weight: 600; font-size: 15px; }
.chat-head small { color: var(--on-dark-muted); font-size: 12px; }
.chat-head .restart { margin-left: auto; background: none; border: 1px solid var(--line-dark); color: var(--on-dark-muted); font: 13px var(--sans); padding: 8px 12px; min-height: 40px; cursor: pointer; }
.chat-head .restart:hover { color: var(--gold); border-color: var(--gold); }
.chat-log { flex: 1; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 560px; }
.msg { max-width: 86%; padding: 12px 16px; font-size: 15px; line-height: 1.55; animation: pop .25s ease-out; }
.msg p { margin: 0 0 8px; } .msg p:last-child { margin: 0; }
.msg ul { margin: 6px 0 8px; padding-left: 20px; } .msg li { margin: 4px 0; }
.msg.bot { background: #1A1D25; border: 1px solid var(--line-dark); align-self: flex-start; }
.msg.user { background: var(--gold); color: #1A1408; align-self: flex-end; font-weight: 600; }
.msg.info { border-color: var(--gold); }
.msg .tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; background: #1A1D25; border: 1px solid var(--line-dark); }
.typing i { width: 6px; height: 6px; background: var(--on-dark-muted); border-radius: 50%; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .msg, .typing i { animation: none; } html { scroll-behavior: auto; } }
.chat-actions { padding: 16px 20px 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 10px; }
.opt { background: transparent; border: 1px solid var(--gold); color: var(--on-dark); font: 500 15px/1.3 var(--sans); padding: 11px 16px; min-height: 44px; cursor: pointer; text-align: left; }
.opt:hover { background: var(--gold); color: #1A1408; }
.chat-form { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.chat-form .full { grid-column: 1 / -1; }
.chat-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--on-dark); }
.chat-form input[type=text], .chat-form input[type=tel], .chat-form input[type=email], .chat-form textarea { width: 100%; background: #0C0E13; border: 1px solid #3A3F4A; color: var(--on-dark); padding: 11px 12px; font: 16px var(--sans); min-height: 44px; }
.chat-form textarea { resize: vertical; min-height: 80px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--on-dark-muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--gold); }
.form-err { color: #FFB4A8; font-size: 14px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* How + help */
.how { background: var(--black); color: var(--on-dark); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 920px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }
.how-steps { padding: 48px 32px 52px 0; border-right: 1px solid #23262E; }
@media (max-width: 920px) { .how-steps { padding: 48px 0 40px; border-right: 0; border-bottom: 1px solid #23262E; } }
.how h2 { margin: 0 0 26px; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 14px; }
.step { border: 1px solid #2E323B; background: var(--panel); padding: 18px 18px; display: flex; gap: 16px; align-items: flex-start; }
.step .n { font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1; flex: none; width: 34px; }
.step b { display: block; font-size: 15px; margin-bottom: 2px; }
.step span { font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.5; }
.help { padding: 48px 0 52px 40px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
@media (max-width: 920px) { .help { padding: 40px 0 52px; } }
.help h2 { margin: 0; }
.help p { margin: 0; color: var(--on-dark-muted); font-size: 15px; }
.help .btn { align-self: flex-start; }
.help .logo-sm { width: 230px; margin-bottom: 6px; }
.help .logo-sm svg { width: 100%; height: auto; display: block; }

/* Values */
.values { background: var(--cream); padding: 30px 0; }
.values .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.value { display: flex; align-items: center; gap: 16px; justify-content: center; }
.value svg { width: 36px; height: 36px; flex: none; }
.value b { display: block; font-family: var(--serif); font-weight: 500; font-size: 17px; }
.value span { font-size: 13px; color: var(--muted); }

/* About */
.about { background: #fff; padding: 72px 0; }
.about .wrap { max-width: 920px; display: flex; flex-direction: column; gap: 18px; }
.about h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.2; }
.about p { margin: 0; color: #3E434C; font-size: 17px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 10px; }
.fact { border-top: 2px solid var(--gold); padding-top: 12px; font-size: 15px; color: #3E434C; }
.fact b { display: block; color: var(--text); font-family: var(--serif); font-weight: 600; }

/* Contact */
.contact { background: var(--navy); color: var(--on-dark); padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.contact h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: 36px; color: #fff; }
.contact-info { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-dark); margin-top: 18px; }
.contact-info .big { font-size: 22px; font-family: var(--serif); text-decoration: none; }
.contact-info span { color: var(--on-dark-muted); font-size: 15px; }
.cform { background: var(--cream); color: var(--text); padding: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cform .full { grid-column: 1 / -1; }
.cform label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.cform input[type=text], .cform input[type=tel], .cform input[type=email], .cform select, .cform textarea { width: 100%; padding: 12px 14px; font: 16px var(--sans); border: 1px solid #A59F92; background: #fff; min-height: 46px; color: var(--text); }
.cform textarea { resize: vertical; }
.cform .consent { color: #3E434C; }
.cform .consent a { color: var(--gold-dark); }
.cform .consent input { accent-color: var(--gold-dark); }
.cform .form-err { color: #A0281A; }
.done { border: 1px solid var(--gold); background: #111724; padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.done p { margin: 0; }
.done .serif { font-size: 26px; color: #fff; }

/* Footer */
.site-footer { background: var(--black); color: #A9A49A; font-size: 13px; border-top: 1px solid #1E2129; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 28px; padding-bottom: 28px; }
.site-footer nav { display: flex; gap: 20px; }

/* Legal page */
.legal { background: #fff; padding: 56px 0 72px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: 36px; margin: 0 0 8px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #2E323B; }
.legal a { color: var(--gold-dark); }

/* Zakres pomocy */
.scope { background: #fff; padding: 64px 0 56px; border-bottom: 1px solid #ECE8DF; }
.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.scope-col { background: var(--cream); border-top: 2px solid var(--gold); padding: 22px 22px 18px; }
.scope-col h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 18px; }
.scope-col ul { margin: 0; padding-left: 18px; color: #3E434C; font-size: 15px; }
.scope-col li { margin: 6px 0; }
.scope-col li::marker { color: var(--gold-dark); }

/* O mnie – motto i rozwinięcie */
.motto { font-family: var(--serif); font-size: 24px !important; font-style: italic; color: var(--gold-dark) !important; margin: 4px 0 0 !important; }
.more { border-top: 1px solid #E2DFD6; border-bottom: 1px solid #E2DFD6; }
.more summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--gold-dark); min-height: 44px; list-style: none; display: flex; align-items: center; gap: 10px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; font-size: 22px; line-height: 1; width: 16px; }
.more[open] summary::before { content: "−"; }
.more-body { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; }

/* Logo wektorowe */
.logo { display: block; }
.logo .logo-svg { width: 200px; height: auto; display: block; }
@media (max-width: 1020px) { .logo .logo-svg { width: 165px; } }

/* Załączniki */
.files { display: flex; flex-direction: column; gap: 8px; position: relative; }
.files input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.files .file-btn { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--gold); font: 600 13px var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; margin: 0 !important; }
.files .file-btn:hover { background: var(--gold); color: #1A1408; }
.files input[type=file]:focus-visible + .file-btn { outline: 2px solid var(--gold); outline-offset: 2px; }
.cform .files .file-btn { border-color: var(--gold-dark); color: var(--text); }
.cform .files .file-btn:hover { background: var(--gold); }
.file-hint { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: .85; }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.file-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 10px; border: 1px solid rgba(201,160,99,.45); }
.file-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li small { opacity: .75; flex: none; }
.file-list button { background: none; border: 0; color: inherit; font: 600 13px var(--sans); text-decoration: underline; cursor: pointer; padding: 6px; min-height: 36px; }
.file-err { margin: 0; font-size: 13.5px; color: #A0281A; }
.chat-form .file-err { color: #FFB4A8; }

/* ==== Mobile & tablet refinements (2026-11) ==== */
.logo-m, .m-bar { display: none; }
.card small { font-size: 14px; }
@media (max-width: 760px) {
  section[id] { scroll-margin-top: 72px; }
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; gap: 12px; }
  .site-header .logo { display: block; width: 46px; height: 46px; overflow: hidden; flex: none; }
  .site-header .logo .logo-svg { width: 148px; max-width: none; height: auto; margin: -3px 0 0 -51px; display: block; }
  .logo-m { display: flex; flex-direction: column; margin-right: auto; min-width: 0; text-decoration: none; line-height: 1.25; }
  .logo-m strong { font-family: var(--serif); font-size: 17px; font-weight: 700; color: #fff; }
  .logo-m span { font-size: 14px; color: var(--on-dark-muted); }
  .nav-toggle { width: 44px; height: 44px; }

  .cards { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .cards .cards-extra { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .cards .card { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; padding: 16px 14px; min-height: 108px; text-align: left; }
  .cards .card .chev, .cards .card small { display: none; }
  .cards .card .ico { width: 30px; height: 30px; }
  .cards .card strong { font-size: 16px; line-height: 1.25; }

  .check-intro > p:not(.eyebrow):not(.note) { display: none; }
  .note, .file-hint { font-size: 14px; }
  .chat-head { gap: 10px; }
  .chat-head .restart { white-space: nowrap; font-size: 14px; padding: 8px 12px; min-height: 40px; }

  .contact-info a { display: inline-flex; align-items: center; min-height: 44px; }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer .wrap > span { font-size: 14px; }
  .site-footer nav { display: flex; flex-direction: column; gap: 0 !important; width: 100%; }
  .site-footer nav a { display: block; padding: 12px 0; font-size: 15px; border-bottom: 1px solid #1E2129; }

  .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--black); border-top: 1px solid var(--line-dark); }
  .m-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; font: 600 14px/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
  .m-bar svg { width: 16px; height: 16px; flex: none; }
  .m-bar .m-call { border: 1px solid var(--gold); color: var(--gold); }
  .m-bar .m-check { background: var(--gold); color: #1A1408; }
  .site-header .btn-line { padding: 9px 12px; min-height: 40px; font-size: 12px; letter-spacing: .03em; gap: 6px; white-space: nowrap; }
  .site-header .btn-line svg { display: none; }
  .chat-head .av { flex: none; }
  .chat-head > div:not(.av) { min-width: 0; line-height: 1.3; }
  .logo-m strong, .logo-m span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-m:has(~ .btn-line) span { display: none; }
  body { padding-bottom: 70px; }
}

@media (min-width: 761px) and (max-width: 1020px) {
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .site-header .logo { display: block; width: 52px; height: 52px; overflow: hidden; flex: none; }
  .site-header .logo .logo-svg { width: 168px; max-width: none; height: auto; margin: -4px 0 0 -58px; display: block; }
  .logo-m { display: flex; flex-direction: column; margin-right: auto; margin-left: 4px; text-decoration: none; line-height: 1.25; }
  .logo-m strong { font-family: var(--serif); font-size: 19px; font-weight: 700; color: #fff; }
  .logo-m span { font-size: 14px; color: var(--on-dark-muted); }
  .site-footer nav a { padding: 10px 0; font-size: 15px; }
}
@media (max-width: 760px) { .logo-m:has(~ .btn-line) strong { font-size: 15px; } }
