/* ===================================================================
   RZECZOZNAWCA MAJĄTKOWY — wizytówka
   Motyw: geodezja / kataster. Granat + rdza, papier, monospace na dane.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink:      #1B2A36;   /* granat — nagłówki, nawigacja, stopka */
  --ink-2:    #26394A;
  --rust:     #A84B2A;   /* rdza — akcent, markery geodezyjne */
  --rust-dark:#8A3C21;
  --paper:    #EDEAE0;   /* tło główne */
  --paper-2:  #E4E0D2;   /* tło naprzemienne sekcji */
  --line:     #C9C2AE;   /* cienkie linie, jak izohipsy na mapie */
  --slate:    #56666F;   /* tekst drugorzędny */
  --charcoal: #22201C;   /* tekst główny */
  --white:    #FAF9F5;

  --display: 'Fraunces', Georgia, serif;
  --body:    'Source Sans 3', system-ui, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--paper);
  color:var(--charcoal);
  font-family:var(--body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; }
img{ max-width:100%; display:block; }

.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:0 32px;
}

/* -------------------- Linia współrzędnych (motyw sygnaturowy) ------- */
.geo-tag{
  font-family:var(--mono);
  font-size:12.5px;
  letter-spacing:.06em;
  color:var(--rust);
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-transform:uppercase;
}
.geo-tag::before{
  content:'';
  width:9px; height:9px;
  border:1.5px solid var(--rust);
  transform:rotate(45deg);
  flex:none;
}

/* -------------------------------- NAV -------------------------------- */
header.site{
  background:var(--ink);
  color:var(--white);
  position:sticky; top:0; z-index:50;
  border-bottom:2px solid var(--rust);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}
.brand{
  font-family:var(--display);
  font-weight:600;
  font-size:20px;
  letter-spacing:.01em;
  text-decoration:none;
  color:var(--white);
}
.brand small{
  display:block;
  font-family:var(--mono);
  font-size:11px;
  font-weight:400;
  letter-spacing:.08em;
  color:#C9BFAE;
  text-transform:uppercase;
  margin-top:2px;
}
nav.links{ display:flex; gap:36px; }
nav.links a{
  font-size:15px;
  text-decoration:none;
  color:#D9D4C6;
  position:relative;
  padding:4px 0;
  transition:color .15s ease;
}
nav.links a:hover, nav.links a:focus-visible{ color:var(--white); }
nav.links a.active{ color:var(--white); }
nav.links a.active::after{
  content:'';
  position:absolute; left:0; right:0; bottom:-2px;
  height:2px; background:var(--rust);
}

/* -------------------------------- HERO -------------------------------- */
.hero{
  padding:96px 0 84px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  /* delikatna siatka geodezyjna w tle */
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:64px 64px;
  opacity:.28;
  mask-image:linear-gradient(to bottom, black, transparent 85%);
}
.hero-inner{ position:relative; }
.eyebrow{ margin-bottom:22px; }
h1.display{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(34px, 5vw, 54px);
  line-height:1.08;
  letter-spacing:-.01em;
  color:var(--ink);
  max-width:16ch;
  margin:0 0 22px;
}
.lede{
  font-size:19px;
  color:var(--slate);
  max-width:56ch;
  margin:0 0 34px;
}
.cta-row{ display:flex; gap:16px; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--body);
  font-weight:600;
  font-size:15px;
  padding:13px 26px;
  text-decoration:none;
  border:1.5px solid transparent;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{
  background:var(--rust);
  color:var(--white);
}
.btn-primary:hover{ background:var(--rust-dark); }
.btn-ghost{
  background:transparent;
  border-color:var(--ink);
  color:var(--ink);
}
.btn-ghost:hover{ background:var(--ink); color:var(--white); }

/* ------------------------------ SECTIONS ------------------------------ */
section{ padding:76px 0; }
section.alt{ background:var(--paper-2); }
section.dark{ background:var(--ink); color:var(--white); }

.section-head{ margin-bottom:44px; max-width:60ch; }
.section-head .geo-tag{ margin-bottom:14px; }
h2.display{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(26px, 3.4vw, 36px);
  color:var(--ink);
  margin:0 0 14px;
  letter-spacing:-.005em;
}
section.dark h2.display{ color:var(--white); }
.section-intro{ color:var(--slate); font-size:16.5px; }
section.dark .section-intro{ color:#C9C2AE; }

/* --------------------------- GRID / KARTY ------------------------------ */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.card{
  background:var(--paper);
  padding:32px 30px;
}
section.alt .card{ background:var(--paper-2); }
.card .mark{
  font-family:var(--mono);
  font-size:12px;
  color:var(--rust);
  letter-spacing:.08em;
  margin-bottom:14px;
  display:block;
}
.card h3{
  font-family:var(--display);
  font-weight:600;
  font-size:20px;
  margin:0 0 10px;
  color:var(--ink);
}
.card p{
  color:var(--slate);
  font-size:15.5px;
  margin:0;
}

/* ------------------------------ LISTY OPISOWE ------------------------- */
.spec-list{ list-style:none; margin:0; padding:0; }
.spec-list li{
  display:flex;
  gap:22px;
  padding:20px 0;
  border-top:1px solid var(--line);
}
.spec-list li:last-child{ border-bottom:1px solid var(--line); }
.spec-list .num{
  font-family:var(--mono);
  color:var(--rust);
  font-size:14px;
  flex:none;
  width:3ch;
  padding-top:2px;
}
.spec-list h3{
  font-family:var(--display);
  font-weight:600;
  font-size:19px;
  margin:0 0 6px;
  color:var(--ink);
}
.spec-list p{ margin:0; color:var(--slate); font-size:15.5px; }

/* ------------------------------- STOPKA -------------------------------- */
footer.site{
  background:var(--ink);
  color:#C9C2AE;
  padding:48px 0 32px;
  border-top:2px solid var(--rust);
}
footer.site .foot-top{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:32px;
  margin-bottom:32px;
}
footer.site a{ text-decoration:none; }
footer.site .foot-brand{
  font-family:var(--display);
  font-weight:600;
  color:var(--white);
  font-size:18px;
}
footer.site .foot-links{ display:flex; gap:28px; flex-wrap:wrap; }
footer.site .foot-links a{ color:#C9C2AE; font-size:14.5px; }
footer.site .foot-links a:hover{ color:var(--white); }
footer.site .foot-bottom{
  border-top:1px solid #33465A;
  padding-top:20px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.03em;
  color:#8494A2;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}

/* Placeholder do uzupełnienia treścią klienta */
.todo{
  background:#FFF3E0;
  color:#8A3C21;
  border:1px dashed var(--rust);
  padding:2px 8px;
  font-family:var(--mono);
  font-size:.85em;
  white-space:nowrap;
}

/* ------------------------------ RESPONSYWNOŚĆ -------------------------- */
@media (max-width:720px){
  nav.links{ display:none; }
  .hero{ padding:64px 0 56px; }
  section{ padding:56px 0; }
  .cta-row{ flex-direction:column; align-items:flex-start; }
  footer.site .foot-top{ flex-direction:column; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
}
