/* ==========================================================
   KAŁA – Gospodarstwo Rolne – style strony
   ========================================================== */

:root {
  --g950: #071f10;
  --g900: #0a2d16;
  --g800: #0f3d1e;
  --g700: #14532d;
  --g600: #1d7a34;
  --g500: #2f9e44;
  --lime: #9be15d;
  --cream: #f5f5ec;
  --paper: #ffffff;
  --ink: #15251a;
  --muted: #587060;
  --line: #dfe6d9;
  --tint: #eaf3e3;
  --danger: #b3261e;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(10, 45, 22, 0.1);
  --shadow-lg: 0 18px 44px rgba(10, 45, 22, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--lime);
  color: var(--g950);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, var(--g500), var(--g600));
  box-shadow: 0 6px 16px rgba(29, 122, 52, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 122, 52, 0.4);
}
.btn:active {
  transform: translateY(0);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.btn-outline {
  background: transparent;
  color: var(--g700);
  border-color: var(--g600);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--g600);
  color: #fff;
  box-shadow: none;
}
.btn-light {
  background: #fff;
  color: var(--g800);
  box-shadow: none;
}
.btn-light:hover {
  background: var(--tint);
  box-shadow: none;
}
.btn-small {
  padding: 9px 18px;
  font-size: 0.92rem;
}

/* Numer telefonu wyświetlany jako zwykły tekst (bez linku tel:) – nic się nie klika, numer łatwo zaznaczyć. */
.phone-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 600;
  cursor: default;
}
.phone-info .icon {
  flex: none;
  color: var(--lime);
}
.phone-info strong,
.phone-value,
.contact-value {
  user-select: all;
}
.hero-phone {
  padding: 0 8px;
  font-size: 1.1rem;
  color: #fff;
}
.cta-phone {
  font-size: 1.5rem;
  color: #fff;
}
.note-phone {
  font-size: 1.3rem;
  color: var(--g700);
}
.note-phone .icon {
  color: var(--g600);
}

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 38, 19, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 80px;
}
.brand img {
  height: 62px;
  width: auto;
}
.nav {
  display: flex;
  gap: 6px;
  margin-inline: auto;
}
.nav a {
  position: relative;
  padding: 10px 18px;
  color: #e6efe8;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav a[aria-current="page"] {
  color: var(--lime);
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: var(--g700);
  border: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  cursor: default;
}
/* Numer w nagłówku to zwykły napis (bez linku tel:), który łatwo zaznaczyć i skopiować. */
.phone-pill .phone-number {
  user-select: all;
}
/* Przycisk „pokaż numer” istnieje tylko w wersji mobilnej (patrz media query poniżej). */
.phone-btn {
  display: none;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle .icon {
  width: 26px;
  height: 26px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 18% 8%, rgba(70, 160, 70, 0.28), transparent 70%),
    linear-gradient(115deg, var(--g950) 0%, var(--g800) 100%);
}
.hero-inner {
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
  padding: 72px 0 80px;
}
.hero h1 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero-lead {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: #d4e4d8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(52%, 800px);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
  mask-image: linear-gradient(to right, transparent 0, #000 30%);
}

/* Pasek z zaletami */
.strip {
  background: var(--g950);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px 16px;
}
.strip-item + .strip-item {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.strip-item .icon {
  width: 38px;
  height: 38px;
  color: var(--lime);
  stroke-width: 1.5;
}
.strip-item strong {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}
.strip-item span {
  font-size: 0.88rem;
  color: #a9c2b0;
}

/* ---------- Sekcje ---------- */

.section {
  padding: 84px 0;
}
.section-tint {
  background: var(--tint);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g600);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--g500);
}
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--lime);
}
.hero .eyebrow::before,
.page-hero .eyebrow::before {
  background: var(--lime);
}
.section-title {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--g900);
}
.section-lead {
  margin-top: 14px;
  max-width: 680px;
  color: #3a4f40;
  font-size: 1.05rem;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--g600);
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}
.link-arrow .icon {
  transition: transform 0.15s ease;
}

/* O gospodarstwie */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  width: 100%;
  max-width: 360px;
  justify-self: center;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.about-text p {
  margin-top: 18px;
  color: #3a4f40;
  font-size: 1.05rem;
}
.checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--g800);
}
.checklist .icon {
  width: 26px;
  height: 26px;
  padding: 4px;
  color: #fff;
  background: var(--g600);
  border-radius: 50%;
  stroke-width: 2.4;
}
.about-text .btn {
  margin-top: 30px;
}

/* Karty oferty (zdjęcia) */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.offer-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--g900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.offer-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.offer-card:hover img {
  transform: scale(1.05);
}
.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(5, 24, 12, 0.92) 0%, rgba(5, 24, 12, 0.62) 40%, rgba(5, 24, 12, 0) 72%);
}
.offer-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 26px 28px;
}
.offer-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
}
.offer-card p {
  margin-top: 6px;
  max-width: 42ch;
  font-size: 0.98rem;
  color: #e3eee6;
}
.offer-arrow {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}
.offer-card:hover .offer-arrow {
  background: var(--g500);
  border-color: var(--g500);
  transform: translateX(4px);
}

/* Jak kupić */
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  position: relative;
}
.step + .step::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #b6c9b8;
  border-right: 2px solid #b6c9b8;
  transform: rotate(45deg);
}
.step-num {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--g700);
  background: #fff;
  border: 2px solid var(--g600);
  border-radius: 50%;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--g900);
}
.step p {
  margin-top: 8px;
  color: #4a6050;
}

/* ---------- Tabela cennika ---------- */

.table-wrap {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.price-table thead {
  background: var(--g900);
}
.price-table thead th {
  padding: 16px 28px;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe0d3;
  background: var(--g900);
}
.price-table .c-status {
  text-align: right;
}
.price-table td {
  padding: 20px 28px;
  vertical-align: middle;
  border-bottom: 1px solid #edf1ea;
}
.price-table tbody tr:last-child td {
  border-bottom: 0;
}
.price-table .product:hover td {
  background: #fafcf8;
}
.price-table .c-name {
  width: 52%;
}
.p-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--g900);
}
.p-desc {
  margin-top: 2px;
  font-size: 0.92rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.p-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--g700);
  white-space: nowrap;
}
.p-unit {
  margin-left: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.p-ask {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1b6b32;
  background: #e6f4e6;
  border-radius: 999px;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}
.status.is-out {
  color: #6b746d;
  background: #eef0ec;
}
.product.is-unavailable .p-name,
.product.is-unavailable .p-price {
  color: #7d8a80;
}

.state-box {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}
.state-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--g800);
}

.table-notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 28px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table-notes p {
  max-width: 720px;
  color: #4a6050;
}

/* ---------- Pas z wezwaniem do kontaktu ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(155, 225, 93, 0.22), transparent 70%),
    linear-gradient(115deg, var(--g950), var(--g700));
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 0;
}
.cta-inner h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
}
.cta-inner p {
  margin-top: 8px;
  color: #cfe2d4;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Podstrony ---------- */

.page-hero {
  color: #fff;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(80, 170, 80, 0.3), transparent 70%),
    linear-gradient(115deg, var(--g950), var(--g800));
}
.page-hero .container {
  padding: 56px 0 60px;
}
.page-hero h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}
.page-hero p {
  margin-top: 12px;
  max-width: 640px;
  color: #cfe2d4;
  font-size: 1.1rem;
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: stretch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 36px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact-item .badge {
  flex: none;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--g800);
}
.contact-item .badge .icon {
  width: 26px;
  height: 26px;
}
.contact-item small {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item a,
.contact-item .contact-value,
.contact-item address {
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--g900);
  overflow-wrap: anywhere;
}
.contact-item a:hover {
  color: var(--g600);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.map-wrap {
  position: relative;
  min-height: 460px;
  background: var(--tint);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.info-card {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--g900);
}
.info-card p {
  margin-top: 10px;
  color: #4a6050;
}

/* 404 */
.not-found {
  padding: 110px 0;
  text-align: center;
}
.not-found .code {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--g600);
}
.not-found p {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ---------- Stopka ---------- */

.site-footer {
  color: #c4d6c9;
  background: var(--g950);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 44px;
}
.footer-brand img {
  height: 90px;
  width: auto;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.95rem;
}
.site-footer h3 {
  margin-bottom: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.footer-list a:hover {
  color: #fff;
}
.footer-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-list .icon {
  margin-top: 4px;
  color: var(--lime);
}
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.88rem;
  color: #8ba595;
}

/* ---------- Responsywność ---------- */

@media (max-width: 1020px) {
  .strip-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-item:nth-child(3) {
    border-left: 0;
  }
  .strip-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .about {
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 72px;
    gap: 14px;
  }
  .brand img {
    height: 54px;
  }
  .brand {
    margin-right: auto;
  }
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }
  /* Telefon: w pasku sama ikona; dotknięcie rozwija cały numer obok niej. */
  .phone-pill {
    gap: 0;
    padding: 0;
    font-size: 0.95rem;
  }
  .phone-pill .phone-ico {
    display: none;
  }
  .phone-pill .phone-number {
    display: none;
    padding-left: 16px;
  }
  .phone-pill.is-open .phone-number {
    display: inline;
  }
  .phone-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 20px;
    background: var(--g950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 14px 16px;
    font-size: 1.1rem;
  }
  .nav a[aria-current="page"]::after {
    display: none;
  }
  .nav a[aria-current="page"] {
    background: rgba(155, 225, 93, 0.12);
  }

  .hero-inner {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy {
    max-width: none;
    padding: 52px 0 36px;
  }
  .hero-photo {
    position: relative;
    width: auto;
    height: 260px;
    margin: 0 -20px;
  }
  .hero-photo img {
    object-position: center 55%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
  }

  .section {
    padding: 60px 0;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about-photo {
    max-width: 380px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-card {
    aspect-ratio: auto;
    min-height: 290px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step + .step::before {
    display: none;
  }
  .contact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .map-wrap {
    min-height: 380px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  /* Tabela cennika jako lista wierszy */
  .price-table thead {
    display: none;
  }
  .price-table,
  .price-table tbody,
  .price-table .state-row,
  .price-table .state-row td {
    display: block;
  }
  .price-table .product {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 16px;
    padding: 16px 18px;
    border-bottom: 1px solid #edf1ea;
  }
  .price-table .product:last-child {
    border-bottom: 0;
  }
  .price-table .product td {
    padding: 0;
    border: 0;
  }
  .price-table .product:hover td {
    background: none;
  }
  .price-table .c-name {
    grid-column: 1 / -1;
    width: auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1180px, 100% - 32px);
  }
  .offer-grid {
    gap: 16px;
  }
  .offer-body {
    padding: 20px;
  }
  .strip-list {
    grid-template-columns: 1fr;
  }
  .strip-item {
    justify-content: flex-start;
    padding: 18px 8px;
  }
  .strip-item + .strip-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-actions .btn,
  .cta-actions .btn {
    flex: 1 1 100%;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-card {
    padding: 26px 22px;
  }
  .contact-item a,
  .contact-item .contact-value,
  .contact-item address {
    font-size: 1.12rem;
  }
  .cta-phone {
    font-size: 1.3rem;
  }
  .table-notes {
    padding: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  /* Bardzo wąskie telefony: rozwinięty numer musi zmieścić się obok logo i menu */
  .header-inner {
    gap: 10px;
  }
  .phone-pill {
    font-size: 0.9rem;
  }
  .phone-pill .phone-number {
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
