/*
Theme Name: KMT INFO
Theme URI: https://kmtinfo.eu
Author: KMT INFO
Description: Motyw firmowy KMT INFO – nowoczesne usługi IT
Version: 1.0.2
License: GNU General Public License v2 or later
Text Domain: kmtinfo
*/

:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --accent: #fb923c;
  --dark: #0f172a;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;

  /* Spacing scale (8px base) */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-2xl: 60px;
  --spacing-3xl: 80px;
  --spacing-4xl: 140px;
  --spacing-5xl: 160px;
  --spacing-6xl: 200px;
  --spacing-7xl: 240px;

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 15px 30px rgba(249,115,22,0.4);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.12);
  --shadow-primary: 0 15px 35px rgba(249,115,22,0.35);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1200px; margin: auto; padding: 0 24px; }

/* ── HEADER ── */
header {
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

header.has-shadow {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  grid-template-rows: auto auto;
  padding: 16px 0;
  gap: 24px;
  position: relative;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}

.logo img {
  height: 45px;
  background: transparent !important;
  display: block;
  width: auto;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}

.custom-logo {
  height: 45px;
  width: auto;
}

#primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  grid-column: 2;
  grid-row: 1 / 3;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  padding: 6px 8px;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .3s;
}

nav a:hover::after,
nav a.current-menu-item::after { width: 50%; }

.btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  transition: .3s;
  display: inline-block;
  box-shadow: var(--shadow-primary);
  grid-column: 5;
  grid-row: 1 / 3;
  align-self: center;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  color: #fff;
}

/* ── CONTACT INFO ── */
.contact-info {
  display: contents;
}

.contact-phone {
  grid-column: 3;
  grid-row: 1;
}

.contact-email {
  grid-column: 3;
  grid-row: 2;
}

.contact-phone,
.contact-email {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  transition: .3s;
  white-space: nowrap;
}


.contact-phone:hover,
.contact-email:hover {
  color: var(--primary);
}

.contact-phone svg,
.contact-email svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ── DROPDOWN ── */
.nav-dropdown { position: relative; }

.dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 8px;
  white-space: nowrap;
  position: relative;
}

.dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .3s;
}

.nav-dropdown:hover .dropdown-trigger::after,
.dropdown-trigger.current-menu-item::after { width: 50%; }

.dropdown-trigger svg { transition: transform 0.2s; flex-shrink: 0; }
.nav-dropdown.open .dropdown-trigger svg { transform: rotate(180deg); }

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  min-width: 210px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1px solid #e2e8f0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 200;
}

.nav-dropdown:hover .sub-menu,
.nav-dropdown.open .sub-menu { opacity: 1; visibility: visible; }

.sub-menu a {
  display: block;
  padding: 9px 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  transition: .2s;
}

.sub-menu a:hover { background: var(--bg); color: var(--primary); }
.sub-menu a::after { display: none; }

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover { color: var(--primary-dark); background: #f1f5f9; }

/* ── HERO ── */
.hero {
  padding: var(--spacing-7xl) 0 var(--spacing-6xl);
  background:
    linear-gradient(rgba(10,20,42,0.72), rgba(10,20,42,0.68)),
    url(assets/img/hero-bg.png) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 720px;
  text-align: left;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 20px;
}

.hero h1 {
  font-size: var(--hero-title-size, 58px);
  font-weight: var(--hero-title-weight, 800);
  line-height: 1.08;
  color: #ffffff;
  margin: 0;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-top: 28px;
  color: rgba(255,255,255,0.78);
  font-size: var(--hero-subtitle-size, 18px);
  font-weight: var(--hero-subtitle-weight, 400);
  line-height: 1.65;
  max-width: 580px;
}

.hero .buttons { margin-top: 48px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: .3s;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}

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

.btn-hero-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: .3s;
  display: inline-block;
  backdrop-filter: blur(4px);
}

.btn-hero-dark:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-2px);
}

/* ── SEKCJE ── */
.section { padding: var(--spacing-4xl) 0; }
.section--tight { padding: 42px 0; }

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 80px;
}

/* ── GRID + KARTY ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
/* ── TABLET BREAKPOINT (1024px and below) ── */
@media (max-width: 1024px) {
  .nav-wrapper {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  #primary-nav {
    grid-column: 2;
    grid-template-columns: repeat(2, auto);
    gap: 16px;
  }
  .nav-wrapper > .contact-info {
    display: none;
  }
  .grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── MOBILE BREAKPOINT (768px and below) ── */
@media (max-width: 768px) {
  .grid--4col {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  padding: 50px;
  border-radius: 22px;
  border: 1px solid #e2e8f0;
  transition: .4s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

.icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  transition: .4s;
}

.card:hover .icon { transform: rotate(8deg) scale(1.1); }
.icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 15px; font-size: 22px; }
.card p { color: var(--muted); }

/* ── PORTFOLIO ── */
.portfolio { padding: var(--spacing-4xl) 0; background: #ffffff; }

.portfolio-item {
  background: var(--card);
  padding: 45px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: .4s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-item:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.portfolio-thumb-img { width: 100%; border-radius: 12px; margin-bottom: 20px; display: block; }
.portfolio-item h4 { margin-bottom: 12px; font-size: 20px; font-weight: 700; }
.portfolio-item p { color: var(--muted); }

.portfolio-item .portfolio-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-tag {
  background: #fff7ed;
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ── STATS ── */
.stats {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: var(--spacing-5xl) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  left: -300px;
  bottom: -300px;
  opacity: 0.08;
}

.stats .section-title { color: #fff; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.stat h3 { font-size: 56px; color: var(--primary); font-weight: 900; }
.stat p { color: #94a3b8; margin-top: 8px; font-size: 16px; }

/* ── O NAS ── */
#o-nas {
  padding: 40px 0;
}

#o-nas .section-title {
  margin-bottom: 15px;
}

.about-content {
  text-align: center;
  max-width: 900px;
  margin: auto;
  font-size: 18px;
  color: var(--muted);
}

.about-content .intro-line {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .about-content .intro-line {
    white-space: normal;
  }
}

.about-content p {
  margin-bottom: 10px;
}

/* ── FAQ ── */
#faq {
  padding: 40px 0;
}
.faq-list { max-width: 800px; margin: auto; }

.faq-item {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 40px;
  margin-bottom: 20px;
  transition: .3s;
}

.faq-item:hover { border-color: var(--primary); }
.faq-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { color: var(--muted); }

/* ── KONTAKT ── */
section#kontakt {
  padding: 40px 0;
}

#kontakt .section-title {
  margin-bottom: 30px;
}
.contact-wrapper {
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.contact-info {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover { color: var(--primary-dark); }

.contact-address {
  white-space: pre-line;
  margin: -10px 0 20px 0;
}

.contact-btn {
  margin-top: 30px;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 50px 0;
  font-size: 14px;
  color: #94a3b8;
}

/* ── STRONA POJEDYNCZEJ USŁUGI / REALIZACJI ── */
.single-hero {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, #ffffff, #eef2f7);
  text-align: center;
}

.single-hero h1 { font-size: 48px; font-weight: 900; max-width: 800px; margin: auto; }
.single-hero p { color: var(--muted); font-size: 20px; margin-top: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }

.single-content {
  max-width: 900px;
  margin: 20px auto 80px;
  padding: 0 24px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}

.page-id-9 .single-content {
  padding-top: 100px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 40px;
  font-size: 15px;
}

.back-link:hover { color: var(--primary-dark); }

.single-hero-icon {
  margin: 0 auto 30px;
  width: 80px;
  height: 80px;
  border-radius: 20px;
}

.single-cta {
  margin-top: 60px;
  text-align: center;
}

.single-cta p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ── MOBILE ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .section-title { font-size: 30px; }
  #primary-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; }
  #primary-nav.open { display: flex; position: absolute; top: 85px; left: 0; width: 100%; background: #fff; padding: 20px 24px; border-bottom: 1px solid #e2e8f0; }
  #primary-nav.open a.nav-link { padding: 12px 0; text-align: left; display: block; }
  .nav-wrapper > .contact-info { display: none; }
  .hamburger { display: block; }
  .sub-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; opacity: 1; visibility: visible; display: none; }
  .nav-dropdown.open .sub-menu { display: block; }
  .dropdown-trigger { width: 100%; justify-content: space-between; padding: 12px 0; text-align: left; }
  .stat h3 { font-size: 40px; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero .buttons { flex-direction: column; gap: 12px; }
  .btn-hero-primary, .btn-hero-dark { text-align: center; }
  #kontakt .contact-info { font-size: 15px; }
  #kontakt .contact-info a { white-space: nowrap; }
}

/* ═══════════════════════════════════════════════════════════════════════
   TEMPLATE: POMIARY SIECI LAN
   ═══════════════════════════════════════════════════════════════════════ */

/* ── section-title z kreską akcentową ── */
.section-title.has-accent-line { margin-bottom: 20px; }
.section-title.has-accent-line::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 64px;
  border-radius: 2px;
}

/* ── 1. HERO ── */
.usluga-hero {
  background: #f8fafc;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.usluga-hero::before { display: none; }

.usluga-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.usluga-hero-content h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.08;
  margin-bottom: 20px;
}

.usluga-hero-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 480px;
}

.usluga-hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.usluga-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: var(--primary);
}

.usluga-badge svg {
  width: 44px;
  height: 44px;
  stroke: var(--primary);
  stroke-width: 1.5;
}

.usluga-badge span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.usluga-hero-image { display: flex; justify-content: center; align-items: center; }

.usluga-hero-img {
  width: 100%;
  max-width: 560px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

/* ── 2. CO OFERUJEMY ── */
.offers-section { background: #fff; }

.offers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.offers-grid--4 { grid-template-columns: repeat(4, 1fr); }
.offers-grid--2 { grid-template-columns: repeat(2, 1fr); }

.offers-grid .card {
  padding: 28px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offers-grid .card .icon {
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--primary);
  margin-bottom: 16px;
}

.offers-grid .card .icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke-width: 1.5;
}

.offers-grid .card h3 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.offers-grid .card p {
  font-size: 12px;
  line-height: 1.5;
}

.offers-grid .card:hover .icon { transform: none; }

/* ── 3. ZAKRES POMIARÓW ── */
.zakres-section { background: var(--bg); }

.zakres-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.zakres-list-col h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
}

.zakres-divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 32px;
}

.zakres-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zakres-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.zakres-list li i,
.zakres-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  stroke: var(--primary);
}

/* right col – relative wrapper so photo can overlap card */
.zakres-device-wrap {
  position: relative;
}

.zakres-photo {
  position: absolute;
  left: -240px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 240px;
}

.zakres-photo img {
  width: 100%;
  height: auto;
}

.zakres-device-card {
  background: var(--dark);
  border-radius: 22px;
  padding: 40px 36px 40px 110px;
  color: #fff;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zakres-device-label {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.zakres-device-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.zakres-device-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.zakres-device-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.zakres-device-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.zakres-device-feature i,
.zakres-device-feature svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--primary);
  stroke: var(--primary);
  margin-top: 2px;
}

.zakres-device-feature span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* ── 4. KIEDY WARTO ── */
.kiedy-section { background: #fff; }

.kiedy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.kiedy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.kiedy-icon {
  width: 68px;
  height: 68px;
  border: 2px solid rgba(249, 115, 22, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
}

.kiedy-icon:hover { border-color: var(--primary); background: rgba(249,115,22,0.06); }

.kiedy-icon i {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

.kiedy-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

/* ── 5. WSPÓŁPRACA ── */
.wspolpraca-section { background: var(--bg); }

.wspolpraca-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.wspolpraca-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 180px;
  padding: 0 8px;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.step-icon-wrap {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.step-icon-wrap i {
  width: 40px;
  height: 40px;
  stroke: var(--text);
  stroke-width: 1.5;
}

.step-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.wspolpraca-arrow {
  align-self: flex-start;
  margin-top: 20px;
  color: var(--muted);
  font-size: 22px;
  flex-shrink: 0;
  padding: 0 4px;
}

/* ── 6. CTA ── */
.usluga-cta {
  background: var(--dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.usluga-cta::before {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  opacity: 0.07;
}

.usluga-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.usluga-cta-content {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.usluga-cta-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(249, 115, 22, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usluga-cta-icon i {
  width: 34px;
  height: 34px;
  stroke: var(--primary);
}

.usluga-cta-text h2 {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.usluga-cta-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.usluga-cta-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.3s, background 0.3s;
  white-space: nowrap;
}

.btn-outline-white:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-white svg { flex-shrink: 0; }

/* ── RESPONSIVE – POMIARY ── */
@media (max-width: 1100px) {
  .zakres-photo { left: -100px; width: 240px; }
  .zakres-device-card { padding-left: 120px; }
}

@media (max-width: 900px) {
  .offers-grid           { grid-template-columns: repeat(3, 1fr); }
  .offers-grid--4        { grid-template-columns: repeat(2, 1fr); }
  .kiedy-grid            { grid-template-columns: repeat(3, 1fr); }

  .zakres-inner { grid-template-columns: 1fr; gap: 40px; }
  .zakres-device-wrap { margin-top: 0; }
  .zakres-photo {
    position: static;
    transform: none;
    width: 260px;
    margin: 0 auto 24px;
    display: block;
  }
  .zakres-device-card { padding: 36px; min-height: auto; }

  .wspolpraca-steps { flex-wrap: wrap; gap: 24px; }
  .wspolpraca-arrow { display: none; }
  .wspolpraca-step  { max-width: 140px; }
}

@media (max-width: 768px) {
  .usluga-hero { padding: 130px 0 60px; }
  .usluga-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .usluga-hero-image { order: -1; }
  .usluga-hero-content h1 { font-size: 36px; }
  .usluga-hero-desc { font-size: 16px; margin-bottom: 28px; }
  .usluga-hero-badges { grid-template-columns: repeat(2, 1fr); }

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

  .usluga-cta-inner   { flex-direction: column; text-align: center; }
  .usluga-cta-content { flex-direction: column; text-align: center; }
  .usluga-cta-buttons { flex-direction: column; width: 100%; }
  .btn-outline-white  { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SIECI LAN – DLACZEGO WARTO
   ══════════════════════════════════════════════════════════════════════════ */

.dlaczego-section { background: var(--bg); }

.dlaczego-inner {
  display: grid;
  grid-template-columns: 1fr 360px 300px;
  gap: 0;
  align-items: stretch;
}

.dlaczego-why {
  padding: 60px 48px 60px 0;
}

.dlaczego-why h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  text-align: left;
}

.dlaczego-photo {
  overflow: hidden;
  border-radius: 14px 0 0 14px;
}

.dlaczego-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dlaczego-uses {
  background: var(--dark);
  color: #fff;
  border-radius: 0 14px 14px 0;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dlaczego-uses h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--primary);
}

.dlaczego-uses ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dlaczego-uses li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dlaczego-uses li:last-child { border-bottom: none; }

@media (max-width: 1100px) {
  .dlaczego-inner { grid-template-columns: 1fr 300px 260px; }
}

@media (max-width: 900px) {
  .dlaczego-inner { grid-template-columns: 1fr; gap: 0; }
  .dlaczego-why { padding: 48px 0 40px; }
  .dlaczego-photo { border-radius: 14px; height: 280px; }
  .dlaczego-uses { border-radius: 14px; margin-top: 0; }
}

@media (max-width: 768px) {
  .dlaczego-why h2 { font-size: 30px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SIECI LAN – CCTV CROSS-PROMO
   ══════════════════════════════════════════════════════════════════════════ */

.lan-promo {
  background: var(--bg);
  overflow: hidden;
}

.lan-promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  align-items: center;
}

.lan-promo-content {
  padding: 60px 60px 60px 0;
}

.lan-promo-content h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  text-align: left;
}

.lan-promo-content h2::after { display: none; }

.lan-promo-content > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 24px;
}

.lan-promo-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.lan-promo-badges div {
  background: #fff;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.lan-promo-image {
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.lan-promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .lan-promo-inner { grid-template-columns: 1fr; }
  .lan-promo-content { padding: 48px 0 36px; }
  .lan-promo-image {
    clip-path: none;
    border-radius: 14px;
    min-height: 280px;
    margin-bottom: 0;
    order: -1;
  }
}

@media (max-width: 768px) {
  .lan-promo-content h2 { font-size: 30px; }
  .lan-promo-badges { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   WYNAJEM MIERNIKÓW
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Hero list ── */
.mierniki-hero-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--dark);
}

.mierniki-hero-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mierniki-hero-list li:last-child { border-bottom: none; }

.mierniki-hero-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
}

.mierniki-hero-list li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 13px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

/* ── Equipment section ── */
.mierniki-equipment { background: #fff; padding: 60px 0 80px; }

.mierniki-head-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 16px;
  margin-bottom: 16px;
}

.mierniki-title-card {
  background: var(--card);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mierniki-title-card h3 {
  font-size: 38px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.1;
}

.mierniki-title-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.mierniki-bullet-card {
  padding: 20px 24px;
}

.mierniki-bullet-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mierniki-bullet-card li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mierniki-bullet-card li:last-child { border-bottom: none; }

.mierniki-bullet-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
}

.mierniki-bullet-card li::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 15px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}

/* ── Three cols ── */
.mierniki-three-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.mierniki-spec-card {
  background: var(--dark);
  color: #fff;
  border-radius: 12px;
  padding: 24px 22px;
}

.mierniki-spec-card h4,
.mierniki-info-card h4 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 4px;
  line-height: 1.2;
}

.mierniki-spec-card h4 {
  color: #fff;
}

.mierniki-spec-card h4::after,
.mierniki-info-card h4::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--primary);
  margin: 10px 0 16px;
  border-radius: 2px;
}

.mierniki-spec-card h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mierniki-spec-card ul {
  list-style: disc;
  padding-left: 16px;
  margin: 0;
}

.mierniki-spec-card li {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.8);
  margin: 5px 0;
}

.mierniki-info-card {
  padding: 24px 22px;
}

.mierniki-info-card h4 { color: var(--text); }

.mierniki-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mierniki-info-card li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mierniki-info-card li:last-child { border-bottom: none; }

.mierniki-info-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
}

.mierniki-info-card li::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 14px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .mierniki-head-grid  { grid-template-columns: 1fr; }
  .mierniki-three-cols { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mierniki-title-card h3 { font-size: 22px; }
}

/* ── KONTAKT PAGE ── */
.page-id-51 .single-hero { padding-bottom: 16px; }
.page-id-51 .section { padding-top: 24px; }
.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.contact-page-card {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}
.contact-page-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-page-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.contact-page-card p {
  color: var(--muted);
  line-height: 1.8;
}
.contact-page-card a {
  color: var(--primary);
  text-decoration: none;
}
.contact-page-card a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGE: O FIRMIE
   ═══════════════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.about-hero {
  padding: 160px 0 80px;
  background: linear-gradient(150deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.about-hero-inner { position: relative; }

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.35);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-hero-badge svg { width: 16px; height: 16px; }

.about-hero h1 {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 24px;
}

.about-hero p {
  font-size: 20px;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── LEAD ── */
.about-lead {
  padding: 72px 0 48px;
  background: var(--bg);
}

.about-lead-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}

/* ── SERVICES ── */
.about-services { background: #fff; }

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.about-service-card {
  background: var(--bg);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px 40px;
  transition: .35s;
}

.about-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.about-service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.about-service-card p { color: var(--muted); line-height: 1.75; }

/* ── DIFFERENTIATORS ── */
.about-diff { background: var(--bg); }

.about-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.about-diff-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  transition: .3s;
}

.about-diff-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.about-diff-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(249,115,22,0.3);
}

.about-diff-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
  stroke: #fff;
}

.about-diff-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.about-diff-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── MISSION ── */
.about-mission {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
}

.about-mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(249,115,22,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.about-mission-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-mission-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-primary);
}

.about-mission-icon svg { width: 28px; height: 28px; color: #fff; stroke: #fff; }

.about-mission h2 {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
}

.about-mission p {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.8;
}

/* ── CTA ── */
.about-cta {
  padding: var(--spacing-3xl) 0;
  background: var(--bg);
  border-top: 1px solid #e2e8f0;
}

.about-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-cta h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
}

.about-cta p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-services-grid { grid-template-columns: 1fr; }
  .about-diff-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-hero h1 { font-size: 36px; }
  .about-hero p { font-size: 17px; }
  .about-mission h2 { font-size: 28px; }
  .about-cta h2 { font-size: 26px; }
  .about-service-card { padding: 28px 24px; }
  .about-diff-item { padding: 24px 20px; }
}
