/* ========================================
   METROSERWIS — Main Stylesheet v1.8
   ======================================== */

/* ========================================
   VARIABLES & RESET
   ======================================== */

:root {
  --navy:      #003467;
  --navy-dark: #00243f;
  --navy-deep: #001a2e;
  --blue-link: #0066cc;
  --bg:        #f4f5f7;
  --white:     #ffffff;
  --gray-50:   #f8f9fa;
  --gray-100:  #edf0f3;
  --gray-200:  #d8dde3;
  --gray-300:  #bcc3cd;
  --gray-400:  #9ca3af;
  --gray-500:  #6c757d;
  --gray-600:  #4a5568;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;
  --font: 'IBM Plex Sans', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { transition: all 0.15s ease; }
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 48px; }
* { min-width: 0; }

/* ========================================
   TOPBAR
   ======================================== */

.topbar { background: var(--navy-deep); height: 38px; display: flex; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.75); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.topbar-left { display: flex; gap: 24px; }
.topbar-left a, .topbar-left span { color: rgba(255,255,255,0.75); text-decoration: none; display: flex; align-items: center; gap: 6px; font-size: 0.76rem; }
.topbar-left a:hover { color: white; }
.topbar-left svg { width: 12px; height: 12px; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 1.8; }
.topbar-right { font-size: 0.72rem; color: rgba(255,255,255,0.45); letter-spacing: 0.02em; }

/* ========================================
   LOGO BAR
   ======================================== */

.logo-bar { background: var(--white); padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.logo-bar .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 48px; width: auto; }
.logo-bar-certs { display: flex; align-items: center; gap: 16px; margin-left: auto; margin-right: 40px; }
.cert-item { display: flex; align-items: center; text-decoration: none; transition: opacity 0.15s ease; }
.cert-item:hover { opacity: 0.8; }
.cert-img { height: 56px; width: auto; }
.cert-separator { width: 1px; height: 40px; background: var(--gray-200); }
.logo-bar-phone { display: flex; align-items: center; gap: 14px; }
.phone-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: rgba(0,52,103,0.07); border-radius: 50%; border: none; text-decoration: none; transition: background 0.15s ease; }
.phone-icon:hover { background: rgba(0,52,103,0.12); }
.phone-icon svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 1.8; }
.phone-text { display: flex; flex-direction: column; }
.phone-label { font-size: 0.68rem; font-weight: 500; color: var(--gray-500); }
.phone-number { font-size: 1.05rem; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.phone-number:hover { color: var(--navy-dark); }

/* ========================================
   NAV — DESKTOP
   ======================================== */

.nav { background: var(--white); height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; }
.nav-logo-mobile { display: none; }
.nav-right-mobile { display: none; }
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-menu { display: flex; gap: 0; list-style: none; align-items: center; height: 52px; width: 100%; }
.nav-menu li { height: 100%; display: flex; align-items: center; }
.nav-menu a { display: flex; align-items: center; height: 100%; padding: 0 20px; color: var(--gray-800); text-decoration: none; font-size: 0.88rem; font-weight: 600; transition: all 0.15s ease; }
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a { color: var(--navy); background: rgba(0,52,103,0.07); }
li.nav-cta { height: auto !important; align-self: center; }
li.nav-cta > a { height: 36px !important; padding: 0 20px !important; background: transparent !important; color: var(--navy) !important; font-weight: 600 !important; font-size: 0.84rem !important; border: 1px solid var(--gray-200) !important; }
li.nav-cta > a:hover { background: var(--navy) !important; color: white !important; border-color: var(--navy) !important; }

/* Nav right — lżejsze linki po prawej (dodaj klasę "nav-right" na KAŻDYM elemencie który ma być po prawej) */
li.nav-right { margin-left: auto; }
li.nav-right ~ li.nav-right { margin-left: 0; }
li.nav-right > a { font-weight: 400 !important; color: var(--gray-500) !important; font-size: 0.84rem !important; padding: 0 14px !important; }
li.nav-right > a:hover { color: var(--navy) !important; background: rgba(0,52,103,0.07); }

/* DROPDOWN */
.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .sub-menu {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 320px; background: var(--white);
  border: 1px solid var(--gray-200); border-top: 2px solid var(--navy);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.04);
  list-style: none; padding: 0; z-index: 200;
  animation: dropIn 0.15s ease;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.nav-menu .menu-item-has-children:hover > .sub-menu { display: block; }
.nav-menu .sub-menu li { height: auto; display: block; }
.nav-menu .sub-menu a {
  display: flex; align-items: center; height: auto; padding: 14px 24px;
  font-size: 0.86rem; font-weight: 500; color: var(--gray-700);
  background: none; border-left: 3px solid transparent; border-bottom: 1px solid var(--gray-100); transition: all 0.12s ease;
}
.nav-menu .sub-menu li:last-child > a { border-bottom: none; }
.nav-menu .sub-menu a:hover { background: var(--bg); color: var(--navy); border-left-color: var(--navy); }
.nav-menu .sub-menu .current-menu-item > a { color: var(--navy); background: var(--bg); font-weight: 600; border-left-color: var(--navy); }
.nav-menu .sub-menu .sub-menu { top: -2px; left: 100%; }
/* Multi-column submenu — applied via JS when 8+ items */
.nav-menu .sub-menu .sub-menu.menu-cols-2 {
  min-width: 520px; columns: 2; column-gap: 0; column-rule: 1px solid var(--gray-100);
}
.nav-menu .sub-menu .sub-menu.menu-cols-3 {
  min-width: 720px; columns: 3; column-gap: 0; column-rule: 1px solid var(--gray-100);
}
.nav-menu .sub-menu .sub-menu.menu-cols-2 li,
.nav-menu .sub-menu .sub-menu.menu-cols-3 li { break-inside: avoid; }
.nav-menu .sub-menu .menu-item-has-children:hover > .sub-menu { display: block; }

/* Desktop chevrons */
.nav-menu > .menu-item-has-children > a::after {
  content: ''; display: inline-block; width: 7px; height: 7px;
  border-right: 1.5px solid var(--gray-400); border-bottom: 1.5px solid var(--gray-400);
  transform: rotate(45deg); margin-left: 7px; margin-bottom: 3px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.nav-menu > .menu-item-has-children:hover > a::after { transform: rotate(-135deg); margin-bottom: -2px; border-color: var(--navy); }
.nav-menu .sub-menu .menu-item-has-children > a { justify-content: space-between; }
.nav-menu .sub-menu .menu-item-has-children > a::after {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-right: 1.5px solid var(--gray-400); border-bottom: 1.5px solid var(--gray-400);
  transform: rotate(-45deg); margin-left: auto; margin-right: 2px;
  flex-shrink: 0; transition: border-color 0.15s ease;
}
.nav-menu .sub-menu .menu-item-has-children:hover > a::after { border-color: var(--navy); }

/* HAMBURGER */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; z-index: 200; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-900); transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 90; }
.mobile-overlay.active { display: block; }

/* ========================================
   BUTTONS
   ======================================== */

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--font); font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: all 0.15s ease; cursor: pointer; border: none; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-outline-w { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-w:hover { border-color: white; background: rgba(255,255,255,0.05); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--navy); }
.link-blue { font-size: 0.84rem; font-weight: 600; color: var(--blue-link); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s ease; }
.link-blue:hover { gap: 8px; }

/* ========================================
   SECTIONS
   ======================================== */

.section { padding: 120px 0; }
.section-bg { background: var(--bg); }
.section-head { margin-bottom: 56px; }
.section-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 14px; }
.section-title { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; color: var(--gray-900); margin-bottom: 14px; }
.section-desc { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; max-width: 580px; }

/* ========================================
   HERO — HOMEPAGE v2
   ======================================== */

.hero { position: relative; background: var(--navy); min-height: 85vh; display: flex; align-items: center; overflow: visible; padding-bottom: 100px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.15; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,20,46,0.85) 0%, rgba(0,20,46,0.7) 40%, rgba(0,20,46,0.5) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 640px; padding: 80px 0; }
.hero h1 { font-size: 3.4rem; font-weight: 700; line-height: 1.08; color: white; letter-spacing: -0.035em; margin-bottom: 8px; }
.hero h1 span { font-weight: 300; color: rgba(255,255,255,0.7); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.5); margin-bottom: 40px; font-weight: 400; letter-spacing: 0.04em; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 48px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 2rem; font-weight: 700; color: white; line-height: 1; letter-spacing: -0.04em; }
.hero-stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.35); margin-top: 6px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; }

/* Hero split: content left, certs right */
.hero-split { display: flex; align-items: center; gap: 64px; }
.hero-split .hero-content { flex: 1; }
.hero-certs-panel { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-cert-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid rgba(255,255,255,0.1); border-left: 3px solid #c9a84c; text-decoration: none; transition: all 0.2s ease; }
.hero-cert-card:hover { border-color: rgba(255,255,255,0.3); border-left-color: #d4b35a; background: rgba(255,255,255,0.04); }
.hero-cert-card-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(201,168,76,0.1); flex-shrink: 0; }
.hero-cert-card-icon img { max-width: 28px; max-height: 28px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.6; }
.hero-cert-card:hover .hero-cert-card-icon img { opacity: 0.9; }
.hero-cert-card-icon svg { width: 18px; height: 18px; stroke: #c9a84c; fill: none; stroke-width: 1.5; }
.hero-cert-card:hover .hero-cert-card-icon svg { stroke: #d4b35a; }
.hero-cert-card-text { display: flex; flex-direction: column; }
.hero-cert-card-name { font-size: 0.78rem; font-weight: 700; color: #fff; line-height: 1.2; }
.hero-cert-card-desc { font-size: 0.66rem; color: rgba(255,255,255,0.5); margin-top: 2px; line-height: 1.3; }

/* HERO CARDS — overlapping */
.hero-cards { position: relative; z-index: 3; margin-top: -80px; }
.hero-cards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.hero-card { background: var(--white); padding: 32px 24px 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; text-align: center; transition: background 0.15s ease; position: relative; }
.hero-card:hover { background: var(--gray-50); }
.hero-card-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--bg); margin-bottom: 16px; }
.hero-card-icon svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.hero-card-title { font-size: 0.88rem; font-weight: 600; color: var(--gray-900); margin-bottom: auto; line-height: 1.35; }
.hero-card-arrow { margin-top: 16px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-200); transition: all 0.15s ease; align-self: flex-end; }
.hero-card:hover .hero-card-arrow { border-color: var(--navy); background: rgba(0,52,103,0.06); }
.hero-card-arrow svg { width: 14px; height: 14px; stroke: var(--gray-400); fill: none; stroke-width: 2; }
.hero-card:hover .hero-card-arrow svg { stroke: var(--navy); }
.hero-card-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--navy); transition: width 0.35s ease; }
.hero-card:hover .hero-card-line { width: 100%; }

/* ========================================
   PARTNERS
   ======================================== */

.partners { border-bottom: 1px solid var(--gray-200); padding: 40px 0; }
.partners-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 28px; text-align: center; }
.partners-row { display: flex; justify-content: center; align-items: center; gap: 64px; flex-wrap: wrap; }
.partner-logo { font-size: 1.1rem; font-weight: 700; color: var(--gray-300); transition: color 0.2s ease; cursor: default; }
.partner-logo:hover { color: var(--gray-600); }

/* ========================================
   SERVICES GRID
   ======================================== */

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.srv-card { background: var(--white); padding: 40px 32px; transition: background 0.15s ease; position: relative; }
.srv-card:hover { background: var(--gray-50); }
.srv-num { font-size: 0.68rem; font-weight: 600; color: var(--gray-300); margin-bottom: 24px; }
.srv-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; line-height: 1.35; }
.srv-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 28px; }
.srv-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--navy); transition: width 0.35s ease; }
.srv-card:hover .srv-line { width: 100%; }

/* ========================================
   ABOUT — HOMEPAGE SECTION
   ======================================== */

.about { border-bottom: 1px solid var(--gray-200); }
.about-top { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 120px 0 80px; }
.about-text { font-size: 0.95rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 32px; }
.about-numbers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--gray-200); }
.about-num { padding: 28px; text-align: center; border-right: 1px solid var(--gray-200); }
.about-num:last-child { border-right: none; }
.about-num strong { display: block; font-size: 2.2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.04em; line-height: 1; }
.about-num span { font-size: 0.72rem; color: var(--gray-500); margin-top: 6px; display: block; }
.about-bottom { background: var(--navy); padding: 64px 0; }
.about-bottom .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-bottom-title { font-size: 1.5rem; font-weight: 700; color: white; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 8px; }
.about-bottom-sub { font-size: 0.88rem; color: rgba(255,255,255,0.45); }
.about-benefits { display: flex; flex-direction: column; gap: 16px; }
.about-benefit { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.55; }
.about-benefit svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.about-actions { margin-top: 32px; display: flex; gap: 12px; }

/* ========================================
   INDUSTRIES
   ======================================== */

.industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.ind-card { position: relative; height: 300px; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: white; }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: brightness(0.65); }
.ind-card:hover img { transform: scale(1.04); filter: brightness(0.5); }
.ind-card-content { position: relative; z-index: 2; padding: 32px; }
.ind-card-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.ind-card h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.industries-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-top: 0; }
.ind-card-sm { height: 240px; }

/* ========================================
   PRODUCTS
   ======================================== */

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.prod-card { background: var(--white); text-decoration: none; color: inherit; display: block; transition: background 0.15s ease; }
.prod-card:hover { background: var(--gray-50); }
.prod-img { height: 360px; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--gray-200); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.prod-card:hover .prod-img img { transform: scale(1.03); }
.prod-body { padding: 32px; }
.prod-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.prod-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; line-height: 1.3; }
.prod-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 24px; }

/* ========================================
   CTA
   ======================================== */

.cta { background: var(--navy); padding: 64px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta h2 { font-size: 1.8rem; font-weight: 700; color: white; letter-spacing: -0.02em; line-height: 1.25; }
.cta-sub { font-size: 0.92rem; color: rgba(255,255,255,0.45); margin-top: 6px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cta-light { background: var(--bg); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.cta-light h2 { color: var(--gray-900); }
.cta-light .cta-sub { color: var(--gray-600); }

/* ========================================
   TRUST
   ======================================== */

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.trust-card { padding: 40px 28px; background: var(--white); transition: background 0.15s ease; }
.trust-card:hover { background: var(--gray-50); }
.trust-card svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.5; margin-bottom: 20px; display: block; }
.trust-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.trust-card p { font-size: 0.84rem; color: var(--gray-600); line-height: 1.6; }

/* ========================================
   BLOG
   ======================================== */

.blog-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.blog-card { background: var(--white); text-decoration: none; color: inherit; display: block; transition: background 0.15s ease; }
.blog-card:hover { background: var(--gray-50); }
.blog-card-img { height: 220px; overflow: hidden; border-bottom: 1px solid var(--gray-200); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.03); }
.blog-card-body { padding: 28px; }
.blog-card-cat { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--gray-900); line-height: 1.4; margin-bottom: 10px; }
.blog-card p { font-size: 0.84rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 20px; }

/* ========================================
   CONTACT ZEISS
   ======================================== */

.contact-zeiss { padding: 120px 0; }
.contact-z-head { text-align: center; margin-bottom: 48px; }
.contact-z-head .section-title { margin-bottom: 10px; }
.contact-z-desc { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; max-width: 580px; margin: 0 auto; }
.contact-z-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.contact-z-card { background: var(--white); padding: 36px 32px; display: flex; align-items: flex-start; gap: 20px; transition: background 0.15s ease; }
.contact-z-card:hover { background: var(--gray-50); }
.contact-z-card svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 2px; }
.contact-z-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.contact-z-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }
.contact-z-card a { color: var(--gray-900); text-decoration: none; font-weight: 600; }
.contact-z-card a:hover { color: var(--blue-link); }
.contact-z-accent { background: var(--navy); }
.contact-z-accent:hover { background: var(--navy-dark); }
.contact-z-accent h4 { color: white; }
.contact-z-accent p { color: rgba(255,255,255,0.55); }
.contact-z-accent svg { stroke: rgba(255,255,255,0.5); }
.contact-z-banner { display: flex; align-items: center; gap: 16px; background: var(--blue-link); padding: 20px 32px; margin-top: 16px; transition: background 0.15s ease; cursor: pointer; text-decoration: none; color: white; border: none; width: 100%; }
.contact-z-banner:hover { background: #0055aa; }
.contact-z-banner svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 1.5; flex-shrink: 0; }
.contact-z-banner strong { font-size: 0.9rem; }
.contact-z-banner span { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-left: 4px; }

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header { background: var(--bg); padding: 48px 0 56px; border-bottom: 1px solid var(--gray-200); margin-bottom: 0; }
.breadcrumb { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 28px; }
.breadcrumb a { color: var(--blue-link); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray-400); }
.page-header h1 { font-size: 2.6rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 16px; }
.page-header-desc { font-size: 1rem; color: var(--gray-600); line-height: 1.75; max-width: 680px; }

/* ========================================
   INTRO TEXT
   ======================================== */

.intro-text { padding: 80px 0; border-bottom: 1px solid var(--gray-200); }
.intro-text-inner { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 48px; }
.intro-divider { width: 1px; background: var(--gray-200); align-self: stretch; }
.intro-text p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.85; }

/* ========================================
   CATEGORY CARDS
   ======================================== */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
.cat-card { background: var(--white); text-decoration: none; color: inherit; display: block; transition: background 0.15s ease; position: relative; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.cat-card:hover { background: var(--gray-50); }
.cat-img { height: 340px; overflow: hidden; border-bottom: 1px solid var(--gray-200); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover .cat-img img { transform: scale(1.04); }
.cat-body { padding: 32px; }
.cat-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.cat-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; line-height: 1.3; }
.cat-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; }
.cat-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--navy); transition: width 0.35s ease; }
.cat-card:hover .cat-line { width: 100%; }

/* ========================================
   MACHINE CARDS — v1.5
   ======================================== */

.machines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.machine-card { background: var(--white); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all 0.15s ease; position: relative; border: 1px solid var(--gray-200); }
.machine-card-link { position: absolute; inset: 0; z-index: 1; }
.machine-card:hover { background: rgba(0,52,103,0.02); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.machine-img { height: 260px; overflow: hidden; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; background: var(--gray-50); position: relative; }
.machine-img img { max-width: 85%; max-height: 90%; width: auto; height: auto; object-fit: contain; transition: transform 0.5s ease; }
.machine-card:hover .machine-img img { transform: scale(1.04); }
.machine-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 4px 10px; z-index: 2; line-height: 1.3; }
.machine-badge-bestseller { background: var(--navy); color: var(--white); }
.machine-badge-nowosc { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }
.machine-badge-promocja { background: var(--navy-dark); color: var(--white); }
.machine-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.machine-tag { display: inline-block; font-size: 11px; color: var(--gray-500); border: 1px solid var(--gray-200); padding: 2px 8px; margin-bottom: 10px; font-weight: 500; align-self: flex-start; }
.machine-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; line-height: 1.35; }
.machine-advantages { list-style: none; margin: 0 0 20px; padding: 0; }
.machine-advantages li { font-size: 13px; color: var(--gray-700); line-height: 1.55; padding: 5px 0 5px 24px; position: relative; }
.machine-advantages li::before { content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23003467' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.machine-usecase { background: var(--gray-50); padding: 14px 16px; margin-bottom: 20px; border-left: 2px solid var(--navy); }
.machine-usecase-label { font-size: 11px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.machine-usecase-label svg { width: 14px; height: 14px; stroke: var(--navy); fill: none; stroke-width: 2; }
.machine-usecase p { font-size: 12.5px; color: var(--gray-600); line-height: 1.55; margin: 0; }
.machine-actions { display: flex; gap: 0; border-top: 1px solid var(--gray-200); margin: auto -24px -24px; position: relative; z-index: 2; }
.machine-action-details, .machine-action-cta { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 13px 8px; text-decoration: none; transition: background 0.15s ease; display: block; }
.machine-action-details { color: var(--navy); border-right: 1px solid var(--gray-200); }
.machine-action-details:hover { background: rgba(0,52,103,0.07); }
.machine-action-cta { color: var(--white); background: var(--navy); }
.machine-action-cta:hover { background: var(--navy-dark); }
.machine-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--navy); transition: width 0.35s ease; }
.machine-card:hover .machine-line { width: 100%; }
.machine-specs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.machine-spec { display: flex; justify-content: space-between; font-size: 0.82rem; padding-bottom: 6px; border-bottom: 1px solid var(--gray-100); }
.machine-spec:last-child { border-bottom: none; }
.machine-spec-label { color: var(--gray-500); }
.machine-spec-val { color: var(--gray-900); font-weight: 600; }

/* ========================================
   BRAND ABOUT
   ======================================== */

.brand-about { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--gray-200); overflow: hidden; }
.brand-about-img { overflow: hidden; background: var(--gray-50); }
.brand-about-img img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; display: block; }
.brand-about-body { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }

/* ========================================
   PRODUCT HERO
   ======================================== */

.product-hero { background: var(--bg); padding: 48px 0 0; border-bottom: 1px solid var(--gray-200); overflow: hidden; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; min-height: 440px; }
.product-hero-content { padding-bottom: 56px; }
.product-hero-title { font-size: 2.8rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 16px; }
.product-hero-desc { font-size: 1rem; color: var(--gray-600); line-height: 1.75; max-width: 480px; margin-bottom: 28px; }
.product-hero-specs { display: flex; gap: 40px; margin-bottom: 32px; }
.product-hero-spec { display: flex; flex-direction: column; gap: 2px; }
.product-hero-spec-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-500); }
.product-hero-spec-val { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); }
.product-hero-actions { display: flex; gap: 12px; }
.product-hero-image { display: flex; align-items: flex-end; justify-content: flex-end; position: relative; }
.product-hero-img { max-height: 420px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.08)); }
.product-hero-badge { position: absolute; top: 16px; right: 16px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: rgba(0,52,103,0.06); border: 1px solid rgba(0,52,103,0.15); padding: 6px 14px; z-index: 2; text-decoration: none; transition: all 0.15s ease; }
.product-hero-badge:hover { background: rgba(0,52,103,0.12); border-color: var(--navy); }

/* ========================================
   SIDEBAR + GALLERY + LIGHTBOX
   ======================================== */

.product-section { padding: 56px 0; }
.product-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.gallery { border: 1px solid var(--gray-200); margin-bottom: 48px; }
.gallery-main { height: 480px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--gray-50); }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 1px; background: var(--gray-200); border-top: 1px solid var(--gray-200); }
.gallery-thumb { flex: 1; height: 80px; background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.15s ease; }
.gallery-thumb:hover { background: var(--gray-50); }
.gallery-thumb.active { border-bottom: 2px solid var(--navy); }
.gallery-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; opacity: 0.6; transition: opacity 0.15s ease; }
.gallery-thumb:hover img, .gallery-thumb.active img { opacity: 1; }
.sidebar { position: sticky; top: 100px; }
.sidebar-card { border: 1px solid var(--gray-200); margin-bottom: 24px; }
.sidebar-card-header { background: var(--navy); padding: 20px 24px; }
.sidebar-card-header h3 { font-size: 1rem; font-weight: 700; color: white; }
.sidebar-card-header p { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 4px; }
.sidebar-card-body { padding: 24px; }
.sidebar-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.sidebar-item-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-500); }
.sidebar-item-val { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); }
.sidebar-item-val a { color: var(--gray-900); text-decoration: none; }
.sidebar-item-val a:hover { color: var(--blue-link); }
.sidebar-cta { display: block; width: 100%; padding: 14px; background: var(--navy); color: white; text-align: center; font-family: var(--font); font-size: 0.88rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: background 0.15s ease; margin-top: 16px; }
.sidebar-cta:hover { background: var(--navy-dark); }
.sidebar-info { border: 1px solid var(--gray-200); padding: 24px; }
.sidebar-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.sidebar-info p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.sidebar-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--gray-200); }
.sidebar-gallery-item { display: flex; align-items: center; justify-content: center; background: var(--white); padding: 12px; aspect-ratio: 1; overflow: hidden; cursor: pointer; transition: background 0.15s ease; }
.sidebar-gallery-item:hover { background: var(--gray-50); }
.sidebar-gallery-item img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0.7; transition: opacity 0.15s ease; }
.sidebar-gallery-item:hover img { opacity: 1; }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9999; align-items: center; justify-content: center; padding: 48px; cursor: pointer; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; object-fit: contain; cursor: default; animation: lightboxIn 0.2s ease; }
@keyframes lightboxIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.lightbox-close { position: absolute; top: 20px; right: 28px; background: none; border: none; color: rgba(255,255,255,0.6); font-size: 2.4rem; cursor: pointer; transition: color 0.15s ease; line-height: 1; }
.lightbox-close:hover { color: white; }

/* PDF Popup */
.pdf-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pdf-popup { background: var(--white); width: 100%; max-width: 900px; height: 90vh; display: flex; flex-direction: column; box-shadow: 0 16px 64px rgba(0,0,0,0.3); }
.pdf-popup-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: var(--navy); flex-shrink: 0; }
.pdf-popup-title { font-size: 0.88rem; font-weight: 600; color: white; }
.pdf-popup-actions { display: flex; align-items: center; gap: 12px; }
.pdf-popup-btn { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.7); text-decoration: none; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.2); transition: all 0.15s; font-family: var(--font); }
.pdf-popup-btn:hover { color: white; border-color: rgba(255,255,255,0.5); }
.pdf-popup-close { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 0 4px; transition: color 0.15s; }
.pdf-popup-close:hover { color: white; }
.pdf-popup iframe { flex: 1; width: 100%; border: none; }

/* ========================================
   SINGLE PRODUCT — CONTENT
   ======================================== */

.product-text { font-size: 0.92rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 48px; }
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 48px; border: 1px solid var(--gray-200); }
.specs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 48px; }
.specs-table-wrap .specs-table { margin-bottom: 0; }
.specs-table caption { text-align: left; font-size: 1.1rem; font-weight: 700; color: var(--gray-900); padding-bottom: 16px; }
.specs-table th { text-align: left; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-500); padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--gray-200); }
.specs-table td { font-size: 0.9rem; padding: 14px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-800); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { color: var(--gray-500); font-weight: 500; }
.specs-table td:not(:first-child) { font-weight: 600; }
.features-block { margin-bottom: 48px; }
.features-block h2 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-200); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--gray-700); padding: 10px 0; }
.feature-item svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 2; flex-shrink: 0; }

/* ========================================
   GALLERY — v2 (main content)
   ======================================== */

.gallery-v2 { border: 1px solid var(--gray-200); margin-bottom: 48px; }
.gallery-v2-main { height: 420px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--gray-50); cursor: pointer; position: relative; }
.gallery-v2-main img { max-width: 90%; max-height: 90%; object-fit: contain; transition: opacity 0.2s ease; }
.gallery-v2-main:hover img { opacity: 0.9; }
.gallery-v2-expand { position: absolute; bottom: 14px; right: 14px; width: 36px; height: 36px; background: var(--white); border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s ease; }
.gallery-v2-expand:hover { background: var(--gray-50); border-color: var(--navy); }
.gallery-v2-expand svg { width: 16px; height: 16px; stroke: var(--gray-600); fill: none; stroke-width: 2; }
.gallery-v2-thumbs { display: flex; gap: 1px; background: var(--gray-200); border-top: 1px solid var(--gray-200); }
.gallery-v2-thumb { flex: 1; height: 80px; background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.15s ease; border: none; padding: 8px; font-family: var(--font); }
.gallery-v2-thumb:hover { background: var(--gray-50); }
.gallery-v2-thumb.active { border-bottom: 2px solid var(--navy); }
.gallery-v2-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; opacity: 0.5; transition: opacity 0.15s ease; }
.gallery-v2-thumb:hover img, .gallery-v2-thumb.active img { opacity: 1; }

/* ========================================
   KEY FEATURES (single product)
   ======================================== */

.key-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); margin-bottom: 48px; }
.key-feature { background: var(--white); padding: 28px 24px; transition: background 0.15s ease; }
.key-feature:hover { background: rgba(0,52,103,0.02); }
.key-feature-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0,52,103,0.06); margin-bottom: 16px; }
.key-feature-icon svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.key-feature h4 { font-size: 0.88rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; line-height: 1.3; }
.key-feature p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.55; }

/* ========================================
   SERVICE CARDS + CONTENT BLOCKS + NAVY
   ======================================== */

.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { border: 1px solid var(--gray-200); text-decoration: none; color: inherit; display: block; transition: all 0.15s ease; position: relative; overflow: hidden; }
.svc-card:hover { background: var(--gray-50); }
.svc-card-img { height: 240px; overflow: hidden; border-bottom: 1px solid var(--gray-200); }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover .svc-card-img img { transform: scale(1.03); }
.svc-card-body { padding: 28px; }
.svc-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; line-height: 1.3; }
.svc-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 20px; }
.svc-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--navy); transition: width 0.35s ease; }
.svc-card:hover .svc-line { width: 100%; }
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.content-text { font-size: 0.95rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 16px; }
.content-list { display: flex; flex-direction: column; gap: 12px; }
.content-list-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--gray-700); line-height: 1.55; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
.content-list-item:last-child { border-bottom: none; }
.content-list-item svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }
.why-section { background: var(--navy); padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-title { font-size: 1.6rem; font-weight: 700; color: white; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 12px; }
.why-desc { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.55; }
.why-item svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.6); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.accred { background: var(--navy); padding: 80px 0; }
.accred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.accred-title { font-size: 1.6rem; font-weight: 700; color: white; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 16px; }
.accred-text { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 24px; }
.accred-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.accred-badge { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); padding: 8px 16px; }
.accred-list { display: flex; flex-direction: column; gap: 16px; }
.accred-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.55; }
.accred-item svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.6); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }

/* ========================================
   FOOTER
   ======================================== */

.footer { background: var(--navy-deep); color: rgba(255,255,255,0.55); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-about { max-width: 300px; }
.footer-brand { font-weight: 700; font-size: 1.05rem; color: white; margin-bottom: 14px; }
.footer-about p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge { font-size: 0.66rem; font-weight: 600; color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; }
.footer h4 { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: white; }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; color: rgba(255,255,255,0.2); }
.footer-bottom a { color: rgba(255,255,255,0.2); text-decoration: none; margin-left: 20px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

/* ========================================
   SCROLL REVEAL
   ======================================== */

.sr { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.sr.v { opacity: 1; transform: translateY(0); }

/* ========================================
   KONTAKT — HERO (navy)
   ======================================== */

.contact-hero { background: var(--navy); padding: 56px 0; position: relative; overflow: hidden; }
.contact-hero::after { content: ''; position: absolute; right: 0; top: 0; width: 40%; height: 100%; background: linear-gradient(90deg, var(--navy) 0%, rgba(0,52,103,0.85) 100%); opacity: 0.3; }
.contact-hero .wrap { position: relative; z-index: 2; }
.contact-hero .breadcrumb a { color: rgba(255,255,255,0.4); }
.contact-hero .breadcrumb, .contact-hero .breadcrumb span { color: rgba(255,255,255,0.3); }
.contact-hero h1 { font-size: 2.8rem; font-weight: 700; color: white; letter-spacing: -0.035em; margin-bottom: 12px; }
.contact-hero-desc { font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 520px; }

/* ========================================
   KONTAKT — KARTY DZIAŁÓW
   ======================================== */

.contact-depts { }
.contact-depts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.contact-dept { background: var(--white); padding: 40px 36px; transition: background 0.15s; position: relative; }
.contact-dept:hover { background: rgba(0,52,103,0.035); }
.contact-dept--accent { background: var(--navy); }
.contact-dept--accent:hover { background: var(--navy-dark); }
.contact-dept--accent h3 { color: #fff !important; }
.contact-dept--accent p  { color: rgba(255,255,255,0.75) !important; }
.contact-dept--accent .contact-dept-action { color: rgba(255,255,255,0.65); }
.contact-dept--accent .contact-dept-action:hover { color: #fff; text-decoration: none; }
.contact-dept-icon-box { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(0,52,103,0.06); margin-bottom: 20px; }
.contact-dept--accent .contact-dept-icon-box { background: rgba(255,255,255,0.1); }
.contact-dept-icon-box svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.contact-dept--accent .contact-dept-icon-box svg { stroke: rgba(255,255,255,0.7); }
.contact-dept h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.contact-dept p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; margin: 0 0 20px; }
.contact-dept-action { font-size: 0.82rem; font-weight: 600; color: var(--blue-link); text-decoration: none; }
.contact-dept-action:hover { text-decoration: underline; }
.contact-dept-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--navy); transition: width 0.35s ease; }
.contact-dept:hover .contact-dept-line { width: 100%; }

/* ========================================
   KONTAKT — TRUST BAR
   ======================================== */

.contact-trust { background: var(--bg); padding: 64px 0; border-top: 1px solid var(--gray-200); }
.contact-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; text-align: center; }
.contact-trust-item svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.5; margin: 0 auto 12px; display: block; }
.contact-trust-item h4 { font-size: 0.85rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.contact-trust-item p { font-size: 0.78rem; color: var(--gray-500); line-height: 1.5; }

/* ========================================
   KONTAKT — NAVY PANEL + FORMULARZ
   ======================================== */

.contact-main { padding-top: 0; padding-bottom: 0; }
.contact-main-grid { display: grid; grid-template-columns: 360px 1fr; border: 1px solid var(--gray-200); }
.contact-navy { background: var(--navy); color: #fff; padding: 48px 40px; display: flex; flex-direction: column; }
.contact-navy-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.contact-navy h2 { font-size: 1.6rem; font-weight: 700; color: #fff; margin: 0 0 36px; line-height: 1.2; }
.contact-navy-items { display: flex; flex-direction: column; flex: 1; }
.contact-navy-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-navy-item:first-child { padding-top: 0; }
.contact-navy-item svg { width: 17px; height: 17px; stroke: rgba(255,255,255,0.5); stroke-width: 1.5; fill: none; flex-shrink: 0; margin-top: 2px; }
.contact-navy-item-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 3px; }
.contact-navy-item > div > div:last-child,
.contact-navy-item > div > a { font-size: 0.875rem; color: #fff; text-decoration: none; line-height: 1.5; }
.contact-navy-item > div > a:hover { color: rgba(255,255,255,0.7); }
.contact-navy-certs { margin-top: 28px; display: flex; flex-direction: column; gap: 7px; }
.contact-navy-certs a { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.15s; }
.contact-navy-certs a:hover { color: #fff; }
.contact-form-wrap { padding: 48px; }
.contact-form-wrap h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 0 0 5px; }
.contact-form-sub { font-size: 0.875rem; color: var(--gray-500); margin: 0 0 28px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-field { display: flex; flex-direction: column; gap: 5px; }
.contact-form-field label { font-size: 0.77rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gray-700); }
.contact-form-field input,
.contact-form-field textarea,
.contact-form-field select {
  border: 1px solid var(--gray-200); padding: 10px 14px;
  font-family: inherit; font-size: 0.875rem; color: var(--gray-900);
  background: #fff; outline: none; transition: border-color 0.15s;
  border-radius: 0; width: 100%; box-sizing: border-box;
  -webkit-appearance: none; appearance: none;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus,
.contact-form-field select:focus { border-color: var(--navy); }
.contact-form-field textarea { resize: vertical; min-height: 120px; }
.contact-form-success { display: flex; align-items: center; gap: 14px; background: rgba(0,52,103,0.04); border: 1px solid rgba(0,52,103,0.15); padding: 20px 24px; margin-bottom: 24px; }
.contact-form-success svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.contact-form-success strong { display: block; font-size: 0.95rem; color: var(--navy); }
.contact-form-success span { display: block; font-size: 0.82rem; color: var(--gray-600); margin-top: 2px; }
.contact-form-error { background: #fef2f2; border: 1px solid #fecaca; padding: 16px 24px; margin-bottom: 24px; font-size: 0.88rem; color: #991b1b; }
.contact-map { border-top: 1px solid var(--gray-200); }

/* ========================================
   O NAS — STATYSTYKI
   ======================================== */

.about-stats { background: var(--navy); }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1340px; margin: 0 auto; }
.about-stat { padding: 44px 48px; border-right: 1px solid rgba(255,255,255,0.08); }
.about-stat:last-child { border-right: none; }
.about-stat-num { font-size: 2.75rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.about-stat-label { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; }

/* ========================================
   O NAS — INTRO (zdjęcie full-height)
   ======================================== */

.about-intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; max-width: 1340px; margin: 0 auto; }
.about-intro-img { overflow: hidden; }
.about-intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-intro-content { display: flex; align-items: flex-start; }
.about-intro-inner { padding: 64px 56px; width: 100%; }
.about-intro-para { font-size: 0.925rem; color: var(--gray-700); line-height: 1.75; margin: 0; }
.about-intro-divider { height: 1px; background: var(--gray-100); margin: 20px 0; }
.about-highlights { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.about-highlight { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--gray-700); }
.about-highlight svg { width: 16px; height: 16px; stroke: var(--navy); stroke-width: 2; fill: none; flex-shrink: 0; margin-top: 2px; }

/* ========================================
   O NAS — OŚ CZASU (navy tło)
   ======================================== */

.about-timeline-section { background: var(--navy); padding: 80px 0; }
.about-timeline-head { margin-bottom: 56px; }
.about-timeline { display: flex; flex-direction: column; }
.about-timeline-item { display: grid; grid-template-columns: 80px 32px 1fr; gap: 0 24px; align-items: flex-start; }
.about-timeline-year { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; text-align: right; padding-top: 3px; }
.about-timeline-year--active { color: #fff; }
.about-timeline-node { display: flex; flex-direction: column; align-items: center; }
.about-timeline-dot { width: 10px; height: 10px; border: 2px solid rgba(255,255,255,0.35); background: var(--navy); border-radius: 50%; flex-shrink: 0; position: relative; z-index: 1; }
.about-timeline-dot--active { background: #fff; border-color: #fff; }
.about-timeline-line { width: 1px; flex: 1; background: rgba(255,255,255,0.12); min-height: 48px; }
.about-timeline-body { padding-bottom: 40px; }
.about-timeline-item--last .about-timeline-body { padding-bottom: 0; }
.about-timeline-body h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.about-timeline-body p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin: 0; }

/* ========================================
   O NAS — KOMPETENCJE
   ======================================== */

.competence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.competence-card { background: var(--white); padding: 36px 28px; transition: background 0.15s ease; position: relative; }
.competence-card:hover { background: rgba(0,52,103,0.02); }
.competence-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(0,52,103,0.06); margin-bottom: 20px; }
.competence-icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.competence-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.competence-card p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }
.competence-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--navy); transition: width 0.35s ease; }
.competence-card:hover .competence-line { width: 100%; }

/* ========================================
   CERTYFIKATY — TEMPLATE PART
   ======================================== */

/* TABLE STYLE (navy bg) */
.certs-section { background: var(--navy-dark); padding: 0; }
.certs-inner { display: grid; grid-template-columns: 1fr 1fr; max-width: 1340px; margin: 0 auto; }
.certs-text { padding: 72px 64px 72px 48px; border-right: 1px solid rgba(255,255,255,0.08); }
.certs-text h2 { font-size: 1.75rem; font-weight: 700; color: #fff; margin: 10px 0 20px; line-height: 1.25; }
.certs-text p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 0; }
.certs-table { display: flex; flex-direction: column; }
.cert-row { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px; padding: 28px 48px 28px 40px; border-bottom: 1px solid rgba(255,255,255,0.07); transition: background 0.15s; }
.cert-row:last-child { border-bottom: none; }
.cert-row:hover { background: rgba(255,255,255,0.03); }
.cert-row-img { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); padding: 8px; }
.cert-row-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-row-id { font-size: 0.9rem; font-weight: 700; color: #fff; }
.cert-row-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.4; display: flex; flex-direction: column; gap: 2px; }
.cert-row-desc span { color: rgba(255,255,255,0.3); font-size: 0.76rem; }
.cert-row-link { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.4); text-decoration: none; white-space: nowrap; transition: color 0.15s; }
.cert-row-link:hover { color: #fff; }

/* CARDS STYLE (white bg) */
.certs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.cert-card { background: var(--white); padding: 28px 24px; display: flex; flex-direction: column; transition: background 0.15s; position: relative; }
.cert-card:hover { background: rgba(0,52,103,0.02); }
.cert-card-img { width: 48px; height: 48px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.cert-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-card-body { flex: 1; }
.cert-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cert-card p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.55; margin-bottom: 16px; }
.cert-card-link { font-size: 0.78rem; font-weight: 600; color: var(--blue-link); text-decoration: none; margin-top: auto; }
.cert-card-link:hover { text-decoration: underline; }

/* INLINE STYLE (badges) */
.certs-inline { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cert-badge { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; border: 1px solid var(--gray-200); text-decoration: none; transition: all 0.15s; }
.cert-badge:hover { border-color: var(--navy); background: rgba(0,52,103,0.03); }
.cert-badge img { height: 28px; width: auto; object-fit: contain; }
.cert-badge span { font-size: 0.72rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0.04em; }

/* CERT SIDEBAR CARD (navy + gold left border) */
.cert-sidebar-card { background: var(--navy); margin-bottom: 24px; border-left: 3px solid #c9a84c; }
.cert-sidebar-header { padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cert-sidebar-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.cert-sidebar-header h4 { font-size: 0.95rem; font-weight: 700; color: white; margin: 0; }
.cert-sidebar-item { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.15s; text-decoration: none; }
.cert-sidebar-item:last-child { border-bottom: none; }
.cert-sidebar-item:hover { background: rgba(255,255,255,0.04); }
.cert-sidebar-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(201,168,76,0.1); flex-shrink: 0; }
.cert-sidebar-icon svg { width: 16px; height: 16px; stroke: #c9a84c; fill: none; stroke-width: 1.5; }
.cert-sidebar-icon img { max-width: 24px; max-height: 24px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.6; }
.cert-sidebar-item:hover .cert-sidebar-icon svg { stroke: #d4b35a; }
.cert-sidebar-item:hover .cert-sidebar-icon img { opacity: 0.9; }
.cert-sidebar-name { font-size: 0.82rem; font-weight: 700; color: #fff; line-height: 1.2; }
.cert-sidebar-desc { font-size: 0.68rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ========================================
   O NAS — MARKI (4 kolumny)
   ======================================== */

.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.brand-card { background: var(--white); padding: 32px 28px; transition: background 0.15s ease; position: relative; }
.brand-card:hover { background: rgba(0,52,103,0.02); }
.brand-card-flag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 12px; }
.brand-card-name { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.brand-card-role { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; }
.brand-card-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--navy); transition: width 0.35s ease; }
.brand-card:hover .brand-card-line { width: 100%; }

/* (old about-certs removed — now uses template-parts/certyfikaty.php) */

/* (brands moved to .brands-grid above) */

/* ========================================
   BLOG ARCHIVE
   ======================================== */

.blog-filters { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 0; }
.blog-filters-inner { display: flex; gap: 0; flex-wrap: wrap; }
.blog-filter { padding: 16px 24px; font-size: 0.84rem; font-weight: 500; color: var(--gray-500); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: all 0.15s ease; }
.blog-filter:hover { color: var(--navy); background: rgba(0,52,103,0.03); }
.blog-filter.active { color: var(--navy); font-weight: 600; border-bottom-color: var(--navy); }
.blog-archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.blog-card-date { font-size: 0.72rem; color: var(--gray-400); }
.blog-pagination { display: flex; justify-content: center; gap: 4px; margin-top: 56px; }
.blog-pagination a, .blog-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; font-family: var(--font); font-size: 0.84rem; font-weight: 500; color: var(--gray-600); border: 1px solid var(--gray-200); text-decoration: none; transition: all 0.15s ease; }
.blog-pagination a:hover { border-color: var(--navy); color: var(--navy); }
.blog-pagination .current { background: var(--navy); color: white; border-color: var(--navy); }
.blog-pagination .prev, .blog-pagination .next { font-weight: 600; color: var(--navy); }

/* ========================================
   SINGLE POST — ARTICLE
   ======================================== */

.article-header { background: var(--bg); padding: 48px 0 56px; border-bottom: 1px solid var(--gray-200); }
.article-header-inner { max-width: 780px; }
.article-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.article-cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: rgba(0,52,103,0.06); padding: 4px 12px; text-decoration: none; transition: background 0.15s ease; }
.article-cat:hover { background: rgba(0,52,103,0.12); }
.article-date { font-size: 0.78rem; color: var(--gray-500); }
.article-title { font-size: 2.6rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 16px; }
.article-excerpt { font-size: 1.05rem; color: var(--gray-600); line-height: 1.7; max-width: 640px; }

.article-hero-img { padding: 0; background: var(--white); }
.article-img-frame { border: 1px solid var(--gray-200); overflow: hidden; max-height: 520px; }
.article-img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-section { padding: 56px 0; }
.article-grid { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }

/* Article content typography */
.article-content { font-size: 0.95rem; color: var(--gray-700); line-height: 1.85; }
.article-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--gray-900); margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-200); }
.article-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin: 36px 0 12px; }
.article-content h4 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin: 28px 0 8px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content a { color: var(--blue-link); text-decoration: none; }
.article-content a:hover { text-decoration: underline; }
.article-content img { border: 1px solid var(--gray-200); margin: 24px 0; }
.article-content blockquote { border-left: 3px solid var(--navy); padding: 16px 24px; margin: 24px 0; background: var(--gray-50); font-style: italic; color: var(--gray-600); }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; border: 1px solid var(--gray-200); }
.article-content th { text-align: left; font-size: 0.82rem; font-weight: 600; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--gray-200); color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.article-content td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.article-content pre { background: var(--gray-900); color: var(--gray-100); padding: 20px 24px; margin: 24px 0; overflow-x: auto; font-size: 0.84rem; line-height: 1.6; }
.article-content code { background: var(--gray-100); padding: 2px 6px; font-size: 0.88em; color: var(--navy); }
.article-content pre code { background: none; padding: 0; color: inherit; }

/* Article sidebar */
.article-sidebar { position: sticky; top: 80px; }
.article-sidebar-cats { display: flex; flex-direction: column; gap: 0; }
.article-sidebar-cat { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.85rem; color: var(--gray-700); text-decoration: none; transition: color 0.15s ease; }
.article-sidebar-cat:last-child { border-bottom: none; }
.article-sidebar-cat:hover { color: var(--navy); }
.article-sidebar-cat span { font-size: 0.75rem; color: var(--gray-400); font-weight: 600; }

/* ========================================
   EMPTY OFFER (used machines)
   ======================================== */

.empty-offer { margin-top: 16px; }
.empty-offer-grid { display: grid; grid-template-columns: 1fr 380px; gap: 0; border: 1px solid var(--gray-200); }
.empty-offer-content { padding: 48px 48px; }
.empty-offer-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; line-height: 1.3; }
.empty-offer-content p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 28px; }
.empty-offer-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.empty-offer-feature { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--gray-700); font-weight: 500; }
.empty-offer-feature svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 2; flex-shrink: 0; }
.empty-offer-contact { background: var(--navy); padding: 48px 40px; display: flex; align-items: center; }
.empty-offer-card { width: 100%; }
.empty-offer-card h4 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 6px; }
.empty-offer-card p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.empty-offer-items { display: flex; flex-direction: column; gap: 0; }
.empty-offer-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); text-decoration: none; transition: opacity 0.15s; }
.empty-offer-item:last-child { border-bottom: none; }
.empty-offer-item:hover { opacity: 0.8; }
.empty-offer-item svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.empty-offer-item span { font-size: 0.88rem; font-weight: 600; color: white; }

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-section { padding: 100px 0; border-top: 1px solid var(--gray-200); }
.faq-head { text-align: center; margin-bottom: 56px; }
.faq-head .section-title { margin-bottom: 8px; font-size: 1.8rem; }
.faq-list { max-width: 820px; margin: 0 auto; border: 1px solid var(--gray-200); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; background: none; border: none; padding: 22px 28px; font-family: var(--font); font-size: 0.95rem; font-weight: 600; color: var(--gray-900); cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background 0.15s ease, color 0.15s ease; }
.faq-question:hover { background: rgba(0,52,103,0.03); }
.faq-question.active { color: var(--navy); background: rgba(0,52,103,0.03); }
.faq-question svg { width: 20px; height: 20px; stroke: var(--gray-400); fill: none; stroke-width: 2; flex-shrink: 0; transition: transform 0.25s ease, stroke 0.15s ease; }
.faq-question.active svg { transform: rotate(180deg); stroke: var(--navy); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 28px 24px; font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; }
.faq-answer.open { max-height: 400px; }

/* ========================================
   RESPONSIVE — max-width: 1100px
   ======================================== */

@media (max-width: 1100px) {
  .wrap { padding: 0 28px; }
  .hero-wrap { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2.6rem; }
  .hero-split { flex-direction: column; gap: 40px; }
  .hero-certs-panel { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .hero-cert-card { flex: 1; min-width: 200px; }
  .hero-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .blog-grid { grid-template-columns: 1fr; }
  .about-top, .about-bottom .wrap, .content-block, .why-grid, .accred-grid { grid-template-columns: 1fr; gap: 40px; }
  .brand-about { grid-template-columns: 1fr; }
  .brand-about-img img { min-height: 280px; }
  .brand-about-body { padding: 40px 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-z-grid, .industries-grid, .industries-bottom { grid-template-columns: 1fr; }
  .logo-bar-certs { display: none; }
  .logo-bar-phone { gap: 10px; }
  .phone-label { display: none; }
  .cert-separator { display: none; }
  .partners-row { gap: 32px; }
  .cta .wrap { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header h1 { font-size: 2.2rem; }
  .cat-grid, .machines-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 48px; }
  .article-grid { grid-template-columns: 1fr; gap: 48px; }
  .article-sidebar { position: static; }
  .article-title { font-size: 2.2rem; }
  .blog-archive-grid { grid-template-columns: 1fr; }

  /* Product page mobile fixes */
  .specs-table-wrap { margin-bottom: 32px; }
  .gallery-v2 { max-width: 100%; overflow: hidden; }
  .gallery-v2-main { height: 320px; }
  .key-features { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .sidebar-card, .sidebar-info, .cert-sidebar-card { max-width: 100%; overflow: hidden; }
  .empty-offer-grid { grid-template-columns: 1fr; }
  .product-section { overflow: hidden; }
  .product-grid > div { max-width: 100%; overflow: hidden; }
  .certs-section { overflow: hidden; }
  .certs-inner { grid-template-columns: 1fr; }
  .certs-text { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 40px 28px; }
  .cert-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 28px; }
  .service-cards { grid-template-columns: 1fr; }
  .intro-text-inner { grid-template-columns: 1fr; gap: 24px; }
  .intro-divider { display: none; }
  .product-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .product-hero-image { justify-content: center; padding: 24px 0; }
  .product-hero-img { max-height: 320px; }
  .key-features { grid-template-columns: 1fr; }
  .gallery-v2-main { height: 320px; }
  .product-hero-title { font-size: 2.2rem; }
  .contact-main-grid { grid-template-columns: 300px 1fr; }
  .about-intro-inner { padding: 48px 40px; }
}

/* ========================================
   RESPONSIVE — max-width: 900px
   ======================================== */

@media (max-width: 900px) {
  /* Hamburger */
  .hamburger { display: flex; position: relative; z-index: 200; }
  .nav-logo-mobile { display: block; text-decoration: none; }
  .nav-logo-mobile img { height: 28px; width: auto; }
  .nav-right-mobile { display: flex; align-items: center; gap: 16px; }
  .nav-langs { display: flex; align-items: center; gap: 2px; }
  .nav-lang { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; padding: 4px 6px; text-decoration: none; color: var(--gray-400); transition: color 0.15s; }
  .nav-lang:hover { color: var(--navy); }
  .nav-lang.active { color: var(--navy); background: var(--gray-100); }
  .hamburger.active { position: fixed; top: 16px; right: 20px; z-index: 200; }
  .hamburger.active span { background: white; }

  /* Logo bar mobile */
  .logo-bar { display: none; }
  .phone-label { display: none; }
  .phone-number { font-size: 0.9rem; }
  .phone-icon { width: 36px; height: 36px; }
  .phone-icon svg { width: 16px; height: 16px; }

  /* Mobile menu panel */
  .nav-menu {
    display: none; position: fixed; top: 0; right: 0;
    width: 380px; max-width: 85vw; height: 100vh;
    background: var(--white); flex-direction: column;
    align-items: stretch; padding: 0;
    box-shadow: -8px 0 40px rgba(0,0,0,0.18);
    z-index: 150; gap: 0; overflow-y: auto;
  }
  .nav-menu.active { display: flex; }
  .nav-menu::before {
    content: 'Menu'; display: block; padding: 20px 28px;
    background: var(--navy); color: white;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; flex-shrink: 0;
  }
  .nav-menu li { height: auto; display: block; border-bottom: 1px solid var(--gray-100); }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu a {
    display: flex; align-items: center; justify-content: space-between;
    height: auto; padding: 15px 28px; font-size: 0.92rem; font-weight: 500;
    color: var(--gray-800); text-align: left; background: none;
  }
  .nav-menu a:hover,
  .nav-menu .current-menu-item > a,
  .nav-menu .current-menu-ancestor > a { background: var(--bg); color: var(--navy); }

  /* Reset nav-right on mobile */
  li.nav-right { margin-left: 0; }
  li.nav-right > a { font-weight: 500 !important; color: var(--gray-800) !important; font-size: 0.92rem !important; padding: 15px 28px !important; }
  li.nav-right > a:hover { color: var(--navy) !important; background: var(--bg) !important; }

  li.nav-cta { border-bottom: none; padding: 20px 28px; margin-top: auto; margin-left: 0; background: var(--bg); border-top: 1px solid var(--gray-200); }
  li.nav-cta > a { display: flex; text-align: center; justify-content: center; padding: 14px 28px !important; width: 100%; background: var(--navy) !important; color: white !important; height: auto !important; font-size: 0.92rem !important; }
  .nav-menu .sub-menu { position: static; display: none; box-shadow: none; border: none; min-width: 100%; padding: 0; margin: 0; background: var(--gray-50); border-top: 1px solid var(--gray-100); }
  .nav-menu .menu-item-has-children:hover > .sub-menu { display: none; }
  .nav-menu .menu-item-has-children.open > .sub-menu { display: block; }
  .nav-menu .sub-menu li { border-bottom: 1px solid var(--gray-100); }
  .nav-menu .sub-menu li:last-child { border-bottom: none; }
  .nav-menu .sub-menu a { padding: 13px 28px 13px 44px; font-size: 0.86rem; font-weight: 400; color: var(--gray-600); }
  .nav-menu .sub-menu a:hover { color: var(--navy); background: var(--gray-100); }
  .nav-menu .sub-menu .sub-menu { left: 0; top: auto; background: var(--white); }
  .nav-menu .sub-menu .sub-menu a { padding-left: 60px; font-size: 0.84rem; color: var(--gray-500); }

  /* Chevrons on ALL levels with children */
  .nav-menu .menu-item-has-children > a::after {
    content: ''; display: inline-block; width: 8px; height: 8px;
    border-right: 2px solid var(--gray-400); border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg); margin-left: auto; margin-right: 4px;
    flex-shrink: 0; transition: transform 0.2s ease;
  }
  .nav-menu .menu-item-has-children.open > a::after { transform: rotate(-135deg); }
  /* Submenu items with children — ensure chevron shows */
  .nav-menu .sub-menu .menu-item-has-children > a::after {
    content: ''; display: inline-block; width: 7px; height: 7px;
    border-right: 2px solid var(--gray-400); border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg); margin-left: auto; margin-right: 4px;
  }
  .nav-menu .sub-menu .menu-item-has-children.open > a::after { transform: rotate(-135deg); }

  /* Contact */
  .contact-depts-grid { grid-template-columns: 1fr; }
  .contact-dept { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .contact-dept--accent { border-bottom-color: rgba(255,255,255,0.12); }
  .contact-dept:last-child { border-bottom: none; }
  .competence-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-inner { grid-template-columns: 1fr; }
  .certs-text { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 48px 32px; }
  .cert-row { padding: 24px 32px; }
  .certs-cards { grid-template-columns: 1fr; }
  .contact-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .empty-offer-grid { grid-template-columns: 1fr; }
  .empty-offer-features { grid-template-columns: 1fr; }
  .contact-hero h1 { font-size: 2.2rem; }
  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-navy { padding: 40px 32px; }
  .contact-form-wrap { padding: 40px 32px; }

  /* About */
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .about-stat:nth-child(2n) { border-right: none; }
  .about-stat { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .about-stat:nth-child(n+3) { border-bottom: none; }
  .about-intro { grid-template-columns: 1fr; min-height: auto; }
  .about-intro-img { height: 300px; border-bottom: 1px solid var(--gray-200); }
  .about-intro-inner { padding: 40px 32px; }
  .brands-grid { grid-template-columns: 1fr; }
  .competence-grid { grid-template-columns: 1fr; }
  .cert-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 24px; }
  .cert-row-img { width: 44px; height: 44px; }
  .contact-trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-timeline-item { grid-template-columns: 56px 24px 1fr; }
}

/* ========================================
   RESPONSIVE — max-width: 640px
   ======================================== */

@media (max-width: 640px) {
  .topbar { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: auto; padding: 80px 0 100px; }
  .hero-content { padding: 40px 0; }
  .hero-stats { gap: 32px; }
  .hero-stat-num { font-size: 1.6rem; }
  .hero-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cards { margin-top: -60px; }
  .hero-scroll-hint { display: none; }
  .section { padding: 80px 0; }
  .section-title { font-size: 1.7rem; }
  .page-header h1 { font-size: 2rem; }
  .article-title { font-size: 1.8rem; }
  .article-img-frame { max-height: 280px; }
  .wrap { padding: 0 16px; }
  .hero-certs-panel { flex-direction: column; }
  .hero-cert-card { min-width: 0; }
  .gallery-main { height: 320px; }
  .services-grid, .trust-grid { grid-template-columns: 1fr; }
  .about-numbers { grid-template-columns: 1fr; }
  .about-num { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .about-num:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-menu { width: 100%; max-width: 100vw; }
  .product-hero-title { font-size: 1.8rem; }
  .product-hero-specs { flex-direction: column; gap: 12px; }
  .product-hero-actions { flex-direction: column; }
  .product-hero-actions .btn { width: 100%; justify-content: center; }
  .product-hero-img { max-height: 240px; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-hero-image { order: -1; }
  .gallery-v2-main { height: 240px; }
  .gallery-v2-thumbs { display: none; }
  .key-features { grid-template-columns: 1fr; }
  .empty-offer-content { padding: 32px 24px; }
  .empty-offer-contact { padding: 32px 24px; }
  .empty-offer-features { grid-template-columns: 1fr; }
  .faq-section { padding: 64px 0; }
  .faq-question { padding: 18px 20px; font-size: 0.88rem; }
  .faq-answer-inner { padding: 0 20px 20px; }
  .lightbox { padding: 24px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-hero h1 { font-size: 1.8rem; }
  .contact-hero { padding: 40px 0; }
  .about-stat { padding: 32px 24px; }
  .about-stat-num { font-size: 2.25rem; }
  .about-intro-inner { padding: 32px 24px; }
  .about-cert-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 24px; }
  .about-timeline-item { grid-template-columns: 48px 20px 1fr; gap: 0 16px; }
}
/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.lang-switcher {
  position: relative;
  margin-left: 16px;
}
.lang-current {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}
.lang-current:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.lang-current svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.15s;
}
.lang-switcher.open .lang-current svg {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 48px;
  z-index: 1000;
  display: none;
}
.lang-switcher.open .lang-dropdown {
  display: block;
}
.lang-option {
  display: block;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-700);
  text-decoration: none;
  transition: background 0.1s;
}
.lang-option:hover {
  background: var(--gray-50);
  color: var(--navy);
}

/* Topbar-right flex layout update */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0;
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-left: 12px;
  }
}