/* ==========================================================================
   MakReed — Dokumentacja Techniczna
   v3 — Light theme + photographic
   ========================================================================== */

:root {
  /* Monochrome palette — pod logo MakReed (grayscale geometryczny) */
  --bg:            #FFFFFF;
  --bg-warm:       #F4F4F2;       /* lekko ciepły jasnoszary */
  --bg-dark:       #1A1A1A;       /* antracyt jak tekst logo */
  --bg-darker:     #0A0A0A;       /* głęboka czerń */

  --surface:       #FFFFFF;
  --surface-warm:  #F9F9F7;
  --surface-cool:  #ECECEA;

  --text:          #1A1A1A;       /* near-black, dokładnie jak logo */
  --text-2:        #383838;
  --text-muted:    #6A6A6A;
  --text-dim:      #9C9C9C;
  --text-on-dark:  #F0F0F0;
  --text-on-dark-muted: #A8A8A8;

  --accent:        #4D5862;       /* stalowo-grafitowy — z odcieni logo */
  --accent-hi:     #6E7986;
  --accent-soft:   rgba(77, 88, 98, 0.08);
  --accent-2:      #1A1A1A;       /* czerń jako drugi akcent (max kontrast) */
  --accent-2-soft: rgba(26, 26, 26, 0.06);

  --border:        rgba(26, 26, 26, 0.10);
  --border-soft:   rgba(26, 26, 26, 0.06);
  --border-hard:   rgba(26, 26, 26, 0.20);
  --border-dark:   rgba(255, 255, 255, 0.10);

  --shadow-sm:     0 2px 8px rgba(15, 27, 45, 0.06);
  --shadow:        0 8px 30px rgba(15, 27, 45, 0.10);
  --shadow-lg:     0 24px 60px rgba(15, 27, 45, 0.18);
  --shadow-photo:  0 30px 80px rgba(15, 27, 45, 0.25);

  --max-width:     1280px;
  --radius:        4px;
  --radius-lg:     12px;
  --radius-xl:     20px;

  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display:  'Space Grotesk', 'Inter', sans-serif;
  --font-serif:    'Fraunces', 'Georgia', serif;
  --font-mono:     'JetBrains Mono', 'Courier New', monospace;

  --easing:        cubic-bezier(.2, .8, .2, 1);
}

/* Reset & base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--easing); }
a:hover { color: var(--accent-2); }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: white; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Layout helpers ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Top accent strip -------------------------------------------------------- */
.top-strip {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 10px 0;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-strip .left { color: var(--accent-hi); }
.top-strip .right a { color: var(--text-on-dark-muted); margin-left: 16px; }
.top-strip .right a:hover { color: white; }
.top-strip .blink {
  display: inline-block;
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  margin-right: 8px;
  animation: blink 2.4s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.nav-logo img { height: 65px; width: auto; max-width: 390px; display: block; }
.nav-logo-text { line-height: 1.1; }
.nav-logo-text small {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-top: 4px;
  font-family: var(--font-mono);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: all .2s var(--easing);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--accent); background: var(--accent-soft); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--accent);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  transition: all .2s var(--easing);
}
.nav-cta:hover {
  background: var(--accent-2);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-hard);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 18px;
}

/* ====== HERO with photo ================================================= */
.hero {
  position: relative;
  min-height: 720px;
  background: linear-gradient(135deg, #1A3A5C 0%, #0D2538 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero::before {
  /* Photo background — set via --hero-photo CSS variable in <style> */
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo, none);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero::after {
  /* Dark overlay for text legibility */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 27, 45, 0.50) 0%, rgba(15, 27, 45, 0.88) 100%),
    linear-gradient(90deg, rgba(15, 27, 45, 0.55) 0%, rgba(15, 27, 45, 0.20) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 100px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: white;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  width: fit-content;
  margin-bottom: 32px;
}
.hero-tag::before {
  content: "";
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 24px;
  max-width: 980px;
  color: white;
}
.hero h1 em {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: #C8CCD0;             /* chłodny jasny szary — monochrom */
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 0 44px;
  line-height: 1.55;
  font-weight: 400;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all .2s var(--easing);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: white;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
  background: #F0F0F0;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border-color: white;
}

/* On-light theme buttons */
.btn-light {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px rgba(13, 79, 140, 0.25);
}
.btn-light:hover { background: var(--accent-2); color: white; transform: translateY(-2px); }
.btn-outline-dark {
  background: white;
  color: var(--text);
  border: 1px solid var(--border-hard);
}
.btn-outline-dark:hover { background: var(--bg-warm); border-color: var(--accent); color: var(--accent); }

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 3px;
  max-width: 900px;
}
.hero-stats .value { white-space: nowrap; font-size: 16px; }
.hero-stats > div {
  padding: 14px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stats > div:last-child { border-right: none; }
.hero-stats .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.hero-stats .value {
  font-size: 16px;
  font-weight: 600;
  color: white;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Scroll indicator at bottom of hero */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  animation: bob 2s ease-in-out infinite;
}
.scroll-indicator::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  margin: 10px auto 0;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* ====== NORM TICKER ===================================================== */
.norm-ticker {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.norm-ticker::before, .norm-ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.norm-ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%); }
.norm-ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg-dark) 0%, transparent 100%); }
.norm-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.norm-track .norm-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.norm-track .norm-item strong { color: var(--accent-hi); font-weight: 500; }
.norm-track .norm-item::after { content: "·"; margin-left: 32px; color: rgba(255,255,255,0.2); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ====== SECTIONS ======================================================== */
.section { padding: 120px 0; position: relative; }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--text);
}
.section--dark .eyebrow { color: #C8CCD0; }
.section--dark .eyebrow::before { background: #C8CCD0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 820px;
  color: inherit;
}
.section-title em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--accent);
}
.section--dark .section-title em { color: #C8CCD0; }

.section-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 64px;
  line-height: 1.65;
}
.section--dark .section-lead { color: var(--text-on-dark-muted); }

/* ====== O firmie (split with photo) ===================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0 0 20px;
}
.about-text p strong { color: var(--text); }
.about-text p:first-of-type {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
  line-height: 1.45;
  letter-spacing: -0.005em;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-cool);
  box-shadow: var(--shadow-photo);
}
.about-photo img,
.about-photo .photo-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  display: block;
}
.about-photo::after {
  content: attr(data-caption);
  position: absolute;
  left: 24px; bottom: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: white;
  background: rgba(15, 27, 45, 0.7);
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.about-photo-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-dark);
  color: white;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  z-index: 2;
}
.about-photo-badge strong { display: block; font-size: 20px; font-family: var(--font-display); letter-spacing: -0.01em; text-transform: none; }

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}
.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.about-highlights li:last-child { border-bottom: none; }
.about-highlights .icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
}
.about-highlights strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}
.about-highlights span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ====== USŁUGI — BENTO with photo cards ================================ */
.services-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
/* Selector page: 2 flagship cards side-by-side on desktop */
.services-bento.services-bento--two {
  grid-template-columns: repeat(2, 1fr);
}
.services-bento.services-bento--two .svc-card.flagship {
  grid-column: span 1;
}
/* Wide card: full-row on desktop */
.svc-card.small.svc-card--wide {
  grid-column: span 6;
  min-height: 180px;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  min-height: 280px;
  transition: all .35s var(--easing);
}
.svc-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

/* Flagship: large photo card */
.svc-card.flagship {
  grid-column: span 3;
  min-height: 460px;
  color: white;
}
.svc-card.flagship .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.svc-card.flagship::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.30) 0%, rgba(15, 27, 45, 0.92) 100%);
  z-index: 1;
}
.svc-card.flagship .text {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 36px;
  color: white;
}
.svc-card.flagship .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}
.svc-card.flagship h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: white;
}
.svc-card.flagship p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0 0 22px;
  max-width: 92%;
}
.svc-card.flagship .arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 18px;
  border-radius: 100px;
  transition: all .25s var(--easing);
}
.svc-card.flagship:hover .arrow { background: white; border-color: white; color: var(--text); }
.svc-card.flagship:hover .arrow::after { transform: translateX(4px); }
.svc-card .arrow::after { content: "→"; transition: transform .25s var(--easing); font-family: var(--font-mono); }
.svc-card.flagship .badge {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 3;
  background: white;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

/* Small cards: clean white with strong icon */
.svc-card.small {
  grid-column: span 2;
  padding: 32px;
  background: var(--surface);
}
.svc-card.small .icon-wrap {
  width: 56px; height: 56px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.svc-card.small .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.svc-card.small h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--text);
}
.svc-card.small p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 20px;
  flex: 1;
  line-height: 1.55;
}
.svc-card.small .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.svc-card.small:hover .arrow { color: var(--accent-2); }
.svc-card.small:hover .arrow::after { transform: translateX(4px); }

/* ====== PROCESS ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
}
.process-step {
  position: relative;
  padding: 36px 28px 36px 0;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 64px; right: 0;
  width: 30px;
  height: 1px;
  background: var(--text);
}
.process-step .num {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 2px solid var(--text);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  background: white;
  margin-bottom: 24px;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--text);
}
.process-step p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 90%;
}

/* ====== STATS (on dark section) ========================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--border-dark);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 64px);
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.stat .num .suffix { color: #C8CCD0; }
.stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

/* ====== COVERAGE / MAP ================================================= */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.cities .city {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: all .2s var(--easing);
}
.cities .city:hover {
  border-color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.cities .city::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.cities .city.featured {
  background: var(--text);
  border-color: var(--text);
  color: white;
  font-weight: 600;
}
.cities .city.featured:hover { background: #000; color: white; }
.cities .city.featured::before { background: white; box-shadow: 0 0 12px rgba(255,255,255,0.6); }

.coverage-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--text);
  background: var(--surface-cool);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.coverage-note strong { color: var(--text); }

.poland-map-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.poland-map-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
}
.poland-map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,79,140,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,79,140,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.poland-map-wrap svg { width: 100%; height: auto; position: relative; z-index: 1; }

.city-dot { fill: #9C9C9C; }
.city-dot.featured { fill: #1A1A1A; }
.city-pulse {
  fill: #9C9C9C;
  opacity: 0.35;
  transform-origin: center;
  transform-box: fill-box;
  animation: city-pulse 2.4s ease-out infinite;
}
.city-pulse.featured { fill: #1A1A1A; }
@keyframes city-pulse {
  0%   { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(3);   opacity: 0; }
}

.map-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  z-index: 2;
}
.map-corner.top-left  { top: 16px; left: 20px; }
.map-corner.top-right { top: 16px; right: 20px; color: var(--accent); }
.map-corner.bot-right { bottom: 16px; right: 20px; }

/* ====== CONTACT (dark with photo right) ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-dark);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--accent-hi);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}
.contact-list strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-list a, .contact-list span.value {
  color: white;
  font-size: 19px;
  font-weight: 600;
  word-break: break-word;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
.contact-list a:hover { color: white; }
.contact-list .placeholder { color: #C8CCD0; font-family: var(--font-mono); font-size: 14px; font-weight: 400; }

.contact-cta {
  padding: 40px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
}
.contact-cta h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px;
  color: white;
  letter-spacing: -0.01em;
}
.contact-cta ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}
.contact-cta ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-on-dark-muted);
  font-size: 15px;
}
.contact-cta ul li::before {
  content: "▸";
  color: #C8CCD0;
  flex-shrink: 0;
  font-size: 14px;
}

/* ====== FOOTER ========================================================== */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-dark);
  padding: 72px 0 28px;
  color: var(--text-on-dark-muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; gap: 14px; align-items: center; }
.footer-logo img { height: 40px; filter: brightness(1.1); }
.footer-logo span { color: white; font-weight: 700; font-family: var(--font-display); font-size: 18px; }
.footer-logo small { color: var(--text-on-dark-muted); font-weight: 500; font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase; font-family: var(--font-mono); display: block; margin-top: 4px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
}
.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--text-on-dark-muted); font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
  gap: 12px;
}

/* ====== Sub-pages (obszary) ============================================ */
.subpage-hero {
  background: var(--bg-warm);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}
.subpage-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text);
  padding: 7px 14px;
  border: 1px solid var(--border-hard);
  border-radius: 100px;
  background: white;
  width: fit-content;
  margin-bottom: 24px;
}
.subpage-hero .hero-tag::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--text);
  border-radius: 50%;
}
.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 16px 0 20px;
  color: var(--text);
}
.subpage-hero h1 .accent { color: var(--accent) !important; }
.subpage-hero p {
  font-size: 18px;
  color: var(--text-muted) !important;
  max-width: 720px;
  margin: 0;
  line-height: 1.65;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--text-dim); }

.subpage-content { padding: 80px 0; background: white; }
.subpage-content .container { max-width: 880px; }
.subpage-content h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 56px 0 18px;
  color: var(--text);
}
.subpage-content h2:first-child { margin-top: 0; }
.subpage-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}
.subpage-content p { color: var(--text-2); margin: 0 0 20px; font-size: 17px; line-height: 1.75; }
.subpage-content ul { color: var(--text-2); padding-left: 24px; }
.subpage-content li { margin-bottom: 10px; font-size: 16px; }
.subpage-content code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--bg-warm);
  padding: 2px 7px;
  border-radius: 3px;
  color: var(--accent);
  border: 1px solid var(--border);
}

.callout {
  display: flex;
  gap: 16px;
  padding: 24px 28px;
  background: var(--accent-2-soft);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
  color: var(--text-2);
}
.callout strong { color: var(--text); }
.callout a { color: var(--accent-2); }

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border-hard);
  border-radius: var(--radius);
  color: var(--text);
  margin-top: 40px;
  background: white;
  font-weight: 500;
  font-size: 15px;
}
.back-to-home:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ====== Reveal animations =============================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--easing), transform .65s var(--easing);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ====== Responsive ====================================================== */
@media (max-width: 1000px) {
  .section { padding: 80px 0; }
  .hero { min-height: 580px; }
  .about-split,
  .coverage-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-photo { aspect-ratio: 5/4; }
  .services-bento,
  .services-bento.services-bento--two { grid-template-columns: repeat(2, 1fr); }
  .svc-card.flagship,
  .svc-card.small,
  .services-bento.services-bento--two .svc-card.flagship,
  .svc-card.small.svc-card--wide { grid-column: span 2; min-height: 220px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border-dark); }
  .stat:nth-child(n+3) { border-bottom: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: none; }
  .hero-stats > div { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .hero-stats > div:nth-child(n+3) { border-bottom: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 96px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; border-bottom: 1px solid var(--border-soft); }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .services-bento,
  .services-bento.services-bento--two { grid-template-columns: 1fr; }
  .svc-card.flagship,
  .svc-card.small,
  .services-bento.services-bento--two .svc-card.flagship,
  .svc-card.small.svc-card--wide { grid-column: span 1; min-height: 200px; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .stat:last-child { border-bottom: none; }
  /* Aggressive: smaller flagship min-height na mobile */
  .svc-card.flagship { min-height: 320px; }
  .svc-card.flagship h3 { font-size: 24px; }
}
