
:root {
  --bg: #0a0907;
  --bg-soft: #11100d;
  --panel: rgba(26,22,17,.88);
  --panel-2: rgba(37,30,22,.82);
  --panel-light: rgba(255,255,255,.055);
  --text: #f4ead9;
  --muted: rgba(244,234,217,.68);
  --gold: #c7944e;
  --gold-2: #f0cb88;
  --line: rgba(240,203,136,.16);
  --shadow: 0 28px 86px rgba(0,0,0,.42);
  --radius: 28px;
  --header: 82px;
  --bottom: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 0%, rgba(199,148,78,.16), transparent 27rem),
    radial-gradient(circle at 88% 15%, rgba(240,203,136,.055), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1220px, calc(100% - 34px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 80;
  min-height: var(--header);
  background: rgba(10,9,7,.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.topbar-row { min-height: var(--header); display: flex; align-items: center; gap: 24px; }
.logo-link { display: flex; align-items: center; margin-right: auto; }
.logo-link img { width: clamp(285px, 28vw, 430px); max-height: 78px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a {
  padding: 11px 11px; border-radius: 999px; color: var(--muted);
  font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); background: rgba(255,255,255,.055); }
.header-cta {
  display: inline-flex; align-items: center; gap: 9px; min-height: 45px; padding: 0 17px;
  border-radius: 999px; color: #201408; background: linear-gradient(135deg,var(--gold-2),var(--gold));
  font-size: 12px; font-weight: 950; letter-spacing: .07em; text-transform: uppercase;
  box-shadow: 0 15px 38px rgba(199,148,78,.22);
}
.page { padding: 30px 0 110px; }
.hero {
  position: relative; min-height: 560px; display: grid; grid-template-columns: 1.04fr .96fr;
  overflow: hidden; border: 1px solid var(--line); border-radius: 36px; background: #14100c; box-shadow: var(--shadow);
}
.hero-copy { position: relative; z-index: 2; display: grid; align-content: center; padding: clamp(34px,6vw,78px); }
.eyebrow { color: var(--gold-2); font-size: 11px; font-weight: 950; letter-spacing: .2em; text-transform: uppercase; }
h1,h2,h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { margin-top: 18px; font-size: clamp(46px,7vw,82px); line-height: .96; letter-spacing: -.045em; }
h1 span, .gold { color: var(--gold-2); }
.hero-copy p, .lead { color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-copy p { max-width: 610px; margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.btn {
  min-height: 49px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid rgba(240,203,136,.22); border-radius: 999px;
  background: rgba(255,255,255,.045); color: var(--text);
  font-size: 12px; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; cursor: pointer;
  transition: .24s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(240,203,136,.5); background: rgba(255,255,255,.075); }
.btn.primary { color: #211408; background: linear-gradient(135deg,var(--gold-2),var(--gold)); border-color: rgba(240,203,136,.5); }
.hero-media { position: relative; min-height: 560px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#14100c 0%,rgba(20,16,12,.22) 42%,rgba(10,8,6,.06)); }
.hero-chip {
  position: absolute; z-index: 3; right: 24px; bottom: 24px; max-width: 250px; padding: 17px;
  border: 1px solid rgba(240,203,136,.22); border-radius: 20px; background: rgba(13,10,7,.76); backdrop-filter: blur(14px);
}
.hero-chip strong { display: block; font-family: Georgia,serif; font-size: 22px; }
.hero-chip span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 4px; }

.section { margin-top: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 21px; }
.section-head h2 { font-size: clamp(31px,4vw,50px); letter-spacing: -.03em; }
.section-head p { max-width: 530px; margin: 0; color: var(--muted); line-height: 1.65; }
.action-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.action-card {
  position: relative; min-height: 240px; overflow: hidden; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 20px 58px rgba(0,0,0,.25);
}
.action-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; transition: transform .4s ease,opacity .4s ease; }
.action-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,7,5,.05),rgba(8,7,5,.88)); }
.action-card:hover img { transform: scale(1.045); opacity: .46; }
.action-content { position: relative; z-index: 2; height: 100%; display: grid; align-content: end; }
.action-icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: auto;
  border: 1px solid rgba(240,203,136,.25); border-radius: 15px; background: rgba(9,7,5,.56); color: var(--gold-2);
}
.action-content h3 { font-size: 27px; }
.action-content p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.action-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--gold-2); font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 32%);
  gap: 16px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.project-card {
  position: relative; min-height: 345px; overflow: hidden; border: 1px solid var(--line); border-radius: 27px; background: var(--panel); cursor: pointer;
}
.project-card img { width: 100%; height: 100%; min-height: 345px; object-fit: cover; transition: transform .4s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(6,5,4,.04),rgba(6,5,4,.18) 46%,rgba(6,5,4,.9)); }
.project-caption { position:absolute; z-index:2; left:20px; right:20px; bottom:20px; }
.project-caption span { color: var(--gold-2); font-size: 10px; letter-spacing: .17em; text-transform: uppercase; font-weight: 900; }
.project-caption h3 { margin-top: 7px; font-size: 27px; }
.project-caption p { margin: 7px 0 0; color: rgba(244,234,217,.75); font-size: 12px; line-height: 1.5; }

.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.trust-card { padding: 24px; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018)); }
.trust-card strong { display:block; color:var(--gold-2); font-family:Georgia,serif; font-size:30px; }
.trust-card h3 { margin-top:8px; font-size:22px; }
.trust-card p { color:var(--muted); line-height:1.6; font-size:13px; }

.cta-band {
  display:grid; grid-template-columns:1fr auto; align-items:center; gap:24px; padding:32px;
  border:1px solid var(--line); border-radius:30px; background:
    radial-gradient(circle at 8% 12%,rgba(199,148,78,.2),transparent 30%),
    linear-gradient(135deg,rgba(37,30,22,.95),rgba(16,13,10,.95)); box-shadow:var(--shadow);
}
.cta-band h2 { font-size:clamp(30px,4vw,48px); }
.cta-band p { margin:10px 0 0; color:var(--muted); }

.page-hero {
  display:grid; grid-template-columns:1fr .72fr; min-height:330px; overflow:hidden;
  border:1px solid var(--line); border-radius:34px; background:var(--panel); box-shadow:var(--shadow);
}
.page-hero-copy { padding:clamp(30px,5vw,60px); display:grid; align-content:center; }
.page-hero h1 { font-size:clamp(42px,6vw,66px); }
.page-hero p { color:var(--muted); line-height:1.7; max-width:620px; }
.page-hero img { width:100%; height:100%; object-fit:cover; min-height:330px; }

.chips { display:flex; gap:9px; overflow-x:auto; padding-bottom:8px; }
.chip {
  flex:0 0 auto; min-height:40px; padding:0 14px; border-radius:999px; border:1px solid var(--line);
  background:rgba(255,255,255,.035); color:var(--muted); font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; cursor:pointer;
}
.chip.active { color:#211408; background:linear-gradient(135deg,var(--gold-2),var(--gold)); }

.dashboard-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.panel { border:1px solid var(--line); border-radius:28px; background:var(--panel); box-shadow:0 20px 60px rgba(0,0,0,.22); overflow:hidden; }
.panel-pad { padding:26px; }
.panel h2 { font-size:34px; }
.panel h3 { font-size:25px; }
.panel p { color:var(--muted); line-height:1.65; }
.panel-image { min-height:310px; }
.panel-image img { width:100%; height:100%; min-height:310px; object-fit:cover; }

.tabs { display:flex; gap:8px; overflow-x:auto; padding:0 0 12px; }
.tab-btn {
  flex:0 0 auto; min-height:42px; padding:0 15px; border-radius:999px; border:1px solid var(--line);
  background:rgba(255,255,255,.035); color:var(--muted); font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; cursor:pointer;
}
.tab-btn.active { background:linear-gradient(135deg,var(--gold-2),var(--gold)); color:#211408; }
.tab-pane { display:none; }
.tab-pane.active { display:grid; grid-template-columns:.9fr 1.1fr; gap:0; }
.tab-pane img { width:100%; height:100%; min-height:360px; object-fit:cover; }
.tab-copy { padding:32px; display:grid; align-content:center; }
.tab-copy h2 { font-size:40px; }
.step-no { color:var(--gold-2); font-size:11px; letter-spacing:.2em; text-transform:uppercase; font-weight:900; }

.accordion { display:grid; gap:10px; }
.accordion-item { border:1px solid var(--line); border-radius:20px; overflow:hidden; background:rgba(255,255,255,.025); }
.accordion-button {
  width:100%; min-height:60px; padding:0 20px; display:flex; justify-content:space-between; align-items:center; gap:14px;
  border:0; background:transparent; color:var(--text); text-align:left; cursor:pointer; font-weight:800;
}
.accordion-button span:last-child { color:var(--gold-2); font-size:24px; }
.accordion-content { display:none; padding:0 20px 20px; color:var(--muted); line-height:1.65; }
.accordion-item.open .accordion-content { display:block; }
.accordion-item.open .accordion-button span:last-child { transform:rotate(45deg); }

.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { color:var(--muted); font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.field input,.field select,.field textarea {
  width:100%; border:1px solid var(--line); border-radius:16px; background:rgba(7,6,5,.6); color:var(--text);
  padding:13px 14px; outline:none;
}
.field textarea { min-height:110px; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:rgba(240,203,136,.52); }
.check-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.check {
  min-height:48px; display:flex; align-items:center; gap:10px; padding:0 13px;
  border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.025); color:var(--muted); font-size:13px;
}
.result-card {
  position:sticky; top:104px; padding:28px; border:1px solid rgba(240,203,136,.26); border-radius:28px;
  background:radial-gradient(circle at 20% 0%,rgba(199,148,78,.2),transparent 34%),var(--panel); box-shadow:var(--shadow);
}
.result-price { margin-top:11px; color:var(--gold-2); font-family:Georgia,serif; font-size:clamp(38px,5vw,58px); line-height:1; }
.result-card ul { padding-left:18px; color:var(--muted); line-height:1.7; }

.contact-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.contact-card { padding:25px; border:1px solid var(--line); border-radius:25px; background:var(--panel); }
.contact-card .action-icon { margin-bottom:18px; }
.contact-card h3 { font-size:25px; }
.contact-card p { color:var(--muted); line-height:1.55; font-size:13px; }

.shop-head { display:flex; justify-content:space-between; align-items:end; gap:18px; }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.product-card { border:1px solid var(--line); border-radius:27px; overflow:hidden; background:var(--panel); }
.product-image { position:relative; height:235px; cursor:zoom-in; overflow:hidden; }
.product-image img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.product-image:hover img { transform:scale(1.04); }
.badge { position:absolute; left:14px; top:14px; padding:7px 10px; border:1px solid rgba(240,203,136,.24); border-radius:999px; background:rgba(10,8,6,.7); color:var(--gold-2); font-size:9px; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.product-body { padding:21px; }
.product-body h3 { font-size:26px; }
.product-body p { min-height:66px; color:var(--muted); font-size:13px; line-height:1.6; }
.product-meta { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-top:16px; border-top:1px solid var(--line); }
.product-price { color:var(--gold-2); font-family:Georgia,serif; font-size:24px; }

.modal {
  position:fixed; inset:0; z-index:150; display:none; align-items:center; justify-content:center; padding:18px;
}
.modal.open { display:flex; }
.modal-bg { position:absolute; inset:0; background:rgba(4,3,2,.84); backdrop-filter:blur(14px); }
.modal-card {
  position:relative; z-index:2; width:min(1000px,96vw); max-height:92vh; overflow:auto;
  display:grid; grid-template-columns:1.1fr .9fr; border:1px solid rgba(240,203,136,.27); border-radius:30px; background:#17120d; box-shadow:0 42px 130px rgba(0,0,0,.7);
}
.modal-card img { width:100%; height:100%; min-height:520px; object-fit:cover; }
.modal-copy { padding:32px; display:grid; align-content:center; }
.modal-copy h2 { font-size:43px; }
.modal-copy p { color:var(--muted); line-height:1.7; }
.modal-close {
  position:absolute; z-index:4; top:13px; right:13px; width:44px; height:44px; display:grid; place-items:center;
  border:1px solid rgba(240,203,136,.25); border-radius:50%; background:rgba(10,8,6,.75); color:var(--text); font-size:27px; cursor:pointer;
}

.popup {
  position:fixed; inset:0; z-index:170; display:none; align-items:center; justify-content:center; padding:12px;
}
.popup.show { display:flex; }
.popup-bg { position:absolute; inset:0; background:rgba(3,2,2,.82); backdrop-filter:blur(14px); }
.popup-card { position:relative; z-index:2; width:min(610px,95vw); max-height:93vh; overflow:auto; border:1px solid rgba(240,203,136,.32); border-radius:29px; background:#0b0806; box-shadow:0 45px 130px rgba(0,0,0,.72); }
.popup-card img { width:100%; }
.popup-close { position:absolute; top:12px; right:12px; z-index:4; width:43px; height:43px; border-radius:50%; border:1px solid rgba(240,203,136,.28); background:rgba(8,6,4,.72); color:var(--text); font-size:27px; cursor:pointer; }
.popup-foot { padding:10px; display:flex; justify-content:center; border-top:1px solid var(--line); }
.popup-foot button { min-height:40px; border:0; background:transparent; color:var(--muted); cursor:pointer; }

.whatsapp-float {
  position:fixed; z-index:70; right:18px; bottom:20px; width:56px; height:56px; display:grid; place-items:center;
  border-radius:50%; background:linear-gradient(135deg,#f0cb88,#c7944e); color:#211408; box-shadow:0 20px 48px rgba(0,0,0,.36);
}
.whatsapp-float svg { width:27px; height:27px; stroke-width:1.9; }

.bottom-nav { display:none; }
.site-footer { margin-top:64px; padding:30px 0 95px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.footer-row { display:flex; justify-content:space-between; gap:22px; align-items:center; }
.footer-row img { width:230px; max-height:55px; object-fit:contain; object-position:left; opacity:.9; }
.reveal { opacity:0; transform:translateY(14px); transition:.55s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1050px) {
  .desktop-nav { display:none; }
  .action-grid { grid-template-columns:repeat(2,1fr); }
  .product-grid { grid-template-columns:repeat(2,1fr); }
  .hero { grid-template-columns:1fr; }
  .hero-copy { min-height:480px; }
  .hero-media { position:absolute; inset:0; min-height:100%; }
  .hero-media::after { background:linear-gradient(90deg,rgba(12,10,8,.97),rgba(12,10,8,.62) 68%,rgba(12,10,8,.28)); }
  .page-hero { grid-template-columns:1fr; }
  .page-hero img { display:none; }
  .contact-cards { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  :root { --header:70px; }
  .shell { width:min(100% - 22px,1220px); }
  .topbar-row { gap:10px; }
  .logo-link img { width:235px; max-height:60px; }
  .header-cta { display:none; }
  .page { padding:16px 0 94px; }
  .hero { min-height:590px; border-radius:26px; }
  .hero-copy { min-height:590px; padding:29px 22px; align-content:end; }
  h1 { font-size:47px; }
  .hero-copy p { font-size:15px; }
  .hero-chip { top:18px; right:18px; bottom:auto; max-width:220px; }
  .section { margin-top:42px; }
  .section-head { align-items:start; flex-direction:column; }
  .action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .action-card { min-height:205px; padding:16px; border-radius:22px; }
  .action-content h3 { font-size:22px; }
  .action-content p { display:none; }
  .rail { grid-auto-columns:82%; }
  .trust-grid { grid-template-columns:1fr; }
  .cta-band { grid-template-columns:1fr; padding:24px; }
  .page-hero { min-height:260px; border-radius:25px; }
  .page-hero-copy { padding:27px 22px; }
  .page-hero h1 { font-size:43px; }
  .dashboard-grid { grid-template-columns:1fr; }
  .tab-pane.active { grid-template-columns:1fr; }
  .tab-pane img { min-height:260px; max-height:320px; }
  .form-grid,.check-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .result-card { position:static; }
  .product-grid { grid-template-columns:1fr; }
  .modal-card { grid-template-columns:1fr; }
  .modal-card img { min-height:280px; max-height:47vh; }
  .modal-copy { padding:24px; }
  .modal-copy h2 { font-size:34px; }
  .whatsapp-float { bottom:84px; }
  .bottom-nav {
    position:fixed; z-index:75; left:8px; right:8px; bottom:8px; height:64px;
    display:grid; grid-template-columns:repeat(5,1fr); border:1px solid rgba(240,203,136,.16);
    border-radius:22px; background:rgba(13,11,8,.92); backdrop-filter:blur(18px); box-shadow:0 18px 50px rgba(0,0,0,.45);
  }
  .bottom-nav a { display:grid; place-items:center; align-content:center; gap:3px; color:rgba(244,234,217,.55); font-size:9px; font-weight:850; text-transform:uppercase; }
  .bottom-nav a.active { color:var(--gold-2); }
  .bottom-nav svg { width:21px; height:21px; }
  .site-footer { padding-bottom:92px; }
  .footer-row { align-items:flex-start; flex-direction:column; }
}


/* ===== WYSYŁANIE ZDJĘĆ Z TELEFONU v2.1 ===== */
.photo-send-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(240,203,136,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(199,148,78,.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.photo-send-panel h2 {
  margin-top: 10px;
  font-size: clamp(31px,4vw,46px);
}
.photo-send-panel p {
  color: var(--muted);
  line-height: 1.65;
}
.photo-picker {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}
.photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.photo-picker-label {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px dashed rgba(240,203,136,.42);
  background: rgba(10,8,6,.44);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.photo-picker-label:hover {
  background: rgba(255,255,255,.06);
}
.photo-picker-label svg {
  width: 25px;
  height: 25px;
}
.photo-preview {
  display: none;
  grid-template-columns: 118px 1fr;
  gap: 15px;
  align-items: center;
  padding: 13px;
  border-radius: 19px;
  border: 1px solid var(--line);
  background: rgba(8,6,5,.48);
}
.photo-preview.visible {
  display: grid;
}
.photo-preview img {
  width: 118px;
  height: 90px;
  object-fit: cover;
  border-radius: 14px;
  background: #080604;
}
.photo-preview strong {
  display: block;
  font-size: 14px;
}
.photo-preview span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.photo-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.photo-share-actions .btn[disabled] {
  opacity: .42;
  cursor: not-allowed;
  transform: none;
}
.photo-share-status {
  min-height: 21px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.camera-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border-radius: 17px;
  background: rgba(199,148,78,.08);
  border: 1px solid rgba(240,203,136,.12);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.camera-note strong {
  color: var(--text);
}
@media (max-width:760px) {
  .photo-send-panel {
    padding: 22px;
  }
  .photo-preview {
    grid-template-columns: 92px 1fr;
  }
  .photo-preview img {
    width: 92px;
    height: 76px;
  }
  .photo-share-actions {
    display: grid;
  }
  .photo-share-actions .btn {
    width: 100%;
  }
}


/* ===== KRZYWA SOSNA 2.2 — DUŻE LOGO I KAFELKI MENU ===== */
:root { --header: 112px; }
.topbar { min-height: var(--header); }
.topbar-row {
  min-height: var(--header);
  display: grid;
  grid-template-columns: minmax(390px, 500px) 1fr;
  gap: 24px;
}
.logo-link {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.logo-link img {
  width: clamp(390px, 34vw, 500px) !important;
  max-height: 102px !important;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 32px rgba(0,0,0,.35));
}
.desktop-nav {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(82px, 1fr));
  gap: 8px !important;
  align-items: stretch;
}
.desktop-nav a {
  min-height: 62px;
  padding: 8px 10px !important;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(240,203,136,.16);
  border-radius: 17px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.018)),
    rgba(28,22,16,.68);
  color: rgba(244,234,217,.73) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  line-height: 1.18;
}
.desktop-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(240,203,136,.42);
  color: var(--text) !important;
  background: rgba(199,148,78,.11) !important;
}
.desktop-nav a.active {
  color: #211408 !important;
  border-color: rgba(240,203,136,.55);
  background: linear-gradient(135deg,var(--gold-2),var(--gold)) !important;
  box-shadow: 0 17px 38px rgba(199,148,78,.19);
}
.header-cta { display: none !important; }
@media (max-width: 1240px) {
  .desktop-nav { display: none !important; }
  .topbar-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header: 86px; }
  .topbar-row { min-height: 86px; }
  .logo-link img {
    width: min(285px, 82vw) !important;
    max-height: 76px !important;
  }
}


/* ===== WYBÓR ŹRÓDŁA ZDJĘCIA v2.3 ===== */
.photo-source-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.photo-source-buttons .photo-picker-label {
  min-height: 64px;
  padding: 10px 16px;
  text-align: center;
}
@media (max-width: 760px) {
  .photo-source-buttons {
    grid-template-columns: 1fr;
  }
}


/* ===== POPRAWIONY UKŁAD DODATKÓW W WYCENIE v2.4 ===== */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.field .check {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.field .check:hover {
  border-color: rgba(240,203,136,.38);
  background: rgba(255,255,255,.045);
}

.field .check > span {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
}

.field .check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px !important;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  flex: 0 0 22px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(240,203,136,.38);
  border-radius: 7px;
  background: rgba(7,6,5,.72);
  position: relative;
  cursor: pointer;
  outline: none;
}

.field .check input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #231609;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.7);
  transition: opacity .16s ease, transform .16s ease;
}

.field .check input[type="checkbox"]:checked {
  border-color: var(--gold-2);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 5px 16px rgba(199,148,78,.22);
}

.field .check input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.field .check input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(240,203,136,.24);
  outline-offset: 3px;
}

.field .check:has(input[type="checkbox"]:checked) {
  border-color: rgba(240,203,136,.36);
  background: rgba(199,148,78,.09);
}

@media (max-width: 760px) {
  .check-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .field .check {
    min-height: 54px;
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 10px 13px;
    font-size: 13px;
  }
}


/* ===== MANAGER WYGLĄDU v3.1 ===== */
:root {
  --ks-logo-desktop: 500px;
  --ks-logo-mobile: 285px;
  --ks-header-desktop: 112px;
  --ks-header-mobile: 86px;
  --ks-font-body: 17px;
  --ks-font-small: 13px;
  --ks-font-nav: 12px;
  --ks-font-h1-desktop: 82px;
  --ks-font-h1-mobile: 47px;
  --ks-font-h2: 50px;
  --ks-font-h3: 27px;
  --ks-font-button: 12px;
  --ks-content-width: 1220px;
  --ks-section-desktop: 56px;
  --ks-section-mobile: 42px;
  --ks-card-radius: 28px;
  --ks-button-radius: 999px;
  --ks-image-brightness: 100%;
  --header: var(--ks-header-desktop);
}

body { font-size: var(--ks-font-body); }
.shell { width: min(var(--ks-content-width), calc(100% - 34px)); }
.topbar, .topbar-row { min-height: var(--ks-header-desktop); }
.topbar-row { grid-template-columns: minmax(220px, var(--ks-logo-desktop)) 1fr; }
.logo-link {
  width: min(var(--ks-logo-desktop), 100%);
  height: calc(var(--ks-header-desktop) - 10px);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  flex: 0 0 auto;
}
.logo-link img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 50% !important;
}
.desktop-nav a { font-size: var(--ks-font-nav) !important; }
h1 { font-size: clamp(46px, 7vw, var(--ks-font-h1-desktop)); }
.section-head h2,
.cta-band h2,
.photo-send-panel h2 { font-size: clamp(28px, 4vw, var(--ks-font-h2)); }
.action-content h3,
.project-caption h3,
.panel h3,
.contact-card h3,
.product-body h3,
.trust-card h3 { font-size: var(--ks-font-h3); }
.hero-copy p,
.lead,
.page-hero p,
.panel p,
.cta-band p { font-size: var(--ks-font-body); }
.action-content p,
.project-caption p,
.trust-card p,
.contact-card p,
.product-body p,
.photo-preview span,
.camera-note { font-size: var(--ks-font-small); }
.btn,
.header-cta { font-size: var(--ks-font-button); }
.section { margin-top: var(--ks-section-desktop); }
.action-card,
.project-card,
.trust-card,
.panel,
.contact-card,
.product-card,
.photo-send-panel { border-radius: var(--ks-card-radius); }
.btn,
.header-cta,
.chip,
.tab-btn { border-radius: var(--ks-button-radius); }
.hero-media img,
.action-card img,
.project-card img,
.page-hero img,
.panel-image img,
.product-card img,
.modal-card img { filter: brightness(var(--ks-image-brightness)); }

@media (max-width: 1240px) {
  .topbar-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header: var(--ks-header-mobile); }
  .shell { width: min(calc(100% - 22px), var(--ks-content-width)); }
  .topbar, .topbar-row { min-height: var(--ks-header-mobile); }
  .logo-link {
    width: min(var(--ks-logo-mobile), 82vw);
    height: calc(var(--ks-header-mobile) - 10px);
  }
  .logo-link img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 50% !important;
  }
  h1 { font-size: var(--ks-font-h1-mobile); }
  .section { margin-top: var(--ks-section-mobile); }
}
