/* ==========================================================================
   SOLARWAY — arkusz stylów
   Fotowoltaika, magazyny energii i dotacje — Poznań i cała Wielkopolska
   ========================================================================== */

:root {
  /* Kolory marki (z logo SolarWay) */
  --brand-blue: #0097d6;
  --brand-yellow: #ffcb03;

  /* Paleta rozszerzona */
  --color-primary: #0a3a58;
  --color-primary-dark: #062940;
  --color-primary-light: #135f8a;
  --color-accent: #ffc502;
  --color-accent-dark: #e0ab00;
  --color-accent-soft: rgba(255, 197, 2, 0.14);
  --color-blue-soft: rgba(0, 151, 214, 0.10);

  --color-bg: #f6f9fb;
  --color-surface: #ffffff;
  --color-surface-alt: #eef4f8;
  --color-text: #14242f;
  --color-text-muted: #56707f;
  --color-border: #dde7ee;
  --color-border-strong: #c6d6e1;

  --shadow-xs: 0 1px 2px rgba(6, 41, 64, 0.06);
  --shadow-sm: 0 2px 8px rgba(6, 41, 64, 0.07);
  --shadow-md: 0 12px 28px rgba(6, 41, 64, 0.10);
  --shadow-lg: 0 26px 60px rgba(6, 41, 64, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container-w: 1200px;
  --gutter: 24px;
  --header-h: 76px;

  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --section-y: 96px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  color: var(--color-primary-dark);
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.05em; color: var(--color-text-muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-primary-light); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--color-primary); text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0 !important; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.65); }
.section--alt { background: var(--color-surface); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }
.section-head h2 { margin-bottom: 0.4em; }

.section-actions { display: flex; justify-content: center; margin-top: 44px; }

.prose-narrow { max-width: 780px; margin-inline: auto; }
.prose-narrow h2 { margin-top: 1.8em; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); }
.prose-narrow h2:first-child { margin-top: 0; }

.note {
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-primary-light);
  background: var(--color-blue-soft);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  max-width: 100%;
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 8px 20px rgba(255, 197, 2, 0.32);
}
.btn--primary:hover { background: var(--color-accent-dark); color: var(--color-primary-dark); box-shadow: 0 12px 26px rgba(255, 197, 2, 0.4); }

.btn--outline { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

.btn--dark-outline { background: transparent; border-color: var(--color-border-strong); color: var(--color-primary); }
.btn--dark-outline:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.btn--sm { padding: 12px 20px; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: center; }
.main-nav a {
  white-space: nowrap;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--color-surface-alt); color: var(--color-primary); text-decoration: none; }
.main-nav a.is-active { background: var(--color-blue-soft); color: var(--color-primary-light); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: var(--color-primary);
}
.header-phone:hover { text-decoration: none; color: var(--color-primary-light); }
.header-phone svg { width: 19px; height: 19px; color: var(--brand-blue); flex: 0 0 auto; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone__label { font-size: 0.72rem; color: var(--color-text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.header-phone strong { font-size: 0.98rem; font-family: var(--font-heading); white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; background: var(--color-primary-dark); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 33, 51, 0.96) 0%, rgba(6, 33, 51, 0.86) 38%, rgba(6, 41, 64, 0.42) 72%, rgba(0, 151, 214, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 33, 51, 0.55) 0%, rgba(6, 33, 51, 0) 35%);
}
.hero__content { position: relative; max-width: 730px; padding-block: clamp(72px, 9vw, 128px); }
.hero__content .eyebrow { background: var(--color-accent-soft); color: var(--brand-yellow); }
.hero__content h1 { color: #fff; margin-bottom: 0.5em; }
.hero__content > p { color: rgba(255, 255, 255, 0.86); font-size: 1.12rem; max-width: 560px; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 44px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
.hero__trust svg { width: 17px; height: 17px; color: var(--brand-yellow); flex: 0 0 auto; }

/* ------------------------------------------------------ Page header (podstrony) */
.page-header { position: relative; background: var(--color-primary-dark); color: #fff; }
.page-header__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.42; }
.page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 33, 51, 0.95) 0%, rgba(10, 58, 88, 0.88) 60%, rgba(19, 95, 138, 0.78) 100%);
}
.page-header__content { position: relative; padding-block: clamp(48px, 6vw, 76px); }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.66); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.86); }
.breadcrumb a:hover { color: #fff; }
.page-header h1 { color: #fff; margin-bottom: 0.35em; }
.page-header p { color: rgba(255, 255, 255, 0.82); max-width: 640px; font-size: 1.06rem; }

/* ---------------------------------------------------------------- Grids */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------------------------------------------------------------- Karty usług */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.section--alt .service-card { background: var(--color-bg); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.service-card h3 { margin-bottom: 0.5em; }
.service-card p { font-size: 0.99rem; }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue), var(--color-primary));
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 151, 214, 0.25);
}
.service-card__icon svg { width: 26px; height: 26px; }

.service-card ul {
  margin: 16px 0 26px;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.service-card ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-yellow);
}
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------------------------------------------------------------- Split (tekst + zdjęcie) */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.split--top { align-items: start; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__text h2 { margin-bottom: 0.45em; }

.check-list { list-style: none; padding: 0; margin: 24px 0 28px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 13px;
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
}
.check-list li svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--brand-blue); margin-top: 4px; }

/* ---------------------------------------------------------------- Kroki procesu */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-xs);
}
.section--alt .step { background: var(--color-bg); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  background: var(--color-accent);
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.45em; }
.step p { font-size: 0.95rem; margin: 0; }

/* ---------------------------------------------------------------- Podgląd realizacji */
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.preview-card {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  background: var(--color-surface-alt);
}
.preview-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.preview-card:hover img { transform: scale(1.05); }
.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 33, 51, 0) 55%, rgba(6, 33, 51, 0.35) 100%);
}

/* ---------------------------------------------------------------- Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-alt);
  box-shadow: var(--shadow-xs);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 33, 51, 0);
  transition: background 0.25s ease;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { background: rgba(6, 33, 51, 0.18); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 18, 28, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: clamp(16px, 5vw, 56px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__nav--prev { left: clamp(12px, 3vw, 28px); }
.lightbox__nav--next { right: clamp(12px, 3vw, 28px); }

/* ---------------------------------------------------------------- CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 2, 0.22), rgba(255, 197, 2, 0) 68%);
  pointer-events: none;
}
.cta-banner__text { position: relative; max-width: 640px; }
.cta-banner h2 { color: #fff; margin-bottom: 0.35em; }
.cta-banner p { color: rgba(255, 255, 255, 0.84); margin: 0; }
.cta-banner .btn { position: relative; }

/* ---------------------------------------------------------------- Formularz / kontakt */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3.5vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; color: var(--color-primary); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fcfdfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 151, 214, 0.16);
}
.form-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 24px; }
.form-consent input { width: auto; margin-top: 5px; flex: 0 0 auto; }
.form-consent label { font-weight: 400; margin: 0; color: var(--color-text-muted); font-size: 0.88rem; line-height: 1.55; }

.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: 0.95rem; display: none; }
.form-msg.is-success { display: block; background: #e7f6ec; color: #1c7a3c; }
.form-msg.is-error { display: block; background: #fdeceb; color: #b3261e; }

.contact-info-card {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3.5vw, 36px);
  box-shadow: var(--shadow-md);
}
.contact-info-card h3 { color: #fff; margin-bottom: 1.1em; }
.contact-info-card a { color: #fff; }
.contact-info-card a:hover { color: var(--brand-yellow); text-decoration: none; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; font-size: 0.97rem; }
.contact-info-row svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--brand-yellow); margin-top: 4px; }
.contact-info-row strong { display: block; color: #fff; font-weight: 600; }
.contact-info-row span { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }

.map-frame { border-radius: var(--radius-sm); overflow: hidden; margin-top: 26px; border: 1px solid rgba(255, 255, 255, 0.18); }
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }

/* ---------------------------------------------------------------- FAQ */
.faq-item { border-bottom: 1px solid var(--color-border); padding: 20px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--color-border); }
.faq-item summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--color-primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item p { margin-top: 14px; margin-bottom: 0; font-size: 0.99rem; }

/* ---------------------------------------------------------------- Stopka */
.site-footer { background: var(--color-primary-dark); color: rgba(255, 255, 255, 0.72); padding: 72px 0 28px; font-size: 0.95rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-grid p { color: rgba(255, 255, 255, 0.68); font-size: 0.94rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.02em; margin-bottom: 18px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--brand-yellow); text-decoration: none; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; line-height: 1.5; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 26px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }

/* ---------------------------------------------------------------- Responsywność */
@media (max-width: 1240px) {
  .main-nav a { padding: 9px 10px; font-size: 0.9rem; }
  .header-phone__label { display: none; }
}

@media (max-width: 1160px) {
  :root { --section-y: 76px; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--gutter) 22px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 16px; font-size: 1rem; }
  .nav-toggle { display: block; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid > :last-child { display: none; }
}

@media (max-width: 720px) {
  :root { --section-y: 60px; --gutter: 20px; }
  .header-phone { display: none; }
  .header-cta { display: none; }
  body { font-size: 1rem; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-grid > :last-child { display: block; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-banner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .hero__trust { gap: 10px 20px; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
