/*
Theme Name: Bootstrap + WordPress
Theme URI: https://elgum.pl/
Author: PD
Author URI: https://elgum.pl/
Description: Custom Bootstrap 5 + WordPress theme with ACF PRO Flexible Content
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bs5b
*/

/* ============================================
   ELGUM - Style CSS
   Kolorystyka: #0f172a (dark) + #f97316 (accent)
   Typografia: Inter (Google Fonts)
   ============================================ */

/* === RESET & BASE === */

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

:root {
  --primary-dark: #0f172a;
  --secondary-dark: #1e293b;
  --darkest: #020617;
  --accent: #1e7cba;
  --accent-hover: #7AA4BD;
  --accent-glow: rgba(249, 115, 22, 0.4);
  --light-bg: #f8fafc;
  --light-bg-alt: #f1f5f9;
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --text-dark: #0f172a;
  --text-dark-secondary: #64748b;
  --border-dark: #334155;
  --border-light: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--primary-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* === UTILITY === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.text-accent { color: var(--accent); }
.text-white { color: var(--text-white); }
.text-gray { color: var(--text-gray); }

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.6;
}

.section-header { text-align: center; margin-bottom: 56px; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
}

.anim-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.anim-visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }
.anim-delay-6 { transition-delay: 0.6s; }

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  height: var(--header-h);
}
.header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo {
  height: 70px;
  width: auto;
  flex-shrink: 0;
}
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}
.header-nav a:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.05);
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-cta-nav { margin-left: 12px; padding: 10px 20px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 16px;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}
.mobile-nav a:hover { color: var(--accent); background: rgba(255,255,255,0.05); }
.mobile-nav .btn-cta { margin-top: 12px; justify-content: center; }

.header-phone {
  display: none;
  color: white;
  padding: 8px;
  transition: color 0.25s;
}
.header-phone:hover { color: var(--accent); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.55) 60%, rgba(15,23,42,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  transition: all 0.3s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,255,255,0.03);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
  animation: fadeInUp 0.8s ease-out 1s both;
}
.hero-stat {
  text-align: center;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  min-width: 110px;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}
.scroll-indicator svg { width: 24px; height: 24px; color: rgba(255,255,255,0.3); }

/* === ABOUT === */
.about { background: var(--light-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e2e8f0;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-border {
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: 8px;
  left: 8px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.3;
}
.about-text p {
  color: var(--text-dark-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-text p strong { color: var(--text-dark); }
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cert-badge svg { width: 32px; height: 32px; color: var(--accent); flex-shrink: 0; }
.cert-badge-text strong { display: block; font-size: 13px; color: var(--text-dark); }
.cert-badge-text span { font-size: 11px; color: var(--text-dark-secondary); }

/* === WHY SECTION === */
.why { background: var(--primary-dark); }
.why .section-title { color: white; }
.why .section-subtitle { color: rgba(255,255,255,0.5); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: all 0.35s ease;
}
.benefit-card:hover {
  border-color: rgba(249,115,22,0.3);
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s;
}
.benefit-card:hover .benefit-icon { background: rgba(249,115,22,0.2); }
.benefit-icon svg { width: 24px; height: 24px; color: var(--accent); }
.benefit-card h3 { font-size: 17px; font-weight: 600; color: white; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* === PRODUCTS === */
.products { background: var(--light-bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  border: 1px solid var(--border-light);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: rgba(249,115,22,0.2);
}
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e2e8f0;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.07); }
.product-card-img .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.product-card:hover .product-card-img .overlay { opacity: 1; }
.product-card-body { padding: 20px; }
.product-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.product-card:hover .product-card-body h3 { color: var(--accent); }
.product-card-body p {
  font-size: 14px;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.product-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}
.product-card:hover .product-link { gap: 8px; }

/* === PROCESS === */
.process { background: var(--primary-dark); }
.process .section-title { color: white; }
.process .section-subtitle { color: rgba(255,255,255,0.5); }
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 36px;
  right: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(249,115,22,0.2));
  z-index: 0;
}
.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.step-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(249,115,22,0.08);
  border: 2px solid rgba(249,115,22,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.process-step:hover .step-circle {
  background: var(--accent);
  border-color: var(--accent);
}
.step-circle svg { width: 28px; height: 28px; color: var(--accent); transition: color 0.3s; }
.process-step:hover .step-circle svg { color: white; }
.step-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: rgba(249,115,22,0.5);
  margin-bottom: 4px;
}
.process-step h3 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 8px; }
.process-step p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; padding: 0 4px; }

/* === MATERIALS === */
.materials { background: var(--light-bg-alt); }
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.material-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
  border: 1px solid var(--border-light);
}
.material-card:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.material-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.material-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.material-icon svg { width: 24px; height: 24px; color: var(--accent); }
.material-header h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); }
.material-header .material-full { font-size: 13px; color: var(--accent); margin-top: 2px; }
.material-params { list-style: none; }
.material-params li {
  font-size: 14px;
  color: var(--text-dark-secondary);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.material-params li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}

/* === CONTACT === */
.contact { background: var(--primary-dark); }
.contact .section-title { color: white; }
.contact .section-subtitle { color: rgba(255,255,255,0.5); }
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: white;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.25); }
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
textarea { resize: vertical; min-height: 120px; }

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  cursor: pointer;
}
.checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox-wrap span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.contact-info-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.contact-info-box h3 { font-size: 18px; font-weight: 600; color: white; margin-bottom: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-info-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-item a,
.contact-info-item span { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.25s; }
.contact-info-item a:hover { color: var(--accent); }
.contact-info-item .info-sub { font-size: 13px; color: rgba(255,255,255,0.5); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 4/3;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Form messages */
.form-success {
  text-align: center;
  padding: 64px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.form-success svg { width: 64px; height: 64px; color: #4ade80; margin: 0 auto 16px; }
.form-success h3 { font-size: 24px; font-weight: 700; color: white; margin-bottom: 8px; }
.form-success p { font-size: 15px; color: rgba(255,255,255,0.6); }
.form-error { display: flex; align-items: center; gap: 8px; color: #f87171; font-size: 14px; margin-top: 12px; }

/* === FOOTER === */
.footer {
  background: var(--darkest);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 { font-size: 16px; font-weight: 600; color: white; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-contact-item a,
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.25s; }
.footer-contact-item a:hover { color: var(--accent); }

.footer-logo { height: 36px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.5; }

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }

/* === STICKY CTA === */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s ease;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: all 0.3s;
  text-decoration: none;
  animation: pulse 2.5s infinite;
}
.sticky-cta a:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.5);
}
.sticky-cta svg { width: 18px; height: 18px; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process-timeline::before { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section-pad { padding: 64px 0; }
  .container { padding: 0 16px; }
  
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-phone { display: block; }

  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .hero-stat { min-width: 90px; padding: 12px 14px; }
  .hero-stat-num { font-size: 22px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  
  .sticky-cta { bottom: 16px; right: 16px; }
  .sticky-cta a { padding: 12px 20px; font-size: 13px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn-cta,
  .hero-buttons .btn-ghost { text-align: center; justify-content: center; }
  .hero-stats { justify-content: center; }
  .cert-badges { flex-direction: column; }
  .process-timeline { grid-template-columns: 1fr; }
}


.wpcf7-response-output{
  color: #fff;
}


.page-hero {
      position: relative;
      padding: calc(var(--header-h) + 56px) 0 56px;
      background: var(--primary-dark);
      overflow: hidden;
    }

    .page-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(249,115,22,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(249,115,22,0.04) 0%, transparent 60%);
      pointer-events: none;
    }

    .page-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 720px;
    }

    .page-hero-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 500;
      color: var(--accent);
      margin-bottom: 16px;
    }

    .page-hero-label a {
      color: rgba(255,255,255,0.45);
      transition: color 0.25s;
    }

    .page-hero-label a:hover { color: var(--accent); }

    .page-hero-label .sep {
      color: rgba(255,255,255,0.2);
      font-size: 11px;
    }

    .page-hero h1 {
      font-size: clamp(28px, 5vw, 48px);
      font-weight: 800;
      color: white;
      line-height: 1.1;
      letter-spacing: -0.03em;
      margin-bottom: 16px;
      animation: fadeInUp 0.7s ease-out both;
    }

    .page-hero-subtitle {
      font-size: clamp(15px, 2vw, 17px);
      color: rgba(255,255,255,0.55);
      line-height: 1.7;
      max-width: 600px;
      animation: fadeInUp 0.7s ease-out 0.15s both;
    }

    /* === SIMPLIFIED FOOTER === */
    .footer-simple {
      background: var(--darkest);
      border-top: 1px solid rgba(255,255,255,0.05);
      padding: 28px 0;
    }

    .footer-simple-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .footer-simple-logo {
      height: 32px;
      width: auto;
    }

    .footer-simple-links {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-wrap: wrap;
    }

    .footer-simple-links a {
      font-size: 13px;
      color: rgba(255,255,255,0.45);
      padding: 6px 10px;
      border-radius: var(--radius-sm);
      transition: color 0.25s;
    }

    .footer-simple-links a:hover { color: var(--accent); }

    .footer-simple-copy {
      font-size: 12px;
      color: rgba(255,255,255,0.2);
      white-space: nowrap;
    }

    /* === PAGE CONTENT AREA === */
    .page-content {
      background: var(--light-bg);
      padding: 80px 0;
    }

    .page-content-inner {
      max-width: 860px;
    }

    /* Prose typography for page content */
    .prose h2 {
      font-size: clamp(22px, 3.5vw, 30px);
      font-weight: 700;
      color: var(--text-dark);
      letter-spacing: -0.02em;
      margin: 40px 0 12px;
      line-height: 1.2;
    }

    .prose h2:first-child { margin-top: 0; }

    .prose h3 {
      font-size: clamp(17px, 2.5vw, 20px);
      font-weight: 600;
      color: var(--text-dark);
      margin: 28px 0 8px;
    }

    .prose p {
      font-size: 15px;
      color: var(--text-dark-secondary);
      line-height: 1.75;
      margin-bottom: 16px;
      max-width: 72ch;
    }

    .prose ul, .prose ol {
      padding-left: 20px;
      margin-bottom: 16px;
    }

    .prose li {
      font-size: 15px;
      color: var(--text-dark-secondary);
      line-height: 1.7;
      margin-bottom: 6px;
    }

    .prose ul li::marker { color: var(--accent); }
    .prose strong { color: var(--text-dark); font-weight: 600; }
    .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
    .prose a:hover { color: var(--accent-hover); }

    .prose hr {
      border: none;
      border-top: 1px solid var(--border-light);
      margin: 40px 0;
    }

    /* === RESPONSIVE === */
    @media (max-width: 768px) {
      .page-hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 40px; }
      .page-content { padding: 56px 0; }

      .footer-simple-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }

      .footer-simple-copy { order: 3; }
    }


    .jedna-kolumna .benefits-grid{
      grid-template-columns: repeat(1, 1fr);
    }