/*
 * Modern design system (based on test_site prototype)
 * Loaded after the main stylesheet to override the AC-Clima look.
 * Palette: navy (#0B1F3A) + cyan (#00A8E8), font: Manrope.
 */

/* ===== Fonts (Manrope) ===== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #00A8E8;
    --primary-dark: #0090C8;
    --secondary-color: #0B1F3A;
    --secondary-dark: #081627;
    --dark-blue: #0B1F3A;
    --light-blue: #e6f2fb;
    --text-color: #1a2b44;
    --gray: #5a6b85;
    --white: #ffffff;
    --bg-soft: #f4f7fb;
    --line: #e6ecf4;
    --box-shadow: 0 18px 50px rgba(11, 31, 58, 0.10);
    --shadow-sm: 0 6px 20px rgba(11, 31, 58, 0.08);
}

/* ===== Base ===== */
html, body { overflow-x: hidden; }
body {
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
    color: var(--text-color);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', system-ui, sans-serif !important;
    color: var(--dark-blue);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
a { color: var(--primary-color); }
a:hover { color: var(--primary-dark); }

.container { max-width: 1180px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1.3;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #00A8E8, #0090C8);
    color: #fff !important;
    border: none;
    box-shadow: 0 10px 24px rgba(0, 168, 232, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0090C8, #0080B0);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 168, 232, 0.45);
}
.btn-secondary {
    background: var(--secondary-color);
    color: #fff !important;
    border: none;
}
.btn-secondary:hover {
    background: #081627;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.30);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; border-radius: 999px; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
    font-family: 'Manrope', system-ui, sans-serif;
}
.header-top {
    background: var(--secondary-color);
    padding: 8px 0;
    font-size: 0.86rem;
}
.header-top a, .header-top span { color: #cfe0f2; font-weight: 600; }
.header-top a:hover { color: #fff; }
.header-contact i { color: #00A8E8; }
.header-quote-link {
    background: #00A8E8;
    color: #fff !important;
    padding: 3px 12px;
    border-radius: 999px;
    font-weight: 700;
}
.header-quote-link:hover { background: #0090C8; color: #fff !important; }
.header-main { background: #fff; padding: 14px 0; box-shadow: none; }
.header-wrapper { flex-wrap: nowrap; }
.main-navigation { flex: 1 1 auto; min-width: 0; }
.site-branding { flex-shrink: 0; }
.site-branding img, .site-logo img, .custom-logo { max-height: 48px !important; width: auto !important; height: auto !important; max-width: none !important; }
.site-logo img { max-height: 52px; width: auto; }
.site-branding h1.site-title { font-size: 1.35rem; margin: 0; }
.site-branding h1.site-title a { color: var(--dark-blue); }

.primary-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.primary-menu::-webkit-scrollbar { display: none; }
.primary-menu > li { margin: 0; flex: 0 0 auto; }
.primary-menu > li > a {
    padding: 8px 12px;
    display: block;
    color: var(--text-color) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    transition: 0.2s;
    white-space: nowrap;
}
.primary-menu > li > a:after { display: none; }
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a { color: #0090C8 !important; background: var(--bg-soft); }
.primary-menu .sub-menu,
.primary-menu .children {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}
.primary-menu .sub-menu a,
.primary-menu .children a { color: var(--text-color); }
.primary-menu .sub-menu a:hover,
.primary-menu .children a:hover { color: #0090C8; background: var(--bg-soft); }

.enetwork-hub-switch {
    background: var(--secondary-color);
    color: #fff !important;
    border: none;
    margin-left: 12px;
    white-space: nowrap;
}
.enetwork-hub-switch:hover { background: #081627; color: #fff !important; }

.menu-toggle { color: var(--dark-blue); }
.menu-toggle span { background: var(--dark-blue); }

/* ===== Section titles ===== */
.section-title h2 { font-size: 2.4rem; font-weight: 800; }
.section-title h2:after { background: var(--primary-color); width: 64px; height: 4px; }
.section-title p { color: var(--gray); }

/* ===== Service cards ===== */
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: 0.25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--box-shadow); }
.service-card h3 { font-weight: 800; }
.service-card .service-content { padding: 26px; }
.service-card .service-image img { width: 100%; }

/* Generic cards (blog / realizacje) */
.card {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: 0.25s;
}
.card:hover { box-shadow: var(--box-shadow); transform: translateY(-4px); }
.card-img-top { border-radius: 0; }
.card-title a { color: var(--dark-blue); font-weight: 800; }
.card-title a:hover { color: var(--primary-color); }

/* ===== Hero (content-based) ===== */
.hero-section {
    background: radial-gradient(1100px 600px at 78% -10%, #0d2b52 0%, #0B1F3A 55%);
    color: #fff;
}
.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4 { color: #fff; }
.hero-content p { color: #c6d6ea; }
.hero-content .btn-primary { background: linear-gradient(135deg, #00A8E8, #0090C8); }

/* ===== Footer ===== */
.site-footer {
    background: var(--secondary-dark);
    color: #9db2cc;
    font-size: 0.92rem;
}
.site-footer h4 { color: #fff; font-weight: 800; }
.site-footer h4:after { background: var(--primary-color); }
.site-footer a { color: #9db2cc; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-widget ul li a { color: #9db2cc; }
.site-footer .footer-widget ul li a:hover { color: #fff; }
.site-footer .footer-widget p { color: #9db2cc; }
.site-footer address { color: #9db2cc; }
.site-footer .contact-item i { color: var(--primary-color); }
.site-footer .contact-link { color: var(--primary-color); }
.site-footer .contact-link:hover { color: #fff; }
.site-footer .contact-button {
    background: var(--primary-color);
    color: #fff;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
}
.site-footer .contact-button:hover { background: #0090C8; color: #fff; }
.site-footer .social-links a { color: #9db2cc; }
.site-footer .social-links a:hover { color: #fff; }

.footer-bottom {
    background: #081627;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #8ba1bd;
    padding: 18px 0;
}
.footer-bottom p { color: #8ba1bd; margin: 0; }

/* ===== Testimonial carousel (footer) ===== */
.testimonial-text { color: #9db2cc !important; }
.testimonial-text:before { color: var(--primary-color) !important; }
.testimonial-author .name { color: #fff; }
.testimonial-author .role { color: #9db2cc; }
.testimonial-author .stars { color: var(--primary-color) !important; }
.testimonial-dot { background: #2a3450; }
.testimonial-dot.active { background: var(--primary-color); }
.prev-testimonial, .next-testimonial { color: #9db2cc; }
.prev-testimonial:hover, .next-testimonial:hover { color: var(--primary-color); }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    font-size: 0.9rem;
    color: var(--gray);
}
.breadcrumbs a { color: var(--gray); font-weight: 600; }
.breadcrumbs a:hover { color: var(--primary-color); }

/* ===== Homepage silo cards (front-page) ===== */
.enetwork-silos-section { background: var(--bg-soft); }
.enetwork-silos-header { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.enetwork-silos-kicker { color: var(--primary-color); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 12px; }
.enetwork-silos-title { color: var(--dark-blue); font-size: 2.2rem; }
.enetwork-silos-intro { color: var(--gray); }
.enetwork-silo-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: 0.25s;
}
.enetwork-silos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 20px; }
.enetwork-silo-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.25s;
}
.enetwork-silo-card:hover { transform: translateY(-6px); box-shadow: var(--box-shadow); }
.enetwork-silo-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, #00A8E8, #00C2A8); }
.enetwork-silo-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.enetwork-silo-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, #00A8E8, #00C2A8); font-size: 1.3rem;
}
.enetwork-silo-card h3 { font-size: 1.4rem; margin: 0; }
.enetwork-silo-card p { color: var(--gray); margin-bottom: 16px; }
.enetwork-silo-links { list-style: none; margin: 0 0 18px; }
.enetwork-silo-links li { padding: 8px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; align-items: center; }
.enetwork-silo-links li::before { content: "✓"; color: #00C2A8; font-weight: 800; }
.enetwork-silo-links a { color: var(--text-color); font-weight: 600; }
.enetwork-silo-links a:hover { color: var(--primary-color); }
@media (max-width: 900px) { .enetwork-silos-grid { grid-template-columns: 1fr; } }

/* ===== Random posts / related ===== */
.random-posts-section { background: #fff; }
.related-posts { margin-top: 40px; }
.related-posts h3 { font-weight: 800; }
.related-post-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.related-post-item .post-title a { color: var(--dark-blue); font-weight: 700; }
.related-post-item .post-title a:hover { color: var(--primary-color); }

/* ===== Forms ===== */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="url"], input[type="password"], textarea, select {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.95rem;
    background: #fff;
    color: var(--text-color);
}
input:focus, textarea:focus, select:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(0,168,232,.15); }

/* ===== Mobile call bar ===== */
.mobile-call {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    padding: 12px;
    gap: 12px;
    z-index: 2000;
}
.mobile-call a {
    flex: 1;
    text-align: center;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
}
.mobile-call .call { background: var(--primary-color); color: #fff; }
.mobile-call .form { background: #fff; color: var(--dark-blue); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .mobile-call { display: flex; }
    body { padding-bottom: 0; }
    .site-footer { padding-bottom: 70px; }
    .btn { padding: 12px 22px; }
    .section-title h2 { font-size: 1.9rem; }
    html, body { overflow-x: hidden; }
    .header-wrapper { flex-wrap: wrap; gap: 8px; }
    .site-header { position: relative; z-index: 1000; }
    .enetwork-hub-switch { display: none !important; }

    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: min(86vw, 320px) !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 100001 !important;
        background: #fff !important;
        padding: 92px 16px 24px !important;
        overflow-y: auto !important;
        box-shadow: -10px 0 30px rgba(11,31,58,.2) !important;
        transition: right .24s ease !important;
        display: block !important;
    }

    .main-navigation.active { right: 0 !important; }

    .main-navigation .primary-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .main-navigation .primary-menu > li {
        width: 100% !important;
        margin: 0 !important;
        display: block !important;
    }

    .main-navigation .primary-menu > li > a {
        display: block !important;
        width: 100% !important;
        padding: 14px 16px !important;
        border: 1px solid var(--line) !important;
        border-radius: 12px !important;
        background: #f6f9fc !important;
        white-space: normal !important;
        font-size: 0.96rem !important;
        line-height: 1.3 !important;
        color: var(--text-color) !important;
    }

    .main-navigation .sub-menu,
    .main-navigation .children {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: 0 !important;
        border-left: 2px solid var(--line) !important;
        border-radius: 0 !important;
        margin: 8px 0 0 10px !important;
        padding: 0 0 0 10px !important;
        display: none;
        background: transparent !important;
    }

    .main-navigation .menu-item-has-children.active > .sub-menu,
    .main-navigation .page_item_has_children.active > .children {
        display: block !important;
    }

    .main-navigation .sub-menu a,
    .main-navigation .children a {
        display: block;
        padding: 9px 8px;
        color: var(--text-color) !important;
        background: transparent !important;
    }

    .menu-toggle {
        position: relative;
        z-index: 100002 !important;
    }

    .menu-overlay {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 320px !important;
        right: min(86vw, 320px) !important;
        width: auto !important;
        display: block !important;
        background: rgba(6,17,35,.5) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity .2s ease !important;
        z-index: 100000 !important;
    }

    .menu-overlay.active,
    body.menu-open .menu-overlay {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.menu-open {
        overflow: hidden !important;
        position: static !important;
        width: auto !important;
    }

    body.menu-open #content {
        display: block !important;
    }
}

/* Dyskretny, zgodny z RODO pasek cookies (CookieYes) — na dole, kompaktowy */
.cky-consent-container { position: fixed !important; bottom: 0 !important; top: auto !important; left: 0 !important; right: 0 !important; transform: none !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.cky-consent-bar { max-width: 100% !important; border-radius: 12px 12px 0 0 !important; padding: 12px 16px !important; }
.cky-consent-bar .cky-title { font-size: .9rem !important; margin: 0 0 4px !important; }
.cky-consent-bar .cky-notice-desc { font-size: .8rem !important; line-height: 1.4 !important; }
.cky-consent-bar .cky-notice-btn-wrapper { flex-wrap: wrap !important; gap: 6px !important; }
.cky-consent-bar .cky-btn { font-size: .8rem !important; padding: 7px 12px !important; border-radius: 8px !important; }
.cky-btn-revisit-wrapper { bottom: 12px !important; }
@media (max-width: 576px) {
    .hero-content h1 { font-size: 2rem; }
    .btn-lg { width: 100%; text-align: center; }
}

/* ============================================================
   Homepage sections (port of test_site proposal)
   ============================================================ */
.section-kicker { color: var(--primary-color); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 12px; }
.lead { color: var(--gray); font-size: 1.15rem; max-width: 720px; }
.btn-outline { border-color: var(--dark-blue); color: var(--dark-blue); }
.btn-outline:hover { background: var(--dark-blue); color: #fff; }

/* Hero */
.hero {
    position: relative;
    background: #0B1F3A;
    color: #fff;
    padding: 0;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(11,31,58,.94) 0%, rgba(11,31,58,.82) 38%, rgba(11,31,58,.42) 62%, rgba(11,31,58,.22) 100%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 70px 0 56px; position: relative; z-index: 2; }
.hero h1, .hero h1 span { color: #fff; }
.hero h1 span { color: var(--primary-color); }
.hero p { color: #c6d6ea; font-size: 1.15rem; max-width: 560px; margin: 18px 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: #0B1F3A; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; color: #a9bfd8; font-size: .9rem; font-weight: 600; }
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--primary-color); }
.hero-visual { position: relative; min-height: 380px; }
.hero-card { background: #fff; border-radius: 18px; box-shadow: var(--box-shadow); padding: 22px; color: var(--text-color); position: absolute; width: min(340px, 100%); }
.hero-card--hvac { top: 18px; right: 0; }
.hero-card--it { bottom: 18px; left: 0; }
.hero-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.hero-card .row { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.hero-card h4 { font-size: 1.05rem; margin: 0; }
.hero-card p { color: var(--gray); font-size: .9rem; margin: 0; }
.hero-card .meter { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 10px; }
.hero-card .meter i { display: block; height: 100%; width: 78%; background: linear-gradient(90deg, #00C2A8, var(--primary-color)); border-radius: 999px; }
.hero-card small { color: var(--gray); font-size: .78rem; }

/* Trust strip */
.trust-strip { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--dark-blue); }
.trust-item .num { font-size: 1.9rem; font-weight: 800; color: var(--primary-color); }
.trust-item small { display: block; color: var(--gray); font-weight: 600; font-size: .82rem; }

/* Features / services grid */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: .25s; }
.feature:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: .95rem; }

/* Local SEO cities */
.cities-section { background: #0B1F3A; color: #fff; }
.cities-section h2 { color: #fff; }
.cities-section .lead { color: #a9bfd8; }
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.city { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 18px; color: #e7eefa; font-weight: 600; display: flex; align-items: center; gap: 10px; transition: .2s; }
.city:hover { background: rgba(0,168,232,.18); border-color: var(--primary-color); }
.city svg { width: 16px; height: 16px; color: var(--primary-color); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.review .stars { color: #f6b900; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review p { color: var(--gray); font-style: italic; margin-bottom: 16px; }
.review .who { font-weight: 700; color: var(--dark-blue); }
.review .who small { display: block; color: var(--gray); font-weight: 600; font-size: .82rem; }

/* FAQ accordion */
.faq-wrap { max-width: 820px; margin: 40px auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; color: var(--dark-blue); font-size: 1.05rem; }
.faq-q .chev { transition: .25s; color: var(--primary-color); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--gray); }

/* Final CTA */
.cta-section { background: linear-gradient(135deg, #0B1F3A 0%, #12294a 60%); color: #fff; text-align: center; padding: 70px 0; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #c6d6ea; max-width: 620px; margin: 14px auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-ghost { border-color: #fff; color: #fff; }
.cta-section .btn-ghost:hover { background: #fff; color: #0B1F3A; }
.cta-note { margin-top: 20px; color: #a9bfd8; font-size: .9rem; }

/* Responsive for homepage sections */
@media (max-width: 960px) {
    .hero .container { grid-template-columns: 1fr; padding: 50px 0 28px; }
    .hero::after { background: linear-gradient(180deg, rgba(11,31,58,.88) 0%, rgba(11,31,58,.72) 55%, rgba(11,31,58,.4) 100%); }
    .hero-bg { object-position: center; }
    .hero-visual { min-height: auto; display: grid; gap: 12px; }
    .hero-card { position: static; width: 100%; }
    .features-grid, .reviews-grid, .cities-grid { grid-template-columns: 1fr; }
    .cities-grid { grid-template-columns: 1fr 1fr; }
    .trust-strip { display: none; }
}
@media (max-width: 560px) {
    .cities-grid { grid-template-columns: 1fr; }
    .hero-ctas .btn { width: 100%; }
}

/* ============================================================
   Subpages / content (pages, single, archive, realizacje)
   ============================================================ */
.page-header {
    background: linear-gradient(160deg, #0B1F3A, #12294a);
    color: #fff;
    padding: 20px 0;
    margin-bottom: 0;
}
.page-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-header-usps { display: flex; flex-direction: column; }
.page-header-usps .h { font-weight: 800; font-size: 1.05rem; color: #fff; }
.page-header-usps .s { color: #a9bfd8; font-size: .84rem; }
.page-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.page-header .btn-primary { background: linear-gradient(135deg, #00A8E8, #0090C8); }
.page-header .btn-primary:hover { background: #0090C8; }
.page-header .btn-outline { border-color: #fff; color: #fff; }
.page-header .btn-outline:hover { background: #fff; color: #0B1F3A; }
.page-content { padding: 56px 24px; }
.page-title-inline { font-size: 1.7rem; margin: 0 0 18px; color: var(--dark-blue); }
.page-photo { margin: 0 0 28px; }
.page-photo img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-sm); }
.page-photo--banner { max-width: 560px; }
.page-photo--inline { float: right; width: 280px; max-width: 42%; margin: 6px 0 16px 24px; }
.entry-content .page-photo--inline { margin-top: 0; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 700px) {
    .page-photo--inline { float: none; width: 100%; max-width: 320px; margin: 0 0 18px; }
}
.page-header-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* Breadcrumbs */
.enetwork-breadcrumb { font-size: .84rem; color: var(--gray); margin-bottom: 14px; }
.enetwork-breadcrumb a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.enetwork-breadcrumb a:hover { color: var(--primary-dark); }
.enetwork-breadcrumb span[aria-current="page"] { color: var(--text-color); font-weight: 500; }
.enetwork-breadcrumb > span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* Entry content typography */
.entry-content h2 { font-size: 1.7rem; margin: 28px 0 14px; }
.entry-content h3 { font-size: 1.3rem; margin: 24px 0 12px; }
.entry-content h4 { font-size: 1.1rem; margin: 20px 0 10px; }
.entry-content p { margin: 0 0 18px; color: var(--text-color); }
.entry-content ul, .entry-content ol { margin: 0 0 20px; padding-left: 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--primary-color); font-weight: 600; }
.entry-content a:hover { color: var(--primary-dark); }
.entry-content img { border-radius: 12px; height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--bg-soft); font-weight: 700; }
.entry-content blockquote { border-left: 4px solid var(--primary-color); background: var(--bg-soft); padding: 16px 20px; margin: 0 0 20px; border-radius: 0 12px 12px 0; font-style: italic; }
.entry-content pre, .entry-content code { background: var(--bg-soft); border-radius: 8px; font-size: .9em; }
.entry-content .wp-block-image img { border-radius: 12px; }

/* Subpages grid (page.php) */
.subpages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.subpage-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; display: flex; flex-direction: column; }
.subpage-item:hover { transform: translateY(-6px); box-shadow: var(--box-shadow); }
.subpage-image img { width: 100%; height: auto; display: block; }
.subpage-title { padding: 18px 20px 0; font-size: 1.15rem; }
.subpage-title a { color: var(--dark-blue); }
.subpage-title a:hover { color: var(--primary-color); }
.subpage-excerpt { padding: 8px 20px 0; color: var(--gray); font-size: .95rem; flex: 1; }
.subpage-item .btn { margin: 16px 20px 22px; align-self: flex-start; }

/* Single post */
.single-post-header { background: linear-gradient(160deg, #0B1F3A, #12294a); color: #fff; padding: 26px 0 22px; }
.single-post-header .post-title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.post-categories a { display: inline-block; background: var(--primary-color); color: #fff; padding: 4px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; margin-bottom: 12px; }
.single-post { margin-top: 40px; }
.post-thumbnail img { border-radius: 16px; }
.post-content { margin-top: 24px; }
.post-content .entry-content { }
.post-meta { color: var(--gray); font-size: .9rem; margin: 10px 0 20px; display: flex; gap: 18px; flex-wrap: wrap; }
.post-meta i { color: var(--primary-color); margin-right: 5px; }
.post-share { margin: 30px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.post-share .share-title { font-weight: 700; color: var(--dark-blue); }
.share-buttons { display: flex; gap: 8px; }
.share-buttons a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .95rem; }
.share-buttons .facebook { background: #1877F2; }
.share-buttons .twitter { background: #1DA1F2; }
.share-buttons .linkedin { background: #0A66C2; }
.share-buttons .whatsapp { background: #25D366; }
.post-navigation { display: flex; justify-content: space-between; gap: 16px; margin: 20px 0; }
.post-navigation a { font-weight: 600; color: var(--dark-blue); }
.post-navigation a:hover { color: var(--primary-color); }
.post-navigation .nav-previous, .post-navigation .nav-next { max-width: 48%; }
.related-posts { margin-top: 40px; }
.related-posts h3 { font-weight: 800; }
.related-post-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.related-post-item .post-thumbnail img { width: 100%; }
.related-post-item .post-title { padding: 14px 18px 18px; font-size: 1.05rem; }
.related-post-item .post-title a { color: var(--dark-blue); }
.related-post-item .post-title a:hover { color: var(--primary-color); }

/* Archive */
.archive-header { background: linear-gradient(160deg, #0B1F3A, #12294a); color: #fff; padding: 26px 0 22px; }
.archive-title { color: #fff; margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.archive-description { color: #a9bfd8; margin-top: 10px; }
.archive-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.post-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; display: flex; flex-direction: column; }
.post-item:hover { transform: translateY(-6px); box-shadow: var(--box-shadow); }
.post-item .post-thumbnail img { width: 100%; height: auto; }
.post-item .post-content { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-item .post-title { font-size: 1.2rem; }
.post-item .post-title a { color: var(--dark-blue); }
.post-item .post-title a:hover { color: var(--primary-color); }
.post-item .post-excerpt { color: var(--gray); flex: 1; margin: 10px 0 18px; }
.post-item .post-footer .btn { padding: 11px 22px; }
.archive-pagination { margin-top: 40px; }
.pagination-wrap { display: flex; justify-content: center; }
.pagination-wrap .page-numbers { display: inline-block; padding: 10px 16px; margin: 0 4px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--dark-blue); }
.pagination-wrap .page-numbers.current { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.pagination-wrap .page-numbers:hover { border-color: var(--primary-color); color: var(--primary-color); }
.no-results { text-align: center; padding: 60px 0; }
.no-results h2 { font-size: 1.6rem; }

/* Realizacje (page + single) */
.enetwork-realizacje-section { padding: 56px 0; }
.enetwork-realizacje-header { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.enetwork-realizacje-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.enetwork-realizacje-intro { color: var(--gray); }
.enetwork-realizacje-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.enetwork-realizacja-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; display: flex; flex-direction: column; }
.enetwork-realizacja-card:hover { transform: translateY(-6px); box-shadow: var(--box-shadow); }
.enetwork-realizacja-thumb img { width: 100%; height: auto; display: block; }
.enetwork-realizacja-thumb-placeholder { display: block; height: 180px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
.enetwork-realizacja-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.enetwork-realizacja-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.enetwork-realizacja-badge { background: var(--bg-soft); color: var(--primary-color); font-size: .76rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.enetwork-realizacja-title { font-size: 1.15rem; }
.enetwork-realizacja-title a { color: var(--dark-blue); }
.enetwork-realizacja-title a:hover { color: var(--primary-color); }
.enetwork-realizacja-excerpt { color: var(--gray); font-size: .92rem; flex: 1; }
.enetwork-realizacja-cta { margin-top: 14px; align-self: flex-start; }

.realizacja-single { padding: 56px 24px; }
.realizacja-header { margin-bottom: 24px; }
.realizacja-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.realizacja-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.realizacja-badge { background: var(--bg-soft); color: var(--primary-color); font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.realizacja-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.realizacja-text { }
.realizacja-excerpt { font-size: 1.1rem; color: var(--gray); }
.realizacja-content { margin-top: 16px; }
.realizacja-media { }
.realizacja-hero img { border-radius: 18px; width: 100%; height: auto; }
.realizacja-back { margin-top: 40px; }

/* Contact forms */
.contact-wrapper .contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-wrapper .contact-item i { color: var(--primary-color); margin-top: 4px; }
.contact-wrapper .contact-label { display: block; color: var(--gray); font-size: .82rem; font-weight: 600; }
.contact-wrapper .contact-link { color: var(--primary-color); font-weight: 600; }
.contact-wrapper .contact-link:hover { color: var(--primary-dark); }
.formularz-kontaktowy, form.contact-form, .form-ajax-form { display: grid; gap: 16px; }
.form-row, .form-group { display: grid; gap: 6px; }
.form-row label, .form-group label { font-weight: 600; color: var(--dark-blue); font-size: .92rem; }
.consent-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--gray); }
.consent-checkbox input { margin-top: 4px; }
.form-submit .btn, .btn-submit { width: auto; }

/* Sidebar & widgets */
.sidebar, .widget-area { }
.widget { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.widget-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-color); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text-color); font-weight: 600; }
.widget ul li a:hover { color: var(--primary-color); }

/* Comments */
.comments-area { margin-top: 30px; }
.comments-title, .comment-reply-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.comment-list .comment-author { font-weight: 700; color: var(--dark-blue); }
.comment-list .comment-metadata { font-size: .82rem; color: var(--gray); }
.comment-form label { font-weight: 600; color: var(--dark-blue); display: block; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }

/* Search & 404 */
.no-results .search-form { display: flex; gap: 8px; justify-content: center; max-width: 460px; margin: 20px auto 0; }
.no-results .search-form .search-field { flex: 1; }
.no-results .search-form .search-submit { background: var(--primary-color); color: #fff; border: none; border-radius: 12px; padding: 0 20px; font-weight: 700; cursor: pointer; }

/* Landing pages (location) */
.lp-hero { position: relative; isolation: isolate; background: #0B1F3A; color: #fff; padding: 70px 24px; text-align: center; overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../images/ai/montaz-klimatyzacji-lokalnie.jpg") center/cover no-repeat; }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,31,58,.78) 0%, rgba(11,31,58,.7) 100%); }
.lp-hero h1 { color: #fff; margin-bottom: 18px; }
.lp-hero .subhead { color: #c6d6ea; font-size: 1.15rem; margin-bottom: 30px; }
.lp-cta-btn { background: linear-gradient(135deg, #00A8E8, #0090C8); color: #fff; padding: 15px 30px; text-decoration: none; font-weight: 700; border-radius: 999px; display: inline-block; box-shadow: 0 10px 24px rgba(0,168,232,.35); }
.lp-cta-btn:hover { background: #0090C8; color: #fff; }
.lp-winter-alert { background: var(--bg-soft); border-left: 5px solid var(--primary-color); padding: 24px; margin: 40px auto; max-width: 900px; border-radius: 0 16px 16px 0; }
.lp-winter-alert h2 { color: var(--dark-blue); }
.lp-features { display: flex; flex-wrap: wrap; justify-content: center; padding: 20px 0; gap: 20px; max-width: 1100px; margin: 0 auto; }
.lp-feature-box { flex: 1; min-width: 280px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.lp-feature-box h3 { color: var(--dark-blue); margin-bottom: 8px; }
.lp-feature-box p { color: var(--gray); }
.lp-tech-advantage { background: #0B1F3A; color: #fff; padding: 50px 24px; text-align: center; }
.lp-tech-advantage h2 { color: #fff; }
.lp-tech-advantage p { color: #a9bfd8; }
.lp-tech-advantage .lp-advantage-list { list-style: none; padding: 0; max-width: 560px; margin: 16px auto 0; text-align: left; display: inline-block; }
.lp-tech-advantage .lp-advantage-list li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.14); color: #a9bfd8; }
.lp-tech-advantage .lp-advantage-list li::before { content: "→"; color: var(--primary-color); margin-right: 8px; font-weight: 800; }
.lp-city-links { padding: 40px 24px; max-width: 900px; margin: 0 auto; }
.lp-city-links ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-city-links a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text-color); font-weight: 600; }
.lp-city-links a:hover { border-color: var(--primary-color); color: var(--primary-color); }
.lp-faq-item { margin-bottom: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.lp-faq-item strong { color: var(--dark-blue); display: block; margin-bottom: 4px; }
.lp-faq-item p { color: var(--gray); margin: 0; }
.lp-body { padding: 40px 24px; max-width: 820px; margin: 0 auto; }
.lp-body h2 { margin: 24px 0 12px; }
.lp-body h3 { margin: 20px 0 10px; }
.lp-body p { margin: 0 0 16px; }
.lp-body ul { margin: 0 0 16px; padding-left: 22px; }
.lp-body li { margin-bottom: 8px; }
.lp-cta-wrap { text-align: center; margin: 40px auto 60px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-cta-secondary { background: var(--dark-blue); color: #fff; }
.lp-cta-secondary:hover { background: #081627; color: #fff; }

/* Responsive subpages */
@media (max-width: 900px) {
    .subpages-grid, .enetwork-realizacje-grid { grid-template-columns: 1fr; }
    .archive-posts { grid-template-columns: 1fr; }
    .realizacja-body { grid-template-columns: 1fr; }
}

/* ============================================================
   Quote form (formularz_wycena) — override inline styles
   ============================================================ */
.quote-page-intro { max-width: none; margin: 0; }
.quote-page-intro p { color: var(--gray); font-size: 1.08rem; }
.quote-intro-grid, .page-intro-grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 28px; align-items: start; margin: 0 0 28px; }
.page-intro-grid--reverse { grid-template-columns: 1fr minmax(200px, 280px); }
.kontakt-intro-copy .contact-heading { text-align: left; }
.kontakt-intro-copy .contact-heading:after { left: 0; transform: none; }
.kontakt-intro-copy .contact-intro { text-align: left; max-width: none; margin: 0 0 10px; }
.quote-intro-grid { align-items: center; }
.quote-intro-grid .page-photo, .page-intro-grid .page-photo { margin: 0; max-width: none; }
.page-intro-grid .entry-content { margin: 0; }
.page-intro-grid .entry-content h2:first-child { margin-top: 0; }
.quote-intro-points { margin: 14px 0 0; padding: 0; list-style: none; }
.quote-intro-points li { position: relative; padding: 6px 0 6px 22px; color: var(--dark-blue); font-weight: 600; }
.quote-intro-points li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-color); font-weight: 800; }
@media (max-width: 760px) {
    .quote-intro-grid, .page-intro-grid { grid-template-columns: 1fr; gap: 16px; }
    .quote-intro-grid .page-photo, .page-intro-grid .page-photo { max-width: 420px; }
}
.quote-form-container { background: #fff !important; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 34px; }
.quote-form-heading { color: var(--dark-blue) !important; }
.quote-form-intro { color: var(--gray) !important; }
.form-section h3 { color: var(--dark-blue) !important; border-bottom-color: var(--line) !important; }
.form-group label { color: var(--dark-blue) !important; }
.form-group input, .form-group select, .form-group textarea { border: 1px solid var(--line) !important; border-radius: 12px !important; background: #fff; font-family: 'Manrope', system-ui, sans-serif; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary-color) !important; box-shadow: 0 0 0 3px rgba(0,168,232,.15) !important; }
.checkbox-item label, .consent-box label { color: var(--text-color); }
.submit-button { background: linear-gradient(135deg, #00A8E8, #0090C8) !important; color: #fff !important; border-radius: 999px !important; padding: 14px 32px !important; font-weight: 700 !important; font-size: 1rem !important; box-shadow: 0 10px 24px rgba(0,168,232,.35) !important; }
.submit-button:hover { background: #0090C8 !important; }
.form-note { color: var(--gray) !important; }
.form-message.success { background: #e6f6ef !important; color: #157347 !important; border-color: #bfe7d2 !important; border-radius: 12px !important; }
.form-message.error { background: #fdecec !important; color: #b02a37 !important; border-color: #f5c2c7 !important; border-radius: 12px !important; }
