
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Butler:wght@400;500;700&family=Poppins:wght@300;400;500;600&display=swap');
/* ========================================
   USTAWIENIA GLOBALNE
   ======================================== */

* {
    margin: 0;
    padding: 0;
}
html{
    scroll-padding-top: 65px;    
}
@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 65px;
    }
}

/* Reset domyślnych stylów linków */
a {
    color: inherit;
    text-decoration: none;
}


body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    font-size: 1rem;
    color: #151715;
    background-color: #f3f0e9;
}

.grey {
    color: #5e5b5c;
}

.gold {
    color: #b87a44;
}

.animate,
.animate1 {
    opacity: 0;
}


/* ========================================
   NAGŁÓWEK
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: #f3f0e9;
    /*background: rgb(243 240 233 / 98%);*/
    padding-block: 20px;

    transition:
        padding 0.35s ease,
        box-shadow 0.35s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 54px;
}


/* ========================================
   LOGO
   ======================================== */

.site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;

    text-decoration: none;
}

.site-logo img {
    display: block;

    width: 190px;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    transition: width 0.35s ease;
}


/* ========================================
   NAWIGACJA DESKTOPOWA
   ======================================== */

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.5vw, 25px);

    flex: 1 1 auto;
    min-width: 0;
}

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding-block: 8px;

    color: #5e5b5c;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;

    font-size: 13.4px;
    font-weight: 400;
    letter-spacing: 0.035em;

    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;

    height: 2px;
    background: #b87a44;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #b87a44;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}


/* ========================================
   PRZYCISK CTA
   ======================================== */

.header-cta,
.mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 19px;

    border: 2px solid #b87a44;
    border-radius: 0;

    color: #b87a44;
    background: transparent;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.header-cta:hover,
.mobile-nav-cta:hover {
    color: #fff;
    background-color: #b87a44;
}


/* ========================================
   PRZYCISK HAMBURGERA
   ======================================== */

.menu-toggle {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 0;
    background: transparent;
    color: #5e5b5c;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}

.menu-toggle i {
    display: block;
}


/* ========================================
   PANEL MENU MOBILNEGO
   ======================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;

    display: flex;
    flex-direction: column;

    width: 90%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;

    padding: 28px 28px 36px;

    background: var(--mobile-menu-bg, #f3f0e9);

    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;

    transition:
        transform 0.35s ease,
        visibility 0.35s ease;

    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 35px;
}

.mobile-menu-title {
    color: #5e5b5c;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;
    color: #b87a44;

    font-size: 32px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.mobile-nav-link {
    padding: 13px 0;

    border-bottom: 1px solid rgb(94 91 92 / 15%);

    color: #5e5b5c;
    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    letter-spacing: 0.04em;

    transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #b87a44;
}

.mobile-nav-cta {
    margin-top: 20px;
}


/* ========================================
   TŁO ZA MENU MOBILNYM
   ======================================== */

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;

    background: rgb(30 28 27 / 25%);

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ========================================
   NAGŁÓWEK PO PRZEWINIĘCIU
   ======================================== */

.site-header.is-scrolled {
    padding-block: 6px;

    box-shadow: 0 4px 18px rgb(0 0 0 / 4%);
}

.site-header.is-scrolled .site-logo img {
    width: 155px;
}


/* ========================================
   RESPONSYWNOŚĆ — TABLETY I TELEFONY
   ======================================== */

/* Przycisk CTA znika poniżej 1200 px */

@media (max-width: 1199.98px) {
    .header-cta {
        display: none;
    }
}

/* Hamburger poniżej 992 px */

@media (max-width: 991.98px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-inner {
        justify-content: space-between;
    }

    .site-logo img {
        width: 190px;
    }
}

/* Małe telefony */

@media (max-width: 575.98px) {
    .site-header {
        padding-block: 8px;
    }

    .site-header.is-scrolled {
        padding-block: 4px;
    }

    .site-logo img {
        width: 165px;
    }

    .site-header.is-scrolled .site-logo img {
        width: 145px;
    }

    .mobile-menu {
        padding: 20px 22px 30px;
    }
}


/* ========================================
   OGRANICZENIE ANIMACJI
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-logo img,
    .nav-link,
    .nav-link::after,
    .header-cta,
    .mobile-menu,
    .menu-backdrop {
        transition: none;
    }
}


/* ========================================
   BANER HERO
   ======================================== */

#baner {
    display: flex;
    align-items: center;

    width: 100%;
    max-width: 1920px;
    height: clamp(500px, 67vh, 780px);
    margin-inline: auto;

    background-image:
        linear-gradient(
            90deg,
            rgb(0 0 0 / 52%) 0%,
            rgb(0 0 0 / 30%) 55%,
            rgb(0 0 0 / 5%) 100%
        ),
        url("../img/baner.jpg");

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color: #f3f0e9;
}

.baner-content {
    max-width: 950px;
    padding-block: 50px;
}

.baner-eyebrow {
    margin-bottom: 15px;

    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.baner-content h1 {
    max-width: 950px;
    margin-bottom: 25px;

    font-family: 'Butler', serif;
    font-size: clamp(38px, 4.2vw, 68px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.baner-description {
    max-width: 540px;
    margin-bottom: 65px;

    font-size: 16px;
    line-height: 1.65;
}

.baner-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.baner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 52px;
    padding: 14px 20px;

    border: 2px solid #b87a44;

    color: #f3f0e9;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.baner-button i {
    font-size: 20px;
    line-height: 1;
}

.baner-button-primary {
    background-color: #b87a44;
}

.baner-button-primary:hover {
    background-color: #9f6535;
    border-color: #9f6535;
}

.baner-button-outline {
    background-color: transparent;
}

.baner-button-outline:hover {
    background-color: #b87a44;
}


/* ========================================
   BANER — TABLETY
   ======================================== */

@media (max-width: 991.98px) {
    .baner-content {
        max-width: 750px;
    }

    .baner-content h1 {
        font-size: clamp(38px, 5.5vw, 54px);
    }
}


/* ========================================
   BANER — TELEFONY
   ======================================== */

@media (max-width: 767.98px) {
    #baner {
        min-height: 620px;
        height: auto;

        background-position: 60% center;
    }

    .baner-content {
        padding-block: 55px;
    }

    .baner-eyebrow {
        margin-bottom: 14px;
        font-size: 15px;
    }

    .baner-content h1 {
        margin-bottom: 20px;
        font-size: clamp(34px, 8vw, 46px);
        line-height: 1.12;
    }

    .baner-description {
        max-width: 440px;
        font-size: 15px;
    }

    .baner-buttons {
        align-items: stretch;
        flex-direction: column;
        max-width: 320px;
    }

    .baner-button {
        justify-content: space-between;
    }
}


/* ========================================
   BANER — BARDZO MAŁE TELEFONY
   ======================================== */

@media (max-width: 380px) {
    .baner-content h1 {
        font-size: 32px;
    }

    .baner-button {
        padding-inline: 14px;
        font-size: 11px;
    }
}


/* ========================================
   SEKCJA O NAS
   ======================================== */

.section-about {
    padding-block: 60px;
    background-color: #f3f0e9;
}

.about-content {
    padding-right: 55px;
}


.about-content h2 {
    margin-bottom: 28px;
    font-family: 'Butler', serif;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.15;
}

.about-content p:not(.about-eyebrow):not(.section-eyebrow)  {
    margin-bottom: 22px;

    /*color: #5e5b5c;*/
    font-size: 14px;
    line-height: 1.9;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* ========================================
   O NAS — TABLETY I TELEFONY
   ======================================== */

@media (max-width: 767.98px) {
    .section-about {
        padding-block: 45px;
    }

    .about-content {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        margin-bottom: 30px;
    }

    .about-content h2 {
        margin-bottom: 22px;
        font-size: clamp(30px, 7vw, 38px);
    }

    .about-content p:not(.about-eyebrow) {
        font-size: 14px;
        line-height: 1.8;
    }
}

.section-eyebrow {
    margin-bottom: 16px;
    color: #b87a44;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ========================================
   NASZE INWESTYCJE
   ======================================== */

.section-investments {
    padding-block: 50px 65px;
    background-color: #e8e2d5;
}

.investments-title {
    margin-bottom: 36px;

    color: #151715;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}


/* ========================================
   KARTA INWESTYCJI
   ======================================== */

.investment-card {
    position: relative;
    display: block;

    width: 100%;
    aspect-ratio: 1.135 / 1;

    overflow: hidden;

    color: #f3f0e9;
    text-decoration: none;
    background-color: #292d30;
}

.investment-image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.4s ease;
}

.investment-card:hover .investment-image {
    transform: scale(1.007);
}


/* ========================================
   TREŚĆ KARTY
   ======================================== */

.investment-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;

    padding: 28px 42px 30px;
}

.investment-content h3 {
    margin-bottom: 10px;

    color: #f3f0e9;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 1.8vw, 30px);
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1.25;
    text-transform: uppercase;
}

.investment-description {
    margin-bottom: 12px;

    color: #f3f0e9;
    font-size: 16px;
    line-height: 1.6;
}

.investment-status {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 22px;

    color: #f3f0e9;
    font-size: 16px;
    line-height: 1.5;
    text-transform: uppercase;
}

.status-dot {
    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    border-radius: 50%;
}

.status-available {
    background-color: #49b42c;
}

.status-upcoming {
    background-color: #f2c400;
}


/* ========================================
   LINK DO INWESTYCJI
   ======================================== */

.investment-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #b87a44;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.investment-link i {
    font-size: 17px;
    transition: transform 0.25s ease;
}

.investment-card:hover .investment-link {
    color: #d69a62;
}

.investment-card:hover .investment-link i {
    transform: translateX(4px);
}


/* ========================================
   TABLETY
   ======================================== */

@media (max-width: 1199.98px) {
    .investment-content {
        padding: 24px 26px 28px;
    }

    .investment-content h3 {
        font-size: clamp(18px, 2vw, 25px);
    }

    .investment-description,
    .investment-status {
        font-size: 14px;
    }

    .investment-logo {
        right: 20px;
        bottom: 22px;
        width: 58px;
        height: 58px;
    }

    .investment-status {
        padding-right: 45px;
    }
}


/* ========================================
   TELEFONY
   ======================================== */

@media (max-width: 767.98px) {
    .section-investments {
        padding-block: 45px 50px;
    }

    .investments-title {
        margin-bottom: 28px;
        font-size: 22px;
        letter-spacing: 0.12em;
    }

    .investment-card {
        aspect-ratio: 1.15 / 1;
    }

    .investment-content {
        padding: 22px 22px 24px;
    }

    .investment-content h3 {
        max-width: 85%;
        font-size: clamp(18px, 4.5vw, 24px);
        letter-spacing: 0.1em;
    }

    .investment-description {
        font-size: 14px;
    }

    .investment-status {
        gap: 10px;
        margin-bottom: 18px;
        padding-right: 0;
        font-size: 13px;
    }

    .status-dot {
        flex-basis: 14px;
        width: 14px;
        height: 14px;
    }

    .investment-link {
        font-size: 14px;
    }

    .investment-logo {
        right: 18px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }
}


/* ========================================
   MAŁE TELEFONY
   ======================================== */

@media (max-width: 420px) {
    .investment-content {
        padding: 18px 16px 20px;
    }

    .investment-content h3 {
        font-size: 17px;
    }

    .investment-description {
        font-size: 13px;
    }

    .investment-status {
        font-size: 11px;
    }

    .investment-logo {
        right: 12px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }
}


/* ========================================
   OGRANICZENIE ANIMACJI
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .investment-image,
    .investment-link,
    .investment-link i {
        transition: none;
    }
}


/* ========================================
   SEKCJA: DLACZEGO MATUX-DEVELOPER
   ======================================== */

.section-why {
    /*padding-block: 75px;*/
    background-color: #f3f0e9;
}

.why-title {
    margin-bottom: 50px;
    color: #151715;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    height: 100%;
}

.why-item img {
    display: block;
    flex: 0 0 auto;
    width: 75px;
    height: auto;
    object-fit: contain;
}

.why-content h3 {
    margin-bottom: 12px;
    color: #151715;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.why-content p {
    margin-bottom: 0;
    color: #151715;
    font-size: 14px;
    line-height: 1.8;
}


/* Tablet i mniejsze ekrany */

@media (max-width: 767.98px) {
    .section-why {
        padding-block: 55px;
    }

    .why-title {
        margin-bottom: 35px;
        font-size: 22px;
        letter-spacing: 0.12em;
    }

    .why-item {
        gap: 16px;
    }

    .why-item img {
        width: 65px;
    }


    .why-content p {
        font-size: 13px;
        line-height: 1.7;
    }
}

/* ========================================
   JAK BUDUJEMY?
   ======================================== */

.section-process {
    padding-block: 55px 50px;
    background-color: #292c2f;
    color: #f3f0e9;
}

.process-title {
    margin-bottom: 42px;
    color: #f3f0e9;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.process-item {
    height: 100%;
}

.process-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.process-number {
    color: #b87a44;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.process-arrow {
    color: #f3f0e9;
    font-size: 30px;
    line-height: 1;
}

.process-item p {
    min-height: 48px;
    margin-bottom: 16px;
    color: #f3f0e9;
    font-size: 14px;
    line-height: 1.6;
}

.process-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.process-item-last .process-arrow {
    display: none;
}

/* Tablet */

@media (max-width: 991.98px) {
    .section-process {
        padding-block: 45px;
    }

    .process-title {
        margin-bottom: 32px;
        font-size: 24px;
    }

    .process-heading {
        margin-bottom: 14px;
    }

    .process-number {
        font-size: 20px;
    }

    .process-arrow {
        font-size: 26px;
    }

    .process-item p {
        min-height: 48px;
        margin-bottom: 12px;
    }
}

/* Telefon */

@media (max-width: 575.98px) {
    .section-process {
        padding-block: 40px;
    }

    .process-title {
        margin-bottom: 28px;
        font-size: 20px;
        letter-spacing: 0.12em;
    }

    .process-heading {
        gap: 6px;
        margin-bottom: 12px;
    }

    .process-number {
        font-size: 18px;
    }

    .process-arrow {
        font-size: 23px;
    }

    .process-item p {
        min-height: 45px;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ========================================
   REALIZACJE
   ======================================== */

.section-realizations {
    padding-block: 65px;
    background-color: #f3f0e9;
}

.realizations-header {
    margin-bottom: 28px;
}

.realizations-eyebrow {
    margin-bottom: 22px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.realizations-title {
    margin-bottom: 0;
    color: #151715;
    font-family: 'Butler', serif;
    font-size: clamp(30px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.2;
}

.realization-card {
    height: 100%;
}

.realization-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.4 / 1;
    object-fit: cover;
}

.realization-content {
    padding: 20px 10px 0;
}

.realization-content h3 {
    margin-bottom: 0;
    color: #b87a44;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.realization-location {
    margin-bottom: 12px;
    color: #b87a44;
    font-size: 14px;
    line-height: 1.4;
}

.realization-details {
    margin-bottom: 0;
}

.realization-details > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.realization-details dt {
    margin: 0;
    font-weight: 400;
}

.realization-details dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

/* Tablet i telefon */

@media (max-width: 991.98px) {
    .section-realizations {
        padding-block: 50px;
    }

    .realizations-header {
        margin-bottom: 24px;
    }

    .realizations-eyebrow {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .realizations-title {
        font-size: 30px;
    }
}

@media (max-width: 767.98px) {
    .section-realizations {
        padding-block: 40px;
    }

    .realizations-title {
        font-size: 28px;
    }

    .realization-content {
        padding: 16px 4px 0;
    }

    .realization-content h3 {
        font-size: 17px;
    }

    .realization-details > div {
        margin-bottom: 12px;
    }
}

/* ========================================
   KONTAKT
   ======================================== */

.section-contact {
    padding-block: 35px 25px;
    background-image:
        linear-gradient(
            90deg,
            rgb(0 0 0 / 35%) 0%,
            rgb(0 0 0 / 15%) 55%,
            rgb(0 0 0 / 0%) 100%
        ),
        url("../img/kontakt_bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #f3f0e9;
}

/* Tekst wprowadzający */

.contact-intro {
    padding: 18px 0;
}

.contact-eyebrow {
    margin-bottom: 10px;
    color: #b87a44;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-intro h2 {
    margin-bottom: 18px;
    color: #f3f0e9;
    font-family: 'Butler', serif;
    font-size: clamp(26px, 2.2vw, 32px);
    font-weight: 400;
    line-height: 1.2;
}

.contact-intro > p:last-child {
    max-width: 390px;
    margin-bottom: 0;
    color: #f3f0e9;
    font-size: 13px;
    line-height: 1.8;
}

/* Formularz */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.contact-field {
    min-width: 0;
}

.contact-field input {
    display: block;
    width: 100%;
    min-height: 45px;
    padding: 9px 10px;
    border: 1px solid #424242;
    border-radius: 2px;
    outline: none;
    background-color: #17191a;
    color: #f3f0e9;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    transition: border-color 0.2s ease;
}

.contact-field input::placeholder {
    color: #f3f0e9;
    opacity: 0.9;
}

.contact-field input:focus {
    border-color: #b87a44;
}

/* Wybór inwestycji */

.contact-options {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 7px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.contact-options-title {
    display: flex;
    align-items: center;
    min-height: 45px;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid #b87a44;
    border-radius: 2px;
    background-color: rgb(23 25 26 / 35%);
    color: #b87a44;
    font-size: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    margin: 0;
    padding: 5px 10px;
    /*border: 1px solid #b87a44;*/
    border-radius: 2px;
    background-color: rgb(23 25 26 / 35%);
    color: #f3f0e9;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
}

.contact-option input {
    appearance: none;
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    margin: 0;
    border: 1px solid #b87a44;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.contact-option input:checked {
    background-color: #b87a44;
    box-shadow: inset 0 0 0 2px #292c2f;
}

.contact-option input:focus-visible {
    outline: 1px solid #f3f0e9;
    outline-offset: 2px;
}

.contact-options-border{
    border: 1px solid #b87a44;
    border-radius: 2px;
}

/* Przycisk wysyłki */

.contact-submit {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border: 1px solid #b87a44;
    border-radius: 0;
    background-color: #b87a44;
    color: #f3f0e9;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.contact-submit:hover {
    border-color: #9f6535;
    background-color: #9f6535;
}

/* Telefon kontaktowy */

.contact-phone-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100px;
    padding: 24px 16px;
    border: 2px solid #b87a44;
    border-radius: 3px;
    text-align: center;
}

.contact-phone-box h3 {
    margin-bottom: 14px;
    color: #f3f0e9;
    font-family: 'Butler', serif;
    font-size: 25px;
    font-weight: 400;
}

.contact-phone-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #f3f0e9;
    font-family: 'Butler', serif;
    font-size: clamp(20px, 2vw, 28px);
    text-decoration: none;
    white-space: nowrap;
}

.contact-phone-number i {
    color: #b87a44;
    font-size: 22px;
}

.contact-phone-number:hover {
    color: #b87a44;
}

/* Komunikaty walidacji */

.contact-field .invalid-feedback {
    display: none;
    margin-top: 4px;
    color: #ffb3a7;
    font-size: 11px;
}

.contact-field input.is-invalid {
    border-color: #e36b5d;
}

.contact-field input.is-invalid + .invalid-feedback {
    display: block;
}

.contact-form-message {
    padding: 9px 12px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.5;
}

.contact-form-message[hidden] {
    display: none;
}

.contact-form-message.is-error {
    border: 1px solid #e36b5d;
    background-color: rgb(80 20 15 / 80%);
    color: #fff0ed;
}

.contact-form-message.is-success {
    border: 1px solid #75b887;
    background-color: rgb(20 65 35 / 85%);
    color: #f0fff3;
}

/* Responsywność */

@media (min-width: 768px) {
    .section-contact {
        background-position: left center;
    }
}

@media (max-width: 767.98px) {
    .section-contact {
        padding-block: 35px;
        background-position: center center;
    }

    .contact-intro {
        padding: 0 0 10px;
    }

    .contact-intro h2 {
        font-size: 28px;
    }

    .contact-form {
        gap: 10px;
    }

    .contact-phone-box {
        min-height: 150px;
    }
}

@media (max-width: 380px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-options {
        min-height: 100px;
    }

    .contact-phone-number {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-field input,
    .contact-submit {
        transition: none;
    }
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    padding-block: 22px 12px;
    background-color: #111111;
    color: #f3f0e9;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    justify-self: start;
}

.footer-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

.footer-copyright {
    justify-self: center;
    margin: 0;
    color: #d0d0d0;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 35px;
}

.footer-legal-link {
    color: #d0d0d0;
    font-size: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-legal-link:hover {
    color: #b87a44;
}

/* Linki prawne ukryte do czasu przygotowania dokumentów */
.footer-legal {
    display: none;
}

/* Podpis wykonawcy strony */

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.footer-bottom {
    grid-column: 2;
    justify-self: center;
    margin-top: -12px;
    padding: 0;
    border: 0;
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: #777777;
    font-size: 10px;
    line-height: 1.5;
    text-decoration: none;
    text-align: center;
}

.footer-bottom a:hover {
    color: #b87a44;
}

/* Responsywność */

@media (max-width: 767.98px) {
    .site-footer {
        padding-block: 24px 12px;
    }

    .footer-main {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        text-align: center;
    }

    .footer-logo img {
        width: 170px;
    }

    .footer-copyright {
        font-size: 10px;
    }

    .footer-bottom {
        justify-content: center;
        margin-top: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-bottom a {
        transition: none;
    }
}

.footer-copyright a {
    color: #999;
    font-size: 10px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright a:hover {
    color: #b87a44;
}

.footer-legal-separator {
    color: #666;
    margin: 0 6px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    justify-self: start;
}

.footer-center {
    grid-column: 2;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    color: #d0d0d0;
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
}

.footer-bottom {
    grid-column: 3;
    justify-self: end;
}

.footer-bottom p {
    margin: 0;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
    text-align: right;
}

.footer-bottom a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #b87a44;
}

@media (max-width: 767.98px) {
    .footer-main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        text-align: center;
    }

    .footer-logo img {
        width: 170px;
    }

    .footer-center {
        order: 2;
    }

    .footer-bottom {
        order: 3;
        align-self: center;
    }

    .footer-bottom p {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-bottom a {
        transition: none;
    }
}