/* ==========================================================================
   TERMIKA — demo strony firmy HVAC (klimatyzacja / pompy ciepła / wentylacja)
   Paleta: granat inżynierski + dualność zimno (lód) / ciepło (bursztyn)
   ========================================================================== */

:root {
  --navy-950: #06121f;
  --navy-900: #0a2239;
  --navy-800: #0b3d5c;
  --navy-700: #14507a;
  --ice: #38bdf8;
  --ice-soft: #bae6fd;
  --warm: #fb923c;
  --warm-soft: #fed7aa;
  --surface: #ffffff;
  --surface-alt: #f1f6fa;
  --text: #12202b;
  --muted: #5b6b75;
  --line: #dde7ee;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(10, 34, 57, 0.07);
  --shadow-md: 0 12px 34px rgba(10, 34, 57, 0.13);
  --container: 1200px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 767px) { section { padding: 56px 0; } }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--ice), var(--warm));
  border-radius: 2px;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--warm), var(--ice));
  border-radius: 2px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; color: var(--navy-900); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

.grad-cool { background: linear-gradient(100deg, #7dd3fc, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-warm { background: linear-gradient(100deg, #fdba74, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 120ms linear, transform 150ms ease-out, box-shadow 150ms ease-out;
}
.btn:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(95deg, var(--ice) 0%, #0ea5e9 100%);
  color: var(--navy-950);
  box-shadow: 0 10px 26px rgba(56, 189, 248, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(56, 189, 248, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.site-header.scrolled {
  background: rgba(6, 18, 31, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
}
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo strong { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.logo span { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 120ms linear;
}
.main-nav a:hover { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.header-phone svg { width: 18px; height: 18px; color: var(--ice); }
.header-phone:hover { color: var(--ice-soft); }
.btn-header { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  z-index: 130;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 200ms ease-in-out, opacity 150ms;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 18, 31, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 200ms ease-in-out;
    z-index: 120;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 22px; font-family: var(--font-display); }
  .nav-toggle { display: block; }
  .btn-header { display: none; }
}
@media (max-width: 560px) {
  .header-phone span { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 110px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(6, 18, 31, 0.93) 0%, rgba(8, 30, 51, 0.78) 45%, rgba(10, 34, 57, 0.42) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  z-index: -1;
  background: linear-gradient(to top, rgba(6, 18, 31, 0.85), transparent);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-sub strong { color: #fff; font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 44px; }
.hero-phone-note { font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.hero-phone-note a { color: #fff; font-weight: 600; text-decoration: none; }
.hero-phone-note a:hover { color: var(--ice-soft); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
}
.trust-chip svg { width: 16px; height: 16px; color: var(--ice); flex: none; }
.trust-chip .stars { color: #fbbf24; letter-spacing: 1px; }

/* karta temperatury */
.temp-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 34px 32px 30px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-width: 380px;
  justify-self: end;
  width: 100%;
}
.temp-card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}
.temp-card-label .mode { font-weight: 600; color: var(--ice-soft); transition: color 200ms; }
.temp-value {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.temp-value .unit { font-size: 26px; margin-top: 10px; color: rgba(255, 255, 255, 0.7); }
.temp-slider { width: 100%; margin: 26px 0 8px; accent-color: var(--ice); cursor: pointer; }
.temp-scale { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.temp-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.temp-footer b { display: block; font-family: var(--font-display); font-size: 17px; color: #fff; }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .temp-card { justify-self: start; }
}

/* ---------- pasek zaufania ---------- */
.trustbar { background: var(--navy-950); padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.trustbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 36px;
}
.trustbar-label { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.brand-logos { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; }
.brand-logos span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  transition: color 150ms;
}
.brand-logos span:hover { color: rgba(255, 255, 255, 0.9); }

/* ---------- usługi ---------- */
.services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.service-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 400ms ease-out;
}
.service-card:hover img { transform: scale(1.05); }
.service-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(6, 18, 31, 0.92) 8%, rgba(6, 18, 31, 0.35) 55%, rgba(6, 18, 31, 0.12) 100%);
  transition: background 200ms;
}
.service-body { padding: 28px 26px; width: 100%; }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
}
.service-icon svg { width: 23px; height: 23px; color: var(--ice-soft); }
.service-body h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.service-body p { font-size: 14px; color: rgba(255, 255, 255, 0.78); margin-bottom: 14px; }
.service-link {
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ice-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card:hover .service-link { text-decoration: underline; }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .service-card { min-height: 340px; } }

/* ---------- statystyki ---------- */
.stats {
  background:
    radial-gradient(1000px 400px at 15% 0%, rgba(56, 189, 248, 0.13), transparent 60%),
    radial-gradient(800px 400px at 90% 100%, rgba(251, 146, 60, 0.1), transparent 60%),
    var(--navy-950);
  color: #fff;
  padding: 84px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 700;
  background: linear-gradient(100deg, var(--ice-soft), var(--ice));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat:nth-child(even) b { background: linear-gradient(100deg, var(--warm-soft), var(--warm)); -webkit-background-clip: text; background-clip: text; }
.stat span { font-size: 14.5px; color: rgba(255, 255, 255, 0.68); display: block; margin-top: 6px; }
@media (max-width: 767px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; } }

/* ---------- proces ---------- */
.process { background: var(--surface-alt); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-950);
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--ice-soft), var(--ice));
  margin-bottom: 20px;
}
.process-step:nth-child(even)::before { background: linear-gradient(120deg, var(--warm-soft), var(--warm)); }
.process-step h3 { font-size: 18px; font-weight: 600; color: var(--navy-900); margin-bottom: 10px; }
.process-step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1024px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- case study teaser (story) ---------- */
.story { background: var(--surface); }
.story-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.story-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.story-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; }
.story-media-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(6, 18, 31, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
}
.story-media-badge b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--warm-soft); }
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-900);
  margin: 22px 0 18px;
}
.story-quote::before { content: "\201E"; color: var(--ice); }
.story-quote::after { content: "\201D"; color: var(--ice); }
.story-author { font-size: 14.5px; color: var(--muted); margin-bottom: 30px; }
.story-author b { color: var(--text); }
.story-facts { display: flex; gap: 34px; margin-bottom: 34px; flex-wrap: wrap; }
.story-facts div b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--navy-800); }
.story-facts div span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .story-wrap { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- realizacje grid ---------- */
.cases { background: var(--surface-alt); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
  display: block;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-card:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.case-card figure { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.case-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease-out; }
.case-card:hover figure img { transform: scale(1.05); }
.case-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(6, 18, 31, 0.8);
  backdrop-filter: blur(6px);
  color: var(--ice-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.case-body { padding: 24px 24px 26px; }
.case-body h3 { font-size: 18.5px; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.case-body p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.case-more { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--navy-700); }
.case-card:hover .case-more { text-decoration: underline; }
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }

/* ---------- dofinansowania ---------- */
.grants {
  background: linear-gradient(110deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 72px 0;
}
.grants .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.grants h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.grants p { color: rgba(255, 255, 255, 0.78); max-width: 520px; }
.grants-list { display: grid; gap: 14px; }
.grant-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.grant-item span { font-size: 14.5px; }
.grant-item b { font-family: var(--font-display); font-size: 19px; color: var(--warm-soft); white-space: nowrap; }
@media (max-width: 900px) { .grants .container { grid-template-columns: 1fr; } }

/* ---------- opinie ---------- */
.reviews { background: var(--surface); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}
.review-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { font-size: 15px; color: var(--text); margin-bottom: 20px; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(130deg, var(--navy-700), var(--navy-900));
  flex: none;
}
.review-meta b { display: block; font-size: 14.5px; }
.review-meta span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--surface-alt); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy-900);
  text-align: left;
  cursor: pointer;
}
.faq-q:focus-visible { outline: 2px solid var(--ice); outline-offset: -2px; border-radius: var(--radius); }
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--navy-700); transition: transform 200ms ease-in-out; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 200ms ease-in-out; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- kontakt ---------- */
.contact { background: var(--surface); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.contact-info h2 { font-size: clamp(26px, 3vw, 34px); color: var(--navy-900); margin-bottom: 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 32px; max-width: 440px; }

.location-card {
  background: var(--navy-950);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
}
.location-card h3 { font-size: 19px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.location-card h3 svg { width: 20px; height: 20px; color: var(--warm); }
.location-rows { display: grid; gap: 14px; margin-bottom: 24px; }
.location-row { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, 0.85); }
.location-row svg { width: 18px; height: 18px; color: var(--ice); flex: none; margin-top: 2px; }
.location-row a { color: #fff; text-decoration: none; font-weight: 600; }
.location-row a:hover { color: var(--ice-soft); }
.location-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.location-cta .btn { padding: 12px 22px; font-size: 14px; }

.area-note { margin-top: 26px; }
.area-note h4 { font-size: 14px; color: var(--navy-900); margin-bottom: 10px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips span {
  font-size: 13px;
  color: var(--navy-700);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
}

.contact-form {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
}
.contact-form h3 { font-size: 21px; color: var(--navy-900); margin-bottom: 6px; }
.contact-form > p { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.form-field label em { color: #dc2626; font-style: normal; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 120ms, box-shadow 120ms;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(11, 61, 92, 0.15);
}
.form-field.error input { border-color: #dc2626; }
.field-error { font-size: 12.5px; color: #dc2626; display: none; }
.form-field.error .field-error { display: block; }
.form-submit { grid-column: 1 / -1; margin-top: 6px; }
.form-submit .btn { width: 100%; }
.form-rodo { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success.visible { display: block; }
.form-success .tick {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #dcfce7;
  display: grid;
  place-items: center;
}
.form-success .tick svg { width: 30px; height: 30px; color: #16a34a; }
.form-success h4 { font-size: 20px; color: var(--navy-900); margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--muted); }
.form-success a { color: var(--navy-800); font-weight: 600; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 52px;
}
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-col li { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- mobilny pasek połączenia ---------- */
.mobile-call {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  background: rgba(6, 18, 31, 0.96);
  backdrop-filter: blur(10px);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(95deg, var(--ice), #0ea5e9);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 14px;
  border-radius: 999px;
}
.mobile-call svg { width: 19px; height: 19px; }
@media (max-width: 767px) {
  .mobile-call { display: block; }
  body { padding-bottom: 76px; }
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 400ms ease-out, transform 400ms ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .case-card, .process-step, .btn { transition: none; }
}

/* ==========================================================================
   Podstrona realizacji (case study)
   ========================================================================== */
.case-hero {
  position: relative;
  padding: 170px 0 90px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.case-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.case-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 18, 31, 0.94) 10%, rgba(6, 18, 31, 0.68) 60%, rgba(6, 18, 31, 0.42) 100%);
}
.breadcrumbs { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); margin-bottom: 22px; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.case-hero h1 { font-size: clamp(30px, 4.4vw, 48px); max-width: 800px; margin-bottom: 20px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.case-meta span {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
.case-content { max-width: 720px; }
.case-content .pullquote {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
  border-left: 4px solid var(--warm);
  padding-left: 26px;
  margin-bottom: 14px;
}
.case-content .pullquote-author { color: var(--muted); font-size: 14.5px; padding-left: 30px; margin-bottom: 44px; }
.case-content h2 { font-size: 26px; color: var(--navy-900); margin: 44px 0 16px; }
.case-content p { color: #33424d; margin-bottom: 16px; }

.option-list { list-style: none; display: grid; gap: 14px; margin: 24px 0 10px; }
.option-list li {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  position: relative;
}
.option-list li.chosen { border-color: var(--ice); background: #f0f9ff; }
.option-list li.chosen::after {
  content: "wybór klienta";
  position: absolute;
  top: -11px; right: 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ice);
  padding: 3px 10px;
  border-radius: 999px;
}
.option-list b { font-family: var(--font-display); display: block; color: var(--navy-900); margin-bottom: 5px; }
.option-list p { font-size: 14.5px; margin: 0; }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.photo-pair figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.photo-pair img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-pair figcaption { font-size: 13px; color: var(--muted); padding: 10px 4px 0; }
@media (max-width: 640px) { .photo-pair { grid-template-columns: 1fr; } }

.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0 10px; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 500; width: 46%; }
.spec-table td { color: var(--navy-900); font-weight: 600; }

.cost-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  margin: 30px 0;
}
.cost-card h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 18px; }
.cost-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; font-size: 15px; border-bottom: 1px dashed var(--line); }
.cost-row span { color: var(--muted); }
.cost-row b { font-family: var(--font-display); color: var(--navy-900); white-space: nowrap; }
.cost-row.discount b { color: #16a34a; }
.cost-row.total { border-bottom: none; padding-top: 16px; font-size: 17px; }
.cost-row.total b { font-size: 22px; color: var(--navy-800); }
.cost-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(110deg, var(--navy-900), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin: 40px 0;
}
.inline-cta b { font-family: var(--font-display); font-size: 19px; display: block; margin-bottom: 4px; }
.inline-cta p { color: rgba(255, 255, 255, 0.75); font-size: 14px; margin: 0; }

.fact-sheet {
  position: sticky;
  top: 100px;
  background: var(--navy-950);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
}
.fact-sheet h3 { font-size: 17px; margin-bottom: 20px; color: var(--ice-soft); }
.fact-sheet dl { display: grid; gap: 15px; }
.fact-sheet dt { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.fact-sheet dd { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin: 2px 0 0; }
.fact-sheet .fact-hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.12); margin: 6px 0; }
@media (max-width: 900px) {
  .case-layout { grid-template-columns: 1fr; }
  .fact-sheet { position: static; }
}

.related { background: var(--surface-alt); }
