/* ============================================================
   NOVATE ENERGY – Landing Page
   Design: Dark Tech Futurism
   Kolory: Granat #0d1117 | Pomarańcz #f97316 | Biały #ffffff
   Fonty: Barlow Condensed (nagłówki), Barlow (treść)
   Autor: energy.novate.pl
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Barlow', sans-serif;
  background-color: #0d1117;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.display-font {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}

h4, h5, h6 {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
}

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
  --orange: #f97316;
  --orange-dark: #ea6a0a;
  --orange-light: #fb923c;
  --bg-dark: #0d1117;
  --bg-card: #161b22;
  --bg-card-hover: #1c2330;
  --border: rgba(255,255,255,0.08);
  --text-muted: #8b949e;
  --text-light: #e2e8f0;
  --white: #ffffff;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-orange: 0 0 30px rgba(249,115,22,0.2);
  --transition: 0.25s ease;
  --max-width: 1200px;
}

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

.section-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--orange);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }

/* ── NAVIGATION ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.nav-logo span {
  color: var(--orange);
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.nav-links a {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-phone:hover {
  color: var(--orange);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-mobile a:hover {
  background: var(--bg-card);
  color: var(--orange);
}

.nav-mobile .btn {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/novate-hero.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,17,23,0.92) 0%,
    rgba(13,17,23,0.75) 55%,
    rgba(13,17,23,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title .line-orange {
  color: var(--orange);
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(226,232,240,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-desc strong {
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── PROBLEMS ─────────────────────────────────────────────── */
#problems {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
}

#problems::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.problems-header {
  text-align: center;
  margin-bottom: 60px;
}

.problems-header .section-label {
  justify-content: center;
}

.problems-header .section-label::before {
  display: none;
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.problem-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(249,115,22,0.2);
  transform: translateY(-4px);
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-icon svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
  stroke: var(--orange);
}

.problem-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── SOLUTION ─────────────────────────────────────────────── */
#solution {
  padding: 100px 0;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.solution-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: brightness(0.9);
}

.solution-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(13,17,23,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-align: center;
}

.solution-badge-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.solution-badge-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.solution-features {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-check {
  width: 22px;
  height: 22px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--orange);
}

.feature-item span {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ── SYSTEMS ──────────────────────────────────────────────── */
#systems {
  padding: 100px 0;
  background: var(--bg-dark);
}

.systems-header {
  text-align: center;
  margin-bottom: 48px;
}

.systems-header .section-label {
  justify-content: center;
}

.systems-header .section-label::before {
  display: none;
}

/* Tabs */
.systems-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--bg-card);
}

.tab-btn {
  flex: 1;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--border);
  position: relative;
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn .tab-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.15);
  transition: color var(--transition);
}

.tab-btn.active {
  background: rgba(249,115,22,0.1);
  color: var(--orange);
}

.tab-btn.active .tab-num {
  color: var(--orange);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}

.tab-btn:hover:not(.active) {
  background: rgba(255,255,255,0.04);
  color: var(--text-light);
}

/* Tab panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-panel-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: brightness(0.85);
}

.tab-level {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.tab-panel-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 8px;
}

.tab-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 16px;
  font-family: 'Barlow', sans-serif;
}

.tab-panel-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tab-includes {
  margin-bottom: 28px;
}

.tab-includes h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tab-includes ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.tab-includes li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── STATS ────────────────────────────────────────────────── */
#stats {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── PROCESS ──────────────────────────────────────────────── */
#process {
  padding: 100px 0;
  background: var(--bg-dark);
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-header .section-label {
  justify-content: center;
}

.process-header .section-label::before {
  display: none;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--orange), rgba(249,115,22,0.2));
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--orange);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
#testimonials {
  padding: 100px 0;
  background: var(--bg-card);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-label {
  justify-content: center;
}

.testimonials-header .section-label::before {
  display: none;
}

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

.testimonial-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(249,115,22,0.25);
  transform: translateY(-4px);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: var(--orange);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #c2410c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.author-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── CONTACT / FORM ───────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.contact-info h2 span {
  color: var(--orange);
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
}

.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
}

.contact-detail-value a {
  color: var(--white);
  transition: color var(--transition);
}

.contact-detail-value a:hover {
  color: var(--orange);
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group label .req {
  color: var(--orange);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  transition: all var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--orange);
  background: rgba(249,115,22,0.05);
}

.form-control::placeholder {
  color: rgba(139,148,158,0.5);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

select.form-control option {
  background: #161b22;
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-consent {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.95rem;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(249,115,22,0.15);
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--orange);
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-muted);
}

/* Error messages */
.field-error {
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 4px;
  display: none;
}

.form-control.error {
  border-color: #f87171;
}

/* ── FOOTER ───────────────────────────────────────────────── */
#footer {
  background: #080c11;
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--orange);
  background: rgba(249,115,22,0.1);
}

.social-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  transition: stroke var(--transition);
}

.social-link:hover svg {
  stroke: var(--orange);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ── FLOATING CTA ─────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.floating-phone:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.floating-phone svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
}

.floating-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 14px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(249,115,22,0.5);
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .solution-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution-image img {
    height: 320px;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .process-steps::before {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tab-panel-image {
    order: -1;
  }

  .tab-panel-image img {
    height: 240px;
  }

  .systems-tabs {
    flex-direction: column;
  }

  .tab-btn {
    flex-direction: row;
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .tab-btn:last-child {
    border-bottom: none;
  }

  .tab-btn.active::after {
    top: 0; bottom: 0;
    left: 0; right: auto;
    width: 3px;
    height: auto;
  }

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-cta {
    bottom: 16px;
    right: 16px;
  }

  /* Ukryj nav-cta .btn na mobile — dostępny przez hamburger */
  .nav-cta .btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 20px;
  }
}
