/* Lokalny Inter, cztery wagi bez zewnętrznych żądań. */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/Inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b1220;
  --surface: #111c2e;
  --surface-strong: #17243a;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #10b981;
  --accent-strong: #34d399;
  --accent-border: rgb(16 185 129 / 45%);
  --button-text: #062218;
  --border: #2b3b50;
  --focus: #6ee7b7;
  --error: #fda4af;
  --shadow: 0 18px 50px rgb(0 0 0 / 22%);
  --font-h1: clamp(2.25rem, 6vw, 4.5rem);
  --font-h2: clamp(1.875rem, 4vw, 2.5rem);
  --font-h3: clamp(1.5rem, 3vw, 1.75rem);
  --font-h4: clamp(1.25rem, 2.5vw, 1.375rem);
  --font-body: clamp(1rem, 1.5vw, 1.125rem);
  --font-small: clamp(0.8125rem, 1.2vw, 0.875rem);
}

html[data-theme="jasny"] {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #eef2f7;
  --text: #0f172a;
  --muted: #475569;
  --accent: #047857;
  --accent-strong: #046a4e;
  --accent-border: rgb(4 120 87 / 40%);
  --button-text: #ffffff;
  --border: #cbd5e1;
  --focus: #047857;
  --error: #b91c1c;
  --shadow: 0 18px 50px rgb(15 23 42 / 10%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  font-size: var(--font-body);
  line-height: 1.65;
  transition: color 180ms ease, background-color 180ms ease;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body::before {
  background-image: linear-gradient(var(--text) 1px, transparent 1px), linear-gradient(90deg, var(--text) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.04;
}

body::after {
  background: radial-gradient(circle at 82% 12%, var(--accent), transparent 42%);
  opacity: 0.1;
}

html[data-theme="jasny"] body::after {
  opacity: 0.08;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 19ch;
  margin-bottom: 1.25rem;
  font-size: var(--font-h1);
  letter-spacing: -0.045em;
}

.hero-title {
  max-width: 30ch;
  font-size: var(--font-h1);
  line-height: 1.12;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
}

.hero-title span {
  display: block;
}

h2 {
  margin-bottom: 1rem;
  font-size: var(--font-h2);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: var(--font-h3);
}

h4 {
  margin-bottom: 0.65rem;
  font-size: var(--font-h4);
}

small,
.small {
  font-size: var(--font-small);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.25rem;
}

button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.narrow {
  max-width: 50rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  color: var(--button-text);
  background: var(--accent);
  border-radius: 0.5rem;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 2;
  padding-top: 1rem;
  border-bottom: 1px solid var(--border);
  background: rgb(11 18 32 / 94%);
}

html[data-theme="jasny"] .site-header {
  background: rgb(248 250 252 / 95%);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.brand-block {
  display: contents;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .brand {
  color: var(--accent-strong);
}

html[data-theme="jasny"] .site-header .brand {
  color: var(--accent);
}

.brand-name {
  color: var(--text);
}

.brand-name span {
  color: var(--accent-strong);
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  color: var(--accent);
}

.brand-lockup {
  display: block;
  width: auto;
  max-width: none;
  height: 3rem;
  flex: none;
}

.brand-tagline {
  order: 4;
  flex-basis: 100%;
  margin: -0.2rem 0 0;
  color: var(--accent-strong);
  font-size: clamp(0.7rem, 3.1vw, 0.78rem);
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}

html[data-theme="jasny"] .brand-tagline {
  color: var(--accent);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-select,
.theme-toggle {
  min-height: 2.75rem;
  padding: 0.5rem 0.7rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
}

.language-select {
  max-width: 5.2rem;
  cursor: pointer;
}

.theme-toggle {
  cursor: pointer;
}

.language-select:hover,
.theme-toggle:hover {
  border-color: var(--accent);
}

.site-nav ul,
.footer-links,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
  padding-block: 0.65rem 0.85rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  padding-block: 0;
}

.nav-links {
  flex: 1 1 auto;
}

.site-nav .header-quote {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  color: var(--button-text);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav .header-quote:hover {
  color: var(--button-text);
  filter: brightness(1.08);
}

.site-nav a {
  display: block;
  padding-block: 0.35rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
}

.social-icon {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  place-items: center;
}

.social-icon svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -12rem;
  left: 12%;
  width: min(52rem, 120vw);
  height: 34rem;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse, rgb(16 185 129 / 28%), transparent 68%);
}

html[data-theme="jasny"] .hero::before {
  background: radial-gradient(ellipse, rgb(16 185 129 / 20%), transparent 68%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 56%;
  left: -8%;
  width: 116%;
  height: 2px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  box-shadow: 0 0 10px rgb(16 185 129 / 25%);
  opacity: 0.85;
  transform: rotate(-8deg);
  animation: spark-pulse 4s ease-in-out infinite;
}

@keyframes spark-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.85; }
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
}

.hero .lead {
  color: #a0b3c8;
}

html[data-theme="jasny"] .hero .lead {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.1rem;
  color: var(--button-text);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.08);
}

.button-secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}

.price {
  width: fit-content;
  margin-block: 1.25rem;
  padding: 0.55rem 0.8rem;
  color: var(--accent-strong);
  background: rgb(16 185 129 / 9%);
  border: 2px solid var(--accent-border);
  border-radius: 0.55rem;
  font-weight: 700;
}

.price-note {
  max-width: 52ch;
  margin: -0.45rem 0 1.4rem;
  color: var(--muted);
  font-size: var(--font-small);
}

.section {
  padding-block: 1.25rem 3.5rem;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin-bottom: 0.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  align-items: start;
  gap: 1rem;
}

.card {
  min-width: 0;
  height: 100%;
  padding: clamp(1.15rem, 3vw, 1.6rem);
  background: var(--surface);
  border: 2px solid var(--accent-border);
  border-radius: 0.9rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  border: 2px solid #13b67f;
  box-shadow: 0 14px 40px rgb(19 182 127 / 20%);
  transform: translateY(-4px);
}

.card > :last-child {
  margin-bottom: 0;
}

.card h2,
.card h3 {
  color: var(--text);
}

.card p,
.card li {
  color: var(--muted);
}

.card .price {
  color: var(--accent-strong);
}

.card-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
}

.home-hero {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.home-hero .hero-title {
  max-width: 18ch;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
}

.service-tile {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--text);
  text-decoration: none;
}

.service-tile:hover {
  color: var(--text);
  text-decoration: none;
}

.service-tile h3 {
  margin-bottom: 0.65rem;
}

.service-tile .price {
  margin-bottom: 1rem;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 2.65rem;
  margin-top: auto;
  padding: 0.6rem 0.9rem;
  color: var(--button-text);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.service-tile:hover .card-cta {
  filter: brightness(1.08);
}

.example-type {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.example-card {
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
}

.example-card:hover {
  color: var(--text);
  text-decoration: none;
}

.example-card p {
  margin-bottom: 0;
}

.examples-actions {
  margin-top: 1.25rem;
}

.order-card {
  padding-block: clamp(1.25rem, 4vw, 2rem);
}

.order-card h2 {
  margin-bottom: 0.6rem;
}

.order-intro {
  max-width: 62ch;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.person-line {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
}

.payment-note {
  margin: 1.25rem 0 0;
  padding: 0.8rem 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  font-size: var(--font-small);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 1rem;
}

.contact-intro-card h2 {
  margin-bottom: 0.75rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  content: "✓";
  font-weight: 700;
}

.compare-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--font-small);
}

.compare-table th,
.compare-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table .compare-row-title {
  color: var(--muted);
  font-weight: 600;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.55rem;
  color: var(--accent-strong);
  background: rgb(16 185 129 / 10%);
  border: 2px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.project-featured {
  grid-column: 1 / -1;
}

.project-preview {
  margin-bottom: 1.25rem;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
}

.project-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 2px solid var(--accent-border);
  border-radius: 0.8rem;
}

.faq-item summary {
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.faq-item p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.site-form {
  min-width: 0;
  margin: 0;
}

.form-heading {
  margin-bottom: 1.25rem;
}

.form-heading h3 {
  margin-bottom: 0.35rem;
}

.form-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step + .form-step {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-step-title {
  margin-bottom: 0.3rem;
  font-size: var(--font-h4);
}

.form-step-description {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: var(--font-small);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-weight: 600;
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field textarea,
.form-field select {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  font: inherit;
  font-size: 1rem;
}

.form-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-field input[type="checkbox"],
.form-field input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  margin: 0;
  accent-color: var(--accent);
  vertical-align: -0.15rem;
}

.form-customer-type {
  min-width: 0;
  padding: 0;
  border: 0;
}

.form-customer-type legend {
  margin-bottom: 0.4rem;
  padding: 0;
  font-weight: 600;
}

.customer-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.customer-type-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 400;
  cursor: pointer;
}

.form-field [aria-invalid="true"] {
  border-color: var(--error);
}

.form-consent label {
  font-size: var(--font-small);
  font-weight: 400;
}

.form-consumer-consent[hidden] {
  display: none;
}

.form-consumer-consent small {
  font-size: var(--font-small);
}

.field-error {
  min-height: 1.2em;
  color: var(--error);
  font-size: var(--font-small);
}

.form-field small {
  color: var(--muted);
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem;
  color: var(--accent-strong);
  border: 1px solid var(--accent-border);
  border-radius: 0.55rem;
}

.form-status[data-state="error"] {
  color: var(--error);
  border-color: var(--error);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.legal-notice {
  border-left: 3px solid var(--accent);
}

.legal-placeholder {
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  margin-top: 3rem;
  padding-block: 3rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 2rem;
}

.footer-title {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.footer-note,
.footer-bottom {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 2.2rem;
  padding: 0.42rem 0.68rem;
  color: var(--muted);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--accent-strong);
  border-color: #13b67f;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.footer-hours {
  color: var(--muted);
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-button svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.social-button:hover {
  color: var(--accent-strong);
  border-color: #13b67f;
  transform: translateY(-2px);
}

.mobile-quote {
  display: none;
}

.js.motion-ok .section.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js.motion-ok .section.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Kafle w siatce wchodzą jeden po drugim; opóźnienie ustawia theme.js */
.js.motion-ok .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js.motion-ok .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 48rem) {
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  .site-nav {
    gap: 0.55rem;
  }

  .nav-links {
    gap: 0.15rem 0.9rem;
  }

  .site-nav .nav-socials {
    width: 100%;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .compare-table {
    min-width: 0;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .compare-table th,
  .compare-table td {
    padding: 0.1rem 0;
    border: 0;
  }

  .compare-table .compare-row-title {
    color: var(--text);
    font-weight: 700;
  }

  .compare-table td::before {
    color: var(--muted);
    font-weight: 600;
    content: attr(data-label) ": ";
  }

  .mobile-quote {
    position: fixed;
    right: 1rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    left: 1rem;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    color: var(--button-text);
    background: var(--accent);
    border: 2px solid #13b67f;
    border-radius: 0.75rem;
    box-shadow: 0 8px 28px rgb(0 0 0 / 28%);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }
}

@media (max-width: 25rem) {
  .header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .brand-tagline {
    margin-top: 0;
  }

  .actions .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.examples-note {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: var(--font-small);
}

.examples-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  background: rgb(16 185 129 / 8%);
  border: 1px solid var(--accent-border);
  border-radius: 0.8rem;
}

.examples-cta p {
  max-width: 46ch;
  margin: 0;
  color: var(--text);
}

.examples-cta .button {
  flex: 0 0 auto;
}


/* Konwersja: wyróżniona kafla wizytówki, trzy linki nad kaflami, dane kontaktowe, pasek mobilny */
.service-tile--feature {
  grid-column: 1 / -1;
}

.service-tile--feature h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.home-summary-section {
  padding-top: 0;
}

.home-summary {
  display: grid;
  gap: 0.6rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-summary a {
  display: block;
  height: 100%;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
  transition: border-color 180ms ease;
}

.home-summary a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.75rem 0 0;
}

.contact-phones a {
  color: var(--accent-strong);
  font-weight: 600;
}

.examples-note--above {
  margin: 0.35rem 0 1.25rem;
}

@media (min-width: 48.01rem) {
  .home-summary {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 48rem) {
  .site-nav .header-quote {
    display: none;
  }

  body[data-page="kontakt"] {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .mobile-quote {
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .mobile-quote.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(120%);
  }
}

.form-reply {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: var(--font-small);
}
