/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta premium: granat + złoto */
  --navy-deep: #070f1c;
  --navy: #0f1d33;
  --navy-2: #16233d;
  --navy-light: #24345a;
  --gold: #c9a24b;
  --gold-light: #e4c778;
  --bg: #f7f6f3;
  --bg-alt: #eeece6;
  --white: #ffffff;
  --text-dark: #16202e;
  --text-muted: #5a6472;
  --border: #e2ded4;
  --radius: 14px;
  --radius-lg: 22px;
  /* Turkusowo-zielony akcent (ten sam zielony co strefa na mapie) —
     uzywany punktowo: checkmarki, znaczniki, drobne wyroznienia. */
  --accent-green: #2fb86a;
  --accent-green-dark: #1a7a46;
  --accent-green-bg: rgba(47, 184, 106, 0.12);
  --shadow: 0 20px 45px rgba(15, 29, 51, 0.08);
  --shadow-lg: 0 28px 60px rgba(15, 29, 51, 0.16);
  --font-head: "Sora", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: var(--font-body);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(201, 162, 75, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(201, 162, 75, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-full {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}

/* Prevent section headings from being hidden behind the sticky header
   when navigating via in-page anchor links (#usugi, #kontakt, etc.) */
section[id] {
  scroll-margin-top: 100px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--navy-light);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15, 29, 51, 0.95) 0%, rgba(15, 29, 51, 0.88) 45%, rgba(15, 29, 51, 0.68) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 24px 40px;
  max-width: 860px;
}

/* Linijka z miastami — płynnie przesuwa się w lewo */
.hero-ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-light);
  background: transparent;
  padding: 14px 0;
}

.hero-ticker-track {
  display: flex;
  width: max-content;
  animation: hero-ticker-scroll 240s linear infinite;
}

.hero-ticker-list {
  display: flex;
  flex-shrink: 0;
}

.hero-ticker-list span {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 32px;
  text-shadow: 0 1px 10px rgba(7, 15, 28, 0.8);
}

@keyframes hero-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Telefony: przewijanie o 50% szybsze (240 s -> 160 s) */
@media (max-width: 720px) {
  .hero-ticker-track { animation-duration: 160s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker-track { animation-duration: 400s; }
}

.hero-kicker {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(7, 15, 28, 0.45);
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gold-light);
  margin-bottom: 18px;
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(7, 15, 28, 0.75), 0 0 4px rgba(7, 15, 28, 0.6);
}

.hero-text {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 34px;
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(7, 15, 28, 0.6);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (min-width: 860px) {
  .hero-actions {
    flex-wrap: nowrap;
  }
}

/* Odręczne "lub" między głównym CTA a opcją kontaktu telefonicznego */
.hero-or {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--white);
  transform: rotate(-9deg);
  display: inline-block;
}

/* Para przycisków kontaktowych (numer + prośba o kontakt) — blisko siebie, jak jedna grupa */
.hero-phone-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--navy);
  padding: 36px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.trust-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
}

.trust-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* ===== Section titles ===== */
.section-kicker {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.1rem;
  text-align: center;
  margin-bottom: 14px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 52px;
  font-size: 1.03rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
}

.service-category {
  margin-bottom: 52px;
}

.service-category:last-child {
  margin-bottom: 0;
}

.service-category-title {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold-light);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h4 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 6px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* Zdjęcie pionowe (łazienka) — zajmuje 2 rzędy, żeby nie kadrować go za mocno */
.gallery-item-wide {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item-wide img {
  object-position: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ===== Process ===== */
.process {
  background: var(--bg-alt);
  padding: 100px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  position: relative;
  padding-top: 8px;
}

.process-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  opacity: 0.14;
  margin-bottom: -8px;
}

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.about-media {
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  background: var(--navy);
  display: flex;
  align-items: center;
}

.about-inner {
  padding: 80px 60px;
  max-width: 560px;
}

.about-content .section-kicker {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  color: var(--white);
}

.about-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 18px;
}

.about-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}

.about-list svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Promo ===== */
.promo {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 80px 0;
}

.promo-inner {
  text-align: center;
}

.promo-title {
  font-size: 2.6rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.promo-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 42px;
  font-size: 1rem;
}

.promo-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.promo-chips-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 520px;
}

.promo-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  max-width: 560px;
  margin: 32px auto 0;
  line-height: 1.5;
}

.promo-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.promo-percent {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
}

.promo-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-align: center;
}

/* ===== Contact / Form ===== */
.contact {
  padding: 100px 0;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-heading {
  text-align: center;
  margin-bottom: 20px;
}

.contact-heading .section-kicker,
.contact-heading .section-title {
  margin-bottom: 8px;
}

/* Dane kontaktowe — przeniesione na dół formularza, jedna karta obok drugiej */
.form-contact-details {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 10px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
}

.contact-detail svg {
  width: 19px;
  height: 19px;
  color: var(--gold-light);
  flex-shrink: 0;
}

/* Efekt hover tylko na urządzeniach z prawdziwą myszką — na dotyku tap i tak
   natychmiast otwiera aplikację (tel/mail), więc "podświetlenie przed przejściem"
   tylko migałoby bez sensu. */
@media (hover: hover) {
  a.contact-detail:hover {
    color: var(--gold-light);
  }
}

.quote-form {
  width: 100%;
  max-width: 820px;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 162, 75, 0.25), 0 0 46px rgba(201, 162, 75, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1.5px solid rgba(201, 162, 75, 0.4);
  align-content: start;
}

/* ===== Para pól w jednym rzędzie (Metraż + zwierzęta) ===== */
.form-row-pair {
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.form-row-pair .form-row {
  flex: 1 1 180px;
}

.form-row-checkbox {
  justify-content: center;
}

/* ===== Sekcje odkrywane warunkowo (płynna animacja) ===== */
.conditional-section {
  grid-column: 1 / -1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.conditional-section.open {
  opacity: 1;
}

.conditional-section-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

#other-text-section .conditional-section-inner {
  padding-top: 12px;
}

/* ===== Checkbox samodzielny (zwierzęta) ===== */
.checkbox-item-standalone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.checkbox-item-standalone input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
}

/* ===== Akordeon: Rodzaj sprzątania ===== */
.accordion {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.accordion-item {
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  background: rgba(255, 255, 255, 0.04);
}

.accordion-item.active {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.22);
  background: rgba(201, 162, 75, 0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.accordion-header-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.accordion-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--white);
}

.accordion-item.active .accordion-title {
  color: var(--gold-light);
}

.accordion-short {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

.accordion-chevron {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-panel-inner {
  padding: 0 16px 16px;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 18px;
}

.accordion-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  list-style: disc;
}

/* ===== Akordeon: wariant poziomy (karty jedna obok drugiej, rozwijają się w dół) ===== */
.accordion-horizontal {
  flex-direction: row;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 12px;
}

.accordion-horizontal .accordion-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.accordion-horizontal .accordion-header-text {
  width: 100%;
}

.accordion-horizontal .accordion-chevron {
  align-self: flex-end;
  margin-top: -6px;
}

/* ===== Kafelki: Rodzaj obiektu ===== */
.tile-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.tile-option {
  padding: 13px 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tile-option:hover {
  border-color: var(--gold-light);
}

.tile-option.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold);
  color: var(--navy);
}

/* ===== Panel mapy obszaru obsługi ===== */
.map-panel {
  min-width: 0;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 162, 75, 0.25), 0 0 46px rgba(201, 162, 75, 0.12);
  border: 1.5px solid rgba(201, 162, 75, 0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-panel-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--white);
}

.map-panel-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 0;
}

#service-area-map {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 280px;
  max-height: 460px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 0;
  /* Mapa jest statyczna — bez kontrolek zoomu (patrz map.js) */
}

/* Chowamy kontrolki zoomu Leaflet (wyłączone też na poziomie JS) */
.leaflet-control-zoom {
  display: none !important;
}

.map-note {
  font-size: 0.86rem;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0;
}

.map-note-ok {
  background: rgba(47, 184, 106, 0.16);
  color: #8de8ac;
}

.map-note-warning {
  background: rgba(255, 154, 141, 0.14);
  color: #ff9a8d;
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.map-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2fb86a;
  border: 2px solid #1f8a4c;
  flex-shrink: 0;
}

/* Etykiety miast na mapie (renderowane przez Leaflet divIcon) */
.city-label-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.city-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-block;
}

.city-name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  padding: 1px 5px;
  border-radius: 4px;
}

.city-dot-main {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border: 2px solid var(--navy);
}

.city-name-main {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  background: var(--gold-light);
}

.selected-location-pin {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  border: 2px solid var(--navy);
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-row-full {
  grid-column: 1 / -1;
}

.form-row label {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Subtelny link pomocniczy pod etykietą "Rodzaj sprzątania *" */
.field-help-link {
  display: inline-block;
  align-self: flex-start;
  margin-top: -3px;
  padding: 4px 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-green);
  text-decoration: underline;
  text-decoration-color: rgba(47, 184, 106, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.field-help-link:hover,
.field-help-link:focus-visible {
  color: #4fd98a;
  text-decoration-color: #4fd98a;
}

.field-warning {
  font-size: 0.8rem;
  color: #ff9a8d;
  line-height: 1.4;
  font-weight: 500;
}

.checkbox-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 4px;
}

.checkbox-group-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 9px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.form-row input.invalid {
  border-color: #ff9a8d;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.form-status {
  grid-column: 1 / -1;
  text-align: center;
  font-weight: 600;
  min-height: 20px;
  font-size: 0.92rem;
}

.form-status.success {
  color: #7be0a8;
}

.form-status.error {
  color: #ff9a8d;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #b9c2d1;
  padding: 56px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 10px;
}

.footer-brand .logo-img {
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 24px;
  grid-column: 1 / -1;
}

/* ===== Wybór rodzaju sprzątania ===== */
.cleaning-types {
  padding: 100px 0;
}

.cleaning-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.cleaning-type-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.cleaning-type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cleaning-type-card-featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 162, 75, 0.3);
}

.cleaning-type-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.cleaning-type-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.cleaning-type-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.cleaning-type-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.cleaning-type-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.94rem;
  color: var(--text-dark);
  line-height: 1.45;
}

.cleaning-type-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a24b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== Dlaczego warto nam zaufać ===== */
.trust {
  padding: 100px 0;
  background: var(--bg-alt);
}

.trust .trust-grid {
  margin-bottom: 64px;
}

.trust .trust-number {
  color: var(--navy);
}

.trust .trust-label {
  color: var(--text-muted);
}

.trust-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}

.trust-feature-media {
  overflow: hidden;
  min-height: 340px;
}

.trust-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-feature-content {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-feature-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.trust-feature-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 24px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
}

.trust-list svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px;
  height: 22px;
}

/* ===== Opinie i realizacje ===== */
.reviews {
  padding: 100px 0;
}

/* ===== Karuzela opinii — przewijanie w lewo/prawo (gest + przyciski) ===== */
.reviews-carousel-wrap {
  margin-bottom: 36px;
}

.reviews-carousel {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 14px;
  scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.reviews-carousel .review-card {
  flex: 0 0 320px;
  max-width: 85vw;
  scroll-snap-align: start;
}

.review-tag-more {
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  background: var(--bg-alt);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.carousel-nav-btn {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.carousel-nav-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.carousel-nav-btn:active {
  transform: scale(0.93);
}

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-nav-dots {
  display: flex;
  gap: 7px;
}

.carousel-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-nav-dot.is-active {
  background: var(--gold);
  transform: scale(1.3);
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.review-category {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0;
}

.review-text {
  color: var(--text-dark);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.review-tags span {
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
}

.review-meta {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.review-meta strong {
  color: var(--navy);
}

.reviews-gallery-title {
  text-align: center;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 26px;
}

.reviews .gallery {
  border-radius: var(--radius);
  overflow: hidden;
}

/* Brak section-subtitle w tej sekcji — nadrabiamy odstęp pod nagłówkiem */
.reviews .section-title {
  margin-bottom: 48px;
}

/* Galeria z jednym, prawdziwym zdjęciem (więcej dodamy w przyszłości) */
.gallery-single {
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-single img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
}

/* ===== Obszar działania i mapa ===== */
.area {
  padding: 100px 0;
  background: var(--bg-alt);
}

.area .map-panel {
  max-width: 820px;
  margin: 0 auto;
}

.area #service-area-map {
  aspect-ratio: 16 / 10;
  max-height: 520px;
}

/* ===== Przycisk outline (warianty sprzątania) ===== */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy-light);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ===== Animacja pojawiania się sekcji przy przewijaniu =====
   Zasada: treść jest DOMYŚLNIE widoczna. Dopiero gdy JS potwierdzi, że
   observer działa, dodaje na <html> klasę .reveal-on — wtedy elementy
   startują ukryte i pojawiają się przy przewijaniu. Jeśli JS zawiedzie,
   nic nie zostaje ukryte. */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal-on .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Lekkie opóźnienie kaskadowe dla kart w gridach */
.cleaning-type-card:nth-child(2),
.service-card:nth-child(2),
.review-card:nth-child(2),
.process-step:nth-child(2) {
  transition-delay: 0.08s;
}

.cleaning-type-card:nth-child(3),
.service-card:nth-child(3),
.review-card:nth-child(3),
.process-step:nth-child(3) {
  transition-delay: 0.16s;
}

.process-step:nth-child(4) {
  transition-delay: 0.24s;
}

/* Szacunek dla preferencji ograniczenia ruchu */
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about-media {
    height: 320px;
  }

  .about-inner {
    padding: 60px 32px;
  }

  .trust-grid,
  .process-grid,
  .promo-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-chips-2 {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .cleaning-types-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .reviews-carousel .review-card {
    flex: 0 0 86vw;
    max-width: 86vw;
  }

  .cleaning-type-card-featured {
    order: -1;
  }

  .trust-feature {
    grid-template-columns: 1fr;
  }

  .trust-feature-media {
    min-height: 240px;
    max-height: 300px;
  }

  .trust-feature-content {
    padding: 40px 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    align-items: center;
  }

  /* Poniżej tej szerokości 3 kolumny (info / formularz / mapa) nie zmieściłyby się
     bez przycinania — przechodzimy na jedną kolumnę (mapa trafia pod formularz). */
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .checkbox-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Na telefonie chowamy linki tekstowe — zostaje logo i przycisk CTA, blisko siebie */
  .nav-links {
    display: none;
  }

  .nav {
    gap: 0;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .header-inner {
    height: 64px;
  }

  section[id] {
    scroll-margin-top: 80px;
  }

  .logo {
    font-size: 1.05rem;
    gap: 8px;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-inner {
    padding: 70px 20px;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .trust-grid,
  .process-grid,
  .promo-chips,
  .promo-chips-2 {
    grid-template-columns: 1fr;
  }

  .promo-title {
    font-size: 2rem;
  }

  .tile-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row-pair {
    flex-direction: column;
  }

  .map-panel {
    padding: 22px;
  }

  #service-area-map {
    max-height: 320px;
  }

  .accordion-short {
    display: none;
  }

  /* Na telefonie karty "Rodzaj sprzątania" wracają do jednej kolumny —
     przy 3 wąskich kolumnach rozwinięty opis robił bardzo wysoką, nieczytelną kartę. */
  .accordion-horizontal {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .accordion-horizontal .accordion-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 14px;
  }

  .accordion-horizontal .accordion-title {
    font-size: 0.98rem;
    line-height: normal;
  }

  .accordion-horizontal .accordion-chevron {
    width: 18px;
    height: 18px;
    align-self: center;
    margin-top: 0;
  }

  .accordion-horizontal .accordion-panel-inner {
    padding: 0 16px 16px;
  }

  .accordion-horizontal .accordion-list li {
    font-size: 0.9rem;
  }

  .form-contact-details {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  /* Mniejsze odstępy między Metrażem, zwierzętami i "Inne" na telefonie */
  .conditional-section-inner {
    gap: 10px;
  }

  .form-row-pair {
    gap: 10px;
  }

  /* Naprawa: flex-basis 180px był myślany jako MIN-SZEROKOŚĆ (układ w rzędzie na desktopie).
     Po przełączeniu na układ kolumnowy na telefonie ta sama wartość zaczynała wymuszać
     WYSOKOŚĆ 180px każdego pola, tworząc ogromne puste przestrzenie. */
  .form-row-pair .form-row {
    flex: 0 1 auto;
  }

  .form-row-checkbox {
    justify-content: flex-start;
  }
}

/* =====================================================================
   PODSTRONY USŁUG (sprzatanie-standardowe / pelne / po-remoncie)
   Współdzielą paletę i komponenty strony głównej (przyciski, section-*),
   poniżej tylko elementy specyficzne dla układu tych podstron.
   ===================================================================== */

.service-breadcrumb {
  padding: 18px 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.service-breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

.service-breadcrumb a:hover {
  color: var(--gold);
}

/* ---- Hero podstrony usługi ---- */
.service-hero {
  padding: 36px 0 90px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.service-hero--reverse .service-hero-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.service-hero--reverse .service-hero-media {
  order: 2;
}

/* Wariant bez zdjęcia w hero (do czasu dodania własnych fotografii) —
   treść wyśrodkowana, bez pustej kolumny po prawej/lewej stronie. */
.service-hero--text-only .service-hero-grid {
  grid-template-columns: 1fr;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.service-hero--text-only .service-hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.service-hero--text-only .service-hero-actions {
  justify-content: center;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green-bg);
  color: var(--accent-green-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.service-hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}

.service-hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 540px;
}

.service-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.service-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.3;
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Zakres prac ---- */
.scope-section {
  padding: 90px 0;
  background: var(--bg-alt);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.scope-grid--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.scope-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.scope-category h3 {
  font-size: 1.05rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-green-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fb86a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.scope-note {
  margin-top: 30px;
  background: rgba(201, 162, 75, 0.09);
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.94rem;
  color: var(--text-dark);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Galeria realizacji (2 układy: duo / trio) ---- */
.service-gallery {
  padding: 90px 0;
}

.service-gallery-duo {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}

.service-gallery-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.service-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-gallery-duo .service-gallery-item:first-child {
  aspect-ratio: 4 / 3.6;
}

.service-gallery-duo .service-gallery-item:last-child {
  aspect-ratio: 3 / 4;
}

.service-gallery-trio .service-gallery-item {
  aspect-ratio: 3 / 4;
}

.service-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Dla kogo / Czego nie obejmuje ---- */
.audience-exclusions {
  padding: 90px 0;
  background: var(--bg-alt);
}

.audience-exclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.audience-card,
.exclusions-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.audience-card h3,
.exclusions-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.audience-card p {
  color: var(--text-dark);
  font-size: 0.97rem;
  line-height: 1.6;
}

.exclusions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.exclusions-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.exclusions-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(90, 100, 114, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6472' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.exclusions-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.exclusions-card p a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

/* ---- Porównanie wariantów ---- */
.compare-section {
  padding: 90px 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compare-card {
  display: block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.compare-card.is-current {
  border-color: var(--gold);
  background: rgba(201, 162, 75, 0.06);
  box-shadow: var(--shadow);
}

.compare-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.compare-card h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.compare-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.compare-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.compare-card.is-current .compare-card-link {
  color: var(--gold);
}

/* ---- Pasek CTA na dole podstrony ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 64px 0;
}

.cta-band-inner {
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
  font-size: 1rem;
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Link "zobacz pełny zakres" na kartach rodzajów sprzątania (strona główna) ---- */
.cleaning-type-more {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.cleaning-type-more:hover {
  color: var(--gold);
}

/* Ikona strzałki (SVG, nie znak Unicode — stabilne renderowanie na każdym urządzeniu) */
.cleaning-type-more::after,
.compare-card:not(.is-current) .compare-card-link::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 10px;
  margin-left: 6px;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1d33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M14 6l6 6-6 6'/%3E%3C/svg%3E");
}

.cleaning-type-more:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a24b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M14 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---- Responsywność podstron usług ---- */
@media (max-width: 960px) {
  .service-hero-grid,
  .service-hero--reverse .service-hero-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-media,
  .service-hero--reverse .service-hero-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .service-hero h1 {
    font-size: 2.1rem;
  }

  .audience-exclusions-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .service-gallery-duo,
  .service-gallery-trio {
    grid-template-columns: 1fr 1fr;
  }

  .service-gallery-duo .service-gallery-item:first-child,
  .service-gallery-duo .service-gallery-item:last-child,
  .service-gallery-trio .service-gallery-item {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 640px) {
  .service-hero {
    padding: 24px 0 60px;
  }

  .scope-section,
  .service-gallery,
  .audience-exclusions,
  .compare-section {
    padding: 60px 0;
  }

  .service-gallery-duo,
  .service-gallery-trio {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   PODSTRONA /rodzaje-sprzatania/ — przegląd i porównanie wariantów
   ===================================================================== */

.rodzaje-intro {
  padding: 50px 0 10px;
  text-align: center;
}

.rodzaje-intro .section-subtitle {
  margin-bottom: 0;
}

/* ---- Duże karty wariantów ---- */
.variant-cards {
  padding: 60px 0 90px;
}

.variant-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.variant-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.variant-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.variant-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-green);
}

.variant-icon svg {
  width: 26px;
  height: 26px;
}

.variant-card h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.variant-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 26px;
  flex-grow: 1;
}

.variant-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---- Tabela porównawcza ---- */
.compare-table-section {
  padding: 0 0 90px;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}

.compare-table caption {
  display: none;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
  position: sticky;
  left: 0;
  z-index: 1;
}

.compare-table tbody td:first-child {
  background: var(--white);
}

.compare-table tbody tr:nth-child(even) td:first-child {
  background: var(--bg-alt);
}

.table-scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.compare-table thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

.compare-table td.cell-yes,
.compare-table td.cell-no {
  position: relative;
}

.compare-table td.cell-yes span,
.compare-table td.cell-no span {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.compare-table td.cell-yes span {
  background-color: var(--accent-green-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fb86a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 13px;
}

.compare-table td.cell-no span {
  background-color: rgba(90, 100, 114, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  background-size: 11px;
}

@media (max-width: 720px) {
  .variant-cards-grid {
    grid-template-columns: 1fr;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .table-scroll-hint {
    display: block;
  }
}

/* =====================================================================
   SLIDER REALIZACJI (sekcja "Nasze realizacje") — duże zdjęcie, strzałki
   nałożone na fotografię, miniaturki pod spodem. Celowo inny układ niż
   karuzela opinii (tam: małe karty w rzędzie + punkty).
   Rozbudowa: nowe zdjęcie = nowy .gallery-slide w HTML, miniaturki i
   liczba slajdów generują się automatycznie w script.js.
   ===================================================================== */

.gallery-slider {
  max-width: 760px;
  margin: 0 auto;
}

.gallery-slider-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}

.gallery-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-slider-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 5 / 4;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.gallery-arrow:hover {
  background: var(--white);
  color: var(--gold);
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(0.92);
}

.gallery-arrow-prev {
  left: 14px;
}

.gallery-arrow-next {
  right: 14px;
}

.gallery-arrow svg {
  width: 22px;
  height: 22px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  padding: 0;
  background: none;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover {
  opacity: 0.85;
}

.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .gallery-arrow svg {
    width: 18px;
    height: 18px;
  }

  .gallery-thumb {
    flex: 0 0 50px;
    height: 50px;
  }
}

/* =====================================================================
   MODAL: "Poproś o kontakt" — szybkie zostawienie numeru telefonu
   ===================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 28, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  animation: modal-fade-in 0.2s ease;
}

.modal-overlay[hidden] {
  display: none;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(201, 162, 75, 0.4);
  box-shadow: var(--shadow-lg), 0 0 46px rgba(201, 162, 75, 0.14);
  padding: 36px 30px;
  animation: modal-scale-in 0.22s ease;
}

@keyframes modal-scale-in {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-title {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
  padding-right: 24px;
}

.modal-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 22px;
  line-height: 1.5;
}

#callback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* ===== Nawigacja sekcyjna (snav-) — tylko telefony, strona główna ===== */
.snav {
  display: none;
}

@media (max-width: 720px) {
  .snav {
    display: block;
    position: fixed;
    right: calc(env(safe-area-inset-right, 0px) + 3px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    transition: opacity 0.25s ease;
  }

  .snav.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  .snav-list {
    list-style: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* delikatna, półprzezroczysta linia łącząca punkty */
  .snav-list::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: rgba(143, 160, 189, 0.22);
  }

  .snav-list li {
    list-style: none;
    position: relative;
  }

  /* obszar dotyku 28x30 px, widoczny punkt 7 px */
  .snav-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 30px;
    -webkit-tap-highlight-color: transparent;
  }

  .snav-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8fa0bd;
    box-shadow: 0 0 0 1.5px rgba(15, 29, 51, 0.45);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .snav-dot[aria-current="true"]::before {
    width: 10px;
    height: 10px;
    background: var(--gold-light);
    box-shadow: 0 0 0 1.5px var(--navy), 0 0 6px 1px rgba(228, 199, 120, 0.32);
  }

  .snav-dot:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
    border-radius: 8px;
  }

  /* etykieta: tylko po interakcji (najechanie, fokus z klawiatury, chwilowo po dotknięciu) */
  .snav-label {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    margin-right: 4px;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .snav-dot.is-tip .snav-label,
  .snav-dot:focus-visible .snav-label {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@media (max-width: 720px) and (hover: hover) {
  .snav-dot:hover .snav-label {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* Telefony o niskim ekranie (np. poziomo lub małe modele) — kompaktowo */
@media (max-width: 720px) and (max-height: 560px) {
  .snav-dot {
    height: 24px;
  }

  .snav-list::before {
    top: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snav,
  .snav-dot::before,
  .snav-label {
    transition: none;
  }
}


/* ===== Stopka: obszar działania (lista miast) ===== */
.footer-areas-title {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  list-style: none;
}

.footer-areas-list li {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-areas-list li.is-major {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 960px) {
  .footer-areas-list {
    justify-content: center;
  }
}


/* ===== Cztery karty usług w sekcji "Wybierz rodzaj sprzątania" ===== */
.cleaning-types-grid.cleaning-types-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cleaning-types-grid-4 .cleaning-type-card {
  padding: 30px 22px;
}

.cleaning-types-grid-4 .cleaning-type-card:nth-child(4) {
  transition-delay: 0.24s;
}

@media (max-width: 1100px) {
  .cleaning-types-grid.cleaning-types-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 960px) {
  .cleaning-types-grid.cleaning-types-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== Sekcja SEO na stronie głównej (seo-) ===== */
.seo-section {
  padding: 96px 0;
  background: var(--bg-alt);
}

.seo-section .section-title {
  margin-bottom: 40px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 1040px;
  margin: 0 auto;
}

.seo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 30px;
}

.seo-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.seo-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.seo-card a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.seo-card a:hover {
  color: var(--gold);
}

@media (max-width: 860px) {
  .seo-section {
    padding: 72px 0;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }
}

/* Dodatkowy link w menu ("Mycie okien") — linki nie łamią się na dwie linie,
   a odstępy maleją na węższych ekranach */
@media (min-width: 721px) {
  .nav,
  .nav-links {
    gap: 22px;
  }

  .nav a {
    white-space: nowrap;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .nav,
  .nav-links {
    gap: 14px;
  }

  .nav {
    font-size: 0.86rem;
  }

  .nav-cta {
    padding: 10px 14px;
  }

  .logo-text {
    font-size: 1.1rem;
  }
}

/* Tablety w pionie: sześć linków nie mieści się obok logo — jak na telefonie zostaje przycisk wyceny */
@media (min-width: 721px) and (max-width: 960px) {
  .nav-links {
    display: none;
  }
}
