/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2332;
    --navy-light: #243044;
    --orange: #e8722a;
    --orange-hover: #d15f1a;
    --orange-light: rgba(232, 114, 42, 0.1);
    --gray-bg: #f5f6f8;
    --gray-100: #e8eaed;
    --gray-200: #d1d5db;
    --gray-400: #9ca3af;
    --gray-600: #6b7280;
    --gray-800: #374151;
    --white: #ffffff;
    --text: #1f2937;
    --text-light: #4b5563;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 6px;
    --radius-lg: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===================== UTILITIES ===================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 64px 0;
}

.section--gray {
    background: var(--gray-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn--outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

/* ===================== HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy);
    box-shadow: var(--shadow-md);
}

.header__top {
    background: var(--navy-light);
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--gray-200);
    display: none;
}

.header__top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.header__top a {
    color: var(--gray-200);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.header__top a:hover {
    color: var(--orange);
}

.header__main {
    padding: 12px 0;
}

.header__main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo__icon {
    display: flex;
    align-items: center;
}

.logo__icon img {
    height: 48px;
    width: auto;
    display: block;
}

.nav {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav__link {
    color: var(--gray-200);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.2s;
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.header__phone {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.header__phone svg {
    width: 18px;
    height: 18px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    padding: 32px 24px;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu__link {
    display: block;
    padding: 16px 0;
    color: var(--gray-200);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--navy-light);
    transition: color 0.2s;
}

.mobile-menu__link:hover {
    color: var(--orange);
}

.mobile-menu__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--orange);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius);
}

.mobile-menu__phone svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
}

/* ===================== HERO ===================== */
.hero {
    padding-top: 64px; /* header offset */
    background-color: var(--navy);
    background-image: url("../img/glosbut-wylewka-anhydrytowa-wyrownywanie-bg-hero-mobile.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Ciemny overlay – zapewnia czytelność tekstu na dowolnym zdjęciu */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(36, 48, 68, 0.75) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    padding: 48px 0 40px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: var(--orange);
}

.hero__text {
    font-size: 1rem;
    color: var(--gray-200);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 680px;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

/* Stats bar */
.stats {
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-top: 40px;
    padding: 24px 16px;
    position: relative;
    z-index: 1;
}

.stats__grid {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    gap: 8px;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 0;
}

.stat__number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.3;
}

/* ===================== USŁUGI ===================== */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-card__image {
    height: 200px;
    background: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card__image--anhydryt {
    background-image: url("../img/wylewka-anhydrytowa-bg.webp");
    background-size: cover;
    background-position: center;
}

.service-card__image--pianobeton {
    background-image: url("../img/pianobeton-bg.webp");
    background-size: cover;
    background-position: center;
}

.service-card__body {
    padding: 28px 24px;
}

.service-card__body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card__body p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.2s;
}

.service-card__link:hover {
    gap: 10px;
}

.service-card__link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ===================== USP / DLACZEGO ===================== */
.usp__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.usp-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: box-shadow 0.3s;
}

.usp-card:hover {
    box-shadow: var(--shadow-md);
}

.usp-card__icon {
    width: 56px;
    height: 56px;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.usp-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.usp-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.usp-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================== REALIZACJE ===================== */
.projects__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--gray-bg);
    box-shadow: var(--shadow-sm);
}

.project-card__image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-card__image--1 {
    background: linear-gradient(135deg, #d4c5a9 0%, #b8a88e 100%);
}
.project-card__image--2 {
    background: linear-gradient(135deg, #a9b8c5 0%, #8e9dab 100%);
}
.project-card__image--3 {
    background: linear-gradient(135deg, #c5bfa9 0%, #ab9f8e 100%);
}
.project-card__image--4 {
    background: linear-gradient(135deg, #b0c0a9 0%, #97a88e 100%);
}

.project-card__image svg {
    width: 48px;
    height: 48px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.5;
    opacity: 0.6;
}

.project-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 35, 50, 0.85));
    padding: 40px 20px 16px;
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.5;
}

.projects__more {
    text-align: center;
    margin-top: 32px;
}

/* ===================== OPINIE ===================== */
.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.testimonial__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial__avatar {
    width: 40px;
    height: 40px;
    background-color: #7b1fa2;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial__avatar--2 {
    background-color: #d81b60;
}
.testimonial__avatar--3 {
    background-color: #00897b;
}

.testimonial__info {
    display: flex;
    flex-direction: column;
}

.testimonial__author {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.testimonial__meta {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.testimonial__google-icon {
    width: 24px;
    height: 24px;
}

.testimonial__stars {
    color: #fbbc05;
    margin-bottom: 12px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.testimonial p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonials__more {
    text-align: center;
    margin-top: 40px;
}

/* ===================== ZASIĘG / MAPA ===================== */
.coverage__content {
    max-width: 800px;
    margin: 0 auto;
}

.coverage__text {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.coverage__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.coverage__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.coverage__regions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.coverage__region h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coverage__region h3::before {
    content: "";
    width: 4px;
    height: 20px;
    background: var(--orange);
    border-radius: 2px;
}

.coverage__cities {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.coverage__cities span {
    white-space: nowrap;
}

.coverage__more {
    text-align: center;
    margin-top: 32px;
}

/* ===================== CTA / KONTAKT ===================== */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .section-header h2 {
    color: var(--white);
}

.cta-section__text {
    text-align: center;
    color: var(--gray-200);
    margin-bottom: 40px;
    margin-top: -32px;
    font-size: 1rem;
    line-height: 1.7;
}

.cta-section__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 114, 42, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e53e3e;
}

.form-group .error-msg {
    font-size: 0.8rem;
    color: #e53e3e;
    margin-top: 4px;
    display: none;
}

.form-group .error-msg.show {
    display: block;
}

.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--orange);
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}

.cta-section__alt {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.cta-section__alt-text {
    font-size: 1.1rem;
    color: var(--gray-200);
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
}

.cta-phone svg {
    width: 32px;
    height: 32px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
}

.cta-section__hours {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--navy);
    color: var(--gray-200);
    padding: 48px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer__col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer__col a {
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--orange);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 8px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--gray-200);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer__links a::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    flex-shrink: 0;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.footer__bottom {
    border-top: 1px solid var(--navy-light);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-400);
}

/* ===================== RESPONSIVE ===================== */
@media (min-width: 640px) {
    .stats__grid {
        gap: 24px;
    }

    .stat__number {
        font-size: 2rem;
    }

    .stat__label {
        font-size: 0.82rem;
    }

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

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

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

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

    .hero__buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .header__top {
        display: block;
    }

    .hero {
        padding-top: 100px;
        background-image: url("../img/glosbut-wylewka-anhydrytowa-wyrownywanie-bg-hero-desktop.webp");
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero__content {
        padding: 64px 0 48px;
    }

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

    .service-card__image {
        height: 240px;
    }

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

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 2.25rem;
    }

    .hamburger {
        display: none;
    }

    .nav {
        display: flex;
    }

    .header__phone {
        display: flex;
    }

    .hero h1 {
        font-size: 2.85rem;
        max-width: 700px;
    }

    .hero__text {
        font-size: 1.1rem;
    }

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

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

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

    .cta-section__layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

@media (min-width: 1200px) {
    .hero h1 {
        font-size: 3.1rem;
    }
}

/* ===================== UTILITIES (EXTENDED) ===================== */
.nav__link--active {
    color: var(--white);
}
.text-orange {
    color: var(--orange);
}
.mt-20 {
    margin-top: 20px;
}
.mt-24 {
    margin-top: 24px;
}
.footer__note {
    margin-top: 8px;
    font-size: 0.85rem;
}
.footer__col .logo {
    margin-bottom: 16px;
}
.section-header__subtitle {
    color: var(--text-light);
    margin-top: 12px;
    font-size: 1rem;
}
.rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    color: #fbbc05;
    font-weight: 700;
    font-size: 1.1rem;
}
.rating-score {
    color: var(--navy);
    font-weight: 800;
}
.rating-stars {
    letter-spacing: 2px;
}
.rating-count {
    color: var(--gray-400);
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 4px;
}
.contact-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================== SERVICE PAGES – SHARED ===================== */

/* --- Sticky mobile CTA bar --- */
.mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--navy);
    padding: 10px 16px;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-cta-bar .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.mobile-cta-bar .btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.mobile-cta-bar .btn--outline {
    color: var(--white);
    border-color: var(--white);
}

.mobile-cta-bar .btn--outline:hover {
    background: var(--white);
    color: var(--navy);
}

/* --- Service page hero --- */
.service-hero {
    padding-top: 64px;
    background-color: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        160deg,
        rgba(26, 35, 50, 0.92) 0%,
        rgba(36, 48, 68, 0.8) 60%,
        rgba(232, 114, 42, 0.15) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-hero__inner {
    padding: 32px 0 40px;
}

.service-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232, 114, 42, 0.2);
    border: 1px solid rgba(232, 114, 42, 0.4);
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-hero__badge svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.service-hero h1 {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.service-hero__lead {
    font-size: 1rem;
    color: var(--gray-200);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 640px;
}

.service-hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.service-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-hero__stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 14px 16px;
    text-align: center;
}

.service-hero__stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 4px;
}

.service-hero__stat-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    line-height: 1.3;
}

/* --- Breadcrumb --- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0 0;
    font-size: 0.85rem;
    color: var(--gray-400);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gray-200);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb__separator {
    color: var(--gray-400);
}

/* --- Content layout with sidebar --- */
.service-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.service-content {
    min-width: 0;
}

.service-sidebar {
    display: none;
}

/* --- Article-style content sections --- */
.content-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-100);
}

.content-section:last-child {
    border-bottom: none;
}

.content-section--gray {
    background: var(--gray-bg);
    border-bottom: none;
    border-radius: var(--radius-lg);
    padding-left: 16px;
    padding-right: 16px;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    margin-top: 28px;
}

.content-section h3:first-child {
    margin-top: 0;
}

.content-section p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* --- Service photos --- */
.service-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 24px 0;
    position: relative;
    background: var(--gray-bg);
}

.service-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.service-photo--placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border: 2px dashed var(--gray-200);
}

.service-photo--placeholder svg {
    width: 40px;
    height: 40px;
    stroke: var(--gray-400);
    fill: none;
    stroke-width: 1.5;
}

.service-photo--placeholder span {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-align: center;
    padding: 0 20px;
}

.photo-text-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    margin: 24px 0;
}

.photo-text-row .service-photo {
    margin: 0;
}

/* --- Callout / info box --- */
.callout {
    background: rgba(232, 114, 42, 0.08);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px;
    margin: 20px 0;
}

.callout p {
    font-size: 0.9rem;
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

.callout strong {
    color: var(--navy);
}

/* --- Bottom CTA section --- */
.service-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 56px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.service-cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.service-cta h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.service-cta p {
    font-size: 0.95rem;
    color: var(--gray-200);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 28px;
}

.service-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.service-cta__buttons .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
}

.service-cta__ref {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.service-cta__ref strong {
    color: var(--gray-200);
}

/* ===================== SHARED (pianobeton + wylewki) ===================== */

/* --- Applications list --- */
.applications-list {
    list-style: none;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.applications-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

.applications-list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 2px;
}

.applications-list li strong {
    color: var(--navy);
}

/* --- Comparison table --- */
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.comparison-table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.comparison-table thead th {
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}

.comparison-table thead th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--gray-bg);
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

.comparison-table .highlight {
    color: var(--orange);
    font-weight: 700;
}

.table-swipe-hint {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 8px;
}

/* --- Params table (pianobeton) --- */
.params-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.params-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.params-table thead th {
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    padding: 14px 16px;
    text-align: left;
}

.params-table thead th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.params-table thead th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.params-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
}

.params-table tbody tr:last-child td {
    border-bottom: none;
}

.params-table tbody tr:nth-child(even) {
    background: var(--gray-bg);
}

.params-table tbody td:first-child {
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

/* --- Pricing box --- */
.pricing-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    color: var(--white);
    margin: 24px 0;
    position: relative;
    overflow: hidden;
}

.pricing-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.pricing-box h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.pricing-box__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.pricing-box__item:last-of-type {
    border-bottom: none;
}

.pricing-box__label {
    font-size: 0.9rem;
    color: var(--gray-200);
}

.pricing-box__price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--orange);
    white-space: nowrap;
}

.pricing-box__note {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.pricing-box .btn {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* --- FAQ accordion --- */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    background: var(--white);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    gap: 12px;
    line-height: 1.4;
}

.faq-item__question svg {
    width: 20px;
    height: 20px;
    stroke: var(--gray-400);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-item__question svg {
    transform: rotate(180deg);
    stroke: var(--orange);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item__answer-inner {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================== SHARED (wylewki + o-nas) ===================== */

/* --- Process / Steps timeline --- */
.process-steps {
    position: relative;
    padding-left: 32px;
    margin-top: 24px;
}

.process-steps::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--gray-200);
}

.process-step {
    position: relative;
    margin-bottom: 32px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step__number {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===================== WYLEWKI ANHYDRYTOWE ===================== */

.service-hero--wylewki-anhydrytowe {
    background-image: url("../img/wylewka-anhydrytowa-bg.webp");
    background-size: cover;
    background-position: center;
}

/* --- Advantages grid --- */
.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

.advantage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.advantage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.advantage-card__icon {
    width: 44px;
    height: 44px;
    background: var(--orange-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.advantage-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advantage-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.advantage-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* --- Building type tags --- */
.building-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.building-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
}

.building-tag svg {
    width: 16px;
    height: 16px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
}

/* ===================== O NAS ===================== */

/* --- Stats grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* --- Equipment grid --- */
.equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
}

.equipment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.equipment-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.equipment-card__icon {
    width: 48px;
    height: 48px;
    background: var(--orange-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.equipment-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.equipment-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px 0;
}

.equipment-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* --- Realization cards --- */
.realization-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.realization-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.realization-card__badge {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.realization-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px 0;
}

.realization-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* --- Area tags --- */
.area-group {
    margin-bottom: 20px;
}

.area-group:last-child {
    margin-bottom: 0;
}

.area-group h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
}

.area-tag svg {
    width: 14px;
    height: 14px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
}

/* ===================== KONTAKT ===================== */

/* --- Page hero --- */
.page-hero {
    padding-top: 64px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero__content {
    padding: 48px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-hero__text {
    font-size: 1rem;
    color: var(--gray-200);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Contact info cards --- */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-weight: 600;
    font-size: 1.05rem;
    transition: gap 0.2s;
}

.contact-card__link:hover {
    gap: 10px;
}

/* --- Contact form layout --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.contact-info-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-block h3::before {
    content: "";
    width: 4px;
    height: 20px;
    background: var(--orange);
    border-radius: 2px;
}

.contact-info-block p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Contact details --- */
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail__icon {
    width: 40px;
    height: 40px;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail__label {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail__value {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 600;
}

.contact-detail__value a {
    color: var(--navy);
    transition: color 0.2s;
}

.contact-detail__value a:hover {
    color: var(--orange);
}

/* --- Hours list --- */
.hours-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list__day {
    font-weight: 500;
    color: var(--text);
}

.hours-list__time {
    font-weight: 600;
    color: var(--navy);
}

.hours-list__time--closed {
    color: var(--gray-400);
}

/* --- Map section --- */
.map-section .coverage__map {
    margin-bottom: 0;
}

/* ===================== RESPONSIVE – SERVICE PAGES ===================== */
@media (min-width: 640px) {
    .service-hero__stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-hero__buttons {
        flex-direction: row;
    }

    .service-cta__buttons {
        flex-direction: row;
        justify-content: center;
    }

    .applications-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-text-row {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .service-hero h1 {
        font-size: 2.2rem;
    }

    .service-hero__inner {
        padding: 48px 0 56px;
    }

    .content-section {
        padding: 56px 0;
    }

    .content-section h2 {
        font-size: 1.7rem;
    }

    .content-section--gray {
        border-radius: 0;
        margin: 0 -32px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .service-photo--placeholder {
        height: 280px;
    }

    .service-cta {
        padding: 72px 0 96px;
    }

    .service-cta h2 {
        font-size: 1.8rem;
    }

    .table-swipe-hint {
        display: none;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero__content {
        padding: 64px 0;
    }
}

@media (min-width: 1024px) {
    .mobile-cta-bar {
        display: none;
    }

    .service-layout {
        grid-template-columns: 1fr 260px;
        gap: 48px;
    }

    .service-sidebar {
        display: block;
        position: sticky;
        top: 100px;
        align-self: start;
    }

    .sidebar-toc {
        background: var(--white);
        border: 1px solid var(--gray-100);
        border-radius: var(--radius-lg);
        padding: 24px 20px;
        box-shadow: var(--shadow-sm);
    }

    .sidebar-toc__title {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--gray-400);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 14px;
    }

    .sidebar-toc__list {
        list-style: none;
    }

    .sidebar-toc__list li {
        margin-bottom: 0;
    }

    .sidebar-toc__list a {
        display: block;
        padding: 8px 12px;
        font-size: 0.85rem;
        color: var(--text-light);
        border-left: 2px solid transparent;
        transition: all 0.2s;
        border-radius: 0 var(--radius) var(--radius) 0;
    }

    .sidebar-toc__list a:hover,
    .sidebar-toc__list a.active {
        color: var(--orange);
        border-left-color: var(--orange);
        background: var(--orange-light);
    }

    .sidebar-cta {
        margin-top: 20px;
        background: var(--navy);
        border-radius: var(--radius-lg);
        padding: 24px 20px;
        text-align: center;
    }

    .sidebar-cta p {
        font-size: 0.85rem;
        color: var(--gray-200);
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .sidebar-cta .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .service-hero h1 {
        font-size: 2.5rem;
        max-width: 700px;
    }

    .content-section h2 {
        font-size: 1.85rem;
    }

    .content-section--gray {
        margin: 0 calc(-1 * (100vw - 1200px + 64px) / 2 - 32px);
        padding-left: calc((100vw - 1200px + 64px) / 2 + 32px);
        padding-right: calc((100vw - 1200px + 64px) / 2 + 32px);
    }

    .page-hero h1 {
        font-size: 2.85rem;
    }

    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

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

@media (min-width: 1200px) {
    .service-hero h1 {
        font-size: 2.7rem;
    }

    .service-layout {
        gap: 64px;
    }
}

/* ===================== MOBILE FIXES ===================== */

/* Ensure content is not hidden behind fixed mobile CTA bar */
body:has(.mobile-cta-bar) .footer {
    padding-bottom: 80px;
}

/* Better touch targets and spacing for mobile */
@media (max-width: 639px) {
    .hero__text {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.45rem;
    }

    /* Stats bar on small screens */
    .stats {
        padding: 20px 12px;
    }

    .stats__grid {
        gap: 4px;
    }

    .stat__number {
        font-size: 1.05rem;
    }

    .stat__label {
        font-size: 0.65rem;
    }

    /* Service cards */
    .service-card__image {
        height: 180px;
    }

    .service-card__body {
        padding: 20px 16px;
    }

    /* USP cards */
    .usp-card {
        padding: 24px 20px;
    }

    /* Project cards */
    .project-card__image {
        height: 180px;
    }

    /* Testimonials */
    .testimonial {
        padding: 20px 16px;
    }

    /* Coverage map */
    .coverage__map {
        height: 280px;
        margin-bottom: 28px;
    }

    /* CTA section form */
    .contact-form {
        padding: 24px 16px;
    }

    .cta-phone {
        font-size: 1.3rem;
    }

    .cta-phone svg {
        width: 26px;
        height: 26px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer__grid {
        gap: 24px;
        margin-bottom: 28px;
    }

    /* Buttons – better touch targets */
    .btn {
        padding: 12px 24px;
        font-size: 0.92rem;
        min-height: 48px;
    }

    .form-submit {
        padding: 14px;
        min-height: 52px;
    }

    /* Rating badge */
    .rating-badge {
        flex-wrap: wrap;
        gap: 4px;
    }

    /* Pricing box on small screens */
    .pricing-box {
        padding: 24px 16px;
    }

    .pricing-box__item {
        flex-direction: column;
        gap: 4px;
    }

    .pricing-box__label {
        font-size: 0.85rem;
    }

    .pricing-box__price {
        font-size: 1rem;
    }

    /* Service hero */
    .service-hero h1 {
        font-size: 1.45rem;
    }

    .service-hero__lead {
        font-size: 0.92rem;
    }

    .service-hero__inner {
        padding: 24px 0 32px;
    }

    .service-hero__stat {
        padding: 10px 8px;
    }

    .service-hero__stat-value {
        font-size: 1.1rem;
    }

    .service-hero__stat-label {
        font-size: 0.68rem;
    }

    /* Content sections */
    .content-section {
        /* padding: 36px 0; */
    }

    .content-section--gray {
        margin-left: -16px;
        margin-right: -16px;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    /* Advantage cards */
    .advantage-card {
        padding: 20px 16px;
    }

    /* Equipment cards */
    .equipment-card {
        padding: 24px 20px;
    }

    /* Stat cards */
    .stat-card {
        padding: 20px 16px;
    }

    .stat-card__value {
        font-size: 1.3rem;
    }

    /* Contact cards */
    .contact-card {
        padding: 24px 16px;
    }

    /* Page hero */
    .page-hero h1 {
        font-size: 1.6rem;
    }

    .page-hero__content {
        padding: 36px 0;
    }

    /* Service CTA */
    .service-cta {
        padding: 40px 0 72px;
    }

    .service-cta h2 {
        font-size: 1.3rem;
    }

    /* FAQ */
    .faq-item__question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .faq-item__answer-inner {
        padding: 0 16px 16px;
    }

    /* Process steps */
    .process-steps {
        padding-left: 28px;
    }

    .process-step__number {
        left: -28px;
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .process-steps::before {
        left: 9px;
    }

    /* Callout */
    .callout {
        padding: 14px 16px;
    }

    /* Contact layout */
    .contact-info-block {
        padding: 24px 16px;
    }
}

/* ===================== REALIZACJE LISTING ===================== */

/* --- Filter buttons --- */
.realizacje-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.realizacje-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--text);
    transition: all 0.2s;
    white-space: nowrap;
}

.realizacje-filter-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.realizacje-filter-btn.active {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--white);
}

/* --- Cards grid --- */
.realizacje-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* --- Single card --- */
.realizacje-listing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.realizacje-listing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.realizacje-listing-card.hidden {
    display: none;
}

/* --- Card image area --- */
.realizacje-card__image {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.realizacje-card__image svg {
    width: 72px;
    height: 72px;
    stroke: rgba(255, 255, 255, 0.18);
    fill: none;
    stroke-width: 1;
}

/* Color variants */
.realizacje-card__image--navy {
    background: linear-gradient(135deg, #243044 0%, #1a2332 100%);
}

.realizacje-card__image--steel {
    background: linear-gradient(135deg, #3a4e6a 0%, #243044 100%);
}

.realizacje-card__image--slate {
    background: linear-gradient(135deg, #6a7a8e 0%, #4e5e72 100%);
}

.realizacje-card__image--industrial {
    background: linear-gradient(135deg, #5a6a7a 0%, #3e4e5e 100%);
}

.realizacje-card__image--green {
    background: linear-gradient(135deg, #4a6e5a 0%, #2e4e3a 100%);
}

.realizacje-card__image--warm {
    background: linear-gradient(135deg, #8a6a4a 0%, #6a4e32 100%);
}

/* Overlays on the image */
.realizacje-card__area-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--orange);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.2px;
}

.realizacje-card__type-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

/* --- Card body --- */
.realizacje-card__body {
    padding: 22px 22px 24px;
}

.realizacje-card__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.realizacje-card__cat {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 100px;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    background: var(--gray-bg);
    white-space: nowrap;
}

.realizacje-card__body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.realizacje-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.realizacje-card__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.realizacje-card__meta svg {
    width: 13px;
    height: 13px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.realizacje-card__body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.realizacje-card__body p a {
    color: var(--orange);
    font-weight: 500;
}

/* --- Photo note --- */
.realizacje-photo-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 40px;
    padding: 16px 20px;
    background: var(--gray-bg);
    border-radius: var(--radius-lg);
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

.realizacje-photo-note svg {
    flex-shrink: 0;
    stroke: var(--orange);
    margin-top: 1px;
}

/* --- How-to steps (realizacje page) --- */
.realizacje-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto 40px;
}

.realizacje-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.realizacje-step__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.realizacje-step__content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 6px 0;
}

.realizacje-step__content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.realizacje-steps-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

/* --- Responsive --- */
@media (min-width: 640px) {
    .realizacje-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .realizacje-steps-cta {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .realizacje-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .realizacje-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .realizacje-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Fix video in service-photo */
.service-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.service-photo--placeholder:has(video),
.service-photo--placeholder:has(img) {
    height: auto;
    min-height: 0;
    border: none;
    display: block;
}

.service-photo--placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* Fix btn--outline in white background context (o-nas.html) */
.content-section .btn--outline {
    color: var(--navy);
    border-color: var(--navy);
}

.content-section .btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* ===================== ANIMATIONS ===================== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===================== WORDPRESS INTEGRATION ===================== */
.admin-bar .header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}

.wpcf7 form.contact-form {
    margin: 0;
}

.wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 6px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.realizacje-empty {
    padding: 40px;
    background: var(--gray-bg);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-light);
}

.realizacje-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realizacja-single__hero-media {
    margin-top: 32px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.realizacja-single__hero-media img,
.realizacja-single__hero-media video {
    width: 100%;
    height: auto;
    display: block;
}

.realizacja-single__content {
    max-width: 850px;
    margin: 0 auto;
}

.realizacja-single__content h2,
.realizacja-single__content h3 {
    color: var(--navy);
    margin: 28px 0 12px;
    line-height: 1.25;
}

.realizacja-single__content p,
.realizacja-single__content ul,
.realizacja-single__content ol {
    margin-bottom: 18px;
}

.realizacja-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.realizacja-gallery__item {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gray-bg);
    box-shadow: var(--shadow-sm);
}

.realizacja-gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (min-width: 768px) {
    .realizacja-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
