/* Roomwalk – wspólne style strony. Granat jak tusz na rzucie, len i piasek jak wnętrza; prowadzą prawdziwe kadry ze spaceru. */
:root {
  --navy: #1D2B45; --navy-70: #4A5670; --sand: #B49870; --sand-light: #D8C6A6; --linen: #EFE6D6; --paper: #FBFAF7;
  --line: #DCD5C8; --on-navy: #C4C9D4; --error: #A3392F; --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 17px/1.6 "Schibsted Grotesk", system-ui, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1 { font-weight: 500; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 20px; }
h2 { font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 14px; }
h3 { font-weight: 500; font-size: 22px; letter-spacing: -0.01em; line-height: 1.3; }
section { padding: 96px 0; }
.intro { color: var(--navy-70); max-width: 38em; margin: 0 0 48px; font-size: 18px; }
.lead { font-size: 19px; color: var(--navy-70); margin: 0 0 30px; max-width: 34em; }

.btn { display: inline-block; padding: 15px 24px; border-radius: 8px; font: 500 16px/1.2 inherit; font-family: inherit;
  text-decoration: none; border: 0; cursor: pointer; }
.btn-main { background: var(--navy); color: var(--linen); }
.btn-main:hover { background: #2A3B5C; }
.btn-light { background: var(--linen); color: var(--navy); }
.btn-light:hover { background: #F6F0E6; }
.btn-line { background: none; color: var(--navy); box-shadow: inset 0 -1.5px 0 var(--navy); padding-left: 0; padding-right: 0; border-radius: 0; }
.btn-line:hover { box-shadow: inset 0 -3px 0 var(--navy); }

/* ---------------------------------------------------------------- nagłówek strony głównej (na zdjęciu) */
.hero { position: relative; }
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.bar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.bar img { height: 36px; }
.bar a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--linen); padding: 9px 16px;
  border: 1.5px solid rgba(239, 230, 214, .75); border-radius: 8px; }
.bar a:hover { background: rgba(239, 230, 214, .12); }
.pic { height: min(80vh, 780px); min-height: 480px; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.pic::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(rgba(14, 20, 34, .5), transparent); pointer-events: none; }
.panel { position: relative; z-index: 2; margin-top: -180px; }
.panel .card { background: var(--linen); max-width: 760px; padding: 44px 48px 40px; border-radius: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 56px; }
.facts div { border-left: 1.5px solid var(--sand-light); padding-left: 18px; }
.facts b { display: block; font-weight: 500; font-size: 30px; letter-spacing: -0.02em; }
.facts span { color: var(--navy-70); }

/* ---------------------------------------------------------------- nagłówek podstron (jasny) */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.top img { height: 32px; }
.top nav { display: flex; gap: 24px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--navy-70); }
.top nav a:hover { color: var(--navy); }
.top nav .btn { color: var(--linen); padding: 10px 16px; }
.page-head { padding: 48px 0 24px; }
.page-head .lead { margin-bottom: 0; }

/* ---------------------------------------------------------------- porównanie zdjęcie / spacer */
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare-row figure { margin: 0; }
.compare { position: relative; border: 6px solid var(--navy); border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--linen); touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border-radius: 50%; background: var(--paper); box-shadow: 0 1px 6px rgba(29, 43, 69, .3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Cpath d='M17 15l-6 6 6 6M25 15l6 6-6 6' fill='none' stroke='%231D2B45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag { position: absolute; bottom: 14px; padding: 4px 10px; border-radius: 6px; font-size: 13px; background: rgba(251, 250, 247, .92); }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; }
.compare-row figcaption, figure figcaption { font-size: 15px; color: var(--navy-70); margin-top: 10px; }

/* ---------------------------------------------------------------- kroki na kropkowanej trasie (znaczniki = pokoje z logo) */
.step { display: grid; grid-template-columns: 76px 1fr; gap: 28px; padding-bottom: 44px; position: relative; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 35px; top: 52px; bottom: 6px; width: 6px;
  background-image: radial-gradient(circle, var(--sand) 2px, transparent 2.5px); background-size: 6px 14px; background-repeat: repeat-y; }
.step .room { width: 76px; height: 52px; border: 3px solid var(--navy); border-radius: 10px; display: grid; place-items: center;
  font-weight: 600; font-size: 18px; background: var(--paper); }
.step h3 { margin: 10px 0 6px; }
.step p { margin: 0; color: var(--navy-70); max-width: 40em; }
.step a { color: var(--navy); font-weight: 500; }

/* ---------------------------------------------------------------- cennik na granacie */
.pricing { background: var(--navy); color: var(--linen); }
.pricing h2, .pricing h3 { color: var(--linen); }
.pricing .intro { color: var(--on-navy); }
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.prices { border-top: 1.5px solid var(--linen); }
.prices div { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(239, 230, 214, .2); font-size: 19px; }
.prices b { font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.pricing .small { color: var(--on-navy); font-size: 15px; }
.incl { margin: 0; padding: 0; list-style: none; }
.incl li { padding: 10px 0 10px 30px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: 17px; width: 14px; height: 10px; border: 2.5px solid var(--sand-light); border-radius: 3px; }
.note { margin-top: 26px; padding: 18px 20px; border-radius: 8px; background: rgba(239, 230, 214, .08); border: 1px solid rgba(239, 230, 214, .2); }
.note a { color: var(--sand-light); }

/* ---------------------------------------------------------------- dla deweloperów */
.dev { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 40px 44px; border: 1.5px solid var(--navy); border-radius: 10px; }
.dev h3 { margin: 0 0 8px; font-size: 24px; }
.dev p { margin: 0; color: var(--navy-70); max-width: 44em; }

/* ---------------------------------------------------------------- FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--navy-70); max-width: 42em; }

/* ---------------------------------------------------------------- formularz */
.order { background: var(--linen); }
.order-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.order aside p { color: var(--navy-70); }
.order aside dl { margin: 32px 0 0; }
.order aside dt { font-size: 14px; color: var(--navy-70); margin-top: 16px; }
.order aside dd { margin: 2px 0 0; font-weight: 500; font-size: 18px; }
.order aside dd a { text-decoration: none; }
.order aside dd a:hover { text-decoration: underline; }
form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
form .full { grid-column: 1 / -1; }
form label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; }
form label span { color: var(--navy-70); font-weight: 400; }
form input, form select, form textarea { width: 100%; font: inherit; color: var(--navy); background: var(--paper);
  border: 1.5px solid #CFC3AE; border-radius: 8px; padding: 12px 14px; }
form textarea { min-height: 120px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--navy); }
form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--navy-70); font-weight: 400; }
form .consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
form .send { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
form .status { font-size: 15px; }
form .status.err { color: var(--error); }
form .hp { display: none; }

/* ---------------------------------------------------------------- podstrony z tekstem */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 56px; }
.prose h3 { margin: 32px 0 8px; font-size: 20px; }
.prose p, .prose li { color: var(--navy-70); }
.prose strong { color: var(--navy); font-weight: 500; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.fill { background: #FCEFC7; color: var(--navy); padding: 0 4px; border-radius: 3px; }
.checks { list-style: none; padding: 0 !important; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 10px; border: 2.5px solid var(--navy); border-radius: 3px; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0; }
.shots figure { margin: 0; }
.shots img { border-radius: 6px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.diagram { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin: 24px 0; }
.diagram svg { width: 100%; height: auto; display: block; }

/* ---------------------------------------------------------------- stopka */
footer.site { border-top: 1px solid var(--line); margin-top: 0; }
footer.site .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
footer.site img { height: 28px; margin-bottom: 14px; }
footer.site p, footer.site li { color: var(--navy-70); font-size: 15px; margin: 0; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site button { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-70); cursor: pointer; font-size: 15px; }
footer.site button:hover { text-decoration: underline; }
footer.site h4 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }

/* ---------------------------------------------------------------- baner zgód (cookies) */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin-left: auto;
  background: var(--paper); border: 1.5px solid var(--navy); border-radius: 12px; padding: 22px 24px; box-shadow: 0 10px 40px rgba(29, 43, 69, .18); }
.cookies[hidden] { display: none; }
.cookies h2 { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 8px; }
.cookies p { margin: 0 0 16px; font-size: 15px; color: var(--navy-70); }
.cookies .row { display: flex; flex-wrap: wrap; gap: 10px; }
.cookies .btn { padding: 11px 16px; font-size: 15px; }
.cookies .btn-plain { background: none; border: 1.5px solid var(--navy); color: var(--navy); }
.cookies .opts { margin: 0 0 16px; display: grid; gap: 10px; }
.cookies .opts[hidden] { display: none; }
.cookies .opts label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.cookies .opts input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.cookies .opts small { display: block; color: var(--navy-70); }

@media (max-width: 880px) {
  .panel { margin-top: -96px; }
  .panel .card { padding: 30px 24px; }
  .bar img { height: 30px; }
  .facts { grid-template-columns: 1fr; gap: 18px; padding-top: 40px; }
  .compare-row, .price-grid, .faq-grid, .order-grid, .dev { grid-template-columns: 1fr; gap: 32px; }
  .dev { padding: 28px 24px; }
  footer.site .wrap { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .step { grid-template-columns: 60px 1fr; gap: 18px; } .step .room { width: 60px; height: 44px; }
  .step:not(:last-child)::before { left: 27px; top: 44px; }
  form .fields, .shots { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .faq summary::after { transition: none; } }
