/*
Theme Name:   Zygzak Hello
Description:  Motyw dziecka dla Hello Elementor - Szwalnia Zygzak
Author:       Zygzak
Template:     hello-elementor
Version:      2.0.0
Text Domain:  zygzak-hello
*/

/* ============================================
   RESET & ZMIENNE
   ============================================ */
:root {
    --red:      #8B1538;
    --red-dark: #5C0F25;
    --dark:     #323335;
    --black:    #000000;
    --gray:     #8d8d8d;
    --light:    #F3F4F8;
    --border:   #dcddde;
    --white:    #ffffff;
    --font:     'Raleway', sans-serif;
    --font-btn: 'Montserrat', sans-serif;
    --radius:   15px;
    --shadow:   0px 15px 15px -10px rgba(0,0,0,0.08);
    --transition: all 0.25s ease;
    --max-w:    1290px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 18px;
    line-height: 2;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ============================================
   TOPBAR
   ============================================ */
.zg-topbar {
    background: var(--red);
    height: 5px;
}
.zg-topbar__inner,
.zg-topbar__item { display: none; }

/* ============================================
   HEADER — identyczny jak haftexpert.pl
   ============================================ */
.zg-header {
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.zg-header__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px 0 0;
    display: flex;
    align-items: stretch;
    min-height: 160px;
    gap: 40px;
}

/* Logo wypełnia LEWĄ stronę — bez padding z lewej */
.zg-logo {
    display: flex;
    align-items: center;
    padding-left: 0;
}

/* Logo — pieczątka ZYGZAK + tekst */
.zg-logo { flex-shrink: 0; }

.zg-logo__link {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: #111;
}

.zg-logo__circle {
    width: 68px;
    height: 68px;
    border: 2px solid #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.zg-logo__circle-text {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.5px;
    color: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transform: rotate(-4deg);
}

.zg-logo__circle-text span {
    display: block;
}

.zg-logo__divider {
    width: 1px;
    height: 56px;
    background: #111;
    flex-shrink: 0;
}

.zg-logo__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: #111;
}

.zg-logo__title {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #111;
}

.zg-logo__ornament {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    color: var(--red);
    margin: 2px 0;
}

.zg-logo__line {
    flex: 1;
    height: 1px;
    background: var(--red);
    opacity: 0.6;
}

.zg-logo__sub {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 9px;
    letter-spacing: 2.5px;
    color: #111;
    text-transform: uppercase;
}

/* Custom logo z WP (Tożsamość witryny → Logo) — DUŻE, wypełnia cały header */
.zg-logo .custom-logo-link { display: inline-block; line-height: 0; }
.zg-logo .custom-logo,
.zg-logo img {
    max-height: 150px;
    max-width: 650px;
    width: auto;
    height: auto;
    display: block;
}
@media (max-width: 1280px) {
    .zg-logo .custom-logo,
    .zg-logo img { max-height: 110px; max-width: 480px; }
}
@media (max-width: 1024px) {
    .zg-logo .custom-logo,
    .zg-logo img { max-height: 80px; max-width: 380px; }
}
@media (max-width: 768px) {
    .zg-logo .custom-logo,
    .zg-logo img { max-height: 60px; max-width: 280px; }
}

/* Responsywność loga */
@media (max-width: 768px) {
    .zg-logo__title { font-size: 12px; letter-spacing: 2px; }
    .zg-logo__sub { font-size: 8px; letter-spacing: 1.5px; }
    .zg-logo__circle { width: 54px; height: 54px; }
    .zg-logo__circle-text { font-size: 12px; }
    .zg-logo__divider { height: 44px; }
    .zg-logo__link { gap: 12px; }
}

@media (max-width: 480px) {
    .zg-logo__divider,
    .zg-logo__text { display: none; }
}

/* ============================================
   NAWIGACJA — styl jak na screenie
   ============================================ */
.zg-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; }

.zg-nav__list {
    display: flex;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 90px;
}

.zg-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.zg-nav__item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 18px;
    height: 100%;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    position: relative;
}

.zg-nav__item > a:hover {
    color: var(--red);
    border-bottom-color: var(--red);
}

.zg-nav__item.is-active > a {
    color: var(--dark);
    border-bottom-color: var(--dark);
}

.zg-nav__arrow {
    font-size: 9px;
    display: inline-block;
    transition: transform 0.2s;
    margin-left: 2px;
}

/* Strzalka rotuje tylko gdy dropdown jest aktywnie otwarty (klik) */

/* Dropdown */
.zg-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-top: 3px solid var(--red);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 999;
    list-style: none;
    margin: 0;
}

/* Dropdown otwiera sie po klikku (is-open dodawane przez JS) — desktop + mobile */
.zg-nav__item.has-dropdown.is-open .zg-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zg-nav__item.has-dropdown.is-open .zg-nav__arrow {
    transform: rotate(180deg);
}

.zg-nav__dropdown li { display: block; }

.zg-nav__dropdown li a {
    display: block;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-bottom: none;
    transition: background 0.15s, color 0.15s, padding 0.15s;
    height: auto;
}

.zg-nav__dropdown li a:hover {
    background: var(--light);
    color: var(--red);
    padding-left: 28px;
    border-bottom: none;
}

/* CTA — Sklep liturgia */
.zg-nav__item--cta > a {
    color: var(--red) !important;
    border: 2px solid var(--red) !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
    height: auto !important;
    margin: auto 10px !important;
    font-size: 12px !important;
    border-bottom: 2px solid var(--red) !important;
}

.zg-nav__item--cta > a:hover {
    background: var(--red) !important;
    color: var(--white) !important;
}

/* Hamburger */
.zg-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.zg-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.zg-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.zg-hamburger.is-open span:nth-child(2) { opacity: 0; }
.zg-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   CONTENT — usuń tytuł na stronach Elementora
   ============================================ */
.zg-content { min-height: 60vh; }

/* Ukryj automatyczny tytuł strony */
.page .entry-header,
.page .entry-title,
.elementor-page .entry-header,
body.page h1.entry-title,
.page-header { display: none !important; }

.page .entry-content,
.elementor-page .entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   PRZYCISKI ELEMENTORA
   ============================================ */
.elementor-button,
.elementor-button-wrapper .elementor-button {
    font-family: var(--font-btn) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 999px !important;
    padding: 13px 36px !important;
    transition: var(--transition) !important;
}

.elementor-button.elementor-size-lg {
    padding: 16px 44px !important;
    font-size: 17px !important;
}

/* Czerwony przycisk */
.elementor-button[style*="#8B1538"],
.e-btn-red {
    box-shadow: 0px 0px 0px -7px rgba(0,0,0,0) !important;
}

.elementor-button[style*="#8B1538"]:hover {
    background-color: var(--red-dark) !important;
    box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.15) !important;
}

/* Przycisk ZOBACZ OFERTĘ w sekcji hero — pierwsza sekcja strony */
.elementor-section:first-of-type .elementor-button,
.e-con:first-of-type .elementor-button,
.elementor-top-section:first-child .elementor-button {
    background: #972043 !important;
    background-color: #972043 !important;
    border-color: #972043 !important;
    border-style: solid !important;
    color: #ffffff !important;
}

.elementor-section:first-of-type .elementor-button:hover,
.e-con:first-of-type .elementor-button:hover,
.elementor-top-section:first-child .elementor-button:hover {
    background: #7a1936 !important;
    background-color: #7a1936 !important;
    border-color: #7a1936 !important;
}

/* ============================================
   ROZWIJANY PANEL — "Skontaktuj się bezpośrednio"
   ============================================ */
.zg-direct-contact {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease;
    margin-top: 0;
}
.zg-direct-contact.is-open {
    grid-template-rows: 1fr;
    margin-top: 18px;
}
.zg-direct-contact__inner {
    min-height: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px 14px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.zg-direct-contact.is-open .zg-direct-contact__inner {
    opacity: 1;
    transform: translateY(0);
}
.zg-direct-contact__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 14px;
    border-radius: 10px;
    color: var(--dark);
    font-size: 16px;
    line-height: 1.4;
    transition: var(--transition);
}
.zg-direct-contact__row + .zg-direct-contact__row {
    border-top: 1px solid var(--border);
}
.zg-direct-contact__row:hover {
    background: var(--light);
}
.zg-direct-contact__row:hover strong {
    color: var(--red);
}
.zg-direct-contact__ico {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
}
.zg-direct-contact__row strong {
    display: block;
    font-weight: 700;
    font-size: 17px;
    color: var(--dark);
    transition: var(--transition);
}
.zg-direct-contact__row em {
    font-style: normal;
    color: var(--gray);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   HERO SEKCJA — styl jak na screenie
   ============================================ */

/* Elementor section z wideo — overlay */
.elementor-section.hero-section {
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
    z-index: 2;
    overflow: hidden;
    background-color: #1a1a1a;
}

/* Tekst + przycisk hero NA DOLE sekcji (position absolute — bez wplywu na wielkosc sekcji ani wideo) */
.elementor-section.hero-section .elementor-container,
.elementor-section.hero-section > .elementor-container,
.elementor-section.hero-section .e-con,
.elementor-section.hero-section .e-con-inner {
    position: absolute !important;
    bottom: 60px !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    z-index: 3 !important;
    top: auto !important;
}

@media (max-width: 768px) {
    .elementor-section.hero-section .elementor-container,
    .elementor-section.hero-section > .elementor-container {
        bottom: 40px !important;
    }
}

/* Video tlo hero — pelnoekranowe, w tle */
.zg-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Ciemny overlay dla czytelnosci tekstu na wideo */
.zg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Cień gradient pod sekcją */
.elementor-section.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), transparent);
    pointer-events: none;
    z-index: 1;
}

/* WATERMARK — okrągłe logo ZYGZAK na środku hero (NAD wideo, NAD overlay) */
.elementor-section.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    max-width: 80vw;
    max-height: 80vh;
    background-image: url('/wp-content/uploads/2026/04/zygzak_logo_v3.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.10;
    pointer-events: none;
    z-index: 2;
    filter: invert(1) brightness(2);
}

/* Tekst hero MUSI być nad watermarkiem */
.elementor-section.hero-section .elementor-container {
    position: relative;
    z-index: 3;
}

/* Tekst hero — lewy, duży, biały */
.elementor-section.hero-section .elementor-heading-title {
    font-size: 64px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    font-family: Raleway, sans-serif !important;
}

/* Przycisk hero — styl jak na screenie (szary outline) */
.elementor-section.hero-section .elementor-button {
    background: rgba(255,255,255,0.15) !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 14px 36px !important;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease !important;
}

.elementor-section.hero-section .elementor-button:hover {
    background: rgba(255,255,255,0.25) !important;
    border-color: #ffffff !important;
}

/* ============================================
   SEKCJA REALIZACJE — GRID
   ============================================ */
.zg-section {
    padding: 90px 30px;
}

.zg-section--light { background: var(--light); }
.zg-section--dark  { background: var(--dark); color: var(--white); }
.zg-section--black { background: var(--black); color: var(--white); }

.zg-container {
    max-width: var(--max-w);
    margin: 0 auto;
}

.zg-section__tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.zg-section__title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    text-align: center;
}

.zg-section__subtitle {
    font-size: 18px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid kart */
.zg-grid {
    display: grid;
    gap: 24px;
}

.zg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.zg-grid--4 { grid-template-columns: repeat(4, 1fr); }
.zg-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Karta produktu */
.zg-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.zg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.zg-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--light);
}

.zg-card__body {
    padding: 24px;
}

.zg-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.zg-card__text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.zg-card__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zg-card__link:hover { color: var(--red-dark); gap: 10px; }

/* ============================================
   SEKCJA USŁUGI — 2 KOLUMNY CIEMNE
   ============================================ */
.zg-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.zg-service {
    padding: 80px 60px;
    position: relative;
}

.zg-service--1 { background: var(--dark); }
.zg-service--2 { background: var(--black); }

.zg-service__number {
    font-size: 120px;
    font-weight: 800;
    color: rgba(255,255,255,0.04);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    pointer-events: none;
}

.zg-service__tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: block;
}

.zg-service__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.zg-service__text {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.9;
    margin-bottom: 30px;
}

.zg-service__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zg-service__link::after {
    content: '→';
    transition: var(--transition);
}

.zg-service__link:hover::after { transform: translateX(4px); }

/* ============================================
   SEKCJA CTA
   ============================================ */
.zg-cta {
    background: var(--light);
    padding: 100px 30px;
    text-align: center;
}

.zg-cta__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto 12px;
    line-height: 1.25;
}

.zg-cta__sub {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 40px;
}

.zg-btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-btn);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 13px 36px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0px 0px 0px -7px rgba(0,0,0,0);
}

.zg-btn:hover {
    background: var(--red-dark);
    color: var(--white);
    box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.15);
}

.zg-btn--outline {
    background: transparent;
    border: 2px solid var(--red);
    color: var(--red);
}

.zg-btn--outline:hover {
    background: var(--red);
    color: var(--white);
}

/* ============================================
   OPINIE / TESTIMONIALE
   ============================================ */
.zg-opinions {
    background: var(--white);
    padding: 90px 30px;
}

.zg-opinion {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}

.zg-opinion__quote {
    font-size: 72px;
    line-height: 1;
    color: var(--red);
    opacity: 0.15;
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    left: 24px;
}

.zg-opinion__text {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-top: 20px;
}

.zg-opinion__author {
    font-weight: 700;
    color: var(--dark);
    font-size: 16px;
}

.zg-opinion__role {
    font-size: 14px;
    color: var(--red);
    font-weight: 600;
}

/* ============================================
   STATS (liczniki)
   ============================================ */
.zg-stats {
    background: var(--red);
    padding: 70px 30px;
}

.zg-stats__grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.zg-stat__num {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.zg-stat__label {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   GALERIA
   ============================================ */
.zg-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 50px;
}

.zg-gallery__item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light);
}

.zg-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zg-gallery__item:hover img { transform: scale(1.05); }

/* ============================================
   FORMULARZ KONTAKTOWY (CF7)
   ============================================ */
.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 16px;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    margin-bottom: 16px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(139,21,56,0.08);
}

.wpcf7-form input[type="submit"] {
    background: var(--red);
    color: var(--white);
    font-family: var(--font-btn);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    padding: 13px 36px;
    cursor: pointer;
    transition: var(--transition);
    width: auto;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--red-dark);
    box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.15);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.zg-faq { max-width: 860px; margin: 50px auto 0; }

.zg-faq details {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.zg-faq summary {
    padding: 20px 26px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    color: var(--dark);
    list-style: none;
    position: relative;
    padding-right: 50px;
}

.zg-faq summary::-webkit-details-marker { display: none; }

.zg-faq summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--red);
    font-weight: 400;
    transition: var(--transition);
}

.zg-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.zg-faq details[open] summary { color: var(--red); background: var(--light); }

.zg-faq details p {
    padding: 18px 26px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

/* ============================================
   KAFELKI KATEGORII OFERTY
   ============================================ */
.zg-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.zg-cat-tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 28px;
    border-radius: 16px;
    text-decoration: none;
    text-align: left;
    aspect-ratio: 4 / 3;          /* stała proporcja — przygotowane pod zdjęcia */
    min-height: 240px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;     /* fallback gdy brak obrazka */
    isolation: isolate;
}

/* Warstwa tła — pozwala skalować obrazek na hover bez ruszania tekstu */
/* Działa zarówno dla <span> (background-image) jak i <img> (HTML element — TinyMCE go nie usuwa) */
/* img.zg-cat-tile__bg z !important — Elementor wstrzykuje wlasne style na <img> w text-editor */
.zg-cat-tile__bg,
img.zg-cat-tile__bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 0;
    display: block;
    margin: 0;
}

/* CIEMNY GRADIENT — gwarantuje czytelność tytułu na każdym zdjęciu */
.zg-cat-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 35%,
        rgba(0,0,0,0.4) 65%,
        rgba(0,0,0,0.85) 100%
    );
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Czerwony akcent na hover — subtelnie podświetla kafelek */
.zg-cat-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,21,56,0.35) 0%, rgba(0,0,0,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.zg-cat-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.zg-cat-tile:hover .zg-cat-tile__bg {
    transform: scale(1.08);
}

.zg-cat-tile:hover::after {
    opacity: 1;
}

.zg-cat-tile__name {
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 6px;
}

.zg-cat-tile__arrow {
    color: rgba(255,255,255,0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, gap 0.25s;
}

.zg-cat-tile:hover .zg-cat-tile__arrow {
    color: #fff;
    gap: 14px;
}

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

/* ============================================
   AKTUALNOŚCI — kafelki
   ============================================ */
.zg-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 20px 0 60px;
}

.zg-news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.zg-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}

.zg-news-card__img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F8;
}

.zg-news-card__img--placeholder {
    background-image: linear-gradient(135deg, #8B1538 0%, #323335 100%);
}

.zg-news-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.zg-news-card__date {
    font-size: 12px;
    color: #8B1538;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.zg-news-card__title {
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #323335;
    margin-bottom: 10px;
    line-height: 1.4;
}

.zg-news-card__excerpt {
    font-size: 14px;
    color: #8d8d8d;
    line-height: 1.7;
    flex: 1;
}

.zg-news-card__more {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    color: #8B1538;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ============================================
   PARTNER LOGO — hover efekt + mobile centering
   ============================================ */
img[src*="logo_black_transparent"] {
    opacity: 0.25;
    transition: opacity 0.35s ease;
    max-width: 100%;
    height: auto;
}

a:hover img[src*="logo_black_transparent"] {
    opacity: 1;
}

/* Sekcja partnera — tylko centrowanie samego obrazka (rodzice ustawione przez JS) */
img[src*="logo_black_transparent"] {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    img[src*="logo_black_transparent"] {
        max-width: 280px;
    }
}

/* ============================================
   FORMULARZ KONTAKTOWY (CF7)
   ============================================ */
.zg-form { font-family: 'Montserrat', sans-serif; }

.zg-form__row { margin-bottom: 20px; }

.zg-form__row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.zg-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #323335;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.zg-form .req { color: #8B1538; }

.zg-form input[type="text"],
.zg-form input[type="email"],
.zg-form input[type="tel"],
.zg-form input[type="number"],
.zg-form input[type="date"],
.zg-form select,
.zg-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #dcddde;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #323335;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    margin-top: 6px;
}

.zg-form input:focus,
.zg-form select:focus,
.zg-form textarea:focus {
    border-color: #8B1538;
    box-shadow: 0 0 0 3px rgba(139,21,56,0.12);
}

.zg-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23323335' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.zg-form textarea { resize: vertical; min-height: 130px; }

.zg-form input[type="file"] {
    padding: 10px;
    border: 2px dashed #dcddde;
    border-radius: 10px;
    background: #F3F4F8;
    cursor: pointer;
    font-size: 14px;
    margin-top: 6px;
}

.zg-form .wpcf7-acceptance { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #8d8d8d; line-height: 1.6; }
.zg-form .wpcf7-acceptance input[type="checkbox"] { margin-top: 3px; accent-color: #8B1538; width: 16px; height: 16px; flex-shrink: 0; }

.zg-form__submit { margin-top: 10px; }

.zg-form input[type="submit"],
.zg-form .wpcf7-submit {
    background: #8B1538;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 16px 48px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.zg-form input[type="submit"]:hover,
.zg-form .wpcf7-submit:hover {
    background: #5C0F25;
    transform: translateY(-2px);
}

.zg-form .wpcf7-not-valid-tip { color: #8B1538; font-size: 12px; margin-top: 4px; }
.zg-form .wpcf7-response-output { border-radius: 10px; padding: 14px 18px; margin-top: 16px; font-size: 14px; }

@media (max-width: 600px) {
    .zg-form__row--2col { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.zg-footer {
    background: var(--black);
    color: rgba(255,255,255,0.65);
    padding: 80px 30px 0;
    font-size: 15px;
}

.zg-footer__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px 50px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.3fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.zg-footer__logo a {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.zg-footer__desc {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    margin: 16px 0 22px;
    max-width: 320px;
}

.zg-footer__socials { display: flex; gap: 10px; }

.zg-footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.zg-footer__socials a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.zg-footer__col h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}

.zg-footer__col ul li {
    margin-bottom: 10px;
}

.zg-footer__col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 15px;
    transition: var(--transition);
}

.zg-footer__col ul li a:hover {
    color: var(--red);
    padding-left: 6px;
}

.zg-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.55);
}

.zg-footer__contact li svg { flex-shrink: 0; margin-top: 5px; }

.zg-footer__contact a { color: rgba(255,255,255,0.55); }
.zg-footer__contact a:hover { color: var(--red); }

.zg-footer__col--map {
    display: block;
    min-width: 0;          /* pozwala iframe sie skurczyc w gridzie */
}

.zg-footer__col--map h5 { margin-bottom: 14px; }

.zg-footer__col--map iframe {
    width: 100%;
    max-width: 100%;
    display: block;
    pointer-events: auto;
    border-radius: 10px;
}

.zg-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    flex-wrap: wrap;
}

.zg-footer__bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.zg-footer__bottom a:hover { color: var(--red); }

.zg-footer__sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.2);
}

.zg-footer__nip {
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

.zg-footer__bottom-right { display: flex; align-items: center; }

/* WebBlaze — minimalistyczny kredyt wykonawcy (logo: płomień + napis) */
.zg-footer__credit {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 30px 20px;
    text-align: center;
}
.zg-webblaze__pre {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    margin-right: 9px;
    vertical-align: middle;
}
.zg-webblaze {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    vertical-align: middle;
}
.zg-webblaze__flame {
    width: 17px;
    height: 19px;
    flex: none;
    color: #e22d1e;
    transition: transform 0.3s ease, color 0.3s ease;
}
.zg-webblaze__flame path { fill: currentColor; }
.zg-webblaze__brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.3px;
    color: #ffffff;
    line-height: 1;
    transition: color 0.25s ease;
}
.zg-webblaze:hover .zg-webblaze__flame { transform: scale(1.12) rotate(-4deg); color: #ff3a26; }
.zg-webblaze:hover .zg-webblaze__brand { color: #fff; }

@media (max-width: 600px) {
    .zg-footer__bottom {
        justify-content: center;
        text-align: center;
        font-size: 12px;
    }
    .zg-footer__bottom-left,
    .zg-footer__bottom-right { width: 100%; justify-content: center; }
}

/* ============================================
   ELEMENTOR — globalne poprawki
   ============================================ */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--max-w);
}

/* Napraw padding sekcji Elementora */
.elementor-section { padding-top: 0; padding-bottom: 0; }

/* Heading Elementora */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font) !important;
}

/* ============================================
   RESPONSYWNOŚĆ
   ============================================ */
@media (max-width: 1024px) {
    .zg-hamburger { display: flex; }

    .zg-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .zg-nav.is-open { display: block; }

    .zg-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .zg-nav__item { width: 100%; }

    .zg-nav__item > a { width: 100%; padding: 12px 16px; }

    .zg-nav__dropdown {
        position: static;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--red);
        border-radius: 0;
        margin-left: 16px;
        transition: max-height 0.3s ease, visibility 0.3s;
    }

    .zg-nav__item.is-open .zg-nav__dropdown {
        visibility: visible;
        max-height: 400px;
    }

    .zg-hero h1 { font-size: 40px; }

    .zg-services { grid-template-columns: 1fr; }
    .zg-service { padding: 60px 30px; }

    .zg-grid--3,
    .zg-grid--4 { grid-template-columns: repeat(2, 1fr); }

    .zg-footer__inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 36px;
    }
    /* Logo+desc oraz Mapa zajmuja pelna szerokosc na tablecie */
    .zg-footer__inner > .zg-footer__col:first-child,
    .zg-footer__inner > .zg-footer__col--map {
        grid-column: span 3;
    }
    .zg-footer__inner > .zg-footer__col--map iframe { max-height: 200px; }

    .zg-section__title { font-size: 30px; }
}

/* === MOBILE MENU UPGRADE — slide-in z prawej + overlay === */
@media (max-width: 1024px) {
    .zg-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        width: min(360px, 88vw);
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        box-shadow: -20px 0 60px rgba(0,0,0,0.15);
        padding: 90px 22px 30px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: block !important;
        z-index: 100;     /* wewnatrz headera, nad overlayem (10) */
    }

    .zg-nav.is-open {
        transform: translateX(0);
    }

    .zg-nav__list {
        flex-direction: column;
        gap: 4px;
        padding: 0;
    }

    .zg-nav__item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .zg-nav__item:last-child { border-bottom: none; }

    .zg-nav__item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 8px;
        font-size: 16px;
        font-weight: 600;
        color: var(--dark);
        min-height: 48px;
    }

    .zg-nav__item--cta a {
        background: var(--red);
        color: #fff !important;
        border-radius: 10px;
        text-align: center;
        margin-top: 12px;
    }

    /* Overlay backdrop — wewnatrz headera, pod menu */
    .zg-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 10;       /* w stacking context headera — pod menu (100) */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s;
        cursor: pointer;
    }

    .zg-nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* Body scroll lock */
    body.zg-nav-locked {
        overflow: hidden;
    }

    /* Hamburger zawsze widoczny i nad menu */
    .zg-hamburger {
        position: relative;
        z-index: 200;     /* w stacking context headera, nad menu (100) */
        display: flex;
    }

    /* Header — kompaktowy na tablet */
    .zg-header__inner {
        min-height: 90px;
        padding: 10px 20px 10px 16px;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .zg-hero h1 { font-size: 30px; }
    .zg-grid--3,
    .zg-grid--4,
    .zg-grid--2 { grid-template-columns: 1fr; }
    .zg-footer__inner { grid-template-columns: 1fr; gap: 30px; }
    .zg-footer__inner > .zg-footer__col:first-child,
    .zg-footer__inner > .zg-footer__col--map { grid-column: auto; }
    .zg-stats__grid { grid-template-columns: 1fr; }
    .zg-gallery { grid-template-columns: 1fr 1fr; }
    .zg-topbar__inner { justify-content: center; flex-wrap: wrap; gap: 12px; }
}

/* ============================================
   OPIS KATEGORII (kompaktowy, rozwijany)
   ============================================ */
.zg-cat-intro {
    max-width: 880px;
    margin: 0 auto;
    padding: 30px 30px 10px;
    text-align: center;
}

.zg-cat-intro__bar {
    width: 50px;
    height: 3px;
    background: var(--red);
    margin: 0 auto 18px;
    border-radius: 2px;
}

.zg-cat-intro p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #5a5b5e;
    margin: 0 0 14px;
    text-align: center;
}

.zg-cat-intro__lead {
    font-family: 'Raleway', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    color: var(--dark) !important;
    margin-bottom: 18px !important;
    letter-spacing: 0.2px;
}

.zg-cat-intro p strong { color: var(--dark); font-weight: 700; }
.zg-cat-intro p em { color: var(--red); font-style: normal; font-weight: 600; }

/* TOGGLE — Czytaj więcej */
.zg-cat-intro__more {
    margin-top: 4px;
}

.zg-cat-intro__more > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    padding: 8px 18px;
    border: 2px solid var(--red);
    border-radius: 999px;
    list-style: none;
    transition: all 0.2s ease;
    user-select: none;
}

.zg-cat-intro__more > summary::-webkit-details-marker { display: none; }
.zg-cat-intro__more > summary::marker { content: ''; }

.zg-cat-intro__more > summary:hover {
    background: var(--red);
    color: #fff;
}

.zg-cat-intro__chev {
    transition: transform 0.25s ease;
    font-size: 14px;
    line-height: 1;
}

.zg-cat-intro__more[open] > summary .zg-cat-intro__chev {
    transform: rotate(180deg);
}

.zg-cat-intro__more[open] > summary {
    background: var(--red);
    color: #fff;
}

.zg-cat-intro__body {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #ececec;
    animation: zgFadeIn 0.3s ease;
}

@keyframes zgFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.zg-cat-intro__outro {
    margin-top: 22px !important;
    padding-top: 18px;
    border-top: 1px solid #ececec;
    font-style: italic;
    color: #6a6b6e !important;
}

.zg-cat-intro__cta {
    text-align: center;
    margin-top: 22px !important;
}

.zg-cat-intro__btn {
    display: inline-block;
    background: var(--red);
    color: #fff !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 2px solid var(--red);
}

.zg-cat-intro__btn:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* Tabela "Dlaczego haft?" w opisie Haft Reklamowy */
.zg-cat-intro__table-wrap {
    margin: 24px 0;
    overflow-x: auto;
}

.zg-cat-intro__table-title {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
    margin: 30px 0 16px;
}

.zg-cat-intro__table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.zg-cat-intro__table th {
    background: var(--dark);
    color: #fff;
    text-align: left;
    padding: 14px 16px;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
}

.zg-cat-intro__table th:nth-child(2) { background: var(--red); }

.zg-cat-intro__table td {
    padding: 14px 16px;
    border-bottom: 1px solid #ececec;
    vertical-align: top;
    line-height: 1.6;
    color: #4a4b4e;
    text-align: left;
}

.zg-cat-intro__table td:first-child {
    font-weight: 700;
    color: var(--dark);
    background: #fafafa;
    width: 130px;
}

.zg-cat-intro__table td:nth-child(2) {
    background: #fff5f7;
}

.zg-cat-intro__table tr:last-child td { border-bottom: none; }

@media (max-width: 768px) {
    .zg-cat-intro__table { font-size: 12px; }
    .zg-cat-intro__table th, .zg-cat-intro__table td { padding: 10px 8px; }
    .zg-cat-intro__table td:first-child { width: 90px; }
}

@media (max-width: 768px) {
    .zg-cat-intro { padding: 24px 20px 8px; }
    .zg-cat-intro__lead { font-size: 16px !important; }
    .zg-cat-intro p { font-size: 14px; line-height: 1.75; }
}

/* ============================================
   FAQ — sekcja pytań i odpowiedzi
   ============================================ */
.zg-faq {
    max-width: 920px;
    margin: 0 auto;
    padding: 30px 20px;
}

.zg-faq__header {
    text-align: center;
    margin-bottom: 36px;
}

.zg-faq__tag {
    display: inline-block;
    color: var(--red);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.zg-faq__title {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 40px !important;
    line-height: 1.2 !important;
    color: var(--dark) !important;
    margin: 0 0 12px !important;
}

.zg-faq__bar {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 18px auto 0;
    border-radius: 2px;
}

.zg-faq__sub {
    font-family: 'Montserrat', sans-serif;
    color: #5a5b5e;
    font-size: 16px;
    line-height: 1.7;
    margin-top: 14px;
}

.zg-faq__item {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.zg-faq__item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-color: #ddd;
}

.zg-faq__item[open] {
    border-color: var(--red);
    box-shadow: 0 8px 24px rgba(139,21,56,0.10);
}

.zg-faq__q {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 26px;
    cursor: pointer;
    list-style: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: var(--dark);
    user-select: none;
    transition: color 0.2s ease;
}

.zg-faq__q::-webkit-details-marker { display: none; }
.zg-faq__q::marker { content: ''; }

.zg-faq__item[open] .zg-faq__q {
    color: var(--red);
}

.zg-faq__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F3F4F8;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.zg-faq__item[open] .zg-faq__icon {
    background: var(--red);
    color: #fff;
    transform: rotate(45deg);
}

.zg-faq__a {
    padding: 0 26px 24px 80px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: #5a5b5e;
    animation: zgFaqFade 0.3s ease;
}

.zg-faq__a p {
    margin: 0 0 12px;
}

.zg-faq__a p:last-child { margin-bottom: 0; }

@keyframes zgFaqFade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .zg-faq__title { font-size: 28px !important; }
    .zg-faq__q { font-size: 16px; padding: 16px 18px; gap: 12px; }
    .zg-faq__icon { width: 30px; height: 30px; font-size: 18px; }
    .zg-faq__a { padding: 0 18px 18px 60px; font-size: 15px; }
}

/* ============================================
   STRONA AKTUALNOŚCI — Facebook feed + WP posts
   ============================================ */
.zg-news {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px 40px;
    font-family: 'Montserrat', sans-serif;
}

.zg-news__hero {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ececec;
}

.zg-news__tag {
    display: inline-block;
    color: var(--red);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.zg-news__title {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 48px !important;
    color: var(--dark) !important;
    margin: 0 0 14px !important;
    line-height: 1.1;
}

.zg-news__bar {
    width: 70px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin: 18px auto 0;
}

.zg-news__lead {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 19px;
    color: #5a5b5e;
    max-width: 650px;
    margin: 14px auto 0;
}

/* Sekcja */
.zg-news__section {
    margin-bottom: 60px;
}

.zg-news__section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--red);
}

.zg-news__section-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zg-news__section-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--dark);
    margin: 0;
}

.zg-news__section-sub {
    color: #888;
    font-size: 14px;
    margin: 2px 0 0;
}

/* Facebook embed wrapper — centruje iframe i daje ramke */
.zg-news__fb {
    display: flex;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.zg-news__fb iframe {
    width: 100% !important;
    max-width: 560px;
    border: 0;
    border-radius: 8px;
}

.zg-news__fb-fallback {
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 14px;
    line-height: 1.7;
    background: #f9f9f9;
    border-radius: 10px;
}
.zg-news__fb-fallback a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}
.zg-news__fb-fallback a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .zg-news__title { font-size: 32px !important; }
    .zg-news__section-title { font-size: 20px; }
    .zg-news__section-icon { width: 36px; height: 36px; }
}

/* ============================================
   ACCESSIBILITY — focus, skip link, motion
   ============================================ */
.zg-skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    background: var(--red);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    z-index: 999999;
    transition: top 0.2s ease;
}

.zg-skip-link:focus {
    top: 12px;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Widoczny focus dla nawigacji klawiatura */
:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Inputy/select/textarea — uzywaja wlasnego focus ringa */
.zg-form-wizard input:focus-visible,
.zg-form-wizard select:focus-visible,
.zg-form-wizard textarea:focus-visible {
    outline: none;
}

/* Buttony — ciemniejszy outline na czerwonym tle */
button:focus-visible,
.zg-form-wizard__submit:focus-visible {
    outline: 3px solid var(--dark);
    outline-offset: 3px;
}

/* ============================================
   GLOBALNE MOBILE FIXES (768px i mniej)
   ============================================ */
@media (max-width: 768px) {
    /* Topbar — kompaktowy */
    .zg-topbar {
        padding: 6px 14px;
        font-size: 12px;
    }
    .zg-topbar__inner {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .zg-topbar__item { font-size: 11px; }

    /* Logo — mniejsze */
    .zg-logo .custom-logo,
    .zg-logo img { max-height: 50px !important; max-width: 240px !important; }

    /* Sekcje hero */
    .zg-hero h1, .elementor-section.hero-section .elementor-heading-title { font-size: 32px !important; line-height: 1.15 !important; }

    /* Sekcje wewn — mniejszy padding */
    .zg-section, section { padding-left: 16px; padding-right: 16px; }

    /* Naglowki — zmniejsz */
    h1 { font-size: 30px !important; }
    h2 { font-size: 22px !important; }
    h3 { font-size: 18px !important; }

    /* Tabela porownawcza — przewijalna w poziomie */
    .zg-cat-intro__table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }

    /* Image carousels — single slide */
    .elementor-image-carousel-wrapper .swiper-slide { width: 100% !important; }

    /* Cookie banner — pelna szerokosc minus marginesy */
    .zg-cookies {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        padding: 18px 20px !important;
    }

    /* Wszystkie obrazki — naturalna wysokosc */
    img { height: auto !important; }
}

@media (max-width: 480px) {
    /* Ekstremalnie wskie */
    .zg-header__inner { min-height: 76px; }
    .zg-logo .custom-logo,
    .zg-logo img { max-height: 42px !important; max-width: 200px !important; }
    h1 { font-size: 26px !important; }
    h2 { font-size: 19px !important; }

    /* Padding sekcji — minimum */
    .zg-cat-intro, .zg-onas, .zg-legal, .zg-contact, .zg-news { padding-left: 14px; padding-right: 14px; }

    /* Footer bottom — wszystko w jednej kolumnie */
    .zg-footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .zg-footer__bottom-right { flex-wrap: wrap; justify-content: center; }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.zg-cookies {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 520px;
    background: rgba(15,15,16,0.97);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    z-index: 100000;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid rgba(255,255,255,0.08);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    visibility: hidden;
}

.zg-cookies.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.zg-cookies__title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: #fff;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zg-cookies__icon {
    font-size: 22px;
    line-height: 1;
}

.zg-cookies__text {
    color: rgba(255,255,255,0.7);
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.65;
}

.zg-cookies__text a {
    color: var(--red);
    text-decoration: underline;
    font-weight: 600;
}

.zg-cookies__text a:hover { color: #ff5577; }

.zg-cookies__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.zg-cookies__btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 18px;
    border-radius: 999px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.zg-cookies__btn--accept {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.zg-cookies__btn--accept:hover {
    background: #5C0F25;
    border-color: #5C0F25;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139,21,56,0.4);
}

.zg-cookies__btn--reject {
    background: transparent;
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
}

.zg-cookies__btn--reject:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

@media (max-width: 600px) {
    .zg-cookies {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px 22px;
    }
    .zg-cookies__title { font-size: 15px; }
    .zg-cookies__buttons { flex-direction: column; gap: 8px; }
    .zg-cookies__btn { min-width: auto; width: 100%; }
}

/* ============================================
   STRONA KONTAKT
   ============================================ */
.zg-contact {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 60px;
    font-family: 'Montserrat', sans-serif;
}

/* HERO kontakt */
.zg-contact__hero {
    text-align: center;
    padding: 60px 0 50px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 50px;
}
.zg-contact__hero-tag {
    display: inline-block;
    color: var(--red);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.zg-contact__hero-title {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 48px !important;
    line-height: 1.1 !important;
    color: var(--dark) !important;
    margin: 0 0 18px !important;
}
.zg-contact__hero-bar {
    width: 70px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin: 0 auto 20px;
}
.zg-contact__hero-lead {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.6;
    color: #5a5b5e;
    max-width: 700px;
    margin: 0 auto 24px;
}
.zg-contact__hero-note {
    background: #F3F4F8;
    border-left: 4px solid var(--red);
    padding: 20px 26px;
    border-radius: 10px;
    max-width: 760px;
    margin: 30px auto 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.7;
    color: #4a4b4e;
}
.zg-contact__hero-note strong { color: var(--dark); }
.zg-contact__hero-note a {
    display: inline-block;
    margin-top: 12px;
    background: var(--red);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.zg-contact__hero-note a:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

/* GRID KONTAKT: 2 kolumny — Formularz | (Info + Mapa + Zdjęcie) */
.zg-contact .zg-contact__grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 50px !important;
    align-items: start !important;
}
.zg-contact .zg-contact__form { min-width: 0; }
.zg-contact .zg-contact__side { min-width: 0; }

/* === FORMULARZ 3-ETAPOWY === */
.zg-form-wizard {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 40px 38px;
    border: 1px solid #f0f0f0;
}

.zg-form-wizard__step {
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px dashed #e5e5e5;
}
.zg-form-wizard__step:last-of-type { border-bottom: none; }

.zg-form-wizard__step-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.zg-form-wizard__step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 17px;
}
.zg-form-wizard__step-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--dark);
    margin: 0;
}

/* Pole formularza */
.zg-form-wizard__field {
    margin-bottom: 18px;
}
.zg-form-wizard__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.zg-form-wizard label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.zg-form-wizard label .req { color: var(--red); }

.zg-form-wizard input[type="text"],
.zg-form-wizard input[type="email"],
.zg-form-wizard input[type="tel"],
.zg-form-wizard input[type="number"],
.zg-form-wizard select,
.zg-form-wizard textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--dark);
    transition: all 0.2s ease;
}
.zg-form-wizard input:focus,
.zg-form-wizard select:focus,
.zg-form-wizard textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(139,21,56,0.08);
}
.zg-form-wizard textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}
.zg-form-wizard input::placeholder,
.zg-form-wizard textarea::placeholder {
    color: #aaa;
}

/* Select arrow */
.zg-form-wizard select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238B1538'%3e%3cpath d='M5.5 7l4.5 5 4.5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

/* Checkboxy lokalizacji haftu */
.zg-form-wizard__checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}
.zg-form-wizard__check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    font-size: 14px;
    font-weight: 600;
    color: #4a4b4e;
    user-select: none;
}
.zg-form-wizard__check input[type="checkbox"] {
    accent-color: var(--red);
    width: 16px; height: 16px;
    cursor: pointer;
}
.zg-form-wizard__check:hover {
    border-color: var(--red);
    background: #fff5f7;
}
.zg-form-wizard__check:has(input:checked) {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* Radio */
.zg-form-wizard__radio-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.zg-form-wizard__radio {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    font-size: 14px;
    font-weight: 600;
    color: #4a4b4e;
}
.zg-form-wizard__radio input[type="radio"] {
    accent-color: var(--red);
    width: 16px; height: 16px;
    cursor: pointer;
}
.zg-form-wizard__radio:hover {
    border-color: var(--red);
    background: #fff5f7;
}
.zg-form-wizard__radio:has(input:checked) {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* File upload — używamy stylowania CF7 wpcf7-form-control-wrap */
.zg-form-wizard input[type="file"],
.zg-form-wizard .wpcf7-file {
    width: 100%;
    padding: 16px;
    border: 2px dashed #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #4a4b4e;
    transition: all 0.2s ease;
}
.zg-form-wizard input[type="file"]:hover {
    border-color: var(--red);
    background: #fff5f7;
}
.zg-form-wizard__file-hint {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

/* RODO */
.zg-form-wizard__rodo {
    background: #F3F4F8;
    padding: 16px 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0 30px;
    font-size: 13px;
    line-height: 1.6;
    color: #4a4b4e;
}
.zg-form-wizard__rodo input[type="checkbox"] {
    accent-color: var(--red);
    width: 18px; height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}
.zg-form-wizard__rodo a { color: var(--red); font-weight: 600; }

/* Główny CTA submit */
.zg-form-wizard__submit {
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 999px;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(139,21,56,0.25);
}
.zg-form-wizard__submit:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* CF7 reset — żeby nasze style działały */
.wpcf7-form input.wpcf7-validates-as-required,
.wpcf7-form select,
.wpcf7-form textarea {
    box-sizing: border-box;
}
.wpcf7 .wpcf7-not-valid-tip { color: var(--red); font-size: 12px; margin-top: 4px; }
.wpcf7-response-output {
    border-radius: 10px !important;
    padding: 14px 18px !important;
    font-size: 14px;
}

/* === PRAWA KOLUMNA: dane firmy + zdjęcie + mapa === */
.zg-contact__side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.zg-contact__card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.zg-contact__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.zg-contact__info {
    padding: 28px 26px;
}
.zg-contact__info-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.zg-contact__info-list { list-style: none; padding: 0; margin: 0; }
.zg-contact__info-list li {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a4b4e;
    align-items: flex-start;
}
.zg-contact__info-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--red);
}
.zg-contact__info-list a { color: var(--dark); font-weight: 600; text-decoration: none; }
.zg-contact__info-list a:hover { color: var(--red); }
.zg-contact__info-list small { color: #888; font-size: 12px; display: block; }

.zg-contact__map iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

/* FAQ poniżej */
.zg-contact__faq-wrap {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #ececec;
}

/* Responsywność kontaktu — 2 kolumny utrzymujemy do 768px */
@media (max-width: 768px) {
    .zg-contact .zg-contact__grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .zg-contact__hero-title { font-size: 34px !important; }
    .zg-form-wizard { padding: 30px 22px; }
    .zg-form-wizard__row { grid-template-columns: 1fr; }
}

/* Sredni tablet — zmniejsz proporcje + gap zeby 2 kolumny zmiescily sie */
@media (max-width: 1024px) and (min-width: 769px) {
    .zg-contact .zg-contact__grid {
        grid-template-columns: 1.3fr 1fr !important;
        gap: 30px !important;
    }
    .zg-form-wizard { padding: 30px 24px; }
    .zg-form-wizard__row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .zg-form-wizard__step-title { font-size: 18px; }
    .zg-form-wizard__radio { min-width: auto; }
    .zg-form-wizard__submit { font-size: 14px; padding: 18px; letter-spacing: 2px; }
}

/* ============================================
   SINGLE POST — pojedynczy wpis aktualnosci
   ============================================ */
.zg-post {
    font-family: 'Montserrat', sans-serif;
    color: #2a2b2e;
}

.zg-post__hero {
    background: linear-gradient(180deg, #F3F4F8 0%, #fff 100%);
    padding: 50px 24px 40px;
    text-align: center;
    border-bottom: 1px solid #ececec;
}

.zg-post__hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.zg-post__back {
    display: inline-block;
    color: #8a8b8e;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}
.zg-post__back:hover { color: var(--red); }

.zg-post__tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.zg-post__title {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 42px !important;
    line-height: 1.2 !important;
    color: var(--dark) !important;
    margin: 0 0 14px !important;
}

.zg-post__bar {
    width: 60px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin: 18px auto 0;
}

.zg-post__meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    color: #8a8b8e;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    flex-wrap: wrap;
}
.zg-post__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.zg-post__meta svg { color: var(--red); }

.zg-post__thumb {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 24px;
}
.zg-post__thumb-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    display: block;
}

.zg-post__content {
    max-width: 780px;
    margin: 50px auto 60px;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1.85;
    color: #4a4b4e;
}

.zg-post__content p { margin: 0 0 18px; }
.zg-post__content h2 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    color: var(--dark) !important;
    margin: 36px 0 16px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.zg-post__content h3 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    color: var(--red) !important;
    margin: 26px 0 12px !important;
}
.zg-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.zg-post__content a {
    color: var(--red);
    text-decoration: underline;
    font-weight: 600;
}
.zg-post__content ul, .zg-post__content ol { padding-left: 28px; margin: 0 0 20px; }
.zg-post__content li { margin-bottom: 8px; }
.zg-post__content blockquote {
    border-left: 4px solid var(--red);
    background: #F3F4F8;
    padding: 20px 28px;
    margin: 24px 0;
    font-style: italic;
    color: #4a4b4e;
    border-radius: 0 10px 10px 0;
}

.zg-post__divider {
    border: none;
    height: 1px;
    background: #ececec;
    margin: 50px 0;
}

.zg-post__cta {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(139,21,56,0.15);
}
.zg-post__cta h3 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    color: #fff !important;
    margin: 0 0 12px !important;
    border: none !important;
    padding: 0 !important;
}
.zg-post__cta p {
    color: rgba(255,255,255,0.9);
    margin: 0 0 24px;
    font-size: 15px;
}
.zg-post__cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--red) !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.zg-post__cta-btn:hover {
    background: var(--dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

/* Ukryj komentarze + nawigacje gdyby sie pojawily mimo wszystko */
.zg-post .comments-area,
.zg-post #comments,
.zg-post #respond,
.zg-post .nav-links,
.zg-post .post-navigation,
.zg-post .comment-respond,
#comments, #respond, .comments-area, .comment-respond,
.post-navigation, .nav-below, .navigation.comment-navigation,
.entry-meta, .post-meta {
    display: none !important;
}

@media (max-width: 768px) {
    .zg-post__title { font-size: 28px !important; }
    .zg-post__content { font-size: 16px; }
    .zg-post__content h2 { font-size: 22px !important; }
    .zg-post__cta { padding: 30px 20px; }
    .zg-post__cta h3 { font-size: 20px !important; }
}

/* ============================================
   STRONY PRAWNE — Regulamin / Polityka prywatności
   ============================================ */
.zg-legal {
    max-width: 920px;
    margin: 0 auto;
    padding: 50px 24px 40px;
    font-family: 'Montserrat', sans-serif;
    color: #2a2b2e;
    line-height: 1.8;
}

.zg-legal__hero {
    text-align: center;
    padding: 0 0 36px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 40px;
}

.zg-legal__tag {
    display: inline-block;
    color: var(--red);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.zg-legal__title {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 42px !important;
    line-height: 1.15 !important;
    color: var(--dark) !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.5px;
}

.zg-legal__bar {
    width: 60px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin: 18px auto 0;
}

.zg-legal__sub {
    font-family: 'Montserrat', sans-serif;
    color: #8a8b8e;
    font-size: 14px;
    margin-top: 14px;
}

.zg-legal h2 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    color: var(--dark) !important;
    margin: 40px 0 16px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}

.zg-legal h3 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: var(--red) !important;
    margin: 26px 0 10px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zg-legal p {
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 14px;
    color: #4a4b4e;
}

.zg-legal strong {
    color: var(--dark);
    font-weight: 700;
}

.zg-legal a {
    color: var(--red);
    text-decoration: underline;
}

.zg-legal a:hover { color: #5C0F25; }

.zg-legal ul, .zg-legal ol {
    margin: 0 0 18px 22px;
    padding: 0;
}

.zg-legal li {
    margin: 0 0 8px;
    line-height: 1.75;
    color: #4a4b4e;
}

.zg-legal__company {
    background: #F3F4F8;
    border-left: 4px solid var(--red);
    padding: 22px 26px;
    border-radius: 10px;
    margin: 16px 0 24px;
    font-size: 15px;
    line-height: 1.7;
}

.zg-legal__company strong {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.zg-legal__divider {
    height: 1px;
    background: #ececec;
    margin: 36px 0;
    border: none;
}

.zg-legal__note {
    background: #fff5f7;
    border: 1px solid #f7c6d2;
    border-radius: 10px;
    padding: 18px 22px;
    color: #8a4150;
    font-style: italic;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.7;
}

.zg-legal__back {
    display: inline-block;
    margin-top: 40px;
    color: var(--red);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}

.zg-legal__back:hover { color: var(--dark); }

@media (max-width: 768px) {
    .zg-legal__title { font-size: 28px !important; }
    .zg-legal h2 { font-size: 20px !important; }
    .zg-legal h3 { font-size: 15px !important; }
    .zg-legal p, .zg-legal li { font-size: 15px; }
}

/* Stopka prawna na samym dole footera */
.zg-footer__legal {
    background: #000;
    color: rgba(255,255,255,0.55);
    padding: 16px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    line-height: 1.7;
}

.zg-footer__legal a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s ease;
}

.zg-footer__legal a:hover { color: var(--red); }

.zg-footer__legal-sep { margin: 0 6px; color: rgba(255,255,255,0.2); }

@media (max-width: 600px) {
    .zg-footer__legal { font-size: 11px; padding: 14px 18px; }
    .zg-footer__legal a { display: inline-block; margin: 2px 6px; }
}

/* ============================================
   GALERIA podkategorii (HTML grid + lightbox)
   ============================================ */
.zg-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px 0;
}
.zg-gallery__item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #f0f0f0;
    position: relative;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.zg-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}
.zg-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.zg-gallery__item:hover img { transform: scale(1.06); }
.zg-gallery__item::after {
    content: '🔍';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 32px;
    color: #fff;
    background: rgba(139,21,56,0.85);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.zg-gallery__item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
@media (max-width: 900px) { .zg-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 520px) { .zg-gallery { grid-template-columns: 1fr; } }

/* Prosty lightbox */
.zg-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: none;
    align-items: center; justify-content: center;
    cursor: zoom-out;
    padding: 30px;
}
.zg-lightbox.is-open { display: flex; }
.zg-lightbox img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.zg-lightbox__close {
    position: absolute;
    top: 20px; right: 30px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.zg-lightbox__close:hover { background: rgba(255,255,255,0.3); }

/* ============================================
   STRONA "O NAS"
   ============================================ */
.zg-onas {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px;
    color: #2a2b2e;
    font-family: 'Montserrat', sans-serif;
}

.zg-onas__hero {
    text-align: center;
    padding: 30px 0 50px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 50px;
}

.zg-onas__tag {
    display: inline-block;
    color: var(--red);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.zg-onas__title {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 48px !important;
    line-height: 1.1 !important;
    color: var(--dark) !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.5px;
}

.zg-onas__lead {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.5;
    color: #5a5b5e;
    max-width: 760px;
    margin: 0 auto;
}

.zg-onas__lead em {
    color: var(--red);
    font-style: normal;
    font-weight: 700;
}

.zg-onas__bar {
    width: 70px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin: 0 auto 24px;
}

/* Sekcja standardowa */
.zg-onas__section {
    padding: 30px 0;
    margin-bottom: 20px;
}

.zg-onas__h {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 32px !important;
    line-height: 1.25 !important;
    color: var(--dark) !important;
    margin: 0 0 14px !important;
}

.zg-onas__sub {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--red);
    letter-spacing: 0.3px;
    margin: 0 0 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.zg-onas p {
    font-size: 16px;
    line-height: 1.85;
    color: #4a4b4e;
    margin: 0 0 16px;
}

.zg-onas p strong {
    color: var(--dark);
    font-weight: 700;
}

/* Sekcja nagrody — 2 zdjęcia obok siebie */
.zg-onas__awards {
    background: #F3F4F8;
    border-radius: 18px;
    padding: 50px 40px;
    margin: 30px 0 40px;
}

.zg-onas__awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 36px;
}

.zg-onas__award {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zg-onas__award:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.zg-onas__award-img {
    width: 100%;
    aspect-ratio: 1 / 1;          /* kwadrat — wyrównuje rozmiar pionowych i poziomych zdjęć */
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f5f5f7;
    padding: 20px;
    box-sizing: border-box;
}

.zg-onas__award-body {
    padding: 22px 24px;
    text-align: center;
}

.zg-onas__award-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
    margin: 0 0 6px;
    line-height: 1.4;
}

.zg-onas__award-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: var(--red);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

/* Karty oferty */
.zg-onas__offers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 28px 0 16px;
}

.zg-onas__offer {
    background: #fff;
    border: 1px solid #ececec;
    border-left: 4px solid var(--red);
    border-radius: 12px;
    padding: 22px 26px;
    transition: all 0.25s ease;
}

.zg-onas__offer:hover {
    border-color: var(--red);
    box-shadow: 0 10px 24px rgba(139,21,56,0.08);
    transform: translateY(-3px);
}

.zg-onas__offer-h {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zg-onas__offer-h::before {
    content: '◆';
    color: var(--red);
    font-size: 12px;
}

.zg-onas__offer p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: #5a5b5e;
}

/* Sekcja CTA */
.zg-onas__cta {
    background: linear-gradient(135deg, var(--red) 0%, #5C0F25 100%);
    color: #fff;
    border-radius: 18px;
    padding: 50px 40px;
    text-align: center;
    margin-top: 40px;
}

.zg-onas__cta h3 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
    color: #fff !important;
    margin: 0 0 14px !important;
    max-width: 720px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.zg-onas__cta p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin: 0 0 24px;
}

.zg-onas__cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--red);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 36px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.zg-onas__cta-btn:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.zg-onas__location {
    background: #fff;
    border: 2px solid #ececec;
    border-radius: 14px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 24px;
}

.zg-onas__location-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.zg-onas__location-text {
    flex: 1;
}

.zg-onas__location-text strong {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 2px;
}

.zg-onas__location-text span {
    font-size: 15px;
    color: #5a5b5e;
}

@media (max-width: 768px) {
    .zg-onas__title { font-size: 32px !important; }
    .zg-onas__lead { font-size: 17px; }
    .zg-onas__h { font-size: 24px !important; }
    .zg-onas__awards { padding: 30px 20px; }
    .zg-onas__awards-grid { grid-template-columns: 1fr; }
    .zg-onas__offers { grid-template-columns: 1fr; }
    .zg-onas__cta { padding: 36px 20px; }
    .zg-onas__cta h3 { font-size: 22px !important; }
    .zg-onas__location { flex-direction: column; text-align: center; gap: 14px; padding: 22px; }
}
