/*
Theme Name: Metal-Max Core
Author: Monika Bystrowska
Description: Ultra-lekki, autorski motyw dla Metal-Max Laser Technology.
Version: 1.0
*/

/* =========================================
   1. ZMIENNE GLOBALNE I BAZA
========================================= */
:root {
  --bg-dark: #030303;
  --bg-panel: #0a0a0a;
  --text-main: #F5F4F2;
  --text-muted: #A8A3A0;
  --laser-red: #A30015;
  --laser-red-hover: #C2001A;
}

/* Global Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.section-title {
  font-family: 'Play', sans-serif;
  font-size: 18px;
  color: var(--laser-red);
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.section-subtitle {
  font-family: 'Play', sans-serif;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 60px;
  text-align: center;
}

/* UNIWERSALNY PRZYCISK METAL-MAX */
.metal-btn {
  background-color: #b30000 !important;
  transition: all 0.3s ease-in-out !important;
  border: none !important;
  display: inline-block !important;
  text-decoration: none !important;
}

.metal-btn,
.metal-btn span,
.metal-btn a {
  color: #ffffff !important;
  font-weight: bold !important;
}

.metal-btn:hover {
  background-color: #70000e !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(112, 0, 14, 0.5) !important;
}

/* =========================================
   2. NAGŁÓWEK I MENU 
========================================= */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* --- FIX: Wyciągamy nagłówek na sam szczyt nad wszystko --- */
  z-index: 9999;
  background-color: rgba(3, 3, 3, 0.95);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease-in-out;
}

.main-header.hidden {
  transform: translateY(-100%);
}

/* --- FIX: Idealne rozłożenie elementów w nagłówku --- */
.logo-container {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo-img {
  max-width: 150px;
  height: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  font-family: 'Play', sans-serif;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.separator {
  color: var(--laser-red);
  pointer-events: none;
}

.cta-button {
  font-family: 'Play', sans-serif;
  padding: 10px 22px;
  text-transform: uppercase;
  font-size: 11px;
  border-radius: 4px;
}

/* =========================================
   3. SEKCJA: WIDEO (HERO CINEMATIC)
========================================= */
.hero-cinematic {
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-dark);
}

.hero-overlay-top {
  text-align: center;
  z-index: 10;
  margin-bottom: -40px;
}

.hero-overlay-top h1 {
  font-family: 'Play', sans-serif;
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--text-main);
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

.hero-btn-mini {
  margin-top: 15px;
  font-family: 'Play', sans-serif;
  font-size: 15px;
  padding: 8px 24px;
  border-radius: 50px;
}

.video-frame {
  width: 100%;
  max-width: 1100px;
  height: 450px;
  position: relative;
  background-color: #000;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.2);
}

.vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 80px 40px var(--bg-dark);
  background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 15%, transparent 85%, var(--bg-dark) 100%);
}

.hero-footer-text {
  padding: 50px 20px;
  text-align: center;
  max-width: 750px;
}

.hero-footer-text p {
  font-family: 'Play', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
  text-transform: uppercase;
  margin: 0;
}

.highlight-ruby {
  font-family: 'Play', sans-serif;
  color: var(--laser-red);
  font-weight: 700;
  display: block;
  margin-top: 12px;
}

/* =========================================
   4. SEKCJA: KAFELKI USŁUG
========================================= */
.services-grid {
  padding: 100px 50px;
  background-color: var(--bg-dark);
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--bg-panel);
  padding: 50px 40px;
  min-height: 320px;
  border: 1px solid #1a1a1a;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-content {
  position: relative;
  z-index: 2;
}

.service-icon {
  font-family: 'Play', sans-serif;
  font-size: 14px;
  color: var(--laser-red);
  margin-bottom: 15px;
  font-weight: 700;
  opacity: 0.8;
}

.service-card h3 {
  font-family: 'Play', sans-serif;
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.service-card p {
  font-family: 'Play', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.service-laser {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max-Ciecie-Laserowe-kafelek-01.png');
}

.service-bending {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max-Giecie-kafelek-02.png');
}

.service-welding {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max-Spawanie-kafelek-03.png');
}

.service-machining {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max-Toczenie-kafelek-04.png');
}

.service-finishing {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max-Wykanczanie-kafelek-05.png');
}

.service-design {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max-projektowanie-kafelek-06.png');
}

.service-laser,
.service-bending,
.service-welding,
.service-machining,
.service-finishing,
.service-design {
  background-size: cover !important;
  background-position: center !important;
  border: none !important;
  z-index: 1;
  position: relative;
}

.service-laser::after,
.service-bending::after,
.service-welding::after,
.service-machining::after,
.service-finishing::after,
.service-design::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 3, 3, 0.95) 10%, rgba(3, 3, 3, 0.2) 100%);
  z-index: -1;
  transition: 0.5s ease;
}

.service-laser:hover::after,
.service-bending:hover::after,
.service-welding:hover::after,
.service-machining:hover::after,
.service-finishing:hover::after,
.service-design:hover::after {
  background: linear-gradient(to top, rgba(112, 0, 14, 0.85) 0%, rgba(3, 3, 3, 0.4) 100%);
}

/* =========================================
   5. SEKCJA: DNA PROCESU
========================================= */
.process-dna {
  padding: 100px 50px;
  background-color: var(--bg-dark);
}

.dna-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.dna-row.reverse {
  flex-direction: row-reverse;
}

.dna-text {
  flex: 1;
}

.dna-num {
  font-family: 'Play', sans-serif;
  color: var(--laser-red);
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.dna-text h3 {
  font-family: 'Play', sans-serif;
  font-size: 32px;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.dna-text p {
  font-family: 'Play', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
}

.dna-image {
  flex: 1;
  height: 450px;
  background-color: #0a0a0a;
  border-left: 3px solid var(--laser-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background-size: cover;
  background-position: center;
}

.dna-img-laser {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max_filar_01_potencjal_technologiczny_i_ludzki.jpg');
}

.dna-img-cycle {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max_filar_02_Kompleksowosc.jpg');
}

.dna-img-quality {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max_filar_03_zaufanie.jpg');
}

.dna-img-discretion {
  background-image: url('/wp-content/uploads/2026/05/Metal-Max_filar_04_partnerstwo.jpg');
}

/* =========================================
   6. SEKCJA: ETOS (AUTENTYCZNOŚĆ)
========================================= */
.ethos-section {
  padding: 80px 20px;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
  overflow: hidden;
}

.ethos-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(112, 0, 14, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.ethos-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-mark {
  font-family: 'Play', sans-serif;
  font-size: 80px;
  color: var(--laser-red);
  line-height: 1;
  margin-bottom: -20px;
  opacity: 0.8;
}

.ethos-content blockquote {
  font-family: 'Play', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 40px 0;
}

.ethos-author strong {
  font-family: 'Play', sans-serif;
  color: var(--laser-red);
  font-size: 16px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 5px;
}

.ethos-author span {
  font-family: 'Play', sans-serif;
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   7. SEKCJA: ŚCIEŻKA WSPÓŁPRACY (TIMELINE)
========================================= */
.collaboration-path {
  padding: 100px 50px;
  background-color: var(--bg-panel);
  text-align: center;
}

.path-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 80px auto 0 auto;
  position: relative;
  gap: 40px;
}

/* --- GŁÓWNA LINIA BAZOWA --- */
.path-line {
  position: absolute;
  top: 30px;
  left: 5%;
  width: 90%;
  height: 2px;
  background-color: #1a1a1a;
  z-index: 1;
  overflow: hidden;
}

/* --- ANIMOWANA WIĄZKA LASERA --- */
.path-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--laser-red) 60%, #ff6666 100%);
  box-shadow: 0 0 10px var(--laser-red);
  animation: fireLaser 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- LOGIKA RUCHU LASERA --- */
@keyframes fireLaser {
  0% {
    left: -20%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

.path-step {
  flex: 1;
  position: relative;
  z-index: 2;
  background-color: var(--bg-panel);
}

.step-dot {
  width: 60px;
  height: 60px;
  background-color: var(--bg-dark);
  border: 2px solid var(--laser-red);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px auto;
  font-family: 'Play', sans-serif;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(112, 0, 14, 0.4);
}

.path-step h3 {
  font-family: 'Play', sans-serif;
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 15px;
}

.path-step p {
  font-family: 'Play', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   8. SEKCJA: MATERIAŁY (KARTY 3D)
========================================= */
.materials-section {
  padding: 100px 50px;
  background-color: var(--bg-dark);
  text-align: center;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.tilt-card-wrapper {
  perspective: 1000px;
}

.tilt-card {
  background-color: var(--bg-panel);
  border: 1px solid #1a1a1a;
  padding: 40px 20px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tilt-content {
  transform: translateZ(40px);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.metal-photo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 25px;
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

.tilt-card:hover .metal-photo {
  transform: translateZ(80px) translateY(-10px) scale(1.1);
}

.tilt-content h3 {
  font-family: 'Play', sans-serif;
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 15px;
}

.tilt-content p {
  font-family: 'Play', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================
   9. SEKCJA: FAQ (AKORDEON)
========================================= */
.faq-section {
  padding: 100px 50px;
  background-color: var(--bg-dark);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #1a1a1a;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 30px 0;
  font-family: 'Play', sans-serif;
  font-size: 18px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--laser-red);
}

.faq-icon {
  font-size: 24px;
  color: var(--laser-red);
  transition: transform 0.4s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-answer p {
  font-family: 'Play', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 30px;
  padding-right: 40px;
  margin: 0;
}

.faq-item.active .faq-question {
  color: var(--laser-red);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* =========================================
   10. STOPKA (FOOTER I KONTAKT)
========================================= */
.main-footer {
  background-color: #000000;
  padding: 80px 50px 30px 50px;
  border-top: 2px solid var(--laser-red);
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 80px auto;
}

.footer-title {
  font-family: 'Play', sans-serif;
  font-size: 32px;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.footer-subtitle {
  font-family: 'Play', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group-row {
  display: flex;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #0a0a0a;
  border: 1px solid #222;
  padding: 15px 20px;
  font-family: 'Play', sans-serif;
  font-size: 16px;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--laser-red);
  box-shadow: inset 0 0 10px rgba(112, 0, 14, 0.2);
}

.submit-btn {
  padding: 15px 30px;
  font-size: 16px;
  align-self: flex-start;
  cursor: pointer;
}

.logo-container-footer img {
  max-width: 180px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-details p {
  font-family: 'Play', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 25px;
}

.contact-details strong {
  font-family: 'Play', sans-serif;
  color: var(--text-main);
  letter-spacing: 1px;
}

.company-data {
  font-size: 14px !important;
  color: #666666 !important;
  border-top: 1px solid #1a1a1a;
  padding-top: 20px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p,
.footer-links a {
  font-family: 'Play', sans-serif;
  font-size: 13px;
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0;
}

.footer-links a:hover {
  color: var(--laser-red);
}

/* =========================================
   11. RESPONSYWNOŚĆ (MEDIA QUERIES) I MOBILE MENU
========================================= */
.hamburger-btn,
.mobile-overlay-menu {
  display: none;
}

/* --- TABLETY I MAŁE LAPTOPY (Zmiana na 1024px) --- */
@media (max-width: 1024px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    padding: 60px 20px;
  }

  .hero-overlay-top h1 {
    font-size: 16px;
  }

  .dna-row,
  .dna-row.reverse {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .dna-image {
    width: 100%;
    height: 300px;
    border-left: none;
    border-top: 3px solid var(--laser-red);
  }

  /* Włączamy hamburgera wcześniej, żeby uchronić menu przed zgnieceniem */
  .main-nav,
  .cta-container {
    display: none;
  }

  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    /* --- FIX: Z-index musi zadziałać, dlatego dodajemy position: relative --- */
    position: relative;
    z-index: 10000;
  }

  .hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    /* --- PANCERNY FIX: Dziurawimy kreseczki, by kliknięcie trafiało w przycisk --- */
    pointer-events: none !important;
  }

  .hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: var(--laser-red);
  }

  .hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background-color: var(--laser-red);
  }

  .mobile-overlay-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(15px);
    /* --- FIX: Bezpiecznie obniżamy warstwę pod nagłówek i przepuszczamy kliknięcia --- */
    z-index: 9998;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow-y: auto;
    padding: 100px 20px 40px 20px;
  }

  .mobile-overlay-menu.active {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
  }

  .mobile-nav li {
    margin-bottom: 30px;
  }

  .mobile-nav a {
    font-family: 'Play', sans-serif;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: 4px;
  }

  .mobile-cta {
    margin-top: 40px;
    font-size: 14px;
    padding: 15px 35px;
  }
}

/* --- SMARTFONY --- */
@media (max-width: 768px) {

  .grid-wrapper,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .path-wrapper {
    flex-direction: column;
    gap: 60px;
  }

  /* KALIBRACJA LASERA DLA URZĄDZEŃ MOBILNYCH (W PIONIE) */
  .path-line {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
  }

  .path-line::after {
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg, transparent 0%, var(--laser-red) 60%, #ff6666 100%);
    animation: fireLaserVertical 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Responsywność Stopki */
  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .input-group-row {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* --- LOGIKA RUCHU LASERA W PIONIE (SMARTFONY) --- */
@keyframes fireLaserVertical {
  0% {
    top: -20%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* =========================================
   12. PODSTRONY (PAGE.PHP) I POMOCNICZE
======================================== */
.page-main-content {
  padding-top: 150px;
  min-height: 60vh;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-h1-title {
  text-align: left;
  margin-bottom: 40px;
}

.page-entry-content {
  font-family: 'Play', sans-serif;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================================
   13. PODSTRONA KONTAKT - PREMIUM MINIMALIST & LASER AURA
======================================== */
.contact-page-wrapper {
  max-width: 100%;
  padding: 80px 0;
  background-color: #000;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Interaktywna Laserowa Poświata Tła */
.cursor-laser-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(163, 0, 33, 0.25), transparent 40%);
  z-index: 0;
  transition: background 0.1s;
}

.contact-container-premium {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.premium-title {
  font-family: 'Play', sans-serif;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 60px;
  text-align: center;
  color: #fff;
}

.blinking-cursor {
  color: var(--laser-red);
  font-weight: 700;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.typing-red {
  color: var(--laser-red);
  text-shadow: 0 0 15px var(--laser-red);
}

.typed-white {
  color: #fff;
  text-shadow: none;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* Lista Kontaktów */
.contact-list-premium {
  list-style: none;
  padding: 0;
  margin: 0 0 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-list-item {
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: background-color 0.4s ease;
}

/* Linia wskaźnikowa na hover */
.contact-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--laser-red);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 0 15px var(--laser-red);
  opacity: 0;
}

.contact-list-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.contact-list-item:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

@media (min-width: 768px) {
  .contact-list-item {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.contact-department {
  flex: 1;
}

.contact-department h3 {
  font-family: 'Play', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.contact-list-item:hover .contact-department h3 {
  color: var(--laser-red);
}

.contact-department p.dept-name {
  font-family: 'Play', sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  transition: transform 0.3s ease;
}

.contact-list-item:hover .contact-department p.dept-name {
  transform: translateX(10px);
}

.contact-details-premium {
  flex: 1;
  text-align: left;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .contact-details-premium {
    text-align: right;
    margin-top: 0;
  }
}

.contact-details-premium a,
.contact-details-premium p {
  font-family: 'Play', sans-serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.contact-details-premium a:hover {
  color: #fff;
}

.company-nip-premium {
  font-family: monospace;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 15px;
}

/* Minimalistyczna Mapa */
/* =========================================
   14. WSPÓŁRZĘDNE GPS (ZAMIAST MAPY)
======================================== */
.coordinates-wrapper {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .coordinates-wrapper {
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
  }
}

.coord-box {
  text-align: center;
}

.coord-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.blinking-coordinates {
  font-family: 'Play', monospace;
  font-size: 22px;
  color: var(--laser-red);
  text-decoration: none;
  letter-spacing: 2px;
  display: inline-block;
  animation: pulse-coord 2.5s infinite;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.blinking-coordinates:hover {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  animation: none;
  transform: scale(1.05);
}

@keyframes pulse-coord {
  0% {
    opacity: 1;
    text-shadow: 0 0 15px var(--laser-red);
  }

  50% {
    opacity: 0.3;
    text-shadow: none;
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 15px var(--laser-red);
  }
}

/* =========================================
   15. OFERTA: TECHNOLOGIE (GRID)
======================================== */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 992px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 0, 33, 0.3);
}

.tech-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(163, 0, 33, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.tech-card:hover .tech-card-glow {
  opacity: 1;
}

.tech-card-title {
  font-family: 'Play', sans-serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.terminal-specs {
  font-family: monospace;
  font-size: 14px;
  line-height: 1.8;
}

.spec-line {
  margin-bottom: 10px;
  display: flex;
}

.spec-line .prompt {
  color: var(--laser-red);
  margin-right: 10px;
}

.spec-line .key {
  color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
}

.spec-line .value {
  color: #fff;
}

/* =========================================
   16. OFERTA: PROCESY (TIMELINE)
======================================== */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-laser-beam {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--laser-red) 15%, var(--laser-red) 85%, transparent);
  box-shadow: 0 0 10px var(--laser-red);
  opacity: 0.3;
}

@media (min-width: 768px) {
  .timeline-laser-beam {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  opacity: 0.3;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.timeline-node.active {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .timeline-node {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .timeline-node:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.node-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  background: #000;
  border: 2px solid var(--laser-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Play', monospace;
  font-weight: bold;
  color: var(--laser-red);
  z-index: 2;
  box-shadow: 0 0 15px rgba(163, 0, 33, 0.5);
}

@media (min-width: 768px) {
  .node-marker {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.node-content {
  margin-left: 60px;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  width: calc(100% - 60px);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .node-content {
    margin-left: 0;
    width: 45%;
  }

  .timeline-node:nth-child(even) .node-content {
    text-align: right;
  }
}

.node-content h3 {
  font-family: 'Play', sans-serif;
  color: #fff;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
}

.node-content p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   17. OFERTA: PROCES (KLASYCZNY ZYGZAK)
======================================== */
.process-hero {
  padding: 100px 20px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: radial-gradient(circle at top center, rgba(163, 0, 21, 0.1), transparent 70%);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.6);
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.6;
}

.process-content {
  padding: 80px 20px;
}

.process-intro {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  margin-bottom: 80px;
  border-left: 4px solid var(--laser-red);
}

@media (min-width: 768px) {
  .process-intro {
    flex-direction: row;
  }

  .intro-left {
    width: 40%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 40px;
  }

  .intro-right {
    width: 60%;
    padding-left: 20px;
    display: flex;
    align-items: center;
  }
}

.intro-left h3 {
  margin-top: 0;
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
}

.intro-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.intro-left li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

.laser-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--laser-red);
  margin-right: 12px;
  box-shadow: 0 0 5px var(--laser-red);
}

.intro-right p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin: 0;
  font-size: 16px;
}

/* ZYGZAK ROWS */
.zigzag-row {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 100px;
  align-items: center;
}

@media (min-width: 992px) {
  .zigzag-row {
    flex-direction: row;
    gap: 80px;
  }

  .zigzag-row.reverse {
    flex-direction: row-reverse;
  }

  .zigzag-image {
    width: 55%;
  }

  .zigzag-text {
    width: 45%;
  }
}

.zigzag-image {
  width: 100%;
}

.zigzag-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

.step-badge {
  display: inline-block;
  background: rgba(163, 0, 21, 0.1);
  color: var(--laser-red);
  font-family: 'Play', monospace;
  padding: 6px 12px;
  font-size: 14px;
  letter-spacing: 2px;
  border: 1px solid rgba(163, 0, 21, 0.3);
  margin-bottom: 20px;
}

.zigzag-text h2 {
  font-family: 'Play', sans-serif;
  font-size: 32px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.zigzag-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

/* FAQ SECTION */
.faq-section {
  background: #0a0a0a;
  padding: 80px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-header {
  text-align: center;
  font-family: 'Play', sans-serif;
  color: #fff;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 25px 0;
  color: #fff;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--laser-red);
}

.faq-icon {
  color: var(--laser-red);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  padding-bottom: 25px;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* CTA FINAL */
.cta-final {
  padding: 100px 20px;
  text-align: center;
}

/* =========================================
   12. COOKIE BANNER
========================================= */
.cookie-banner {
  position: fixed;
  bottom: -150px;
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.97);
  border-top: 2px solid var(--laser-red);
  color: var(--text-main);
  padding: 20px;
  z-index: 10000;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.cookie-content p {
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-content a {
  color: var(--laser-red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.cookie-content a:hover {
  color: #ff3333;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* =========================================
   11. PODSTRONA: PROCES
========================================= */
.process-hero {
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #0f0f0f 0%, var(--bg-dark) 80%);
  border-bottom: 1px solid rgba(163, 0, 21, 0.2);
  position: relative;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  font-family: 'Play', sans-serif;
  color: var(--laser-red);
  font-size: 14px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-weight: 700;
}

.hero-title {
  font-family: 'Play', sans-serif;
  color: var(--text-main);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0 0 40px 0;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.laser-indicator {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, var(--laser-red), transparent);
  animation: laserPulse 2s infinite ease-in-out;
}

@keyframes laserPulse {
  0% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(20px); opacity: 1; box-shadow: 0 0 15px var(--laser-red); }
  100% { transform: translateY(0); opacity: 0.3; }
}

.process-timeline-section {
  background-color: var(--bg-dark);
  padding: 120px 20px;
  position: relative;
}

.timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

.timeline-laser-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-laser-glow {
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  height: 0%;
  background: var(--laser-red);
  box-shadow: 0 0 15px var(--laser-red);
  transition: height 0.3s ease-out;
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-laser-line, .timeline-laser-glow {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-node {
  position: relative;
  margin-bottom: 100px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-node.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .timeline-node {
    justify-content: space-between;
  }
  .timeline-node:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.node-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: var(--bg-panel);
  border: 2px solid var(--laser-red);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Play', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  z-index: 3;
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .node-number {
    left: 50%;
    transform: translateX(-50%);
  }
}

.node-content {
  width: calc(100% - 80px);
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 4px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

@media (min-width: 768px) {
  .node-content {
    width: 44%;
  }
}

.timeline-node:hover .node-content {
  border-color: rgba(163, 0, 21, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(163, 0, 21, 0.03);
  transform: translateY(-5px);
}

.timeline-node:hover .node-number {
  box-shadow: 0 0 25px rgba(163, 0, 21, 0.6);
  background-color: var(--laser-red);
}

.node-title {
  font-family: 'Play', sans-serif;
  color: var(--text-main);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
}

.node-specs {
  font-family: monospace;
  color: var(--laser-red);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 25px;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.node-content p {
  font-family: 'Rajdhani', sans-serif;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 17px;
  margin: 0;
}

.process-stats-section {
  background-color: #050505;
  padding: 80px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 15px;
}

.stat-number {
  font-family: 'Play', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--laser-red);
  line-height: 1;
  text-shadow: 0 0 20px rgba(163, 0, 21, 0.4);
}

.stat-unit {
  font-family: 'Play', sans-serif;
  font-size: 32px;
  color: var(--text-main);
  margin-left: 5px;
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.process-software-section {
  background-color: var(--bg-dark);
  padding: 100px 20px;
}

.software-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.software-intro {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 auto 60px auto;
  max-width: 700px;
}

.software-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.software-tag {
  background-color: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 30px;
  font-family: 'Play', sans-serif;
  font-size: 16px;
  color: var(--text-main);
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: default;
}

.software-tag:hover {
  border-color: var(--laser-red);
  background-color: rgba(163, 0, 21, 0.05);
  transform: translateY(-3px);
}

.tag-dot {
  width: 8px;
  height: 8px;
  background-color: var(--laser-red);
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 0 8px var(--laser-red);
}

.process-quality-section {
  background-color: #050505;
  padding: 100px 20px;
}

.quality-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

@media (min-width: 992px) {
  .quality-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.quality-text {
  flex: 1;
  max-width: 500px;
}

.quality-text p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
}

.quality-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quality-list li {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.quality-list li::before {
  content: '>';
  font-family: 'Play', monospace;
  color: var(--laser-red);
  font-weight: 700;
  margin-right: 15px;
}

.quality-visual {
  flex: 1;
  width: 100%;
  height: 350px;
  background-color: var(--bg-panel);
  background-image: linear-gradient(rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.3)), url('https://metal-max.net/wp-content/uploads/2026/05/Metal-Max-Niepolomice-KontrolaJakosci.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(163, 0, 21, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.blueprint-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(163, 0, 21, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 0, 21, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.blueprint-scanline {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background-color: var(--laser-red);
  box-shadow: 0 0 15px 5px rgba(163, 0, 21, 0.5);
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% { top: -10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* NOWE STYLE DLA ZDJĘĆ NA OSI CZASU */
.node-image-wrapper {
  display: none;
}

@media (min-width: 768px) {
  .node-image-wrapper {
    display: block;
    width: 44%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: auto;
    min-height: 250px;
    background-color: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: opacity 0.5s ease, filter 0.5s ease;
  }
}

.node-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* STANY WĘZŁÓW: ACTIVE I COMPLETED */
.timeline-node.active .node-number {
  background-color: var(--laser-red);
  box-shadow: 0 0 25px rgba(163, 0, 21, 0.9);
  color: #fff;
}

.timeline-node.completed .node-number {
  background-color: var(--laser-red);
  box-shadow: none;
  color: #fff;
}

/* DOMYŚLNY STAN ZDJĘCIA (PRZED SCROLLEM) */
.timeline-node .node-image-wrapper {
  opacity: 0.2;
  filter: grayscale(80%) brightness(0.5);
}

/* STAN KIEDY JESTEŚMY NA WYSOKOŚCI ZDJĘCIA */
.timeline-node.active .node-image-wrapper {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* STAN KIEDY MINĘLIŚMY ZDJĘCIE */
.timeline-node.completed .node-image-wrapper {
  opacity: 0.3;
  filter: grayscale(50%) brightness(0.6);
}

.timeline-node:hover .node-image-wrapper {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* =========================================
   SEKCJA 7: FINAŁOWE CTA I BEZPIECZEŃSTWO
========================================= */
.process-cta-section {
  background: radial-gradient(circle at bottom center, rgba(163, 0, 21, 0.15) 0%, var(--bg-dark) 60%);
  padding: 120px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(163, 0, 21, 0.1);
  border: 1px solid rgba(163, 0, 21, 0.3);
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.badge-icon {
  margin-right: 10px;
  font-size: 14px;
}

.badge-text {
  font-family: 'Play', monospace;
  font-size: 12px;
  color: var(--laser-red);
  letter-spacing: 2px;
}

.cta-title {
  font-family: 'Play', sans-serif;
  font-size: 36px;
  color: var(--text-main);
  margin: 0 0 20px 0;
}

.cta-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 40px 0;
}

.cta-final-btn {
  font-family: 'Play', sans-serif;
  padding: 15px 40px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================================
   PODSTRONA: TECHNOLOGIE
========================================= */

/* 1. HERO SEKCJA */
.tech-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #0f0f0f 0%, var(--bg-dark) 80%);
  border-bottom: 1px solid rgba(163, 0, 21, 0.2);
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  font-family: 'Play', sans-serif;
  color: var(--laser-red);
  font-size: 14px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-title {
  font-family: 'Play', sans-serif;
  color: var(--text-main);
  font-size: 42px;
  letter-spacing: 2px;
  margin: 0 0 30px 0;
}

/* 2. MATRYCA TECHNOLOGICZNA (GRID) */
.tech-matrix-section {
  padding: 100px 20px;
}

.matrix-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .matrix-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 3. TERMINAL (KAFELEK) - KONSTRUKCJA */
.tech-terminal {
  position: relative;
  display: block;
  background-color: var(--bg-panel);
  height: 350px;
  padding: 40px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: background-color 0.4s ease;
  z-index: 1; 
}

.laser-border {
  position: absolute;
  background-color: var(--laser-red);
  box-shadow: 0 0 10px var(--laser-red);
  transition: all 0.4s ease-out;
}

.laser-border.top { top: 0; left: 50%; width: 0; height: 2px; transform: translateX(-50%); }
.laser-border.bottom { bottom: 0; left: 50%; width: 0; height: 2px; transform: translateX(-50%); }
.laser-border.left { top: 50%; left: 0; width: 2px; height: 0; transform: translateY(-50%); }
.laser-border.right { top: 50%; right: 0; width: 2px; height: 0; transform: translateY(-50%); }

@media (min-width: 1025px) {
  .tech-terminal:hover .laser-border.top,
  .tech-terminal:hover .laser-border.bottom { width: 100%; }

  .tech-terminal:hover .laser-border.left,
  .tech-terminal:hover .laser-border.right { height: 100%; }

  .tech-terminal:hover {
    background-color: rgba(163, 0, 21, 0.03);
  }
}

/* 4. ZAWARTOŚĆ TERMINALA (ANIMACJE I HOVER DLA DESKTOP) */
.terminal-default {
  position: absolute;
  top: 40px; left: 40px; right: 40px; bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.terminal-number {
  font-family: 'Play', monospace;
  font-size: 24px;
  color: var(--laser-red);
  font-weight: 700;
}

.terminal-title {
  font-family: 'Play', sans-serif;
  font-size: 28px;
  color: var(--text-main);
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.terminal-hover-content {
  position: absolute;
  top: 40px; left: 40px; right: 40px; bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.terminal-hover-content p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.terminal-btn {
  font-family: 'Play', monospace;
  font-size: 14px;
  color: var(--laser-red);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  transition: text-shadow 0.3s;
}

@media (min-width: 1025px) {
  .tech-terminal:hover .terminal-default {
    opacity: 0;
    transform: translateY(-20px);
  }

  .tech-terminal:hover .terminal-hover-content {
    opacity: 1;
    transform: translateY(0);
  }

  .tech-terminal:hover .terminal-btn {
    text-shadow: 0 0 10px rgba(163, 0, 21, 0.5);
  }
}

/* FIX: WIDOCZNOŚĆ NA MOBILKACH (Brak hovera na dotyku) */
@media (max-width: 1024px) {
  .tech-terminal {
    height: auto;
    min-height: 320px;
    padding: 30px 20px;
  }
  .terminal-default {
    position: relative;
    top: 0; left: 0; right: 0; bottom: 0;
    margin-bottom: 20px;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .terminal-title {
    font-size: 22px;
  }
  .terminal-hover-content {
    position: relative;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 1;
    transform: none;
    height: auto;
  }
}

/* 5. ZDJĘCIA W TLE KAFELKÓW */
.tech-terminal::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  filter: brightness(0.85);
  z-index: -1;
  transition: all 0.5s ease;
}

@media (min-width: 1025px) {
  .tech-terminal:hover::before {
    opacity: 0.35;
    filter: brightness(0.6);
    transform: scale(1.05);
  }
}

#tech-laser::before { background-image: url('https://metal-max.net/wp-content/uploads/2026/05/Metal-Max-Ciecie-Laserowe-kafelek-01.png'); }
#tech-bending::before { background-image: url('https://metal-max.net/wp-content/uploads/2026/05/Metal-Max-Giecie-kafelek-02.png'); }
#tech-welding::before { background-image: url('https://metal-max.net/wp-content/uploads/2026/05/Metal-Max-Spawanie-kafelek-03.png'); }
#tech-turning::before { background-image: url('https://metal-max.net/wp-content/uploads/2026/05/Toczenie-Metal-Max.jpg'); }
#tech-milling::before { background-image: url('https://metal-max.net/wp-content/uploads/2026/05/Frezowanie-Metal-max.jpg'); }
#tech-finishing::before { background-image: url('https://metal-max.net/wp-content/uploads/2026/05/Metal-Max-Wykanczanie-kafelek-05.png'); }

/* 6. SEKCJA CTA (GOTOWOŚĆ OPERACYJNA) */
.tech-cta-section {
  background-color: #050505;
  padding: 100px 20px;
  text-align: center;
  border-top: 1px solid rgba(163, 0, 21, 0.2);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-panel);
  border-radius: 4px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--laser-red);
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 0 10px var(--laser-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(163, 0, 21, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(163, 0, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(163, 0, 21, 0); }
}

.status-text {
  font-family: 'Play', monospace;
  font-size: 13px;
  color: var(--text-main);
  letter-spacing: 2px;
}

/* =========================================
   PODSTRONA: CIĘCIE LASEROWE
========================================= */
.text-center { text-align: center; }
.red-line { height: 3px; width: 60px; background-color: var(--laser-red); margin: 20px 0 30px 0; }
.center-line { margin: 20px auto 40px auto; }

/* 1. HERO PODSTRONY */
.subpage-hero {
  padding-top: 140px; /* Dodane dla uniknięcia nakładania na menu */
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(163, 0, 21, 0.3);
  position: relative;
  text-align: center;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(3, 3, 3, 0.85);
}

.subpage-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.subpage-hero .hero-title {
  font-family: 'Play', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--text-main);
  letter-spacing: 4px;
  margin: 0 0 20px 0;
}

.subpage-hero .hero-description {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 2. SEKCJE TREŚCIOWE */
.tech-detail-section {
  padding: 100px 0;
}

.dark-panel {
  background-color: var(--bg-panel);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-family: 'Play', sans-serif;
  font-size: 36px;
  color: var(--text-main);
  letter-spacing: 2px;
  margin: 0;
}

/* Układ Precyzji (0.01) */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 768px) {
  .two-column-layout { grid-template-columns: 1fr 1fr; }
}

.highlight-box {
  text-align: center;
  padding: 40px;
  border: 1px solid rgba(163, 0, 21, 0.2);
  background: rgba(163, 0, 21, 0.05);
  border-radius: 4px;
}

.massive-number {
  font-family: 'Play', sans-serif;
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 700;
  color: var(--laser-red);
  line-height: 1;
  text-shadow: 0 0 30px rgba(163, 0, 21, 0.3);
}

.number-label {
  font-family: 'Play', sans-serif;
  font-size: 24px;
  color: var(--text-main);
  letter-spacing: 4px;
  margin-top: 10px;
}

.text-content p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 3. TABELA PARAMETRÓW */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.metal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.metal-table th, .metal-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metal-table th {
  background-color: #050505;
  color: var(--laser-red);
  font-family: 'Play', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--laser-red);
}

.metal-table td {
  font-size: 18px;
  color: var(--text-main);
}

.metal-table tbody tr:hover {
  background-color: rgba(163, 0, 21, 0.05);
}

/* 4. SZEŚCIANY MATERIAŁOWE */
.material-cubes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 50px;
}

@media (min-width: 768px) {
  .material-cubes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .material-cubes-grid { grid-template-columns: repeat(4, 1fr); }
}

.material-cube-card {
  text-align: center;
}

.cube-image-wrapper {
  width: 100%;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 25px;
  overflow: hidden;
  background-color: #000;
  transition: border-color 0.4s ease;
}

.material-cube-card:hover .cube-image-wrapper {
  border-color: var(--laser-red);
}

.cube-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.material-cube-card:hover .cube-image-wrapper img {
  transform: scale(1.05);
  opacity: 1;
}

.cube-title {
  font-family: 'Play', sans-serif;
  font-size: 22px;
  color: var(--text-main);
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.cube-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 5. CECHY I IKONY */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
  background: var(--bg-panel);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 0, 21, 0.3);
}

.feature-icon {
  font-size: 40px;
  color: var(--laser-red);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(163, 0, 21, 0.4);
}

.feature-item h3 {
  font-family: 'Play', sans-serif;
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}
/* =========================================
   PODSTRONA GIECIE CNC
========================================= */
.bending-hero {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(3, 3, 3, 0.75) 0%, var(--bg-dark) 95%),
              url('/wp-content/uploads/2026/05/Metal-Max-Giecie-kafelek-02.png');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(163, 0, 21, 0.3);
  position: relative;
  text-align: center;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-panel);
  border-radius: 4px;
}

.pulse-dot {
  width: 10px; height: 10px;
  background-color: var(--laser-red);
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 0 10px var(--laser-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(163, 0, 21, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(163, 0, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(163, 0, 21, 0); }
}

.status-text {
  font-family: 'Play', monospace;
  font-size: 13px;
  color: var(--text-main);
  letter-spacing: 2px;
}
