/*
Theme Name: Fixinhome Custom Theme
Description: Ciemny motyw z hero i paskiem referencji
Author: Codex
Version: 1.0
*/

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

/* RESET / GLOBAL */
:root {
    --orange-strip-height: 100px;
}

* {
    box-sizing: border-box;
    text-shadow: none !important;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #050505;
    color: #f5f5f5;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

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

a:hover {
    color: #ffffff;
    text-decoration: none;
}

.site-main {
    background-color: #050505;
    color: #f5f5f5;
}

/* LAYOUT */
.site-header {
    width: 100%;
}

.orange-strip {
    position: relative;
    left: 50%;
    width: 100vw;
    height: var(--orange-strip-height);
    margin-top: calc(var(--orange-strip-height) / -2);
    transform: translateX(-50%);
    background-color: #ff6a00;
    z-index: 1;
}

/* HEADER */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 22px 40px;
}

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

.logo-image {
    display: block;
    width: auto;
    height: 46px;
}

.nav-pill-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 10px 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(6px);
}

.navbar {
    padding: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .menu-item {
    margin: 0 12px;
    list-style: none;
}

.navbar-nav .menu-item a {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-nav .menu-item a:hover,
.navbar-nav .menu-item.current-menu-item a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* HERO */
.hero-wrapper {
    position: relative;
    max-width: 1300px;
    height: 420px;
    margin: 36px auto 0;
    border-radius: 44px;
    overflow: hidden;
    z-index: 2;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
}

.hero-buttons,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-actions {
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.btn-hero-primary {
    border: none;
    background-color: #ff6a00;
    color: #ffffff;
}

.btn-hero-outline {
    border: 2px solid #ff6a00;
    background-color: transparent;
    color: #ffffff;
}

.hero-section {
    position: relative;
    padding: 40px 0 0;
    overflow: visible;
}

.hero-bg-strip {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 180px;
    background-color: #ff6a00;
    z-index: 0;
}

.hero-visual {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto 90px;
}

.hero-frame {
    position: relative;
    z-index: 2;
    min-height: 440px;
    border-radius: 44px;
    overflow: hidden;
    background: #1a1a1a;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.15) 60%);
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 560px;
    padding: 48px;
    text-align: center;
}

.hero-title {
    margin-bottom: 20px;
    color: #ff6a00;
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 800;
    line-height: 1.05;
    white-space: nowrap;
    text-align: center;
}

.hero-subtitle {
    max-width: 460px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
}

/* SEKCJE (about, services, itd.) */
.eyebrow {
    color: #ff6a00;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.trust-section {
    padding: 60px 0;
    background: #000000;
    text-align: center;
}

.trust-text {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.trust-accent {
    color: #ff6a00;
}

.about-section,
.services-section,
.testimonials-section {
    padding: 80px 0;
}

.about-section {
    background: #1a1a1a;
}

.about-card {
    background: transparent;
    color: #f5f5f5;
    box-shadow: none;
}

.about-visual img {
    display: block;
    height: 100%;
    object-fit: cover;
}

.services-section {
    background: #0f0f0f;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-title {
    margin-bottom: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.service-card {
    position: relative;
    flex: 1 1 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    aspect-ratio: 4 / 5;
}

.service-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 18px 22px 26px;
    text-align: center;
}

.service-body h3 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.service-body p {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

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

.portfolio-section {
    padding: 80px 0;
    background: #000000;
    color: #ffffff;
}

.portfolio-strip {
    background: transparent;
    box-shadow: none;
}

.portfolio-single {
    display: flex;
    justify-content: center;
}

.portfolio-image {
    width: 100%;
    max-width: 960px;
    height: auto;
    border-radius: 16px;
}

.portfolio-section .section-title h2,
.testimonials-section .section-title h2 {
    color: #ffffff;
}

.testimonial-card {
    border: 1px solid #222;
    background: #111;
    color: #f5f5f5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.realizacje-hero,
.offer-hero,
.contact-page-hero {
    padding: 30px 0;
    text-align: center;
}

.realizacje-hero {
    padding: 28px 0;
    background: #ff7a00;
}

.realizacje-hero h1,
.offer-hero h1,
.contact-page-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
}

.realizacje-gallery {
    padding: 60px 0 80px;
    background: #0a0a0a;
}

.realizacje-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.realizacje-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    background: #1a1a1a;
}

.realizacje-image {
    position: relative;
}

.realizacje-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.realizacje-card-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 14px 12px 16px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.realizacje-card-body p {
    margin: 0;
    line-height: 1.35;
}

.offer-page {
    background: #0a0a0a;
}

.offer-hero,
.contact-page-hero {
    background: #ff6a00;
}

.offer-list-section {
    padding: 58px 20px 88px;
}

.offer-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 980px;
    margin: 0 auto;
}

.offer-item {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 30px;
}

.offer-visual {
    position: relative;
    flex: 0 0 320px;
    min-height: 290px;
    border-radius: 30px;
    overflow: hidden;
    background: #171717;
}

.offer-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.offer-wave {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 68%;
    pointer-events: none;
}

.offer-wave-shape,
.offer-wave-shape path {
    display: block;
    width: 100%;
    height: 100%;
}

.offer-wave-shape path {
    fill: #f26522;
}

.offer-wave-text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 54%;
    padding: 30px 24px 34px;
    text-align: center;
    z-index: 1;
}

.offer-wave-text h2 {
    max-width: 220px;
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.22;
}

.offer-content {
    display: flex;
    flex: 1;
    align-items: center;
    margin: 14px 0 14px -6px;
    padding: 34px 36px;
    border-radius: 0 30px 30px 0;
    background: #2a2a2a;
    color: #ffffff;
}

.offer-content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.contact-section {
    background: #0f0f0f;
}

.contact-page {
    background: #121212;
}

.contact-page-form-section {
    padding: 42px 20px 0;
}

.contact-page-container,
.footer-container {
    max-width: 1220px;
    margin: 0 auto;
}

.contact-page-heading {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 800;
    line-height: 0.95;
}

.contact-page-card {
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

.contact-page-visual img {
    display: block;
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
}

.contact-page-form,
.contact-form {
    display: grid;
}

.contact-page-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.contact-page-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-page-field span {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.contact-page-field input,
.contact-page-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #ff6a00;
    border-radius: 10px;
    outline: none;
    background: #222222;
    color: #ffffff;
    font-size: 15px;
}

.contact-page-field input::placeholder,
.contact-page-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.contact-page-field-message {
    grid-column: 1 / -1;
}

.contact-page-field textarea {
    min-height: 128px;
    resize: vertical;
}

.contact-page-submit,
.contact-submit {
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.contact-page-submit {
    justify-self: end;
    min-width: 136px;
    height: 44px;
    border-radius: 999px;
    background: #ff6a00;
    text-transform: lowercase;
}

.contact-page-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding-bottom: 42px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.contact-page-consent input {
    appearance: none;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    border: 2px solid #ff6a00;
    border-radius: 6px;
    background: transparent;
}

.contact-page-consent input:checked {
    background: #ff6a00;
    box-shadow: inset 0 0 0 3px #121212;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.contact-card {
    padding: 40px;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    background: #1e1e1e;
}

.contact-title {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 900;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.contact-image {
    flex: 0 0 360px;
}

.contact-image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 220px;
    border-radius: 14px;
    object-fit: cover;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        'name email'
        'subject phone'
        'message message'
        'submit submit';
    gap: 12px 12px;
    align-items: start;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    color: #ffffff;
    font-weight: 600;
}

.contact-form .form-control {
    width: 100%;
    height: 44px;
    padding: 10px 12px;
    border: 2px solid #ff7a00;
    border-radius: 10px;
    background: #111111;
    color: #ffffff;
}

.contact-form .form-control::placeholder {
    color: #aaaaaa;
}

.contact-form textarea.form-control {
    min-height: 140px;
    height: auto;
    resize: vertical;
}

.contact-field-name { grid-area: name; }
.contact-field-email { grid-area: email; }
.contact-field-subject { grid-area: subject; }
.contact-field-phone { grid-area: phone; }
.contact-field-message { grid-area: message; }

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 950px;
    margin-top: 20px;
    color: #cfcfcf;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.contact-consent input {
    margin-top: 4px;
    accent-color: #ff7a00;
    flex-shrink: 0;
}

.contact-consent .consent-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 999px;
    background: #ff7a00;
}

.contact-submit {
    grid-area: submit;
    justify-self: end;
    height: 46px;
    padding: 0 30px;
    border-radius: 25px;
    background: #ff7a00;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-submit:hover {
    background: #e56c00;
}

.site-footer {
    background: #ff7a00;
    color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    align-items: start;
    gap: 28px;
    padding: 42px 20px 48px;
}

.footer-title-line,
.footer-details-column p,
.footer-contact-column p {
    margin: 0;
    color: #ffffff;
}

.footer-title-line {
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 800;
    line-height: 1;
}

.footer-details-column,
.footer-contact-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 18px;
    min-height: 100%;
    padding-top: 10px;
}

.footer-brand-image {
    display: block;
    width: min(100%, 205px);
    height: auto;
}

.clients-section {
    padding: 96px 0 88px;
    background-color: #050505;
    text-align: center;
}

.clients-text {
    margin: 0;
    font-size: 44px;
    font-weight: 800;
}

.clients-white { color: #ffffff; }
.clients-orange { color: #ff6a00; }

/* COMPONENTS (buttons, cards) */
.hero-btn-primary,
.hero-btn-ghost,
.services-button,
.realizacje-more,
.portfolio-btn {
    color: #ffffff;
    font-weight: 700;
}

.hero-btn-primary,
.hero-btn-ghost {
    padding: 12px 28px;
    border: 2px solid #ff6a00;
    border-radius: 999px;
}

.hero-btn-primary {
    background-color: #ff6a00;
}

.hero-btn-ghost {
    color: #ffffff;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    border-color: #ff6a00;
    background: transparent;
    color: #ffffff;
}

.hero-btn-ghost:hover,
.hero-btn-ghost:focus {
    border-color: #ff6a00;
    background: #ff6a00;
    color: #ffffff;
}

.portfolio-btn,
.portfolio-btn:hover,
.portfolio-btn:focus {
    border-color: #ff7a00;
    background: #ff7a00;
    color: #ffffff;
}

.services-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    background: #ff7a00;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.services-button:hover,
.services-button:focus {
    background: #e56d00;
    color: #ffffff;
}

.realizacje-more {
    align-self: center;
    margin: 16px 0 20px;
    padding: 8px 26px;
    border-radius: 999px;
    background: #ff7a00;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: lowercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.realizacje-more:hover {
    background: #ff8a1f;
    color: #ffffff;
}

.hero-wrapper,
.hero-image,
.hero-content,
.orange-strip,
.site-header,
.nav-pill-wrapper,
.btn-hero {
    box-shadow: none !important;
    filter: none !important;
}

/* MOBILE / MEDIA QUERIES */
@media (max-width: 1024px) {
    .service-card {
        flex-basis: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 992px) {
    .top-bar { padding: 16px 24px; }
    .nav-pill-wrapper,
    .navbar-collapse { justify-content: center; }
    .nav-pill-wrapper { width: 100%; }
    .hero-overlay {
        align-items: flex-end;
        background: linear-gradient(180deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.7) 100%);
    }
    .hero-content {
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }
    .hero-title { font-size: 46px; }
    .hero-subtitle { text-align: center; }
}

@media (max-width: 900px) {
    .hero-title { white-space: normal !important; font-size: 40px; }
    .offer-item, .contact-content { flex-direction: column; }
    .offer-visual { flex-basis: auto; min-height: 320px; }
    .offer-content { margin: -4px 0 0; border-radius: 0 0 30px 30px; padding: 28px 24px 30px; }
    .realizacje-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-page-card { grid-template-columns: 1fr; }
    .contact-page-visual { max-width: 520px; }
    .contact-image { order: 1; width: 100%; max-width: 100%; }
    .contact-form-wrapper { order: 2; }
    .contact-form {
        grid-template-columns: 1fr;
        grid-template-areas: 'name' 'email' 'subject' 'phone' 'message' 'submit';
    }
    .contact-consent { max-width: 100%; }
    .contact-submit { justify-self: stretch; width: 100%; }
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 16px; line-height: 1.6; }
    .site-header { width: 100%; }
    .top-bar {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-top: 16px;
        padding-bottom: 16px;
        text-align: left;
    }
    .logo { margin: 0 !important; margin-right: auto; }
    .logo-image { height: auto; max-height: 40px; }
    .nav-pill-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        margin-right: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
    }
    .navbar {
        display: flex;
        justify-content: flex-end;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }
    .top-bar,
    .services-container,
    .contact-container,
    .contact-page-form-section,
    .offer-list-section {
        padding-right: 20px;
        padding-left: 20px;
    }
    .about-section,
    .services-section,
    .portfolio-section,
    .testimonials-section,
    .contact-container,
    .realizacje-gallery,
    .trust-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .hero-bg-strip { display: none !important; }
    .hero-section {
        height: auto;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .hero-wrapper {
        min-height: 420px;
        height: auto;
        margin-top: 0 !important;
        border-radius: 24px;
    }
    .hero-frame {
        min-height: 260px !important;
        height: auto;
        border-radius: 24px;
        background: transparent !important;
    }
    .hero-image,
    .hero-frame video {
        height: 100% !important;
        min-height: 260px;
        object-fit: cover;
    }
    .hero-visual {
        margin-bottom: 10px !important;
    }
    .hero-overlay {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        height: 100%;
        padding: 0 20px !important;
        text-align: center;
        background: rgba(0, 0, 0, 0.5);
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100% !important;
        margin: 0 auto !important;
        margin-bottom: 0 !important;
        padding: 0 20px !important;
        gap: 16px;
        transform: translateY(25px);
        text-align: center;
    }
    .hero-title {
        width: 100%;
        margin-bottom: 16px !important;
        padding: 0 16px;
        font-size: 28px;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }
    .hero-subtitle {
        width: 100%;
        margin-bottom: 0 !important;
        font-size: 16px;
        line-height: 1.6;
        text-align: center;
    }
    .hero-buttons,
    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin: 0 auto;
    }
    .hero-buttons,
    .hero a,
    .hero button,
    .hero-actions,
    .hero-btn-primary,
    .hero-btn-ghost {
        display: none !important;
    }
    .hero-actions .btn,
    .btn-hero,
    .services-button,
    .contact-submit,
    .contact-page-submit,
    .portfolio-btn {
        width: 100%;
        max-width: 280px;
        min-height: 44px;
        margin: 0 auto;
        padding: 12px 18px;
        font-size: 16px;
    }
    .navbar-toggler {
        position: relative;
        z-index: 999;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 8px;
        cursor: pointer;
        color: #fff;
    }
    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        filter: none;
        background-size: 24px 24px;
        background-position: center;
    }
    .navbar-collapse { width: 100%; margin-top: 12px; }
    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .navbar-nav .menu-item { margin: 0; }
    .navbar-nav .menu-item a { display: block; padding: 12px; font-size: 16px; }
    .services-title,
    .contact-title,
    .section-title h2,
    .realizacje-hero h1,
    .offer-hero h1,
    .contact-page-hero h1 {
        margin-bottom: 20px;
        font-size: clamp(28px, 7vw, 32px);
        line-height: 1.2;
    }
    .services-grid,
    .realizacje-grid,
    .contact-content,
    .offer-item {
        gap: 20px;
    }
    .services-grid,
    .realizacje-grid { grid-template-columns: 1fr; }
    .service-card,
    .realizacje-card,
    .offer-item,
    .testimonial-card,
    .contact-card {
        width: 100%;
        max-width: 100%;
    }
    .service-card { aspect-ratio: 16 / 12; flex-basis: 100%; }
    .service-image,
    .portfolio-image,
    .realizacje-image img,
    .contact-image img { width: 100%; height: 100%; object-fit: cover; }
    .service-body { padding: 20px; }
    .service-body h3 { font-size: 22px; }
    .service-body p { font-size: 16px; }
    .portfolio-single,
    .row.g-3.justify-content-center { row-gap: 16px; }
    .testimonials-section .row > [class*='col-'] {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .contact-card { padding: 24px 20px; }
    .contact-form,
    .contact-page-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-form label,
    .contact-page-field {
        gap: 8px;
        font-size: 16px;
    }
    .contact-form .form-control,
    .contact-page-field input,
    .contact-page-field textarea {
        min-height: 44px;
        padding: 12px 14px;
        font-size: 16px;
    }
    .contact-form textarea.form-control,
    .contact-page-field textarea { min-height: 140px; }
    .contact-page-field-message { grid-column: auto; }
    .contact-page-submit,
    .contact-submit { justify-self: stretch; width: 100%; }
    .contact-consent,
    .contact-page-consent {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 640px) {
    .hero-frame { min-height: 520px; }
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .nav-pill-wrapper {
        width: 100%;
        justify-content: center;
    }
    .hero-wrapper {
        height: 480px;
        margin-top: 24px;
    }
    .contact-page-form-section { padding: 34px 14px 0; }
    .contact-page-heading { margin-bottom: 22px; font-size: 42px; }
    .contact-page-consent { font-size: 13px; padding-bottom: 34px; }
    .footer-container { grid-template-columns: 1fr; gap: 22px; }
    .footer-brand-column {
        align-items: flex-start;
        justify-content: flex-start;
    }
    .offer-hero h1 { font-size: 28px; }
    .offer-list-section { padding: 42px 14px 72px; }
    .offer-visual { min-height: 280px; }
    .offer-wave { height: 66%; }
    .offer-wave-text {
        height: 54%;
        padding: 24px 16px 28px;
    }
    .offer-wave-text h2 {
        max-width: 200px;
        font-size: 18px;
    }
    .offer-content { padding: 24px 18px 26px; }
    .offer-content p {
        font-size: 15px;
        line-height: 1.6;
    }
    .portfolio-card img { height: 160px; }
    .realizacje-grid { grid-template-columns: 1fr; }
    .trust-section { padding: 40px 0; }
}

/* GOTOWA REALIZACJA */
.gr-hero {
    position: relative;
    min-height: 480px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gr-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.75) 100%);
}

.gr-hero-content {
    max-width: 860px;
    padding: 60px 24px;
    text-align: center;
}

.gr-hero-title {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
}

.gr-hero-subtitle {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 400;
    line-height: 1.55;
}

.gr-description {
    padding: 72px 0 64px;
    background-color: #050505;
}

.gr-description-content {
    max-width: 820px;
    margin: 0 auto;
    color: #e0e0e0;
    font-size: 17px;
    line-height: 1.75;
}

.gr-description-content p { margin-bottom: 1.2em; }
.gr-description-content h2,
.gr-description-content h3 {
    margin-top: 1.6em;
    margin-bottom: 0.5em;
    color: #ffffff;
    font-weight: 700;
}
.gr-description-content strong { color: #ffffff; }
.gr-description-content a { color: #ff7a00; }
.gr-description-content a:hover { color: #ff9933; }

.gr-gallery-section {
    padding: 0 0 80px;
    background-color: #050505;
}

.gr-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gr-gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

.gr-gallery-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1a1a1a;
}

.gr-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gr-gallery-item:hover .gr-gallery-thumb img {
    transform: scale(1.06);
}

.gr-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    color: #ffffff;
    opacity: 0;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.gr-gallery-item:hover .gr-gallery-overlay {
    background: rgba(0,0,0,0.45);
    opacity: 1;
}

@media (max-width: 900px) {
    .gr-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gr-hero { min-height: 360px; }
}

@media (max-width: 600px) {
    .gr-gallery-grid { grid-template-columns: 1fr; }
    .gr-hero { min-height: 280px; }
    .gr-hero-content { padding: 40px 20px; }
    .gr-description { padding: 48px 0 40px; }
    .gr-gallery-section { padding-bottom: 48px; }
}

@media (max-width: 480px) {
    .top-bar,
    .services-container,
    .contact-container,
    .contact-page-form-section,
    .offer-list-section {
        padding-right: 16px;
        padding-left: 16px;
    }
    .hero-frame,
    .hero-wrapper {
        min-height: 360px;
        border-radius: 18px;
    }
    .hero-title { font-size: 28px; }
    .hero-subtitle,
    .service-body p,
    .contact-consent,
    .contact-page-consent { font-size: 15px; }
    .service-body h3 { font-size: 20px; }
    .service-body { padding: 18px 16px; }
}
