/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dark: #0b1a2e;
  --dark-2: #111f30;
  --navy: #1a2e4a;
  --navy-dark: #12213a;
  --red: #c0392b;
  --red-dark: #992d22;
  --green: #4caf50;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e8f0;
  --gray-300: #ced4da;
  --gray-500: #8a9ab0;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --text: #2d3748;
  --nav-h: 68px;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== DOTACJE BANER ===== */
.dotacje-baner {
  display: block;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
}
.dotacje-baner img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity var(--transition);
}
.dotacje-baner:hover img {
  opacity: 0.85;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.site-header .nav {
  max-width: none;
  margin: 0;
  padding: 6px 2rem 0;
}


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 2rem;
  position: relative;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 90px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  color: var(--gray-800);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link {
  position: relative;
}
.nav-link:hover {
  color: var(--navy);
}
.nav-link.is-active {
  color: var(--navy);
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  background: url("../img/talmax2.svg") center / cover no-repeat;
  display: flex;
  flex-direction: column;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(8,16,28,.92) 0%, rgba(11,26,46,.85) 60%, rgba(14,30,52,.78) 100%); */
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 5rem;
  padding-bottom: 3rem;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  /* font-weight: 800; */
  color: var(--white);
  line-height: 1.1;
  margin-top: 3rem;
  margin-bottom: 0rem;
  text-align: right;
  text-indent: -1.6em;
}

.hero-center-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-sub-accent {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--red);
  font-weight: 600;
  margin-top: -7rem;
  margin-bottom: 5rem;
  line-height: 1.45;
  position: relative;
  padding-bottom: 2rem;
}

.hero-sub-accent::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
  height: 3px;
  background: var(--red);
}

.hero-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin-left: auto;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn--ghost-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 2px solid transparent;
  padding-left: 0.5rem;
}
.btn--ghost-white:hover {
  color: var(--white);
}
.btn--full {
  width: 100%;
  text-align: center;
}

/* ===== STATS BAR ===== */
.stats-bar {
  position: relative;
  z-index: 1;
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-inner {
  display: flex;
  align-items: center;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  max-width: none;
  margin: 0;
  padding-left: 2rem;
  padding-right: 2rem;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ===== SECTIONS SHARED ===== */
.section {
  padding: 5rem 0;
}
.section--alt {
  background: var(--gray-50);
}

#oferta {
  background: url("../from-designer/ChatGPT Image 1 lip 2026 o 18_33_53.png") center / cover no-repeat;
  position: relative;
}
#oferta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(248, 249, 250, 0.6) 0%, transparent 55%);
  pointer-events: none;
}
#oferta .container {
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 680px;
  margin-bottom: 3rem;
}

/* ===== O FIRMIE ===== */
.firma-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  border-left: 4px solid var(--red);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
  max-width: 860px;
}

#firma {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: stretch;
  padding: 0;
}

.firma-content {
  padding: 5rem 3rem 5rem 9.75rem;
}

.firma-text {
  margin-bottom: 3.5rem;
}

.firma-text p {
  color: var(--gray-800);
  margin-bottom: 1rem;
}
.firma-text p:last-child {
  margin-bottom: 0;
}

.firma-photos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.firma-photo-main {
  background: var(--gray-200);
  border-radius: var(--radius);
  flex: 1.2;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.firma-photo-row {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  min-height: 0;
}

.firma-photo-row .firma-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-height: 0;
}

.firma-photo-item {
  background: var(--gray-200);
  border-radius: var(--radius);
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.firma-photo-main img,
.firma-photo-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* Firma stats strip */
.firma-stats {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem 3rem;
}

.firma-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.firma-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.firma-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.firma-stat-sep {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ===== OFERTA ===== */
.oferta-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.oferta-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.oferta-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.oferta-card-icon {
  margin-bottom: 1rem;
}
.oferta-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.oferta-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* Oferta bottom split */
.oferta-bottom {
  margin-bottom: 3rem;
}

.oferta-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.oferta-lista {
  background: var(--white);
  padding: 2.5rem;
}
.oferta-lista h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.oferta-lista ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.oferta-lista li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.oferta-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.oferta-dark-panel {
  background: url("../img/talmax5.svg") center / cover no-repeat;
  position: relative;
}
.oferta-dark-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 28, 0.88);
}
.oferta-dark-panel-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  height: 100%;
}
.oferta-dark-panel h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.oferta-dark-panel ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.oferta-dark-panel li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.oferta-dark-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.oferta-cta {
  text-align: center;
  padding-top: 1rem;
}
.oferta-cta p {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* ===== EKOLOGIA ===== */
.eco-h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

/* Bottle icons in PET / rPET compare cards */
.eco-bottle-icon {
  display: block;
  width: 68px;
  height: auto;
  margin: 0 auto 1.5rem;
}

/* PET vs rPET comparison */
.eco-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.eco-compare-col {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
}
.eco-compare-col--rpet {
  background: #f0faf1;
  border-color: #b2dfdb;
}

.eco-compare-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.eco-compare-badge--pet {
  background: var(--gray-200);
  color: var(--navy);
}
.eco-compare-badge--rpet {
  background: #4caf50;
  color: var(--white);
}

.eco-compare-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.eco-compare-col p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.eco-compare-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.eco-compare-col li {
  font-size: 0.875rem;
  color: var(--gray-800);
  padding-left: 1.2rem;
  position: relative;
}
.eco-compare-col li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Dlaczego rPET */
.eco-reasons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.eco-reason {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.eco-reason svg {
  margin: 0 auto 1rem;
}
.eco-reason h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.eco-reason p {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Obieg zamknięty */
.eco-cycle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  justify-content: center;
}

.eco-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}
.eco-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0faf1;
  border: 1.5px solid #b2dfdb;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eco-step p {
  font-size: 0.8rem;
  color: var(--gray-800);
  line-height: 1.4;
  max-width: 100px;
}
.eco-arrow {
  color: var(--gray-300);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ===== DOTACJE ===== */
.dotacje-full-img {
  width: 100%;
  max-width: 860px;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dotacje-logotypy {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 2rem;
}

.dotacje-text {
  max-width: 860px;
}
.dotacje-text p {
  color: var(--gray-800);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  line-height: 1.7;
}
.dotacje-wartosci {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--red);
  background: var(--white);
  border-radius: var(--radius);
  line-height: 1.9 !important;
}
.dotacje-hashtagi {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-top: 1.5rem !important;
}

.dotacje-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.dotacje-info p {
  color: var(--gray-800);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.dotacje-kwoty {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.dotacje-kwoty > div {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  min-width: 200px;
}
.dotacje-kwoty dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.dotacje-kwoty dd {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.dotacje-hashtag {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 1rem;
}
.dotacje-logotypy img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
}

/* ===== KONTAKT ===== */
.section--kontakt {
  padding: 0;
}

.kontakt-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 600px;
}

.kontakt-dark {
  background: url("../img/talmax7.svg") center / cover no-repeat;
  position: relative;
}
.kontakt-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(5, 12, 22, 0.45) 0%, transparent 70%);
}
.kontakt-dark-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kontakt-dark h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.kontakt-dark p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.kontakt-lista {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.kontakt-lista li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.kontakt-lista svg {
  flex-shrink: 0;
  margin-top: 0.15em;
}
.kontakt-lista a {
  color: var(--navy);
}
.kontakt-lista a:hover {
  color: var(--red);
  text-decoration: underline;
}
.kontakt-lista strong {
  color: var(--navy);
}

.kontakt-light {
  background: var(--white);
  overflow-y: auto;
}
.kontakt-light-inner {
  padding: 3.5rem 3rem;
}
.kontakt-light h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.kontakt-lista {
  margin-bottom: 2rem;
}
.kontakt-form-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-200);
}

/* Mapa pod spodem */
.kontakt-mapa {
  background: var(--gray-50);
  padding: 1.5rem 0;
}
.kontakt-mapa h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.mapa-iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

/* ===== FORM ===== */
.form-komunikat {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.form-komunikat--ok {
  background: #eafaf0;
  color: #1e7e34;
  border: 1px solid #b2dfdb;
}
.form-komunikat--err {
  background: #fdecea;
  color: var(--red-dark);
  border: 1px solid #f5c6cb;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-2);
}

.footer-bottom {
  background: var(--dark-2);
  border-top: 3px solid var(--red);
  padding: 6px 0 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding-left: 2rem;
  padding-right: 2rem;
}
.footer-logo-img {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-social:hover {
  color: var(--white);
}

.footer-policy-btn {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color var(--transition);
}
.footer-policy-btn:hover {
  color: var(--white);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition:
    background var(--transition),
    color var(--transition);
}
.modal-close:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.modal-body {
  overflow-y: auto;
  padding: 1.75rem 2rem;
  font-size: 0.9rem;
  color: var(--gray-800);
  line-height: 1.7;
}
.modal-body ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.modal-body ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  list-style: disc;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}
.cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-policy-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--white);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-policy-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.cookie-accept {
  flex-shrink: 0;
  padding: 0.6rem 1.5rem;
  font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .oferta-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-reasons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  #firma {
    grid-template-columns: 1fr;
  }
  .firma-photos {
    min-height: 400px;
  }
  .eco-compare {
    grid-template-columns: 1fr;
  }
  .kontakt-split {
    grid-template-columns: 1fr;
  }
  .oferta-bottom-inner {
    grid-template-columns: 1fr;
  }
  .kontakt-dark-inner {
    padding: 3rem 2rem;
  }
  .kontakt-light-inner {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 0.75rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    display: none;
  }
  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    display: block;
  }
  .nav-link {
    display: block;
    padding: 0.9rem 0.75rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links li:last-child .nav-link {
    border-bottom: none;
  }

  .section {
    padding: 3.5rem 0;
  }
  .hero-content {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  .stats-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .stat-sep {
    display: none;
  }
  .stat {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .firma-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .firma-stat {
    flex: 0 0 calc(50% - 0.75rem);
  }
  .firma-stat-sep {
    display: none;
  }

  .oferta-cards {
    grid-template-columns: 1fr;
  }
  .eco-reasons {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-cycle {
    gap: 0.25rem;
  }
  .eco-arrow {
    font-size: 1rem;
  }

  .kontakt-split {
    min-height: auto;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .stat {
    flex: 0 0 100%;
  }
  .eco-reasons {
    grid-template-columns: 1fr 1fr;
  }
  .dotacje-kwoty {
    flex-direction: column;
  }
  .eco-cycle {
    flex-direction: column;
  }
  .eco-arrow {
    transform: rotate(90deg);
  }
}
