/*
Theme Name: Motyw Przemysłowy Energetyka
Theme URI: 
Author: 
Author URI: 
Description:
Version: 2.3
*/
/* =========================
   ZMIENNE CSS (Styl Inżynieryjny / Przemysłowy)
   ========================= */
:root {
    color-scheme: dark;
    --color-bg: #101820;
    --color-surface: #151f29;
    --color-dark: #101820;
    --color-steel: #d4dbe2;
    --color-muted: #aab4bf;
    --color-border: #2b3946;
    --color-primary: #e51b2b;
    --color-primary-hover: #bd1422;
    --color-accent: #ffc107;
    --radius: 2px;
    --transition: 0.2s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--color-bg);
  font-size: 16px;
  line-height: 1.6;
  color: #d4dbe2 !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0 !important;
}
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: #f4f6f8;
    line-height: 1.3;
    font-weight: 700;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: #151f29;
  border: 3px solid #241f20;
}

th, td {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    text-align: left;
}

th {
  background: #241f20 !important;
  color: #fff !important;
  background-color: #1a2631;
}

.container {
  margin-inline: auto;
  width: min(100% - 36px, 1320px) !important;
  max-width: 1320px !important;
}

.text-center { text-align: center; }

.text-left { text-align: left; }

.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }

.mt-2 { margin-top: 20px; }

.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }

.mb-2 { margin-bottom: 20px; }

.mb-3 { margin-bottom: 30px; }

.site-header {
  background-color: var(--color-surface);
  top: 0;
  z-index: 1000;
  width: 100%;
  position: sticky !important;
  background: #151f29 !important;
  border-bottom: 5px solid #a61b1b !important;
  box-shadow: 0 5px 0 #c62828;
}

.header-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px !important;
  min-height: 82px;
  padding: 12px 18px !important;
}

.site-logo img {
  width: auto;
  display: block;
  max-height: 54px !important;
}

.site-title-link {
  position: relative;
  display: inline-block;
  color: #f4f6f8;
  text-decoration: none;
  z-index: 1;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  letter-spacing: -.03em;
}

.site-title-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -7px !important;
  top: -2px !important;
  width: calc(100% + 14px) !important;
  height: calc(100% + 5px) !important;
  background: rgba(255, 193, 7) !important;
  border-radius: 4px !important;
  opacity: .50;
}

.site-title-link:hover {
    text-decoration: none;
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #eff3f7;
    transition: all 0.3s ease;
    border-radius: var(--radius);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px !important;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px !important;
}

.main-navigation a {
  text-decoration: none;
  transition: color var(--transition);
  display: block;
  padding: 12px 13px !important;
  color: #f4f6f8 !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.main-navigation a:hover {
  background: #c62828 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.main-navigation ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 100;
  min-width: 240px !important;
  padding: 0 !important;
}

.main-navigation li {
    position: relative;
}

.main-navigation li:hover > ul.sub-menu {
    display: flex;
}

.main-navigation ul.sub-menu li {
    width: 100%;
}

.main-navigation ul.sub-menu a {
  display: block;
  white-space: nowrap;
  color: var(--color-steel);
  padding: 13px 16px !important;
}

.main-navigation ul.sub-menu a:hover {
    background-color: var(--color-bg);
    color: var(--color-primary);
}

.main-navigation .menu-item-has-children > a::after {
    content: "▾";
    display: inline-block;
    margin-left: 8px;
    font-size: 0.95em;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease;
}

.main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* MEDIA QUERY: @media (max-width: 992px) */
@media (max-width: 992px) {

    /* STRZAŁKA PODMENU NA TELEFONIE */
    .main-navigation .menu-item-has-children > a::after {
        font-size: 1.15em;
        margin-left: 10px;
    }

.main-navigation li:hover > ul.sub-menu {
        display: none;
    }

.main-navigation li.menu-item-has-children > ul.sub-menu {
        display: none;
        position: static;
        width: 100%;
        margin-top: 8px;
        padding: 8px 0 8px 15px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

.main-navigation li.menu-item-has-children.is-open > ul.sub-menu {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

.main-navigation li.menu-item-has-children.is-open > a::after {
        transform: rotate(180deg);
    }

}

/* =========================
   PRZEŁĄCZNIK JĘZYKÓW POLYLANG (DROPDOWN)
   ========================= */
.language-switcher.dropdown {
    position: relative;
}

.lang-dropdown-toggle {
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-steel);
    transition: background var(--transition), color var(--transition);
}

.lang-dropdown-toggle:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.lang-flag img,
.lang-dropdown-menu img,
.main-navigation .polylang-item img {
    width: 20px !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle;
    border-radius: 2px;
    margin-right: 6px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--color-muted);
    transition: transform var(--transition);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: var(--radius);
    min-width: 150px;
    display: none;
    z-index: 100;
    flex-direction: column;
}

.language-switcher.dropdown:hover .lang-dropdown-menu,
.language-switcher.dropdown.active .lang-dropdown-menu {
    display: flex;
}

.language-switcher.dropdown:hover .dropdown-arrow,
.language-switcher.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu li {
    width: 100%;
}

.lang-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: #f4f6f8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background var(--transition);
}

.lang-dropdown-menu a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    text-decoration: none;
}

.hero-slider-section {
  position: relative;
  padding: 0;
  background: var(--color-dark);
  color: #ffffff;
  border-bottom: 4px solid var(--color-primary);
}

.hero-slider-wrapper {
  touch-action: pan-y;
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
}

.hero-slide {
    /*zmienne animacji*/
    --hero-animation-duration: 0.65s;
    --hero-animation-distance: 35px;

    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    padding: 60px 24px;
    overflow: hidden;
    isolation: isolate;
    background: var(--color-dark);
}

.hero-slide.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.hero-slide::before,
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hero-slide::before {
    z-index: -2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slide::after {
  z-index: -1;
  background: linear-gradient(
        90deg,
        rgba(16, 24, 32, 0.65) 0%,
        rgba(16, 24, 32, 0.40) 48%,
        rgba(16, 24, 32, 0.65) 100%
    ) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

to {
        opacity: 1;
    }

}

/* HERO - TREŚĆ SLIDERA */

.hero-slide h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.hero-slide p {
    color: #fdfdfd;
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 650px;
}

.hero-slide h1,
.hero-slide p {
    max-width: 760px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 60px;
}

.hero-slide-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-bottom: 125px;
}

.hero-slide > * {
    position: relative;
    z-index: 1;
}

.hero-slide-1::before {
    background-image: url("img/slider/1.webp");
}

.hero-slide-2::before {
    background-image: url("img/slider/2.webp");
}

.hero-slide.active .hero-slide-inner .section-label {
    animation: heroElementIn var(--hero-animation-duration) ease-out 0.05s both;
}

.hero-slide.active .hero-slide-inner h1 {
    animation: heroElementIn var(--hero-animation-duration) ease-out 0.12s both;
}

.hero-slide.active .hero-slide-inner > p:not(.section-label) {
    animation: heroElementIn var(--hero-animation-duration) ease-out 0.22s both;
}

.hero-slide.active .hero-buttons {
    animation: heroElementIn var(--hero-animation-duration) ease-out 0.35s both;
}

@keyframes heroElementIn {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

to {
        opacity: 1;
        transform: translateX(0);
    }

}

/* =========================
   STEROWANIE SLIDEREM
   ========================= */

.slider-controls {
  right: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  bottom: 22px;
  z-index: 10;
}

.slider-btn {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;

    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-1px);
}

.slider-btn:active {
    transform: translateY(0);
}

.slider-dots {
    min-height: 42px;
    padding: 0 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.slider-dot {
    width: 16px;
    height: 5px;

    padding: 0;
    border: none;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.38);

    cursor: pointer;

    transition:
        background var(--transition),
        width var(--transition),
        transform var(--transition);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}

.slider-dot.active {
    width: 30px;
    background: var(--color-primary);
}

.advantages,
.products,
.cta {
    padding-block: 80px;
    background-color: var(--color-surface);
    
}

.advantages,
.products {
    background-color: var(--color-bg);
}

.section-label {
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase;
}

.services h2,
.products h2,
.cta h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: #f4f6f8;
    margin-bottom: 36px;
    font-weight: 700;
}

.advantages h2{
    color: var(--color-surface);
}

.services-header {
    /* Unikalne z oryginału + animacja */
    --hero-animation-duration: 0.7s;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("../img/services/hero-bg.webp");
    background-size: cover;
    background-position: center;
    padding: 100px 20px 140px 20px;
    text-align: center;
    color: #ffffff;
    border-radius: 0;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 8px solid #c62828;
}

.services-header .section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c62828;
    margin-bottom: 12px;

    animation: heroElementIn var(--hero-animation-duration) ease-out 0.05s both;
}

.services-header h1 {
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: heroElementIn var(--hero-animation-duration) ease-out 0.12s both;
  font-size: clamp(2.8rem, 6vw, 5rem) !important;
  font-weight: 900 !important;
}

.services-header .section-label a {
    color: #ffd54f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-header .section-label a:hover {
    color: #ffe082;
    text-decoration: none;
}

.services-lead {
    font-size: 1.15rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;

    animation: heroElementIn var(--hero-animation-duration) ease-out 0.22s both;
}

.services-intro {
    background-color: var(--color-surface, #151f29);
    max-width: 900px;
    margin: -70px auto 50px auto;
    position: relative;
    z-index: 10;
    padding: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.services-intro .section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.services-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f4f6f8;
    margin-bottom: 15px;
    line-height: 1.2;
}

.services-intro p {
    font-size: 1.05rem;
    color: var(--color-muted, #aab4bf);
    line-height: 1.6;
    margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 28px !important;
}

.services-card,
.services-card h3,
.services-card p {
    text-decoration: none !important;
}

.services-card {
  border: 1px solid var(--color-steel);
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 390px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.services-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  transform: (-4px) !important;
  border-color: #c62828 !important;
}

.services-card img,
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
}

.services-card h3 {
  margin-bottom: 10px;
  margin-top: 20px !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
}

.services-card p {
  color: #f4f6f8;
  font-size: 0.9rem;
  margin-bottom: 20px !important;
}

.service-detail-section {
    padding-top: 70px;
    padding-bottom: 60px;
}

.service-single-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 20px;
}

.service-single-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary, #c62828);
    display: block;
    margin-bottom: 10px;
}

.service-single-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-single-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #f4f6f8;
}

.service-single-content p:last-child {
    margin-bottom: 0;
}

.service-single-img-wrap {
    background: #202d38;
    border-radius: var(--radius, 8px);
    overflow: hidden;
    border: 1px solid var(--color-border, #2b3946);
    text-align: center;
}

.service-single-img-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.service-features-box {
    background: #1a2631;
    border-left: 4px solid var(--color-primary, #c62828);
    padding: 35px;
    border-radius: var(--radius, 8px);
    margin-bottom: 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.service-features-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-features-box ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.9;
    font-size: 1.02rem;
}

.service-process-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

.service-process-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

.service-process-container h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-process-container p {
    color: var(--color-muted, #aab4bf);
    line-height: 1.7;
    font-size: 1.05rem;
}

.services-photo-band {
    width: 100%;
    position: relative;
    background-image: url("img/services/support-bg.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: var(--radius);
    padding: 80px 40px;
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center;
}

.services-photo-content {
    max-width: 750px;
    margin: 0 auto;
}

.services-photo-band .section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffd54f;
    margin-bottom: 12px;
}

.services-photo-band h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-photo-band p {
    font-size: 1.05rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

.services-contact-box {
    margin-top: 50px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 46px 56px;
    text-align: center;
    border-left: 4px solid var(--color-primary);
    overflow: visible;
}

.services-contact-box h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.services-contact-box p {
    max-width: 900px;
    margin: 0 auto 24px;
    color: var(--color-muted);
    line-height: 1.7;
}

/* MEDIA QUERY: @media (max-width: 1024px) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

.services-header h1 {
        font-size: 2.1rem;
    }

.services-intro {
        margin: -40px 15px 40px 15px;
        padding: 25px 20px;
    }

.services-intro h2,
    .services-photo-band h2 {
        font-size: 1.7rem;
    }

.services-photo-band {
        padding: 50px 20px;
        background-attachment: scroll;
    }

.service-single-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 30px;
    }

.service-detail-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

.service-features-box {
        padding: 20px;
        margin-bottom: 40px;
    }

.service-single-title {
        font-size: 1.5rem !important;
    }

.services-contact-box {
        padding: 25px 20px;
    }

}
/* =========================
   DLACZEGO MY (LICZNIKI)
   ========================= */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.advantage-card {
  background-color: #1a2631;
  border: 1px solid var(--color-border);
  min-height: 230px !important;
  padding: 30px 24px !important;
  background: #151f29 !important;
  border-radius: 0 !important;
  border-left: 12px solid #c62828 !important;
}

.counter-number-wrapper {
  font-weight: 800;
  color: #f4f6f8;
  margin-bottom: 8px;
  line-height: 1;
  font-size: clamp(3.4em, 2vw, 4.5rem) !important;
}

.counter-suffix {
    color: var(--color-primary);
}

.advantage-card h3 {
  color: #f4f6f8;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1.05rem !important;
  text-transform: uppercase;
}

.advantage-card p {
    color: #f4f6f8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.product-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  min-height: 460px !important;
  padding: 0 !important;
  background: #1a2631 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.product-card img {
  width: 100%;
  object-fit: cover;
  margin-bottom: 16px;
  height: 260px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 3px solid #241f20 !important;
}

.product-card h3 {
  margin-bottom: 10px;
  margin-top: 20px !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
}

.product-card h3 a {
    color: #f4f6f8;
    text-decoration: none;
}

.product-card h3 a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.product-card .button,
.product-card a.button {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.services-card,
.product-card,
.process-step,
.advantage-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.services-card.is-visible:hover,
.product-card.is-visible:hover,
.process-step.is-visible:hover,
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.button {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 48px;
  padding: 14px 22px !important;
  border: 2px solid #241f20 !important;
  border-radius: 0 !important;
  font-size: .82rem !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.button:hover {
    text-decoration: none;
}

.button-primary {
  background-color: var(--color-primary);
  background: #c62828 !important;
  color: #fff !important;
  border-color: #c62828 !important;
}

.button-primary:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
  background: #241f20 !important;
  border-color: #f4f6f8 !important;
}

.button-secondary {
  background-color: transparent;
  background: #151f29 !important;
  color: #f4f6f8 !important;
  border-color: #f4f6f8 !important;
}

.services-card .button {
  width: 100%;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  margin-top: auto !important;
  margin-bottom: 22px !important;
}

.button-secondary:hover {
  background-color: #1a2631;
  background: #241f20 !important;
  color: #fff !important;
}

.cta {
  text-align: center;
  background-color: #1a2631;
  min-height: 390px !important;
  display: flex;
  align-items: center;
  background: linear-gradient(rgb(36 31 32 / 50%), rgba(16, 24, 32, .88)), url(img/slider/2.webp) center / cover no-repeat !important;
  color: #fff !important;
  border-bottom: 8px solid #c62828 !important;
}

.cta h2 {
  max-width: 950px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(2.4rem, 5vw, 5rem) !important;
  color: #fff !important;
}

.cta p {
  margin-inline: auto;
  margin-bottom: 28px;
  font-size: 1.05rem;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #dbe2e9 !important;
}

.site-footer {
  background-color: #1a2631;
  color: #9ca3af;
  font-size: 0.9rem;
  margin-top: 0;
  padding-top: 55px !important;
  padding-bottom: 25px !important;
  background: #1d1818 !important;
  border-top: 8px solid #c62828 !important;
}

.site-footer .footer-grid {
  margin-inline: auto;
  display: grid;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: min(100% - 36px, 1320px) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 40px !important;
}

.site-footer h3, 
.site-footer h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 8px;
}

.site-footer h3::after, 
.site-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color var(--transition);
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 15px;
}

.site-footer p strong {
    color: #ffffff; 
}

.site-footer .footer-bottom {
  margin-inline: auto;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: #6b7280;
  width: min(100% - 36px, 1320px) !important;
  border-top-color: #2b3946 !important;
}

.site-footer .footer-bottom .separator {
    margin: 0 10px;
}

.site-footer .footer-bottom a {
    color: #6b7280;
}

.site-footer .footer-bottom a:hover {
    color: #ffffff;
}

.contact-page-section {
    padding-block: 80px;
    background-color: var(--color-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-box {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  border-left: 12px solid #c62828 !important;
}

.contact-info-box h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.contact-info-box p {
    color: var(--color-muted);
    margin-bottom: 30px;
}

.contact-details-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item span[class^="icon-"] {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-color: var(--color-primary);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    margin-top: 3px;
}

.icon-phone {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\"></path></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\"></path></svg>");
}

.icon-email {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z\"></path><polyline points=\"22,6 12,13 2,6\"></polyline></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z\"></path><polyline points=\"22,6 12,13 2,6\"></polyline></svg>");
}

.icon-map {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z\"></path><circle cx=\"12\" cy=\"10\" r=\"3\"></circle></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z\"></path><circle cx=\"12\" cy=\"10\" r=\"3\"></circle></svg>");
}

.contact-item h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #f4f6f8;
}

.contact-item a {
    font-size: 1rem;
    font-weight: 500;
}

.contact-form-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px !important;
}

.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box input[type="tel"],
.contact-form-box textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  margin-top: 6px;
  margin-bottom: 16px;
  transition: border-color var(--transition);
  border: 2px solid #8f99a4 !important;
  border-radius: 0 !important;
  background: #1a2631 !important;
  padding: 14px !important;
  background-color: #101820;
  color: #f4f6f8;
  border-color: var(--color-border);
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.contact-form-box input[type="submit"] {
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
    width: 100%;
}

.contact-form-box input[type="submit"]:hover {
    background-color: var(--color-primary-hover);
}

.contact-intro {
    width: 100%;
    margin: 0 auto 45px;
    padding: 36px 42px;
    text-align: center;

    background-color: rgba(21, 31, 41, 0.96);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    border-radius: var(--radius);

    box-shadow: 0 12px 30px rgba(16, 24, 32, 0.08);
}

.contact-intro h1 {
    margin: 0 0 16px;
    color: #f4f6f8;
    font-size: 2rem;
    line-height: 1.25;
}

.contact-intro > p:last-child {
    max-width: 760px;
    margin: 0 auto;
    color: var(--color-muted);
    line-height: 1.7;
}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {

    .contact-intro {
        margin-bottom: 30px;
        padding: 28px 24px;
    }

.contact-intro h1 {
        font-size: 1.6rem;
    }

}

/* =========================
   PODSTRONA O NAS
   ========================= */

.about-hero {
    background-color: var(--color-surface);
}

.about-hero-bg {
    background-image: url("img/about/hero.webp");
}

.about-page-section {
    padding-block: 80px;
    background-color: var(--color-surface);
}

.about-header {
    width: 100%;
    margin-inline: auto;
    margin-bottom: 60px;
    padding: 45px 50px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    border-top: 4px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.about-header h1,
.about-header h2 {
    margin-bottom: 18px;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text-content h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.about-text-content p {
    color: var(--color-steel);
    margin-bottom: 18px;
    line-height: 1.75;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pillar-box {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 22px;
    border-left: 3px solid var(--color-primary);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.pillar-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.pillar-box h3 {
    font-size: 1rem;
    margin-bottom: 9px;
    color: #f4f6f8;
}

.pillar-box p {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.about-image-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.about-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 420px;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(16, 24, 32, 0.9),
        transparent
    );
    padding: 45px 20px 18px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.about-photo-band {
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
}

.about-photo-content {
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
    color: #ffffff;
}

.about-photo-content .section-label {
    color: #ffffff;
}

.about-photo-content h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 18px;
}

.about-photo-content p:not(.section-label) {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.about-photo-band-1 {
    background-image: url("img/about/band1.webp");
}

.about-photo-band-2 {
    background-image: url("img/about/band2.webp");
}

.about-photo-band-3 {
    background-image: url("img/about/band3.webp");
}

.about-stats-wrapper {
    margin-top: 20px;
}

.about-stats-wrapper .advantages-grid {
    margin-bottom: 0;
}

.about-page-section .pillars-grid {
    margin-top: 30px;
}

.about-photo-content .button {
    margin-top: 25px;
}

.about-photo-content .button-secondary {
    background-color: #151f29;
    color: #f4f6f8;
    border-color: #ffffff;
}

.about-photo-content .button-secondary:hover {
    background-color: var(--color-bg);
    color: #f4f6f8;
    border-color: var(--color-bg);
}

/* MEDIA QUERY: @media (max-width: 900px) */
@media (max-width: 900px) {

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

.about-image-box {
        order: -1;
    }

.about-image-box img {
        min-height: 350px;
    }

.about-header {
        margin-bottom: 40px;
    }

.about-photo-band {
        min-height: 360px;
    }

.about-photo-content {
        max-width: 700px;
    }

}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {

    .about-page-section {
        padding-block: 60px;
    }

.about-header {
        margin-bottom: 35px;
    }

.about-header h1 {
        font-size: 1.8rem;
    }

.about-header h2 {
        font-size: 1.5rem;
    }

.about-lead {
        font-size: 1rem;
    }

.about-grid {
        gap: 30px;
    }

.about-text-content h2 {
        font-size: 1.4rem;
    }

.pillars-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

.about-image-box img {
        min-height: 300px;
    }

.about-photo-band {
        min-height: 340px;
        padding-block: 60px;
    }

.about-photo-content h2 {
        font-size: 1.6rem;
    }

.about-photo-content p:not(.section-label) {
        font-size: 0.95rem;
    }

}

/* MEDIA QUERY: @media (max-width: 480px) */
@media (max-width: 480px) {

    .about-page-section {
        padding-block: 50px;
    }

.about-header h1 {
        font-size: 1.6rem;
    }

.about-header h2 {
        font-size: 1.35rem;
    }

.about-text-content h2 {
        font-size: 1.3rem;
    }

.pillar-box {
        padding: 18px;
    }

.about-image-box img {
        min-height: 260px;
    }

.about-photo-content h2 {
        font-size: 1.4rem;
    }

}
/* =========================
   STRONA BŁĘDU 404
   ========================= */
.error-404-page {
    background-color: #1a2631;
    color: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.error-container {
    max-width: 800px;
    margin-inline: auto;
}

.error-code {
    display: block;
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900;
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: -0.05em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.error-404-page h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.error-description {
    color: #9ca3af;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 650px;
    margin-inline: auto;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.error-404-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.25s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.error-404-page .btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.error-404-page .btn-primary:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.error-404-page .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.error-404-page .btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.error-contact-box {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: #9ca3af;
}

.error-contact-link {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.error-contact-link:hover {
    color: #ffffff;
}

.single-product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

.product-image-area {
    position: relative;
    width: 100%;
}

.image-zoom-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: var(--color-surface);
    overflow: hidden;
}

.image-zoom-container img,
.product-image-area img#baseImage {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
}

.zoom-lens {
    position: absolute;
    display: none;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-primary);
    background-color: rgba(198, 40, 40, 0.15);
    pointer-events: none;
}

.product-info-area {
    position: relative;
}

.zoom-result-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    background-repeat: no-repeat;
    display: none;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    pointer-events: none;
}

.product-main-page {
    padding-block: 60px;
}

.product-back-link {
    margin-bottom: 30px;
}

.product-back-link a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.product-back-link a:hover {
    color: var(--color-primary, #c62828);
}

.product-title-row {
    text-align: center;
    margin-bottom: 40px;
}

.product-title-row h1 {
    margin: 0;
    font-size: 2.2rem;
}

.product-specs-box {
    margin-bottom: 30px;
}

.product-specs-box h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-primary, #c62828);
    padding-bottom: 8px;
}

.specs-table {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.specs-table li {
    padding: 8px 0;
    border-bottom: 1px solid #2b3946;
}

.product-description-box {
    margin-bottom: 30px;
}

.product-description-box h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.product-description-text {
    color: #aab4bf;
    line-height: 1.6;
}

.product-cta-box .button {
    padding: 14px 30px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.product-error-box {
    padding: 40px;
    text-align: center;
}

/* MEDIA QUERY: @media (max-width: 1024px) */
@media (max-width: 1024px) {
    .services-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

.advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

.site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

}
/* MEDIA QUERY: @media (max-width: 992px) */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

.header-right {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--color-border);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
        box-sizing: border-box;
    }

.header-right.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

.main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 16px;
    }

.main-navigation ul.sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        display: none;
        margin-top: 10px;
        background: transparent;
    }

.language-switcher.dropdown {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid var(--color-border);
        width: 100%;
    }

.lang-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        display: flex;
        margin-top: 10px;
        padding-left: 15px;
    }

.contact-grid {
        grid-template-columns: 1fr;
    }

.about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

.pillars-grid {
        grid-template-columns: 1fr;
    }

.single-product-wrapper {
        grid-template-columns: 1fr;
    }

.zoom-result-panel,
    .zoom-lens {
        display: none !important;
    }

.image-zoom-container {
        cursor: default;
    }

}
/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .services-grid,
    .products-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

.hero-slider-wrapper {
        height: 580px; 
    }

.hero-slide {
  padding: 40px 16px;
}

.hero-slide h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  margin-bottom: 14px;
}

.hero-slide p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.hero-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 25px;
    }

.hero-buttons .button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

.site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

.site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

.footer-bottom-links {
        justify-content: center;
    }

}
/* MEDIA QUERY: @media (max-width: 576px) */
@media (max-width: 576px) {
    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

}
/* =========================
   HOME - O NAS
   ========================= */
.about-home {
  padding: 80px 0;
  background-color: var(--color-surface);
  background: #151f29 !important;
}

.about-home-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.about-home-image img {
  display: block;
  border: 1px solid var(--color-border);
  width: 100% !important;
  height: 100% !important;
  min-height: 560px !important;
  object-fit: cover !important;
}

.about-home-content h2 {
    margin-bottom: 20px;
}

.about-home-lead {
  color: var(--color-steel);
  margin-bottom: 25px;
  font-size: 1.18rem !important;
  line-height: 1.55 !important;
  font-weight: 700;
}

.about-home-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  margin-top: 22px !important;
  padding-left: 22px !important;
  column-gap: 30px;
}

.about-home-list li {
  position: relative;
  padding-left: 25px;
  color: var(--color-steel);
  margin-bottom: 9px;
  font-weight: 700;
}

.about-home-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.process-section {
  padding: 80px 0;
  background-color: var(--color-bg);
  background: #241f20 !important;
  color: #fff !important;
}

.process-grid {
  margin-top: 40px;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.process-step {
  position: relative;
  border-top: 3px solid var(--color-primary);
  min-height: 270px !important;
  padding: 28px !important;
  background: #2b2424 !important;
  border: 2px solid #65717d !important;
  border-radius: 0 !important;
}

.process-number {
  display: block;
  margin-bottom: 30px;
  font-size: 3rem !important;
  line-height: 1;
  font-weight: 900 !important;
  color: #ffca28 !important;
}

.process-step h3 {
    margin-bottom: 12px;
}

.process-step p {
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.home-news {
    padding: 80px 0;
    
}

.home-news-grid {
  margin-top: 40px;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.home-news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  background: #151f29 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.home-news-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: -4px !important;
}

.home-news-image {
  display: block;
  height: 230px !important;
  border-bottom: 3px solid #241f20;
  overflow: hidden;
}

.home-news-image img {
  display: block;
  transition: transform var(--transition);
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.home-news-image:hover img {
    transform: scale(1.03);
}

.home-news-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px !important;
}

.home-news-content time {
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.home-news-content h3 {
  margin-bottom: 12px;
  font-size: 1.35rem !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}

.home-news-content h3 a {
    color: #f4f6f8;
    text-decoration: none;
}

.home-news-content h3 a:hover {
    color: var(--color-primary);
}

.home-news-excerpt {
  flex-grow: 1;
  line-height: 1.6;
  color: #aab4bf !important;
}

.home-news-excerpt p:last-child {
    margin-bottom: 0;
}

.home-news-link {
  color: var(--color-primary);
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-news-link:hover {
    text-decoration: underline;
}

.home-news-more {
    margin-top: 40px;
    text-align: center;
}

.home-news-empty {
    margin-top: 40px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
}

/* MEDIA QUERY: @media (max-width: 992px) */
@media (max-width: 992px) {
    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

.about-home-image img {
        height: 400px;
    }

.process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

.home-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}
/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .about-home,
    .process-section,
    .home-news {
        padding: 60px 0;
    }

.about-home-image img {
        height: 320px;
    }

.process-grid,
    .home-news-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   HOME - PRODUKTY SLIDER
   ========================= */
.home-products-section {
    overflow: hidden;
}

.home-products-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 4px;
}

.home-products-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.home-products-track {
    display: flex;
    gap: 24px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.home-product-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 24, 32, 0.06);
  height: 100%;
}

.home-product-image {
    position: relative;
    display: block;
    height: 280px;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    margin: 0;
    border: 0;
    transition: transform 0.35s ease;
}

.home-product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 24, 32, 0.12) 20%, rgba(16, 24, 32, 0.82) 100%);
}

.home-product-image-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #ffffff;
}

.home-product-image-content small {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff0b3;
}

.home-product-image-content strong {
    font-size: 1.25rem;
    line-height: 1.25;
}

.home-product-image:hover img {
    transform: scale(1.04);
}

.home-product-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 22px;
}

.home-product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 48px;
    margin-bottom: 20px;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.home-product-meta strong {
    color: #f4f6f8;
}

.home-product-button {
    align-self: center;
    min-width: 190px;
    text-align: center;
}

.home-products-arrow {
    position: relative;
    z-index: 2;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    color: #f4f6f8;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.08);
    transition: background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.home-products-arrow:hover:not(:disabled) {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 24, 32, 0.14);
}

.home-products-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.home-products-more {
    margin-top: 40px;
    text-align: center;
}

.home-gallery {
  padding: 80px 0;
  background: #151f29 !important;
}

.home-gallery-grid {
  grid-auto-rows: 220px;
  margin-top: 40px;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch;
}

.home-gallery-item {
  background: var(--color-dark);
  cursor: zoom-in;
  height: 290px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  margin: 0;
}

.home-gallery-item:first-child {
    grid-row: span 2;
}

.home-gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .25s ease;
  display: block;
  object-position: center;
  margin: 0;
}

.home-gallery-overlay {
  transition: background var(--transition);
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent) !important;
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  margin: 0;
}

.home-gallery-item:hover img {
  transform: scale(1.04);
}

.home-gallery-item:hover .home-gallery-overlay {
    background: rgba(198, 40, 40, 0.16);
}

.home-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 80px;
    background: rgba(16, 24, 32, 0.9);
}

.home-lightbox[hidden] {
    display: none;
}

body.lightbox-open {
    overflow: hidden;
}

.home-lightbox-content {
    max-width: min(1200px, 90vw);
    max-height: 90vh;
    margin: 0;
    text-align: center;
}

.home-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.home-lightbox-content figcaption {
    margin-top: 12px;
    color: #ffffff;
    font-size: 0.9rem;
}

.home-lightbox-close,
.home-lightbox-prev,
.home-lightbox-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(16, 24, 32, 0.75);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.home-lightbox-close:hover,
.home-lightbox-prev:hover,
.home-lightbox-next:hover {
    background: var(--color-primary);
}

.home-lightbox-close {
    top: 24px;
    right: 24px;
}

.home-lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.home-lightbox-prev:hover {
    transform: translateY(-50%) translateY(-1px);
}

.home-lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.home-lightbox-next:hover {
    transform: translateY(-50%) translateY(-1px);
}

.home-products-arrow:focus-visible,
.slider-btn:focus-visible,
.back-to-top:focus-visible,
.home-lightbox button:focus-visible {
    outline: 3px solid rgba(198, 40, 40, 0.35);
    outline-offset: 3px;
}

.home-faq {
  padding: 80px 0;
  background: #241f20 !important;
  color: #fff !important;
}

.home-faq-list {
  max-width: 1050px !important;
  margin: 0 auto !important;
}

.home-faq-item {
  border-bottom: 0;
  margin-bottom: 7px !important;
  border: 2px solid #66717d !important;
  border-radius: 0 !important;
  background: #2b2424 !important;
}

.home-faq-item:last-child {
    border-bottom: 1px solid var(--color-dark);
}

.home-faq-item summary {
  position: relative;
  background: var(--color-dark);
  list-style: none;
  transition: background-color 0.2s ease;
  padding: 21px 24px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  color: #fff !important;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary:hover {
    background: var(--color-primary-hover);
}

.home-faq-item[open] summary {
    background: var(--color-primary); /* Zmienia tło paska po rozwinęciu */
}

.home-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;

    transform: translateY(-50%) rotate(0deg);

    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;

    transition: transform 0.4s ease;
}

.home-faq-item[open] summary::after {
    content: "+";
    transform: translateY(-50%) rotate(45deg);
}

.home-faq-answer {
  padding: 0 24px 22px !important;
  background: #151f29 !important;
}

.home-faq-answer p {
    margin: 0;
    color: #f4f6f8;
    line-height: 1.75;
}

.advantages-more {
    display: flex;
    justify-content: center;
}

.home-products-more .button{
    background-color: transparent;
    color: #f4f6f8;
    border-color: #f4f6f8;
}

.home-news-more .button{
    background-color: transparent;
    color: #f4f6f8;
    border-color: #f4f6f8;
}

.home-products-more .button:hover {
    background-color: #1a2631;
    color: #ffffff;
}

.home-news-more .button:hover {
    background-color: #1a2631;
    color: #ffffff;
}

.advantages-more .button{
    background-color: #151f29;
    color: #d4dbe2;
}

.advantages-more .button:hover{
    background-color: #9a9999;
    color: #d4dbe2;
}

.about-home-content .button,
.cta .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    text-align: center;
}

.services-contact-box .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--color-dark);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 24, 32, 0.2);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary);
}

/* MEDIA QUERY: @media (max-width: 992px) */
@media (max-width: 992px) {

.hero-slide {
        min-height: 480px;
        padding: 80px 20px;
    }

.home-product-slide {
        flex-basis: calc((100% - 24px) / 2);
    }

.home-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }

.home-gallery-item:first-child {
        grid-row: span 1;
    }

}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {

.home-faq-item summary {
        font-size: 0.90rem !important;
        padding: 21px 40px !important;
    }

.hero-slide {
        min-height: 360px;
        padding: 50px 28px;
    }

.hero-slide::after {
        background: rgba(16, 24, 32, 0.76);
    }

.home-products-slider {
        gap: 10px;
    }

.home-product-slide {
        flex-basis: 100%;
    }

.home-products-arrow {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

.home-product-image {
        height: 250px;
    }

.home-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

.home-gallery-item:first-child {
        grid-row: span 1;
    }

.services-contact-box {
        padding: 34px 24px;
    }

.home-lightbox {
        padding: 24px 54px;
    }

.home-lightbox-close {
        top: 12px;
        right: 12px;
    }

.home-lightbox-prev {
        left: 10px;
    }

.home-lightbox-next {
        right: 10px;
    }

.back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

}

/* MEDIA QUERY: @media (max-width: 576px) */
@media (max-width: 576px) {

    .hero-slide {
        min-height: 430px;
        padding: 60px 20px;
    }

.home-product-details {
        padding: 18px;
    }

.home-product-button {
        width: 100%;
    }

.home-faq-item summary {
        padding-left: 18px;
        padding-right: 48px;
    }

.home-faq-answer {
        padding-left: 18px;
        padding-right: 18px;
    }

.home-lightbox {
        padding: 20px 48px;
    }

.home-lightbox-close,
    .home-lightbox-prev,
    .home-lightbox-next {
        width: 40px;
        height: 40px;
    }

}

/* =========================
   HOME - PEŁNOSZEROKIE TŁA ZDJĘCIOWE
   ========================= */

.home-photo-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    background-attachment: fixed;
}

.home-photo-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(16, 24, 32, 0.75),
        rgba(16, 24, 32, 0.55)
    );
}

.home-photo-band > .container {
    position: relative;
    z-index: 1;
}

.home-photo-band .section-label,
.hero-slide .section-label {
    display: inline-block;
    color: #ffd54f !important;
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em;
}

.home-photo-advantages {
    background-image: url("img/services/service-maintenance.webp");
}

.home-photo-faq {
    background-image: url("img/services/service-repairs.webp");
    background-position: center var(--parallax-offset, 0px);
}

.contact-photo-band {
    background-image: url("img/services/service-rental.webp");
}

.home-photo-band .home-faq-item {
    background: var(--color-dark);
}

.home-photo-band .home-faq-item summary {
    color: #ffffff;
}

.home-photo-band .home-faq-item summary::after {
    color: #ffffff;
}

.home-photo-band .home-faq-answer {
    background: var(--color-surface);
}

.home-photo-band .home-faq-answer p {
    color: #f4f6f8;
    margin-top: 10px !important;
}

.home-location {
  padding: 80px 0;
  background: #151f29 !important;
}

.home-location .section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
}

.home-location .section-heading p:last-child {
    color: var(--color-muted);
    margin: 0 auto;
    line-height: 1.7;
}

.home-location-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.home-location-info {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 38px !important;
}

.home-location-label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-location-info h3 {
  margin: 0 0 18px;
  line-height: 1.4;
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: #f4f6f8 !important;
}

.home-location-info > p {
    margin: 0 0 28px;
    color: var(--color-muted);
    line-height: 1.7;
}

.home-location-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
  margin-top: 28px !important;
  padding-top: 22px !important;
  border-top: 3px solid #241f20 !important;
}

.home-location-contact-label {
    display: block;
    margin-bottom: 6px;
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-location-contact a {
  color: #f4f6f8;
  text-decoration: none;
  transition: color var(--transition);
  font-size: 1.1rem;
  font-weight: 800;
}

.home-location-contact a:hover {
    color: var(--color-primary);
}

.home-location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
}

.home-location-map {
  position: relative;
  min-height: 390px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #202d38;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.08);
  overflow: hidden !important;
}

.home-location-map iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 430px !important;
  border: 0 !important;
}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .home-photo-band,
    .about-photo-band,
    .services-photo-band {
        background-position: center center !important;
        background-attachment: scroll !important;
    }

.home-location {
        padding: 60px 0;
    }

.home-location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

.home-location-info {
        padding: 28px;
    }

.home-location-map {
        min-height: 320px;
    }

.home-location-map iframe {
        height: 320px;
    }

}

/* MEDIA QUERY: @media (max-width: 576px) */
@media (max-width: 576px) {
    .home-photo-band,
    .about-photo-band,
    .services-photo-band {
        background-position: center center !important;
        background-attachment: scroll !important;
    }

.home-location-contact {
        grid-template-columns: 1fr;
        gap: 16px;
    }

.home-location-info {
        padding: 22px;
    }

.home-location-button {
        width: 100%;
    }

}

/* =========================
   HOME - RODZAJE TRANSFORMATORÓW
   ========================= */

.transformer-types {
  padding: 80px 0;
  background: #151f29 !important;
  color: #f4f6f8 !important;
}

.transformer-types-grid {
  margin-top: 40px;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.transformer-type-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform var(--transition),
                box-shadow var(--transition),
                border-color var(--transition);
  min-height: 250px !important;
  padding: 30px !important;
  border: 2px solid #66717d !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #151f29 !important;
  color: #f4f6f8 !important;
}

.transformer-type-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transform: none !important;
  background: #c62828 !important;
  color: #ffffff !important;
  border-color: #f4f6f8 !important;
}

.transformer-type-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  transform-origin: center bottom;
  background: #c62828 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
}

.transformer-type-icon::before {
    content: "✓";

    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;

    transform-origin: center;
}

.transformer-type-card:hover .transformer-type-icon {
  animation: transformerCheckBounce 0.65s cubic-bezier(.34, 1.56, .64, 1);
  background: #151f29 !important;
  color: #c62828 !important;
}

.transformer-type-card:hover .transformer-type-icon::before {
    animation: transformerCheckSpin 0.65s ease-in-out;
}

@keyframes transformerCheckBounce {
    0% {
        transform: translateY(0);
    }

25% {
        transform: translateY(-9px);
    }

45% {
        transform: translateY(0);
    }

60% {
        transform: translateY(-4px);
    }

75% {
        transform: translateY(0);
    }

88% {
        transform: translateY(-1px);
    }

100% {
        transform: translateY(0);
    }

}

/* =========================
   ANIMACJA - OBRÓT PTASZKA
   ========================= */

@keyframes transformerCheckSpin {
    0% {
        transform: rotate(0deg);
    }

45% {
        transform: rotate(200deg);
    }

75% {
        transform: rotate(330deg);
    }

100% {
        transform: rotate(360deg);
    }

}

/* =========================
   TREŚĆ KAFELKA
   ========================= */

.transformer-type-content h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
}

.transformer-type-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #aab4bf !important;
}

.transformer-types-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 45px;
}

/* MEDIA QUERY: @media (max-width: 1024px) */
@media (max-width: 1024px) {
    .transformer-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .transformer-types {
        padding: 60px 0;
    }

.transformer-types-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }

.transformer-types-buttons {
        flex-direction: column;
        margin-top: 35px;
    }

.transformer-types-buttons .button {
        width: 100%;
        text-align: center;
    }

}

/* =========================
   GLOBALNY BANER COOKIE (RODO)
   ========================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a2631;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    box-sizing: border-box;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
    min-width: 280px; /* Zapewnia, że tekst nie zwinie się zbytnio na węższych ekranach */
}

.cookie-content a {
    color: #ffd54f;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-secondary,
.btn-cookie-primary {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-cookie-secondary {
    background-color: #4d4d4d;
    color: #ffffff;
}

.btn-cookie-secondary:hover {
    background-color: #666666;
}

.btn-cookie-primary {
    background-color: #ffc107;
    color: #f4f6f8;
}

.btn-cookie-primary:hover {
    background-color: #e0a800;
}

.cookie-preferences-button {
    position: fixed;
    left: 0;
    bottom: 90px;

    width: auto;
    min-width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    padding: 10px 14px 10px 12px;

    background-color: var(--color-surface);
    color: var(--color-text);

    border: 1px solid var(--color-border);
    border-left: none;
    border-radius: 0 8px 8px 0;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);

    cursor: pointer;
    z-index: 9998;

    transform: translateX(calc(-100% + 48px));

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.2s ease;

    font: inherit;
}

.cookie-preferences-button:hover,
.cookie-preferences-button:focus-visible {
    transform: translateX(0);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.cookie-preferences-icon {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cookie-preferences-text {
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
}

/* MEDIA QUERY: @media screen and (max-width: 768px) */
@media screen and (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }

.cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

.cookie-content p {
        font-size: 13px;
        text-align: center;
    }

.cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

.btn-cookie-secondary,
    .btn-cookie-primary {
        width: 100%;
        padding: 12px 15px;
        text-align: center;
    }

.cookie-preferences-button {
        bottom: 80px;

        min-width: 44px;
        height: 44px;

        padding: 9px 12px 9px 10px;

        transform: translateX(calc(-100% + 44px));
    }

.cookie-preferences-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

.cookie-preferences-text {
        font-size: 0.85rem;
    }

}

/* =================================================================u
   BLOG: Główny kontener i nagłówek
   ================================================================ */
.blog-page {
    padding-block: 60px;
}

.blog-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.blog-header .section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--color-primary, #c62828); /* Dostosuj do swoich zmiennych kolorów */
    margin-bottom: 10px;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-heading, #f4f6f8);
}

.blog-header-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted, #aab4bf);
    line-height: 1.5;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: #151f29;
    border: 1px solid var(--color-border, #2b3946);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.blog-card-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Zapewnia równe proporcje grafik */
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.03);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--color-text-muted, #aab4bf);
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--color-heading, #f4f6f8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--color-primary, #c62828);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-text, #d4dbe2);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Wpycha przycisk zawsze na sam dół karty */
}

.blog-card-excerpt p {
    margin: 0;
}

.blog-card-action {
    margin-top: auto;
}

.blog-pagination {
    text-align: center;
    margin-top: 40px;
}

.blog-pagination .nav-links {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.blog-pagination .page-numbers {
    padding: 8px 14px;
    border: 1px solid var(--color-border, #2b3946);
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-text, #d4dbe2);
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.blog-pagination .page-numbers.current {
    background: var(--color-primary, #c62828);
    color: #fff;
    border-color: var(--color-primary, #c62828);
}

.blog-pagination .page-numbers:hover:not(.current) {
    background: #1a2631;
}

.blog-empty {
    text-align: center;
    padding: 40px 0;
    font-size: 1.1rem;
    color: var(--color-text-muted, #aab4bf);
}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .blog-page {
        padding-block: 40px; /* Zmniejszamy padding góra/dół strony na mobile */
    }

.blog-header {
        margin-bottom: 35px;
    }

.blog-header h1 {
        font-size: 2rem; /* Zmniejszamy główny tytuł, żeby nie rozrywał ekranu */
    }

.blog-header-subtitle {
        font-size: 1rem;
    }

.blog-grid {
        gap: 20px; /* Mniejsze odstępy między kartami na telefonach */
    }

}

/* Animacja pojawiania się elementów na stronie */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s ease-out,
        transform 0.65s ease-out;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services h2,
.advantages h2,
.products h2,
.cta h2,
.home-gallery h2,
.home-faq h2,
.home-news h2,
.home-location h2,
.about-home h2,
.transformer-types h2,
.process-section h2 {
    margin-bottom: 45px !important;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    line-height: .98 !important;
    letter-spacing: -.035em;
    font-weight: 900 !important;
}

.services > .container,
.advantages > .container,
.products > .container,
.about-home > .container,
.transformer-types > .container,
.process-section > .container,
.home-gallery > .container,
.home-faq > .container,
.home-news > .container,
.home-location > .container {
    max-width: 1320px !important;
}

.services .section-heading,
.advantages .section-heading,
.products .section-heading,
.about-home .section-heading,
.transformer-types .section-heading,
.process-section .section-heading,
.home-gallery .section-heading,
.home-faq .section-heading,
.home-news .section-heading,
.home-location .section-heading {
    text-align: center !important;
    max-width: 1050px;
    margin: 0 auto 28px;
}

.about-home-image {
    min-height: 560px !important;
}

.about-home-content {
    padding: 38px !important;
}

.transformer-types h2,
.transformer-types h3,
.transformer-types p {
  color: #f4f6f8 !important;
}

.transformer-types .section-label {
  color: #c62828 !important;
}

.transformer-type-card h3 {
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    margin-bottom: 12px !important;
}

.services {
    padding-block: 80px;
    background: #151f29;
}

.services-card img {
    height: 230px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 3px solid #241f20 !important;
    object-fit: cover !important;
}

.services-card h3,
.services-card p,
.services-card .button {
    margin-left: 22px !important;
    margin-right: 22px !important;
}

.advantage-card:hover {
    transform: -4px !important;
}

.products {
    background: #151f29 !important;
}

.product-card h3,
.product-card > *:not(img) {
    margin-left: 22px !important;
    margin-right: 22px !important;
}

.product-card .button {
    margin-top: auto !important;
    margin-bottom: 22px !important;
}

.process-section h2,
.process-section h3,
.process-section p,
.process-section .process-number {
    color: #fff !important;
}

.process-step:hover {
    transform: none !important;
    background: #c62828 !important;
    box-shadow: none !important;
}

.home-gallery-item:nth-child(1),
.home-gallery-item:nth-child(4) {
    grid-column: span 2;
}

.home-faq h2,
.home-faq p {
    color: #fff !important;
}

.home-faq-item[open] {
    border-color: #c62828 !important;
}

.home-location-info,
.home-location-map {
    min-height: 430px !important;
    border-radius: 0 !important;
}

.home-location-label,
.home-location-contact-label {
    display: block;
    margin-bottom: 8px;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #c62828;
}

.site-footer .footer-grid > * {
    padding: 12px !important;
}

/* MEDIA QUERY: @media (min-width: 1024px) */
@media (min-width: 1024px) {
    .site-footer .footer-grid > * {
        margin-inline: auto !important;
    }

}

.site-footer h3,
.site-footer h4 {
    font-size: 1rem !important;
    font-weight: 900 !important;
}

.site-footer h3::after,
.site-footer h4::after {
    width: 55px !important;
    height: 4px !important;
}

.about-header,
.contact-intro,
.services-intro,
.service-features-box,
.contact-info-box,
.contact-form-box {
    border-radius: 0 !important;
}

.services-grid,
.products-grid,
.advantages-grid,
.process-grid,
.home-news-grid,
.transformer-types-grid {
    align-items: stretch;
}

.contact-grid,
.about-grid,
.service-single-grid {
    gap: 10px !important;
}

.contact-info-box,
.contact-form-box,
.about-header,
.service-features-box {

    box-shadow: none !important;
}

th,
td {
    border: 1px solid #9aa4ae !important;
    padding: 12px 14px !important;
}

/* MEDIA QUERY: @media (max-width: 1100px) */
@media (max-width: 1100px) {
    .main-navigation ul {
        gap: 0 !important;
    }

.main-navigation a {
        padding-inline: 9px !important;
        font-size: .75rem !important;
    }

.about-home-grid,
    .home-location-grid {
        grid-template-columns: 1fr !important;
    }

.about-home-image,
    .about-home-image img {
        min-height: 420px !important;
    }

.advantages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

.process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

.site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}

/* MEDIA QUERY: @media (max-width: 900px) */
@media (max-width: 900px) {
    .services-grid,
    .products-grid,
    .home-news-grid,
    .transformer-types-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

.home-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

.home-gallery-item:nth-child(1),
    .home-gallery-item:nth-child(4) {
        grid-column: span 1;
    }

.hero-slider-wrapper {
        min-height: 540px;
        height: 68vh !important;
    }

.hero-slide h1 {
        font-size: clamp(2.8rem, 8vw, 5rem) !important;
    }

.about-home-list {
        columns: 1;
    }

}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        width: min(100% - 24px, 1320px) !important;
    }

.header-container {
        min-height: 70px;
    }

.header-right {
        gap: 8px !important;
    }

.main-navigation {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

.hero-slider-wrapper {
        min-height: 560px;
        height: 78vh !important;
    }

.hero-slide {
        padding: 30px 12px !important;
        align-items: flex-end;
        padding-bottom: 90px !important;
    }

.hero-slide h1 {
        font-size: clamp(2.5rem, 12vw, 4rem) !important;
    }

.services-grid,
    .products-grid,
    .advantages-grid,
    .process-grid,
    .home-news-grid,
    .transformer-types-grid,
    .home-gallery-grid,
    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
    }

.home-gallery-item,
    .home-gallery-item:nth-child(1),
    .home-gallery-item:nth-child(4) {
        grid-column: auto !important;
        height: 260px !important;
    }

.about-home-content,
    .home-location-info {
        padding: 26px !important;
    }

.services-card {
        min-height: 0 !important;
    }

.product-card {
        min-height: 0 !important;
    }

.advantages-grid {
        grid-template-columns: 1fr 1fr !important;
    }

.process-grid {
        grid-template-columns: 1fr 1fr !important;
    }

}

/* MEDIA QUERY: @media (max-width: 520px) */
@media (max-width: 520px) {
    .advantages-grid,
    .process-grid {
        grid-template-columns: 1fr !important;
    }

.hero-slider-wrapper {
        min-height: 600px;
    }

.hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

.hero-buttons .button {
        width: 100%;
        text-align: center;
    }

.about-home-image,
    .about-home-image img,
    .home-location-info,
    .home-location-map,
    .home-location-map iframe {
        min-height: 320px !important;
    }

.cta {
        min-height: 330px !important;
    }

}

/* =========================================================
   FINALNE POPRAWKI — O NAS / HERO MOBILE / TYPY / FAQ
   ========================================================= */

/* O NAS — więcej miejsca na tekst na komputerze */
/* MEDIA QUERY: @media (min-width: 901px) */
@media (min-width: 901px) {
    .about-home-grid {
        grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) !important;
        gap: 24px !important;
    }

.about-home-content {
        min-width: 0 !important;
        padding: 42px 48px !important;
    }

.about-home-content h2,
    .about-home-lead,
    .about-home-list {
        max-width: none !important;
        width: 100% !important;
    }

.about-home-list {
        column-gap: 42px !important;
    }

}

/* HERO — nie chowaj początku tytułu pod nagłówkiem */
/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .hero-slide {
        align-items: center !important;
        justify-content: center !important;
        padding: 118px 18px 105px !important;
    }

.hero-slide-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 18px !important;
    }

.hero-slide h1 {
        margin-top: 28px !important;
        margin-bottom: 24px !important;
        line-height: .94 !important;
        max-width: 100% !important;
    }

.hero-slide p {
        max-width: 100% !important;
    }

}

/* MEDIA QUERY: @media (max-width: 520px) */
@media (max-width: 520px) {
    .hero-slide {
        padding-top: 132px !important;
        padding-bottom: 105px !important;
    }

.hero-slide-inner {
        padding-top: 12px !important;
    }

.hero-slide h1 {
        margin-top: 34px !important;
        font-size: clamp(2.35rem, 11.5vw, 3.8rem) !important;
    }

}

/* RODZAJE TRANSFORMATORÓW — czytelne kolory zamiast zlanego granatu */
.transformer-type-card:hover h3,
.transformer-type-card:hover p {
    color: #ffffff !important;
}

.home-faq-answer,
.home-faq-answer p,
.home-faq-answer li,
.home-faq-answer span,
.home-faq-answer strong,
.home-faq-answer a {
    color: #f4f6f8 !important;
}

.home-faq-answer a {
    text-decoration: underline;
}

.hero-slide-inner h1,
.hero-slider-section .hero-slide-inner h1 {
  font-size: 2rem !important;
  line-height: 1.08;
  max-width: 760px;
  margin-bottom: 14px;
}

.hero-slide-inner p,
.hero-slider-section .hero-slide-inner p {
  font-size: clamp(.88rem, 1.05vw, 1.05rem);
  line-height: 1.45;
  max-width: 650px;
  margin-bottom: 0;
}

.hero-buttons a,
.hero-buttons .btn,
.hero-buttons button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: .88rem;
}

.slider-controls button,
.slider-controls a {
    position: relative;
    margin: 0;
}

.home-product-slide,
.home-product-card {
    min-width: 0;
}

/* MEDIA QUERY: @media (max-width: 900px) */
@media (max-width: 900px) {
    .hero-slide-inner h1,
    .hero-slider-section .hero-slide-inner h1 {
        font-size: clamp(2rem, 7vw, 3.4rem);
    }

.hero-slide-inner p,
    .hero-slider-section .hero-slide-inner p {
        font-size: 1rem;
    }

.home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .hero-slide-inner h1,
    .hero-slider-section .hero-slide-inner h1 {
        font-size: 1.6rem !important;
        line-height: 1.2;
    }

}

/* MEDIA QUERY: @media (max-width: 600px) */
@media (max-width: 600px) {
    .hero-slide-inner {
        padding-bottom: 115px;
    }

.hero-buttons {
        gap: 10px;
        margin-top: 22px;
    }

.hero-buttons a,
    .hero-buttons .btn,
    .hero-buttons button {
        min-height: 44px;
        padding: 10px 18px;
        font-size: .9rem;
    }

.slider-controls {
        bottom: 20px;
    }

.home-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

.home-gallery-item {
        aspect-ratio: 16 / 10;
    }

}

/* =========================================================
   SLIDER — JESZCZE MNIEJSZA TYPOGRAFIA
   ========================================================= */

/* MEDIA QUERY: @media (max-width: 900px) */
@media (max-width: 900px) {
    .hero-slide-inner h1,
    .hero-slider-section .hero-slide-inner h1 {
        font-size: clamp(1.5rem, 5.5vw, 2.5rem);
    }

.hero-slide-inner p,
    .hero-slider-section .hero-slide-inner p {
        font-size: .9rem;
        line-height: 1.4;
    }

}

/* MEDIA QUERY: @media (max-width: 600px) */
@media (max-width: 600px) {
    .hero-slide-inner h1,
    .hero-slider-section .hero-slide-inner h1 {
        font-size: 1.55rem;
        line-height: 1.1;
    }

.hero-slide-inner p,
    .hero-slider-section .hero-slide-inner p {
        font-size: .85rem;
    }

}

/* =========================================================
   FINAL — SLIDER: CZYTELNY TYTUŁ + MOCNIEJSZY KONTAKT
   Jasny niebieski tekst + ciemne obramowanie.
   Bez uzależnienia od jasnego/ciemnego motywu.
   ========================================================= */

/* Tytuł slidera — jasny niebieski z ciemnym obrysem */
.hero-slide-inner h1,
.hero-slider-section .hero-slide-inner h1,
.hero-slide.active .hero-slide-inner h1 {
    color: #ebf3f8 !important;
    font-size: 48px !important;
    line-height: 1.08;
    max-width: 760px;
    margin-bottom: 18px;
}

.hero-slide-inner p,
.hero-slider-section .hero-slide-inner p,
.hero-slide.active .hero-slide-inner > p:not(.section-label) {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.45;
    max-width: 650px;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.75);
}

.hero-buttons .button,
.hero-buttons a,
.hero-buttons button {
    position: relative;
    z-index: 5;
    min-height: 48px;
    padding: 12px 24px;
    line-height: 1.2;
    font-weight: 700;
    border-radius: 3px;
    text-decoration: none;
}

.hero-buttons a[href*="kontakt"]:hover,
.hero-buttons a[href*="contact"]:hover,
.hero-buttons .contact:hover,
.hero-buttons .button-contact:hover,
.hero-buttons a:first-child:hover {
    background: #151f29 !important;
    color: #f4f6f8 !important;
    border-color: #f4f6f8 !important;
    transform: translateY(-1px);
    box-shadow:
        0 0 0 2px #ffe082,
        0 7px 18px rgba(0,0,0,0.50);
}

.hero-buttons a:not(:first-child),
.hero-buttons .button-secondary {
    background: rgba(16, 24, 32, 0.78) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons a:not(:first-child):hover,
.hero-buttons .button-secondary:hover {
    background: #151f29 !important;
    color: #f4f6f8 !important;
    border-color: #f4f6f8 !important;
}

/* MEDIA QUERY: @media (max-width: 900px) */
@media (max-width: 900px) {
    .hero-slide-inner h1,
    .hero-slider-section .hero-slide-inner h1,
    .hero-slide.active .hero-slide-inner h1 {
        font-size: 40px !important;
        max-width: 650px;
    }

.hero-slide-inner p,
    .hero-slider-section .hero-slide-inner p,
    .hero-slide.active .hero-slide-inner > p:not(.section-label) {
        font-size: 16px !important;
        max-width: 560px;
    }

}

/* Telefon */
/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .hero-slide-inner h1,
    .hero-slider-section .hero-slide-inner h1,
    .hero-slide.active .hero-slide-inner h1 {
        font-size: 30px !important;
        line-height: 1.12;
        max-width: 100%;
    }

.hero-slide-inner p,
    .hero-slider-section .hero-slide-inner p,
    .hero-slide.active .hero-slide-inner > p:not(.section-label) {
        font-size: 15px !important;
        max-width: 100%;
    }

.hero-buttons {
        gap: 10px;
        margin-bottom: 52px;
    }

.hero-buttons .button,
    .hero-buttons a,
    .hero-buttons button {
        min-height: 46px;
        padding: 11px 18px;
    }

}

/* =========================================================
   FINAL — "SKONTAKTUJ SIĘ"
   Nie zmieniamy tytułu ani pozostałych przycisków.
   ========================================================= */

.hero-buttons a[href*="kontakt"]:hover,
.hero-buttons a[href*="contact"]:hover,
.hero-buttons .contact:hover,
.hero-buttons .button-contact:hover {
    background: #151f29 !important;
    color: #f4f6f8 !important;
    border-color: #f4f6f8 !important;
    box-shadow:
        0 0 0 2px #ffe082,
        0 7px 20px rgba(0,0,0,0.55);
}

/* MEDIA QUERY: @media (max-width: 768px) */
@media (max-width: 768px) {
    .hero-buttons a[href*="kontakt"],
    .hero-buttons a[href*="contact"],
    .hero-buttons .contact,
    .hero-buttons .button-contact {
        min-height: 46px;
        padding: 11px 18px;
    }

}

/* =========================
   KOREKTA MOTYWU CIEMNEGO
   Usuwa jasne powierzchnie pozostawione przez wcześniejsze reguły.
   Bez zmian w układzie, selektorach bazowych ani responsywności.
   ========================= */
body,
.services, .advantages, .products, .cta,
.contact-page-section, .about-hero, .about-page-section {
    background-color: var(--color-bg);
    color: var(--color-steel);
}

.site-header,
.main-navigation ul.sub-menu,
.lang-dropdown-menu,
.services-intro,
.services-contact-box,
.product-card,
.contact-form-box,
.contact-intro {
    background-color: var(--color-surface);
    color: var(--color-steel);
}

.advantages, .products,
.advantage-card, .services-card,
.pillar-box, .about-header, .contact-info-box,
.service-features-box {
    background-color: #1a2631;
    color: var(--color-steel);
}

.services h2, .products h2, .cta h2,
.advantages h2, .services-card h3, .services-intro h2,
.service-single-title, .service-features-box h3,
.advantage-card h3, .advantage-card .counter-number-wrapper,
.product-card h3 a, .contact-info-box h2, .contact-item h3,
.contact-intro h1, .about-header h1, .about-header h2,
.about-text-content h2, .pillar-box h3 {
    color: #f4f6f8;
}

.services-card p, .advantage-card p, .services-intro p,
.service-single-content p, .service-process-container p,
.services-contact-box p, .contact-info-box p,
.contact-intro > p:last-child, .about-lead,
.about-text-content p, .pillar-box p {
    color: #c4ced8;
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
    color: #aab4bf;
}

.contact-page-section,
.contact-page-section .contact-info-box,
.contact-page-section .contact-form-box,
.contact-page-section .contact-intro,
.about-hero,
.about-page-section,
.about-page-section .about-header,
.about-page-section .pillar-box,
.about-page-section .about-stats-wrapper,
.about-page-section .advantage-card,
.about-page-section .service-features-box {
    background-color: #101820 !important;
    color: #d4dbe2 !important;
}

.contact-page-section .contact-info-box,
.contact-page-section .contact-form-box,
.contact-page-section .contact-intro,
.about-page-section .about-header,
.about-page-section .pillar-box,
.about-page-section .advantage-card,
.about-page-section .service-features-box {
    border-color: #e51b2b !important;
}

.contact-page-section h1,
.contact-page-section h2,
.contact-page-section h3,
.contact-page-section h4,
.contact-page-section p,
.contact-page-section label,
.contact-page-section .contact-item,
.contact-page-section .contact-item a,
.about-page-section h1,
.about-page-section h2,
.about-page-section h3,
.about-page-section h4,
.about-page-section p,
.about-page-section li,
.about-page-section .counter-number-wrapper {
    color: #f4f6f8 !important;
}

.contact-page-section .contact-info-box p,
.contact-page-section .contact-intro > p:last-child,
.about-page-section .about-lead,
.about-page-section .about-text-content p,
.about-page-section .pillar-box p,
.about-page-section .advantage-card p {
    color: #c4ced8 !important;
}

.contact-page-section input[type="text"],
.contact-page-section input[type="email"],
.contact-page-section input[type="tel"],
.contact-page-section input[type="url"],
.contact-page-section input[type="number"],
.contact-page-section select,
.contact-page-section textarea {
    background-color: #151f29 !important;
    color: #f4f6f8 !important;
    border-color: #394958 !important;
}

.contact-page-section input::placeholder,
.contact-page-section textarea::placeholder {
    color: #aab4bf !important;
    opacity: 1;
}

.contact-page-section input[type="submit"],
.contact-page-section button,
.contact-page-section .button,
.about-page-section .button {
    color: #ffffff !important;
}

.contact-page-section .section-label,
.about-page-section .section-label {
    color: #ffc107 !important;
}

.contact-page-section a:not(.button),
.about-page-section a:not(.button) {
    color: #ff4b55;
}

.lang-dropdown-toggle:hover,
.lang-dropdown-toggle:focus-visible,
.language-switcher.dropdown.active .lang-dropdown-toggle {
    background-color: #c62828 !important;
    color: #ffffff !important;
}

.lang-dropdown-menu,
.lang-dropdown-menu li,
.lang-dropdown-menu a {
  border-color: #394958 !important;
  background-color: #1a2631 !important;
  color: #f4f6f8 !important;
}

.lang-dropdown-menu a:hover,
.lang-dropdown-menu a:focus-visible,
.lang-dropdown-menu a[aria-current="page"] {
    background-color: #c62828 !important;
    color: #ffffff !important;
}

.lang-dropdown-toggle .dropdown-arrow {
    color: inherit !important;
}

body,
.main-navigation a,
.main-navigation ul.sub-menu a,
.lang-dropdown-toggle,
.services-card p,
.product-card p,
.about-text-content p,
.about-lead,
.pillar-box p,
.contact-info-box p,
.contact-intro > p:last-child,
.service-single-content p,
.service-process-container p,
.services-intro p,
.services-contact-box p {
    color: #d4dbe2;
}

.site-footer,
.site-footer p,
.site-footer li,
.site-footer address,
.site-footer .footer-grid,
.site-footer .footer-bottom,
.site-footer .footer-bottom a,
.site-footer a {
    color: #c4ced8 !important;
}

.site-footer h3,
.site-footer h4,
.site-footer p strong,
.site-footer .footer-bottom a:hover,
.site-footer a:hover {
    color: #ffffff !important;
}

.site-footer,
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer .footer-bottom,
.site-footer .footer-bottom a,
.site-footer small,
.site-footer address {
    color: #c5ced7 !important;
}

.site-footer a:hover,
.site-footer .footer-bottom a:hover { color: #ffc107 !important; }

.lang-dropdown-toggle:hover,
.lang-dropdown-toggle:focus,
.lang-dropdown-toggle:focus-visible,
.language-switcher.dropdown:hover > .lang-dropdown-toggle,
.language-switcher.dropdown.active > .lang-dropdown-toggle {
    background: #e51b2b !important;
    color: #ffffff !important;
    outline-color: #ffc107 !important;
}

.lang-dropdown-menu a:hover,
.lang-dropdown-menu a:focus {
    background-color: #e51b2b !important;
    color: #ffffff !important;
}

.main-navigation ul.sub-menu,
.main-navigation ul.sub-menu li,
.main-navigation ul.sub-menu a {
    background-color: #1a2631 !important;
    color: #f4f6f8 !important;
    border-color: #354554 !important;
}

.main-navigation ul.sub-menu a:hover,
.main-navigation ul.sub-menu a:focus {
    background-color: #e51b2b !important;
    color: #ffffff !important;
}

/* MEDIA QUERY: @media (max-width: 992px) */
@media (max-width: 992px) {
    .header-right,
    .header-right.active,
    .main-navigation,
    .main-navigation > ul,
    .main-navigation ul.sub-menu,
    .main-navigation ul.sub-menu li,
    .main-navigation ul.sub-menu a,
    .language-switcher.dropdown,
    .lang-dropdown-menu,
    .lang-dropdown-menu li,
    .lang-dropdown-menu a {
        background-color: #101820 !important;
        color: #f4f6f8 !important;
        border-color: #354554 !important;
    }

.main-navigation ul.sub-menu a:hover,
    .main-navigation ul.sub-menu a:focus,
    .lang-dropdown-menu a:hover,
    .lang-dropdown-menu a:focus {
        background-color: #e51b2b !important;
        color: #ffffff !important;
    }

.header-right .main-navigation a,
    .header-right .language-switcher a,
    .header-right .lang-dropdown-toggle {
        color: #f4f6f8 !important;
    }

.header-right .main-navigation a:hover,
    .header-right .main-navigation a:focus {
        color: #ffc107 !important;
    }

}

/* Kontakt i O nas — wymuszenie ciemnych powierzchni bez zmiany układu */
.contact-section,
.contact-page,
.contact-section .contact-grid,
.contact-section .contact-info,
.contact-section .contact-form,
.contact-page .contact-grid,
.contact-page .contact-info,
.contact-page .contact-form,
.about-section,
.about-page,
.about-section .about-grid,
.about-page .about-grid,
.about-section .pillars-grid,
.about-page .pillars-grid {
    background-color: #101820 !important;
    color: #d4dbe2 !important;
}

.contact-section h1, .contact-section h2, .contact-section h3,
.contact-page h1, .contact-page h2, .contact-page h3,
.about-section h1, .about-section h2, .about-section h3,
.about-page h1, .about-page h2, .about-page h3 {
    color: #f4f6f8 !important;
}

/* Wymuszenie widoczności komunikatu o błędzie przy checkboxie */
.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    display: block !important;
    color: #dc2626;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

/* Opcjonalnie: podświetlenie ramki/checkboxa, gdy jest niepoprawny */
.wpcf7-not-valid {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}
/* Kolorystyka na podstronie polityki */
.privacy-policy-content,
.privacy-policy-content h2,
.privacy-policy-content h3 {
    color: #e0e0e0; 
}

.privacy-policy-content p,
.privacy-policy-content li{
    color: #e0e0e0d0; 
}