/* =========================================
   ORLLO ENERGY – Main Stylesheet
   Design: Dark Navy + Gold + Electric Green
   ========================================= */

/* ---- CSS VARIABLES ---- */
:root {
  --navy: #0a1628;
  --navy-mid: #0f2044;
  --navy-light: #1a3260;
  --gold: #f5a623;
  --gold-light: #ffc85a;
  --gold-dark: #d4891a;
  --green: #22c55e;
  --green-dark: #16a34a;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --blue: #3b82f6;
  --blue-dark: #1d4ed8;
  --orange: #f97316;
  --purple: #8b5cf6;
  --red: #ef4444;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.15);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.2);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
  background: var(--navy-light);
  color: var(--white);
  border-color: rgba(255,255,255,.15);
}
.btn-secondary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

/* Dark context outline */
.services .btn-outline,
.grants .btn-outline,
.faq .btn-outline,
.other-services .btn-outline {
  color: var(--navy);
  border-color: var(--navy-light);
}
.services .btn-outline:hover,
.grants .btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---- SECTION HELPERS ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,.75); }

.section-tag {
  display: inline-block;
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 166, 35, 0.25);
}
.section-tag--light {
  background: rgba(255,255,255,.1);
  color: var(--gold-light);
  border-color: rgba(255,255,255,.15);
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  padding-bottom: 4px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  background: transparent;
  margin-top: 2px;
}
.logo-bird {
  height: 38px;
  width: auto;
  margin-right: 8px;
  display: block;
  filter: brightness(0) invert(1);
}
.logo-orllo { color: var(--white); }
.logo-energy { color: var(--gold); margin-left: 6px; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav ul li a {
  color: rgba(255,255,255,.85);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.main-nav ul li a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(245, 166, 35, .35);
}
.main-nav .nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, .5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy);
}

/* ---- Hero photo — tag <img> niezawodne ładowanie ---- */
.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  z-index: 0;
  display: block;
}

/* stary div fallback — wyłączony */
.hero-photo { display: none; }

/* ---- Hero dark gradient overlay ---- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg,
      rgba(10,22,40,.93) 0%,
      rgba(10,22,40,.82) 45%,
      rgba(10,22,40,.55) 70%,
      rgba(10,22,40,.40) 100%
    );
}

/* Mobile: kadrowanie na fachowcu + lżejszy overlay */
@media (max-width: 768px) {
  .hero-photo-img {
    object-position: 60% 35%;
  }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(10,22,40,.62) 0%,
      rgba(10,22,40,.44) 50%,
      rgba(10,22,40,.70) 100%
    );
  }
}

/* Animated grid lines */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,.12);
  color: var(--green);
  border: 1px solid rgba(34,197,94,.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeInDown .6s ease both;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInDown .7s ease both;
}
.hero-accent { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  max-width: 600px;
  animation: fadeInDown .8s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInDown .9s ease both;
}

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  animation: fadeInUp 1s ease both;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  flex: 1;
  min-width: 0;
}
.stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-unit { font-size: 1.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,.6); margin-top: 4px; text-align: center; white-space: nowrap; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,.6); margin-top: 4px; text-align: center; }
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  align-self: stretch;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  animation: bounce 2s infinite;
  font-size: 1.2rem;
  z-index: 2;
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.trust-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255,255,255,.04);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.07);
}
.trust-item i { color: var(--gold); }

/* =========================================
   SERVICES
   ========================================= */
.services {
  padding: 100px 0;
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.service-card--featured {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-color: var(--navy-light);
}
.service-card--featured::before {
  background: linear-gradient(90deg, var(--gold), var(--green));
  transform: scaleX(1);
}
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: rgba(255,255,255,.75); }

.service-card-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-icon--gold { background: rgba(245,166,35,.15); color: var(--gold); }
.service-icon--yellow { background: rgba(234,179,8,.12); color: #ca8a04; }
.service-icon--blue { background: rgba(59,130,246,.12); color: var(--blue); }
.service-icon--green { background: rgba(34,197,94,.12); color: var(--green-dark); }
.service-icon--orange { background: rgba(249,115,22,.12); color: var(--orange); }
.service-icon--purple { background: rgba(139,92,246,.12); color: var(--purple); }

.service-card--featured .service-icon--gold {
  background: rgba(245,166,35,.2);
  color: var(--gold);
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  flex: 1;
}
.service-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.service-features li i { color: var(--green-dark); font-size: 0.75rem; flex-shrink: 0; }
.service-card--featured .service-features li { color: rgba(255,255,255,.7); }
.service-card--featured .service-features li i { color: var(--green); }

/* Nowe elementy karty bestseller */
.service-grant-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(245,166,35,.25), rgba(245,166,35,.12));
  border: 2px solid var(--gold);
  color: var(--gold) !important;
  font-size: .95rem !important;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 16px !important;
  letter-spacing: .01em;
  box-shadow: 0 0 16px rgba(245,166,35,.25);
}
.service-grant-tag i { color: var(--gold); font-size: .95rem; }

.service-desc-main {
  font-size: .9rem !important;
  color: rgba(255,255,255,.8) !important;
  margin-bottom: 14px !important;
  line-height: 1.6;
}
.service-slogan {
  font-size: .85rem !important;
  font-weight: 900 !important;
  letter-spacing: .08em;
  color: var(--gold) !important;
  margin: 12px 0 16px !important;
  text-align: center;
}
.service-section-label {
  font-size: .75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5) !important;
  margin: 14px 0 8px !important;
}
.service-cta-line {
  font-size: .82rem !important;
  font-weight: 800 !important;
  text-align: center;
  color: var(--white) !important;
  letter-spacing: .05em;
  margin: 16px 0 14px !important;
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.service-grant-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(245,166,35,.2), rgba(34,197,94,.15));
  border: 1px solid rgba(245,166,35,.35);
  border-radius: 10px;
  padding: 11px 16px;
  margin-bottom: 18px;
  font-size: .9rem;
  color: var(--white);
  font-weight: 600;
}
.service-grant-badge i { color: var(--gold); font-size: 1rem; }
.service-grant-badge strong { color: var(--gold); font-size: 1.05rem; }

.service-card--link { border-style: dashed; }

/* =========================================
   HOW WE WORK
   ========================================= */
.how-we-work {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.how-we-work::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px;
}
.steps-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  flex-wrap: wrap;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 180px;
  position: relative;
  z-index: 1;
}
.step-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: .7;
}
.step-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(245,166,35,.35);
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.8rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.step-connector {
  flex: 1;
  min-width: 30px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245,166,35,.3), rgba(245,166,35,.1));
  align-self: center;
  margin-bottom: 60px;
  margin-top: -40px;
}

/* =========================================
   GRANTS
   ========================================= */
.grants {
  padding: 100px 0;
  background: var(--white);
}
.grants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.grant-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.grant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.grant-card--primary {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: var(--navy-light);
  color: var(--white);
}
.grant-card--primary h3 { color: var(--white) !important; }
.grant-card--primary p { color: rgba(255,255,255,.9) !important; }
.grant-card--primary li { color: rgba(255,255,255,.88) !important; }
.grant-card--primary li i { color: var(--gold) !important; }
.grant-card--primary .grant-amount { color: rgba(255,255,255,.75) !important; }
.grant-card--primary .grant-amount strong { color: var(--gold) !important; }
.grant-card--primary .grant-logo-text { color: rgba(255,255,255,.7) !important; }

.grant-logo { margin-bottom: 12px; }
.grant-logo-text {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 4px;
}
.grant-card--primary .grant-logo-text {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
}
.grant-amount {
  font-size: 1rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.grant-amount strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.grant-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.grant-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.5;
}
.grant-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.grant-card li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-600);
}
.grant-card li i { color: var(--green-dark); margin-top: 2px; font-size: 0.7rem; flex-shrink: 0; }
.grant-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.grant-status--active {
  background: rgba(34,197,94,.1);
  color: var(--green-dark);
  border: 1px solid rgba(34,197,94,.25);
}
.grant-status--pending {
  background: rgba(245,166,35,.12);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,.3);
}
.grant-nabor {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245,166,35,.08);
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 14px 0 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
.grant-nabor i { color: var(--gold); font-size: .95rem; flex-shrink: 0; }
.grant-nabor strong { color: var(--gold); }
.grants-cta {
  text-align: center;
}
.grants-cta p {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* =========================================
   EQUIPMENT
   ========================================= */
.equipment {
  padding: 100px 0;
  background: var(--off-white);
}

/* ---- Logotypy partnerów ---- */
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 56px;
  padding: 32px 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  transition: transform 0.3s ease;
}
.partner-logo-item:hover {
  transform: scale(1.05);
}
.partner-logo-item img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
}
.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.brand-badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.brand-badge i { color: var(--gold); }
.equipment-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.equipment-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.equipment-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.equipment-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245,166,35,.15), rgba(245,166,35,.05));
  border: 2px solid rgba(245,166,35,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 auto 20px;
}
.equipment-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.equipment-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
  overflow: hidden;
}
.testimonials-slider {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}
.testimonials-track {
  display: flex;
  transition: transform .5s ease;
}
.testimonial-card {
  min-width: 100%;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
}
.testimonial-card blockquote::before {
  content: '"';
  font-size: 5rem;
  color: rgba(245,166,35,.15);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-author cite {
  display: block;
  font-weight: 700;
  color: var(--white);
  font-style: normal;
}
.testimonial-author span {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.slider-btn:hover { background: var(--gold); color: var(--navy); }
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transition: var(--transition);
  cursor: pointer;
}
.slider-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* =========================================
   FAQ
   ========================================= */
.faq {
  padding: 100px 0;
  background: var(--off-white);
}
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,166,35,.1);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold-dark); }
.faq-icon {
  font-size: 0.8rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer > div {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-form-section {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.contact-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.form-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Progress bar */
.form-progress {
  height: 4px;
  background: rgba(255,255,255,.1);
}
.form-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transition: width .4s ease;
}

/* Steps indicator */
.form-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.form-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: .4;
  transition: var(--transition);
}
.form-step-dot.active { opacity: 1; }
.form-step-dot span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.form-step-dot.active span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.form-step-dot.done span {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  opacity: 1;
}
.form-step-dot small {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-step-dot.active small { color: var(--gold); }

/* Form steps */
.form-step {
  display: none;
  padding: 40px;
}
.form-step.active { display: block; }
.step-header {
  margin-bottom: 28px;
}
.step-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-header h3 i { color: var(--gold); }
.step-header p { font-size: 0.9rem; color: rgba(255,255,255,.6); }

/* Map search box */
.map-search-box {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.map-search-input-wrap {
  position: relative;
  flex: 1;
}
.map-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
  font-size: .9rem;
  pointer-events: none;
}
#map-search-input {
  width: 100%;
  padding: 11px 40px 11px 40px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: .95rem;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}
#map-search-input::placeholder { color: rgba(255,255,255,.35); }
#map-search-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}
.map-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 4px;
  font-size: .85rem;
  transition: var(--transition);
}
.map-search-clear:hover { color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 18px;
  font-size: .9rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}
.btn-gold:hover {
  background: #e8960f;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,166,35,.4);
}
.btn-gold:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
/* Dropdown z wynikami wyszukiwania */
.map-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0d2040;
  border: 1.5px solid rgba(245,166,35,.3);
  border-radius: var(--radius-md);
  list-style: none;
  z-index: 2000;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.map-search-results li {
  padding: 11px 16px;
  cursor: pointer;
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: background .15s;
}
.map-search-results li:last-child { border-bottom: none; }
.map-search-results li:hover,
.map-search-results li:focus { background: rgba(245,166,35,.12); color: var(--white); outline: none; }
.map-search-results li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.map-search-results .no-results {
  padding: 14px 16px; color: rgba(255,255,255,.4);
  font-style: italic; cursor: default; font-size: .85rem;
}
.map-search-results .no-results:hover { background: none; }
.map-search-loading {
  padding: 14px 16px; color: rgba(255,255,255,.5);
  font-size: .85rem; display: flex; align-items: center; gap: 10px;
}

/* Map */
#map-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.1);
  margin-bottom: 16px;
  height: 380px;
}
#map {
  width: 100%;
  height: 100%;
  background: #1a2a3a;
}
.map-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,22,40,.85);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  transition: var(--transition);
}
.map-hint i { color: var(--gold); }

/* Przycisk "Moja lokalizacja" na mapie */
.map-locate-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  background: rgba(10, 22, 40, 0.88);
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.map-locate-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.selected-location {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  color: var(--green);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.selected-location i { color: var(--green); }
.selected-location span { flex: 1; color: rgba(255,255,255,.85); }
.change-location {
  background: none;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  border: none;
  padding: 0;
}

/* Choice cards */
.choice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.choice-card {
  background: rgba(255,255,255,.04);
  border: 2px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.choice-card:hover {
  border-color: rgba(245,166,35,.4);
  background: rgba(245,166,35,.05);
  transform: translateY(-2px);
}
.choice-card.selected {
  border-color: var(--gold);
  background: rgba(245,166,35,.1);
  box-shadow: 0 0 0 3px rgba(245,166,35,.2);
}
.choice-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.choice-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.choice-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group:last-of-type { margin-bottom: 0; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
}
.form-group input::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245,166,35,.06);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}
.form-group input.error { border-color: var(--red); }
.field-error {
  font-size: 0.78rem;
  color: #fc8181;
  display: none;
}
.field-error.visible { display: block; }
.field-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,.4);
}
.required { color: var(--gold); }

/* Checkboxes */
.form-group--checkbox {
  margin-bottom: 12px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkmark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: 1px;
  background: rgba(255,255,255,.04);
}
.checkbox-label input:checked + .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
}
.checkbox-label a { color: var(--gold); text-decoration: underline; }
.checkbox-label a:hover { color: var(--gold-light); }

/* Step actions */
.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}
.step-actions .btn-outline {
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.2);
}
.step-actions .btn-outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.05);
}

/* Success state */
.form-success {
  padding: 60px 40px;
  text-align: center;
}
.success-animation {
  margin-bottom: 28px;
}
.success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto;
  animation: successPop .6s ease both;
  box-shadow: 0 10px 40px rgba(34,197,94,.4);
}
.form-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.form-success p {
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.success-details {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.65);
  text-align: left;
  line-height: 2;
}

/* =========================================
   OTHER SERVICES / ORLLO BRANDS
   ========================================= */
.other-services {
  padding: 100px 0;
  background: var(--off-white);
}
.orllo-brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.orllo-brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
}
.orllo-brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
}
.orllo-brand-card--active {
  border-color: var(--gold);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.orllo-brand-card--active h3 { color: var(--white) !important; }
.orllo-brand-card--active p  { color: rgba(255,255,255,.88) !important; }
.brand-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: rgba(245,166,35,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.brand-icon--energy {
  background: rgba(245,166,35,.2);
}
.brand-icon--logo {
  background: #fff;
  border-radius: 10px;
  padding: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.brand-icon--logo img {
  max-width: 128px;
  max-height: 45px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.brand-icon--active {
  background: transparent;
  border-radius: 10px;
}
.brand-icon--active .brand-logo-white {
  filter: none;
}
.orllo-brand-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.new-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.orllo-brand-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.brand-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.orllo-brand-card--active .brand-link { color: var(--gold-light); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-top { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 18px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 18px;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
}
.footer-contact a { color: rgba(255,255,255,.6); }
.footer-contact a:hover { color: var(--gold); }
.footer-contact i { color: var(--gold); width: 16px; }
.footer-cta { width: 100%; justify-content: center; font-size: 0.88rem; }

.footer-bottom { padding: 20px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }

/* =========================================
   FLOATING CTA
   ========================================= */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(245,166,35,.45);
  transition: var(--transition);
}
.floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(245,166,35,.55);
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 24px;
}
.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  flex: 1;
}
.cookie-content a { color: var(--gold); text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* Animate on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: .1s; }
.animate-on-scroll.delay-2 { transition-delay: .2s; }
.animate-on-scroll.delay-3 { transition-delay: .3s; }
.animate-on-scroll.delay-4 { transition-delay: .4s; }
.animate-on-scroll.delay-5 { transition-delay: .5s; }

/* =========================================
   RESPONSIVE
   ========================================= */

/* ---- Tablet 1024px ---- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card--featured {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .grants-grid { grid-template-columns: 1fr 1fr; }
  .footer-top-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / 3; }
}

/* ---- Tablet 768px ---- */
@media (max-width: 768px) {
  :root { --max-width: 100%; }

  /* backdrop-filter on the header would create a containing block and trap
     the fixed full-screen mobile menu inside the header box */
  .site-header.scrolled {
    backdrop-filter: none;
    background: rgba(10, 22, 40, 0.99);
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav ul {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 100%;
    padding: 0 24px;
  }
  .main-nav ul li a { font-size: 1.1rem; padding: 14px 20px; display: block; }
  .hamburger { display: flex; z-index: 1001; }

  .hero-stats {
    gap: 8px;
    padding: 16px;
  }
  .stat-item { padding: 0 12px; min-width: 70px; }
  .stat-number { font-size: 1.5rem; }
  .stat-divider { display: none; }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card--featured { grid-column: auto; }

  .steps-timeline { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 30px; margin: 0; }

  .grants-grid { grid-template-columns: 1fr; }
  .equipment-highlights { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .choice-cards { grid-template-columns: 1fr; }
  .form-wrapper { margin: 0; border-radius: 0; }
  .form-step { padding: 28px 24px; }
  .form-steps-indicator { gap: 20px; }
  .form-steps-indicator small { display: none; }

  .orllo-brands { grid-template-columns: 1fr; }

  .footer-top-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .floating-cta { bottom: 0; right: 0; left: 0; width: 100%; border-radius: 0; z-index: 9998; }
  .floating-btn { border-radius: 0; width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
  .floating-btn span { display: inline; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .testimonial-card { padding: 24px; }
}

/* ---- Mobile 480px ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }
  .services, .how-we-work, .grants, .equipment,
  .testimonials, .faq, .contact-form-section,
  .other-services { padding: 60px 0; }

  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 4px; padding: 16px 12px; }
  .stat-item { padding: 0 4px; min-width: 0; }
  .stat-number { font-size: 1.4rem; }
  .stat-unit { font-size: 0.95rem; }
  .stat-label { font-size: 0.68rem; white-space: normal; line-height: 1.25; }
  .stat-divider { display: none; }

  .trust-inner { flex-direction: column; align-items: center; }
  .trust-items { gap: 8px; justify-content: center; }
  .trust-item { flex: 0 1 calc(50% - 4px); justify-content: center; text-align: center; }
  .brands-grid { gap: 8px; }
  .brand-badge { flex: 0 1 calc(50% - 4px); justify-content: center; font-size: 0.8rem; padding: 10px 12px; }
  .step-actions { flex-direction: column; }
  .step-actions .btn { width: 100%; justify-content: center; }
  .partners-logos { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 16px; padding: 16px 16px 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; mask-image: linear-gradient(to right, black 85%, transparent 100%); -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%); }
  .partners-logos::-webkit-scrollbar { display: none; }
  .partner-logo-item { flex-shrink: 0; }
  .partner-logo-item img { height: 32px; max-width: 100px; }

  #map-container { height: 280px; }

  /* Wyszukiwarka adresu – mobile */
  .map-search-box {
    flex-wrap: wrap;
  }
  .map-search-input-wrap {
    flex: 1 1 100%;
  }
  #map-search-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* =========================================
   GALLERY – Przykładowe realizacje
   ========================================= */
.gallery-section {
  padding: 100px 0;
  background: var(--navy);
}
.gallery-section .section-header { color: var(--white); }
.gallery-section .section-header p { color: rgba(255,255,255,.65); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
  font-size: 1.8rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-cta {
  text-align: center;
  margin-top: 48px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--white);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 100000;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 0.9rem;
  background: rgba(0,0,0,.5);
  padding: 6px 16px;
  border-radius: 20px;
}

/* Responsive gallery */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
