/*
Theme Name: ŁUKASIAK
Description: Szablon strony głównej według layoutu graficzki. Mega menu jak na makiecie.
Version: 0.1.2
Text Domain: lukasiak
*/

:root {
  --ink: #1c1917;
  --navy: #011627;
  --bar: #00070f;
  --brown: #55372c;
  --brand: #ae5538;
  --gold: #fac64c;
  --gold-2: #f8b725;
  --blue: #3f6280;
  --paper: #ffffff;
  --mist: #f1f1f1;
  --line: #e6e2dc;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Barlow, sans-serif; font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
h1, h2, h3, .logo, .nav-main, .btn { font-family: "Barlow Condensed", sans-serif; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar { background: var(--bar); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 42px; }
.topbar-contacts, .topbar-side, .contact-bit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-bit strong { color: var(--gold-2); font-weight: 600; }
.contact-bit a { text-decoration: none; }
.arch-link { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-2); color: #1a1204; text-decoration: none; font-weight: 700; border-radius: 8px; padding: 7px 12px; }
.contact-bit svg, .arch-link svg { flex: 0 0 auto; }
.arch-link span { background: #111; color: var(--gold-2); border-radius: 4px; font-size: 10px; padding: 1px 5px; }
.lang { border-left: 1px solid rgba(255,255,255,.25); padding-left: 12px; letter-spacing: .04em; }
.lang b { color: #fff; }
.lang span { color: #8d97a3; }

.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 20px; }
.logo { font-weight: 800; font-size: 32px; letter-spacing: .08em; text-decoration: none; color: #111; }
.nav-main { display: flex; align-items: center; gap: 22px; }
.nav-main > a, .nav-drop > button, .has-mega > a { background: none; border: 0; padding: 28px 0; text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #2a2a2a; cursor: pointer; }
.nav-main > a.is-on, .has-mega > a { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.nav-drop { position: relative; }
.nav-drop-panel { display: none; position: absolute; top: 100%; left: 0; width: 230px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.08); padding: 8px 0; }
.nav-drop:hover .nav-drop-panel { display: block; }
.nav-drop-panel a { display: block; padding: 8px 16px; text-decoration: none; font-size: 14px; }
.nav-drop-panel a:hover { color: var(--brand); }
.has-mega { position: static; }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,.08); padding: 28px 0; max-height: 80vh; overflow: auto; }
.has-mega:hover .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.mega-box { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.mega h3, .mega h4 { margin: 0 0 8px; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.mega h3 { font-size: 20px; }
.mega h4 { font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { margin: 6px 0; }
.mega a { text-decoration: none; font-family: Barlow, sans-serif; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.mega a:hover { color: var(--brand); }
.mega .new { color: var(--brand); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 0; cursor: pointer; font-weight: 700; letter-spacing: .04em; border-radius: 8px; padding: 12px 18px; }
.btn-dark { background: #3c2a22; color: #fff; border-radius: 8px; text-transform: none; font-size: 18px; padding: 12px 22px; }
.btn-submit { width: 100%; background: #0b1c2c; color: #fff; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; padding: 16px; font-size: 15px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-gold { background: var(--gold-2); color: #1a1204; }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; }

.hero { position: relative; min-height: 640px; color: #fff; display: flex; flex-direction: column; }
.hero-photos { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.hero-photo { background-size: cover; background-position: center; }
.hero-photo.left { background-image: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.45)), var(--hero-left); background-position: left center; }
.hero-photo.right { background-image: linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,.2)), var(--hero-right); background-position: right center; }
.hero-copy { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 32px; }
.badge { width: fit-content; border: 1px solid rgba(255,255,255,.85); border-radius: 8px; padding: 6px 12px; font-size: 13px; background: rgba(0,0,0,.25); }
.hero-halves { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; align-items: stretch; }
.hero-halves > div { display: flex; flex-direction: column; }
.hero-halves .btn { margin-top: auto; align-self: flex-start; }
.hero h1 { margin: 0 0 10px; font-size: clamp(42px, 4vw, 64px); line-height: 1.02; font-weight: 700; }
.hero p { margin: 0; max-width: 460px; font-size: 18px; }
.hero-halves .btn { margin-top: auto; }
.trust { position: relative; z-index: 1; background: transparent; color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 0 22px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.trust-inner div { display: flex; align-items: center; gap: 8px; }

.section { padding: 72px 0; }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; margin: 8px 0 12px; }
.center { text-align: center; }
.lead { max-width: 720px; margin: 0 auto; color: #4b4744; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.card img { height: 180px; width: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.num { width: 36px; height: 36px; border-radius: 8px; background: #f6efe8; color: var(--brand); display: grid; place-items: center; font-weight: 700; }
.card ul { margin: 0; padding: 12px 0 0; list-style: none; color: #5c5855; font-size: 14px; border-top: 1px solid var(--line); }
.card li { margin: 6px 0; }
.more { color: var(--brand); font-weight: 700; text-decoration: none; margin-top: auto; }

.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 32px 0 28px; }
.tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; border: 0; background: #fff; border-radius: 12px; padding: 16px 18px; cursor: pointer; box-shadow: 0 8px 24px rgba(16,24,40,.06); color: #1c2430; min-height: 92px; }
.tab-copy { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 16px; line-height: 1.15; }
.tab-arrow { color: #c4a574; margin-right: 6px; }
.tab.is-on { background: #0e1c2b; color: #fff; }
.tab.is-on .tab-arrow { color: var(--gold-2); }
.tab-ico { width: 42px; height: 42px; flex: 0 0 auto; }
.panel { display: none; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; background: transparent; border: 0; padding: 8px 0 0; }
.panel.is-on { display: grid; }
.panel img { width: 100%; height: 340px; object-fit: cover; border-radius: 18px; }
.kicker { display: inline-block; background: none; color: #8d4e38; font-size: 14px; font-weight: 600; padding: 0; border-radius: 0; }

.stats { background: var(--gold); color: #10243a; padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.stats-grid > div { padding: 0 18px; border-left: 1px solid rgba(16, 36, 58, .45); }
.stats-grid > div:first-child { border-left: 0; }
.stats strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 40px; line-height: 1.05; color: #10243a; font-weight: 800; }
.stats span { display: block; margin-top: 6px; font-size: 14px; color: #10243a; }

.services { background: var(--navy) url("assets/grid.svg") center / cover; color: #fff; }
.services .eyebrow { color: var(--gold-2); }
.services-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.service { background: rgba(8, 24, 40, .72); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 20px; }
.service h3 { margin: 8px 0; font-size: 22px; }

.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 18px; text-align: center; font-weight: 800; letter-spacing: .04em; color: #6b6560; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.architect { background: #0e1c2b; color: #fff; padding: 36px 32px 28px; border-radius: 18px; display: flex; flex-direction: column; min-height: 560px; }
.architect .kicker { color: var(--gold-2); font-weight: 700; }
.architect .btn { margin-top: auto; width: 100%; }
.doc-list { list-style: none; margin: 18px 0 28px; padding: 0; }
.doc-list li { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.doc-ico { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-2); color: #1a1204; display: grid; place-items: center; flex: 0 0 auto; font-size: 12px; }
.architect .kicker { background: var(--gold-2); color: #1a1204; }
.quote { background: #fff; padding: 36px; }
.quote label { display: block; font-size: 13px; font-weight: 700; margin: 10px 0 4px; }
.quote input, .quote textarea { width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; }
.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { background: #f7f4ef; border: 1px dashed #ccc; border-radius: 8px; padding: 12px; font-size: 13px; color: #666; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #666; margin: 12px 0; }
.ok { background: #eef6ee; color: #1d5a32; padding: 10px 12px; border-radius: 8px; }

.site-footer { background: #101010; color: #c8c4bf; padding: 48px 0 20px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h2, .site-footer h3 { color: #fff; margin: 0 0 10px; }
.site-footer a { text-decoration: none; }
.site-footer li { margin: 6px 0; list-style: none; }
.site-footer ul { margin: 0; padding: 0; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2a2a2a; margin-top: 28px; padding-top: 16px; font-size: 12px; color: #8d8883; }
.mobile-nav { display: none; }

#luk-review { position: fixed; z-index: 80; right: 16px; bottom: 16px; width: min(320px, calc(100% - 32px)); background: #fff; color: #1c1917; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.2); padding: 12px; font-size: 14px; }
#luk-review strong { display: block; margin-bottom: 8px; }
#luk-review button { border: 1px solid #ddd; background: #fff; border-radius: 8px; padding: 6px 8px; margin: 0 4px 6px 0; cursor: pointer; }
#luk-review button.is-on { background: #0e1c2b; color: #fff; border-color: #0e1c2b; }
#luk-review form, #luk-list { margin-top: 8px; }
#luk-review input, #luk-review textarea { width: 100%; margin: 4px 0; padding: 8px; border: 1px solid #ddd; border-radius: 8px; }
#luk-list { max-height: 240px; overflow: auto; }
#luk-list article { border-top: 1px solid #eee; padding: 8px 0; }
#luk-list small { color: #777; }
body.luk-editing [contenteditable="true"] { outline: 2px solid #f8b725; }
@media (max-width: 980px) {
  .topbar { display: none; }
  .nav-main, .header-inner .btn-dark { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav.is-open { display: block; background: #fff; border-top: 1px solid var(--line); padding: 8px 20px 20px; }
  .mobile-nav a, .mobile-nav button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; text-decoration: none; font-size: 16px; }
  .mobile-nav .sub { display: none; padding-left: 12px; }
  .mobile-nav .sub.is-open { display: block; }
  .hero-photos, .hero-halves, .cards, .panel, .stats-grid, .services-grid, .services-head, .split, .foot-grid, .logos, .tabs { grid-template-columns: 1fr; display: grid; }
  .stats-grid > div { border-left: 0; border-top: 1px solid rgba(16, 36, 58, .35); padding: 14px 0; }
  .hero { min-height: 0; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .quote .row { grid-template-columns: 1fr; }
}
