/* =====================================================
INSTAL-SERWIS
NOWOCZESNY CSS + PROSTE ANIMACJE
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7faff;
    color: #10233f;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =====================================================
ZMIENNE
===================================================== */

:root {
    --blue: #0b5ed7;
    --dark-blue: #06264d;
    --navy: #071d38;
    --light-blue: #eaf4ff;
    --cyan: #18a8d8;
    --gold: #f2b84b;
    --white: #ffffff;
    --text: #10233f;
    --muted: #64748b;
    --border: #dce7f2;
    --soft-bg: #f5f9fd;

    --shadow:
        0 18px 50px rgba(7, 29, 56, .10);

    --shadow-hover:
        0 22px 55px rgba(7, 29, 56, .16);
}


/* =====================================================
ANIMACJE
===================================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseContact {

    0%,
    100% {
        box-shadow:
            0 12px 30px rgba(7, 29, 56, .28);
    }

    50% {
        box-shadow:
            0 12px 30px rgba(11, 94, 215, .38),
            0 0 0 8px rgba(11, 94, 215, .08);
    }
}


/* =====================================================
LAYOUT
===================================================== */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 48px;
    animation: fadeUp .7s ease both;
}

.section-label {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-bottom: 10px;
}

.section-title {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.section-description {
    color: var(--muted);
    font-size: 17px;
}


/* =====================================================
TOP BAR
===================================================== */

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    animation: fadeDown .55s ease both;
}

.topbar-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.topbar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.top-contact:hover {
    color: var(--gold);
    transform: translateY(-1px);
}


/* =====================================================
HEADER
===================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,.97);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom:
        1px solid var(--border);

    animation: fadeDown .7s ease both;
}

.nav {
    min-height: 86px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.logo-link > a {
    display: flex;
    align-items: center;
}

.logo {
    width: 250px;
    height: 80px;

    object-fit: contain;
    object-position: left center;

    transition:
        transform .3s ease;
}

.logo:hover {
    transform: scale(1.02);
}


/* =====================================================
MENU
===================================================== */

.menu {
    display: flex;
    align-items: center;
    gap: 7px;
}

.menu a {
    position: relative;

    padding: 11px 14px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    color: var(--text);

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.menu a::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 6px;

    height: 2px;

    border-radius: 10px;

    background: var(--blue);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform .25s ease;
}

.menu a:hover {
    background: var(--light-blue);
    color: var(--blue);
    transform: translateY(-1px);
}

.menu a:hover::after {
    transform: scaleX(1);
}


/* =====================================================
MENU MOBILNE
===================================================== */

.mobile-menu-button {
    display: none;

    width: 48px;
    height: 48px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: #fff;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.mobile-menu-button:hover {
    transform: scale(1.03);

    border-color:
        rgba(11,94,215,.35);

    box-shadow:
        0 8px 25px rgba(7,29,56,.08);
}

.mobile-menu-button span {
    width: 22px;
    height: 2px;

    border-radius: 10px;

    background: var(--navy);

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* =====================================================
HERO
===================================================== */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(24,168,216,.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #edf6ff 55%,
            #e4f1ff 100%
        );

    padding: 105px 0 95px;
}

.hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border:
        1px solid rgba(11,94,215,.10);

    right: -200px;
    top: -170px;

    pointer-events: none;

    animation:
        scaleIn 1.2s ease both;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    align-items: center;

    gap: 70px;
}


/* =====================================================
HERO LEWA STRONA
===================================================== */

.hero-grid > div:first-child {
    animation:
        fadeLeft .8s ease .15s both;
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.4px;

    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";

    width: 28px;
    height: 3px;

    background: var(--gold);

    border-radius: 10px;

    animation:
        scaleIn .7s ease .45s both;
}

.hero h1 {
    color: var(--navy);

    font-size:
        clamp(42px, 5vw, 72px);

    line-height: 1.04;

    letter-spacing: -2px;

    max-width: 750px;

    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-text {
    max-width: 680px;

    font-size: 18px;

    color: #50627a;

    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;
}


/* =====================================================
BUTTONS
===================================================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 52px;

    padding:
        0 22px;

    border-radius: 9px;

    font-size: 15px;
    font-weight: 800;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.btn-primary {
    color: #fff;

    background: var(--blue);

    box-shadow:
        0 12px 28px rgba(11,94,215,.20);
}

.btn-primary:hover {
    background: var(--dark-blue);

    transform:
        translateY(-3px);

    box-shadow:
        0 16px 35px rgba(7,29,56,.20);
}

.btn-secondary {
    background: #fff;

    color: var(--navy);

    border:
        1px solid var(--border);
}

.btn-secondary:hover {
    color: var(--blue);

    border-color:
        var(--blue);

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 25px rgba(7,29,56,.08);
}


/* =====================================================
HERO PRAWA
===================================================== */

.hero-grid > .hero-photo {
    animation:
        fadeRight .9s ease .3s both;
}

.hero-photo {
    width: 100%;
    max-width: 520px;

    height: 520px;

    margin-left: auto;

    border-radius: 22px;

    overflow: hidden;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow);

    background: #fff;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 45px;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.hero-photo:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-hover);
}

.hero-logo-main {
    width: 80%;

    max-width: 390px;

    max-height: 270px;

    height: auto;

    object-fit: contain;

    margin-bottom: 30px;

    transition:
        transform .4s ease;
}

.hero-photo:hover .hero-logo-main {
    transform:
        scale(1.03);
}

.hero-contact-info {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;
}

.hero-contact-info a {
    color: var(--navy);

    font-size: 17px;

    font-weight: 800;

    transition:
        color .2s ease,
        transform .2s ease;
}

.hero-contact-info a:hover {
    color: var(--blue);

    transform:
        translateY(-2px);
}


/* =====================================================
ABOUT
===================================================== */

.about {
    background: #fff;
}

.about-grid {
    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 70px;

    align-items: center;
}

.about-box {
    background:
        linear-gradient(
            145deg,
            #082b54,
            #0b5ed7
        );

    color: #fff;

    border-radius: 20px;

    padding: 42px;

    box-shadow:
        var(--shadow);

    animation:
        fadeLeft .8s ease both;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.about-box:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-hover);
}

.about-box .big-number {
    font-size: 62px;

    line-height: 1;

    font-weight: 900;

    margin-bottom: 10px;
}

.about-box h3 {
    font-size: 24px;

    margin-bottom: 13px;
}

.about-box p {
    color:
        rgba(
            255,
            255,
            255,
            .82
        );
}

.about-content {
    animation:
        fadeRight .8s ease .15s both;
}

.about-content p {
    color:
        #50627a;

    margin-bottom: 17px;
}

.about-content strong {
    color: var(--navy);
}

.about-points {
    margin-top: 28px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 13px;
}

.about-point {
    padding: 15px;

    background:
        var(--soft-bg);

    border:
        1px solid var(--border);

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.about-point:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(11,94,215,.28);

    box-shadow:
        0 10px 25px rgba(7,29,56,.08);
}


/* =====================================================
MARKI
===================================================== */

.partners {
    background:
        var(--soft-bg);
}

.partners-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.partner-card {
    background: #fff;

    border:
        1px solid var(--border);

    border-radius: 18px;

    padding: 32px;

    display: flex;

    align-items: center;

    gap: 28px;

    box-shadow:
        0 10px 35px rgba(7,29,56,.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.partner-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(11,94,215,.25);
}

.partner-logo {
    width: 180px;
    height: 100px;

    flex: 0 0 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fff;

    border:
        1px solid var(--border);

    border-radius: 12px;

    padding: 12px;

    transition:
        transform .3s ease;
}

.partner-card:hover .partner-logo {
    transform:
        scale(1.03);
}

.partner-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.partner-info h3 {
    color: var(--navy);

    font-size: 22px;

    margin-bottom: 9px;
}

.partner-info p {
    color: var(--muted);

    font-size: 14px;
}


/* =====================================================
SERVICES
===================================================== */

.services {
    background:
        var(--soft-bg);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.service {
    background: #fff;

    border:
        1px solid var(--border);

    border-radius: 15px;

    padding: 27px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.service:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(11,94,215,.25);
}

.service-icon {
    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        var(--light-blue);

    font-size: 23px;

    margin-bottom: 18px;

    transition:
        transform .3s ease;
}

.service:hover .service-icon {
    transform:
        rotate(-5deg)
        scale(1.08);
}

.service h3 {
    color:
        var(--navy);

    font-size: 19px;

    margin-bottom: 10px;
}

.service p {
    color:
        var(--muted);

    font-size: 14px;
}


/* =====================================================
ZDJĘCIA
===================================================== */

.service-photo {
    width: 100%;

    height: 285px;

    overflow: hidden;

    border-radius: 12px;

    margin-bottom: 20px;

    background:
        #e6eef6;

    border:
        1px solid var(--border);
}

.service-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s ease,
        filter .4s ease;
}

.service:hover .service-photo img,
.gas-card:hover .service-photo img,
.chimney-card:hover .service-photo img,
.heating-card:hover .service-photo img {
    transform:
        scale(1.06);

    filter:
        saturate(1.05);
}


/* =====================================================
GAZ
===================================================== */

.gas-section {
    background: #fff;
}

.gas-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 22px;
}

.gas-card {
    border:
        1px solid var(--border);

    background:
        #fff;

    border-radius: 15px;

    padding: 28px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.gas-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(11,94,215,.20);
}

.gas-card h3 {
    color:
        var(--navy);

    margin-bottom: 14px;

    font-size: 21px;
}

.gas-card p {
    color:
        var(--muted);

    font-size: 15px;

    margin-bottom: 15px;
}

.gas-card ul {
    list-style: none;

    display: grid;

    gap: 9px;
}

.gas-card li {
    color:
        #42566f;

    font-size: 14px;

    padding-left: 24px;

    position: relative;

    transition:
        transform .2s ease,
        color .2s ease;
}

.gas-card li:hover {
    transform:
        translateX(3px);

    color:
        var(--blue);
}

.gas-card li::before {
    content:
        "✓";

    position:
        absolute;

    left: 0;

    color:
        var(--blue);

    font-weight:
        900;
}


/* =====================================================
GWARANCJA
===================================================== */

.guarantee {
    background:
        linear-gradient(
            135deg,
            #071d38,
            #0b5ed7
        );

    color: #fff;
}

.guarantee-grid {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 65px;

    align-items: center;
}

.guarantee .section-label {
    color:
        var(--gold);
}

.guarantee .section-title {
    color:
        #fff;
}

.guarantee .section-description {
    color:
        rgba(
            255,
            255,
            255,
            .75
        );
}

.guarantee-content {
    display: grid;

    gap: 15px;
}

.guarantee-item {
    padding: 21px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .14
        );

    background:
        rgba(
            255,
            255,
            255,
            .07
        );

    border-radius:
        12px;

    transition:
        transform .3s ease,
        background .3s ease;
}

.guarantee-item:hover {
    transform:
        translateX(5px);

    background:
        rgba(
            255,
            255,
            255,
            .11
        );
}

.guarantee-item h3 {
    font-size:
        18px;

    margin-bottom:
        5px;
}

.guarantee-item p {
    color:
        rgba(
            255,
            255,
            255,
            .72
        );

    font-size:
        14px;
}


/* =====================================================
KOMINY
===================================================== */

.chimney {
    background:
        var(--soft-bg);
}

.chimney-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.chimney-card {
    background:
        #fff;

    border:
        1px solid var(--border);

    padding:
        28px;

    border-radius:
        15px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.chimney-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(11,94,215,.20);
}

.chimney-card h3 {
    color:
        var(--navy);

    margin-bottom:
        10px;
}

.chimney-card p {
    color:
        var(--muted);

    font-size:
        14px;
}


/* =====================================================
OGRZEWANIE
===================================================== */

.heating {
    background:
        #fff;
}

.heating-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        18px;
}

.heating-card {
    background:
        var(--soft-bg);

    border:
        1px solid var(--border);

    border-radius:
        15px;

    padding:
        28px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.heating-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(11,94,215,.25);
}

.heating-icon {
    width:
        50px;

    height:
        50px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        12px;

    background:
        var(--light-blue);

    font-size:
        24px;

    margin-bottom:
        18px;

    transition:
        transform .3s ease;
}

.heating-card:hover .heating-icon {
    transform:
        rotate(5deg)
        scale(1.08);
}

.heating-card h3 {
    color:
        var(--navy);

    font-size:
        20px;

    margin-bottom:
        10px;
}

.heating-card p {
    color:
        var(--muted);

    font-size:
        14px;

    margin-bottom:
        14px;
}

.heating-card ul {
    list-style:
        none;

    display:
        grid;

    gap:
        8px;
}

.heating-card li {
    position:
        relative;

    padding-left:
        22px;

    color:
        #42566f;

    font-size:
        14px;
}

.heating-card li::before {
    content:
        "✓";

    position:
        absolute;

    left:
        0;

    color:
        var(--blue);

    font-weight:
        900;
}


/* =====================================================
UPRAWNIENIA
===================================================== */

.qualifications {
    background:
        #fff;
}

.qualifications-box {
    background:
        var(--soft-bg);

    border:
        1px solid var(--border);

    border-radius:
        18px;

    padding:
        38px;
}

.qualifications-box h3 {
    font-size:
        25px;

    color:
        var(--navy);

    margin-bottom:
        15px;
}

.qualifications-box p {
    color:
        var(--muted);

    margin-bottom:
        25px;
}

.qualification-list {
    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        12px;
}

.qualification-list div {
    background:
        #fff;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    padding:
        16px 18px;

    font-size:
        14px;

    font-weight:
        700;

    color:
        #304760;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.qualification-list div:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(11,94,215,.35);

    box-shadow:
        0 10px 25px rgba(7,29,56,.07);
}


/* =====================================================
KONTAKT
===================================================== */

.contact {
    background:
        #fff;
}

.contact-grid {
    display:
        grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap:
        25px;
}

.contact-card {
    border:
        1px solid var(--border);

    border-radius:
        17px;

    padding:
        35px;

    background:
        #fff;

    box-shadow:
        0 10px 35px rgba(7,29,56,.06);

    animation:
        fadeLeft .8s ease both;
}

.contact-card h3 {
    color:
        var(--navy);

    font-size:
        25px;

    margin-bottom:
        10px;
}

.contact-card > p {
    color:
        var(--muted);

    margin-bottom:
        25px;
}

.contact-list {
    display:
        grid;

    gap:
        14px;
}

.contact-row {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        13px;

    padding:
        14px;

    border-radius:
        10px;

    background:
        #f6f9fc;

    transition:
        transform .25s ease,
        background .25s ease;
}

.contact-row:hover {
    background:
        var(--light-blue);

    transform:
        translateX(4px);
}

.contact-row-icon {
    width:
        38px;

    height:
        38px;

    display:
        grid;

    place-items:
        center;

    flex:
        0 0 auto;

    border-radius:
        9px;

    background:
        var(--light-blue);

    font-size:
        18px;
}

.contact-row strong {
    display:
        block;

    color:
        var(--navy);

    font-size:
        14px;
}

.contact-row span,
.contact-row a {
    color:
        var(--muted);

    font-size:
        14px;
}

.contact-row a:hover {
    color:
        var(--blue);
}

.map-wrapper {
    min-height:
        100%;

    overflow:
        hidden;

    border-radius:
        17px;

    border:
        1px solid var(--border);

    box-shadow:
        0 10px 35px rgba(7,29,56,.06);

    animation:
        fadeRight .8s ease .15s both;
}

.map-wrapper iframe {
    width:
        100%;

    height:
        100%;

    min-height:
        430px;

    border:
        0;
}


/* =====================================================
CTA
===================================================== */

.cta {
    padding:
        70px 0;

    background:
        #eaf4ff;
}

.cta-inner {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;
}

.cta h2 {
    color:
        var(--navy);

    font-size:
        clamp(
            28px,
            4vw,
            42px
        );

    line-height:
        1.15;

    margin-bottom:
        9px;
}

.cta p {
    color:
        var(--muted);
}


/* =====================================================
FLOATING CONTACT
===================================================== */

.floating-contact {
    position:
        fixed;

    right:
        22px;

    bottom:
        22px;

    z-index:
        2000;
}

.floating-button {
    width:
        62px;

    height:
        62px;

    border:
        0;

    border-radius:
        50%;

    background:
        var(--blue);

    color:
        #fff;

    display:
        grid;

    place-items:
        center;

    font-size:
        25px;

    cursor:
        pointer;

    animation:
        pulseContact 3s ease-in-out infinite;

    transition:
        transform .25s ease,
        background .25s ease;
}

.floating-button:hover {
    transform:
        scale(1.08);

    background:
        var(--dark-blue);

    animation:
        none;
}

.floating-menu {
    position:
        absolute;

    right:
        0;

    bottom:
        75px;

    width:
        215px;

    padding:
        10px;

    background:
        #fff;

    border:
        1px solid var(--border);

    border-radius:
        13px;

    box-shadow:
        0 18px 50px
        rgba(7,29,56,.18);

    opacity:
        0;

    visibility:
        hidden;

    transform:
        translateY(10px)
        scale(.98);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.floating-contact.active .floating-menu {
    opacity:
        1;

    visibility:
        visible;

    transform:
        translateY(0)
        scale(1);
}

.floating-menu a {
    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    padding:
        12px;

    border-radius:
        8px;

    font-size:
        14px;

    font-weight:
        700;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.floating-menu a:hover {
    background:
        var(--light-blue);

    color:
        var(--blue);

    transform:
        translateX(3px);
}


/* =====================================================
FOOTER
===================================================== */

footer {
    background:
        var(--navy);

    color:
        #fff;

    padding:
        55px 0 25px;
}

.footer-grid {
    display:
        grid;

    grid-template-columns:
        1.2fr .8fr .8fr;

    gap:
        50px;

    padding-bottom:
        40px;
}

.footer-grid > div:first-child {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    text-align:
        center;
}

.footer-logo {
    width:
        230px;

    height:
        72px;

    object-fit:
        contain;

    object-position:
        center;

    background:
        #fff;

    border-radius:
        7px;

    padding:
        5px;

    margin-bottom:
        18px;

    transition:
        transform .3s ease;
}

.footer-logo:hover {
    transform:
        scale(1.02);
}

.footer-description {
    max-width:
        470px;

    color:
        rgba(
            255,
            255,
            255,
            .68
        );

    font-size:
        14px;

    text-align:
        center;
}

footer h3 {
    font-size:
        15px;

    margin-bottom:
        15px;
}

.footer-links {
    list-style:
        none;

    display:
        grid;

    gap:
        8px;
}

.footer-links a {
    color:
        rgba(
            255,
            255,
            255,
            .68
        );

    font-size:
        14px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-links a:hover {
    color:
        #fff;

    transform:
        translateX(3px);
}

.footer-bottom {
    padding-top:
        22px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .12
        );

    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

    color:
        rgba(
            255,
            255,
            255,
            .52
        );

    font-size:
        12px;
}


/* =====================================================
COOKIE BANNER
===================================================== */

.cookie-banner {
    position:
        fixed;

    left:
        20px;

    right:
        20px;

    bottom:
        20px;

    z-index:
        5000;

    background:
        #fff;

    border:
        1px solid
        var(--border);

    border-radius:
        16px;

    box-shadow:
        0 20px 60px
        rgba(7,29,56,.20);

    padding:
        22px 24px;

    opacity:
        0;

    visibility:
        hidden;

    transform:
        translateY(20px);

    transition:
        opacity .35s ease,
        visibility .35s ease,
        transform .35s ease;
}

.cookie-banner.show {
    display:
        block;

    opacity:
        1;

    visibility:
        visible;

    transform:
        translateY(0);
}

.cookie-content {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;
}

.cookie-text {
    max-width:
        800px;
}

.cookie-text h3 {
    color:
        var(--navy);

    font-size:
        18px;

    margin-bottom:
        7px;
}

.cookie-text p {
    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.55;
}

.cookie-buttons {
    display:
        flex;

    gap:
        10px;

    flex:
        0 0 auto;
}

.cookie-button {
    min-height:
        44px;

    padding:
        0 18px;

    border-radius:
        9px;

    border:
        1px solid
        var(--border);

    cursor:
        pointer;

    font-size:
        14px;

    font-weight:
        800;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.cookie-button:hover {
    transform:
        translateY(-2px);
}

.cookie-accept {
    background:
        var(--blue);

    color:
        #fff;

    border-color:
        var(--blue);
}

.cookie-accept:hover {
    background:
        var(--dark-blue);
}

.cookie-reject {
    background:
        #fff;

    color:
        var(--navy);
}

.cookie-reject:hover {
    border-color:
        var(--blue);

    color:
        var(--blue);
}


/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .nav {
        position:
            relative;
    }

    .mobile-menu-button {
        display:
            flex;
    }

    .menu {
        display:
            none;

        position:
            absolute;

        top:
            calc(100% + 8px);

        right:
            0;

        left:
            0;

        z-index:
            1001;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            4px;

        padding:
            10px;

        background:
            #fff;

        border:
            1px solid var(--border);

        border-radius:
            12px;

        box-shadow:
            0 18px 45px
            rgba(7,29,56,.14);
    }

    .menu.mobile-open {
        display:
            flex;

        animation:
            fadeDown .25s ease both;
    }

    .menu a {
        width:
            100%;

        padding:
            13px 14px;
    }

    .hero-grid,
    .about-grid,
    .guarantee-grid,
    .contact-grid {
        grid-template-columns:
            1fr;
    }

    .services-grid,
    .heating-grid,
    .chimney-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .partners-grid {
        grid-template-columns:
            1fr;
    }

    .hero-photo {
        margin-left:
            0;

        margin-right:
            auto;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


/* =====================================================
TELEFON
===================================================== */

@media (max-width: 700px) {

    html,
    body {
        overflow-x:
            hidden;
    }

    .container {
        width:
            min(
                100% - 28px,
                1180px
            );
    }

    .topbar-left {
        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            2px;

        padding:
            8px 0;
    }

    .topbar-inner {
        min-height:
            auto;
    }

    .topbar {
        font-size:
            12px;
    }

    .nav {
        min-height:
            70px;
    }

    .logo-link {
        min-width:
            0;

        gap:
            10px;
    }

    .logo {
        width:
            190px;

        height:
            62px;
    }

    .hero {
        padding:
            65px 0;
    }

    .hero-photo {
        height:
            430px;

        padding:
            30px;
    }

    .hero-logo-main {
        width:
            85%;

        max-height:
            220px;

        margin-bottom:
            25px;
    }

    .hero-contact-info a {
        font-size:
            15px;
    }

    section {
        padding:
            70px 0;
    }

    .hero h1 {
        font-size:
            43px;

        letter-spacing:
            -1.5px;
    }

    .hero-text {
        font-size:
            16px;
    }

    .hero-buttons {
        flex-direction:
            column;
    }

    .btn {
        width:
            100%;
    }

    .services-grid,
    .gas-grid,
    .chimney-grid,
    .heating-grid,
    .qualification-list,
    .about-points {
        grid-template-columns:
            1fr;
    }

    .service-photo {
        height:
            250px;
    }

    .partner-card {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .partner-logo {
        width:
            100%;

        flex:
            0 0 auto;
    }

    .about-box {
        padding:
            30px;
    }

    .qualifications-box {
        padding:
            25px;
    }

    .cta-inner {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .cta .btn {
        width:
            auto;
    }

    .footer-grid {
        grid-template-columns:
            1fr;

        gap:
            30px;
    }

    .footer-bottom {
        flex-direction:
            column;
    }

    .cookie-banner {
        left:
            12px;

        right:
            12px;

        bottom:
            12px;

        padding:
            18px;
    }

    .cookie-content {
        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            16px;
    }

    .cookie-buttons {
        width:
            100%;

        flex-direction:
            column;
    }

    .cookie-button {
        width:
            100%;
    }

}


/* =====================================================
MAŁE TELEFONY
===================================================== */

@media (max-width: 440px) {

    .logo {
        width:
            165px;

        height:
            56px;
    }

    .mobile-menu-button {
        width:
            44px;

        height:
            44px;
    }

    .hero h1 {
        font-size:
            36px;
    }

    .hero-text {
        font-size:
            15px;
    }

    .section-title {
        font-size:
            31px;
    }

    .partner-card,
    .gas-card,
    .service,
    .chimney-card,
    .heating-card,
    .contact-card {
        overflow:
            hidden;
    }

    .service-photo {
        height:
            225px;
    }

    .floating-contact {
        right:
            15px;

        bottom:
            15px;
    }

    .floating-button {
        width:
            57px;

        height:
            57px;
    }

    .logo-link {
        gap:
            8px;
    }

    .hero-photo {
        height:
            390px;

        padding:
            24px;
    }

    .hero-logo-main {
        width:
            90%;

        max-height:
            190px;
    }

    .hero-contact-info a {
        font-size:
            14px;
    }

}


/* =====================================================
DOSTĘPNOŚĆ
===================================================== */

a:focus-visible,
button:focus-visible {
    outline:
        3px solid
        rgba(11,94,215,.35);

    outline-offset:
        3px;
}


/* =====================================================
REDUKCJA ANIMACJI
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }

}