/*--------------------------------------------------------------
# NF Starter - Main Stylesheet
# Version: 7.0.0
# No Bootstrap dependency - pure CSS flex/grid
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ==========================================================================
   CSS Custom Properties (easy per-project customization)
   ========================================================================== */

:root {
    /* Colors */
    --nf-color-primary: #000;
    --nf-color-secondary: #1c1c1c;
    --nf-color-text: #0c0c0c;
    --nf-color-text-light: #666;
    --nf-color-text-muted: #888;
    --nf-color-border: rgba(0, 0, 0, .06);
    --nf-color-bg: #fff;
    --nf-color-bg-alt: #f4f4f4;
    --nf-color-footer-bg: #161616;
    --nf-color-footer-text: #cfcfcf;

    /* Typography */
    --nf-font-heading: 'Inter', Helvetica, Arial, sans-serif;
    --nf-font-body: 'Inter', Helvetica, Arial, sans-serif;
    --nf-font-size-base: 16px;
    --nf-line-height: 1.62857;

    /* Layout */
    --nf-container-big: 1656px;
    --nf-container-mid: 1380px;
    --nf-container-padding: 15px;

    /* Transitions */
    --nf-transition: .3s ease;
    --nf-transition-slow: .6s ease;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--nf-color-bg);
    color: var(--nf-color-text);
    font-family: var(--nf-font-body);
    font-size: var(--nf-font-size-base);
    line-height: var(--nf-line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

.hero-title,
h1,
.h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--nf-font-heading);
    font-weight: 300;
    letter-spacing: -.01em;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 300;
}

strong {
    font-weight: 700;
}

a {
    color: var(--nf-color-secondary);
    background-color: transparent;
    transition: var(--nf-transition);
}

a:active,
a:hover {
    color: var(--nf-color-secondary);
    outline: 0;
    text-decoration: none;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container-big {
    width: 100%;
    max-width: var(--nf-container-big);
    margin-left: auto;
    margin-right: auto;
    padding-right: var(--nf-container-padding);
    padding-left: var(--nf-container-padding);
}

.container-mid {
    width: 100%;
    max-width: var(--nf-container-mid);
    margin-left: auto;
    margin-right: auto;
    padding-right: var(--nf-container-padding);
    padding-left: var(--nf-container-padding);
}

/* ==========================================================================
   Utility: text-center
   ========================================================================== */

.text-center {
    text-align: center;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px) saturate(120%);
    -webkit-backdrop-filter: blur(2px) saturate(120%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: .75rem 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-logo img {
    display: block;
    max-height: 80px;
    width: auto;
}

.logo-secondary img {
    max-height: 48px;
}

/* Navigation */
.header-nav .main-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav .main-menu li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    letter-spacing: .3px;
    position: relative;
}

.header-nav .main-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #c9a96e;
    transition: width var(--nf-transition);
}

.header-nav .main-menu li a:hover::after {
    width: 100%;
}

/* Sub-menu (dropdown) */
.header-nav .main-menu li {
    position: relative;
}

.header-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: .75rem 0;
    margin-top: .5rem;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(10px);
    list-style: none;
    z-index: 1001;
}

.header-nav .main-menu li:hover>.sub-menu {
    display: block;
}

.header-nav .sub-menu li a {
    display: block;
    padding: .5rem 1.25rem;
    font-size: .85rem;
    white-space: nowrap;
}

/* Header WhatsApp */
.header-whatsapp {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--nf-transition);
}

.header-whatsapp svg {
    flex-shrink: 0;
    color: #25D366;
}

.header-whatsapp:hover {
    color: #25D366;
}

/* Header CTA */
.header-cta {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.75rem;
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .08em;
    text-decoration: none;
    border-radius: 0;
    transition: all var(--nf-transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .45);
    color: rgba(255, 255, 255, .85);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .95);
    color: #000;
    border-color: rgba(255, 255, 255, .95);
}

.btn-solid {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(201, 169, 110, .6);
}

.btn-solid:hover {
    background: rgba(201, 169, 110, .12);
    border-color: #c9a96e;
    color: #c9a96e;
}

.btn-main a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 2.25rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .75px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 0;
    background: transparent;
    transition: background .35s ease, color .35s ease, border-color .35s ease;
}

.btn-main a:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-black a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 2.2rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: #000;
    border-radius: 0;
    transition: background .35s ease, color .35s ease;
}

.btn-black a:hover {
    background: #4a4a4a;
    color: #fff;
}

/* ==========================================================================
   Hero / Slider
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider,
.hero-slider .swiper-wrapper,
.hero-slide {
    height: 100%;
}

.hero-slide {
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    will-change: transform;
    z-index: 1;
    filter: grayscale(100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0) 0%, rgb(0 0 0 / 76%) 25%, rgb(0 0 0 / 74%) 45%, rgb(0 0 0 / 58%) 65%, rgb(0 0 0 / 61%) 85%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-box {
    max-width: 991px;
    margin: 0 auto;
    color: #fff;
}

.hero-box>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}

.hero-box.is-visible>* {
    opacity: 1;
    transform: translateY(0);
}

.hero-box.is-visible> :nth-child(1) {
    transition-delay: .1s;
}

.hero-box.is-visible> :nth-child(2) {
    transition-delay: .25s;
}

.hero-box.is-visible> :nth-child(3) {
    transition-delay: .4s;
}

.hero-box.is-visible> :nth-child(4) {
    transition-delay: .55s;
}

.hero-title,
.hero-subtitle,
.hero-headings h4 {
    text-align: center;
}

.hero-pretitle {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .75;
    margin-bottom: .75rem;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -.01em;
}

.hero-headings h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: .5rem;
    opacity: .9;
}

.hero-headings h4 {
    font-size: 1rem;
    font-weight: 400;
    opacity: .75;
}

.hero-text {
    margin: 1.5rem auto 0;
    text-align: center;
}

.btn-main {
    margin-top: 2.25rem;
    display: flex;
    justify-content: center;
}

/* Swiper pagination */
.hero,
.hero-slider,
.swiper {
    position: relative;
}

.hero .swiper-pagination {
    bottom: 5rem !important;
}

.hero .swiper-pagination-bullet {
    width: 28px;
    height: 2px;
    border-radius: 0;
    background: rgba(255, 255, 255, .35);
    opacity: 1 !important;
    transition: background var(--nf-transition), width var(--nf-transition);
}

.hero .swiper-pagination-bullet-active {
    background: #fff;
    width: 48px;
}

.swiper-horizontal>.swiper-pagination-bullets {
    left: 0;
    bottom: 0;
}

/* Hero — badge pretitle */
.hero-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 400;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #c9a96e;
    border: 1px solid #c9a96e;
    padding: .45rem 1.25rem;
    margin-bottom: 2rem;
}

/* Hero — ostatnia linia tytułu w złotym kolorze */
.hero-title-accent {
    color: #c9a96e;
    font-style: normal;
}

/* Hero — przycisk CTA (złoty, wypełniony) */
.btn-hero-wrap {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 3.25rem;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .04em;
    text-decoration: none;
    color: #1a1a1a;
    background: #c9a96e;
    border: none;
    border-radius: 0;
    transition: background var(--nf-transition), box-shadow var(--nf-transition);
}

.btn-hero:hover {
    background: #b8945a;
    box-shadow: 0 8px 32px rgba(201, 169, 110, .35);
}

/* (stary blok services — zastąpiony przez Services Section niżej) */

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    padding: 7rem 0;
    background: var(--nf-color-secondary);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Lewa kolumna — info */
.about-info {
    color: #fff;
}

.about-pretitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: .9rem;
}

.about-title {
    font-family: var(--nf-font-heading);
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0;
}

.about-divider {
    width: 48px;
    height: 2px;
    background: #c9a96e;
    margin: 1.75rem 0;
}

.about-content {
    font-family: var(--nf-font-body);
    font-size: .95rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .72);
}

.about-content p+p {
    margin-top: 1.25rem;
}

.about-counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.counter-item {
    display: flex;
    flex-direction: column;
}

.counter-number {
    font-family: var(--nf-font-heading);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 500;
    letter-spacing: .5px;
    color: #c9a96e;
    line-height: 1;
}

.counter-label {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-top: .5rem;
}

/* Prawa kolumna — zdjęcie */
.about-image img {
    width: 100%;
    max-height: 700px;
    object-fit: cover;
    display: block;
    min-height: 565px;
}

/* ==========================================================================
   Philosophy Section
   ========================================================================== */

.philosophy {
    padding: 7rem 0;
    background: var(--nf-color-bg);
}

.philosophy-head {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
}

.philosophy-pretitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: .9rem;
}

.philosophy-title {
    font-family: var(--nf-font-heading);
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    font-weight: 300;
    line-height: 1.3;
    color: var(--nf-color-text);
    margin-bottom: 0;
}

/* złoty wyraz wewnątrz tytułu np. <span>Transformation</span> */
.philosophy-title span {
    color: #c9a96e;
}

.philosophy-divider {
    width: 48px;
    height: 2px;
    background: #c9a96e;
    margin: 1.75rem auto 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.philosophy-card {
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--nf-color-border);
    text-align: center;
}

.philosophy-card__number {
    font-family: var(--nf-font-heading);
    font-size: 2.4rem;
    font-weight: 300;
    color: #c9a96e;
    line-height: 1;
    margin-bottom: 1.25rem;
    opacity: .6;
}

.philosophy-card__title {
    font-family: var(--nf-font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--nf-color-text);
    margin-bottom: 1rem;
}

.philosophy-card__desc {
    font-size: .92rem;
    line-height: 1.8;
    color: var(--nf-color-text-light);
}

/* ==========================================================================
   Services Section (Leistungen)
   ========================================================================== */

.services {
    padding: 7rem 0;
    background: var(--nf-color-bg-alt);
}

.services-head {
    margin-bottom: 5rem;
}

.services-pretitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: .9rem;
}

.services-title {
    font-family: var(--nf-font-heading);
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--nf-color-text);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.services-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.services-row--reverse {
    direction: rtl;
}

.services-row--reverse>* {
    direction: ltr;
}

.services-row__number {
    font-family: var(--nf-font-heading);
    font-size: 4rem;
    font-weight: 400;
    color: #c9a96e;
    opacity: .4;
    line-height: 1;
    margin-bottom: .5rem;
}

.services-row__title {
    font-family: var(--nf-font-heading);
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--nf-color-text);
    margin-bottom: 0;
}

/* Link w tytule usługi */
.services-row__title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(rgba(201, 169, 110, .35), rgba(201, 169, 110, .35));
    background-repeat: no-repeat;
    background-size: 0% 1px;
    background-position: 0 100%;
    padding-bottom: 2px;
    transition: background-size .35s ease, color .25s ease;
}

.services-row__title a:hover {
    color: #c9a96e;
    background-size: 100% 1px;
}

.services-row__divider {
    width: 40px;
    height: 2px;
    background: #c9a96e;
    margin: 1.5rem 0;
}

.services-row__desc {
    font-size: .95rem;
    line-height: 1.85;
    color: var(--nf-color-text-light);
    margin-bottom: 1.5rem;
}

.services-row__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.services-row__bullets li {
    font-size: .9rem;
    color: var(--nf-color-text-light);
    padding-left: 1.25rem;
    position: relative;
}

.services-row__bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9a96e;
}

.services-row__image {
    overflow: hidden;
    position: relative;
}

.services-row__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .55s ease, filter .55s ease;
}

.services-row__image a {
    display: block;
    overflow: hidden;
    position: relative;
}

.services-row__image a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .45s ease;
    pointer-events: none;
}

.services-row__image a:hover::after {
    background: rgba(0, 0, 0, .22);
}

.services-row__image a:hover img {
    transform: scale(1.045);
}

/* ==========================================================================
   Stats Section (Warum QHM)
   ========================================================================== */

.stats {
    padding: 7rem 0;
    background: var(--nf-color-secondary);
}

.stats-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: center;
}

.stats-pretitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: .9rem;
}

.stats-title {
    font-family: var(--nf-font-heading);
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    font-weight: 300;
    line-height: 1.3;
    color: #fff;
}

.stats-title span {
    color: #c9a96e;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
}

.stats-item {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1.5rem;
}

.stats-item__number {
    font-family: var(--nf-font-heading);
    font-size: clamp(3rem, 4.5vw, 5rem);
    font-weight: 400;
    line-height: 1;
    color: #c9a96e;
    letter-spacing: -.01em;
}

.stats-item__label {
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-top: .75rem;
}

/* ==========================================================================
   Projects Section (Referenzen)
   ========================================================================== */

.projects {
    padding: 7rem 0;
    background: var(--nf-color-bg);
}

.projects-head {
    max-width: 640px;
    margin-bottom: 4rem;
}

.projects-pretitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: .9rem;
}

.projects-title {
    font-family: var(--nf-font-heading);
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--nf-color-text);
    margin-bottom: 1rem;
}

.projects-desc {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--nf-color-text-light);
}

/* Swiper container dla projektów */
.projects-swiper {
    width: 100%;
    padding-bottom: 3rem !important;
    /* miejsce na paginację */
}

.projects-swiper .swiper-slide {
    height: auto;
    /* wyrównaj karty do najwyższej */
}

/* Paginacja — złote kropki */
.projects-pagination .swiper-pagination-bullet {
    width: 24px;
    height: 2px;
    border-radius: 0;
    background: rgba(201, 169, 110, .35);
    opacity: 1;
    transition: background var(--nf-transition), width var(--nf-transition);
}

.projects-pagination .swiper-pagination-bullet-active {
    background: #c9a96e;
    width: 40px;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.project-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s ease;
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .75) 100%);
    opacity: 0;
    transition: opacity .5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.06);
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__info {
    padding: 1rem 0 .5rem;
}

.project-card__title {
    font-family: var(--nf-font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--nf-color-text);
    margin-bottom: .3rem;
}

.project-card__meta {
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--nf-color-text-muted);
}

/* ==========================================================================
   Process Section (Unser Prozess)
   ========================================================================== */

.process {
    padding: 7rem 0;
    background: var(--nf-color-bg-alt);
}

.process-head {
    max-width: 640px;
    margin-bottom: 4.5rem;
}

.process-pretitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: .9rem;
}

.process-title {
    font-family: var(--nf-font-heading);
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--nf-color-text);
    margin-bottom: 1rem;
}

.process-desc {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--nf-color-text-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
}

.process-step__image {
    overflow: hidden;
    margin-bottom: 1.75rem;
    aspect-ratio: 3 / 4;
}

.process-step__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.process-step:hover .process-step__image img {
    transform: scale(1.04);
}

.process-step__body {
    flex: 1;
    padding-top: 1.25rem;
    border-top: 1px solid var(--nf-color-border);
}

.process-step__number {
    font-family: var(--nf-font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: #c9a96e;
    opacity: .45;
    line-height: 1;
    margin-bottom: .75rem;
}

.process-step__title {
    font-family: var(--nf-font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--nf-color-text);
    margin-bottom: .75rem;
}

.process-step__desc {
    font-size: .9rem;
    line-height: 1.8;
    color: var(--nf-color-text-light);
}

/* ==========================================================================
   Testimonials Section (Kundenstimmen)
   ========================================================================== */

.testimonials {
    padding: 7rem 0;
    background: var(--nf-color-bg);
}

.testimonials-head {
    max-width: 620px;
    margin-bottom: 3.5rem;
}

.testimonials-pretitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: .9rem;
}

.testimonials-title {
    font-family: var(--nf-font-heading);
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--nf-color-text);
}

.testimonials-reviews {
    /* Kontener na widget Google Reviews */
}

/* ==========================================================================
   Page Hero — zdjęcie + treść wyśrodkowana nad obrazem
   (zastępuje stare .page-bg + .page-title)
   ========================================================================== */
body.page-id-90 .page-hero,
body.page-id-90 .page-wrapper {
    display: none
}

body.page-id-90 .contact-section {
    padding-top: 14rem;
}

.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1c1c1c;
}

/* Maska — gradient jak na homepage, mocniejszy */
.page-hero__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, .78) 0%,
            rgba(0, 0, 0, .70) 55%,
            rgba(0, 0, 0, .80) 100%);
    pointer-events: none;
}

/* Wariant bez obrazka */
.page-hero--no-img {
    background-color: #1c1c1c;
}

.page-hero--no-img .page-hero__mask {
    background: rgba(0, 0, 0, .2);
}

/* Container nad maską */
.page-hero .container-mid {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Kolumna wyśrodkowana */
body.error404 .page-hero--404 {
    min-height: 640px;
}

.page-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .85rem;
    padding: 5rem 0 4.5rem;
}

/* H1 — biały */
.page-hero__title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}

/* Podtytuł — złoty */
.page-hero__sub {
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #c9a96e;
    margin: 0;
    line-height: 1.6;
}

/* Breadcrumb w hero na ciemnym tle */
.page-hero .breadcrumb {
    margin-top: .35rem;
}

.page-hero .breadcrumb__list {
    justify-content: center;
}

.page-hero .breadcrumb__item {
    color: rgba(255, 255, 255, .5);
}

.page-hero .breadcrumb__item a {
    color: rgba(255, 255, 255, .5);
}

.page-hero .breadcrumb__item a:hover {
    color: #c9a96e;
}

.page-hero .breadcrumb__item--current,
.page-hero .breadcrumb__current {
    color: rgba(255, 255, 255, .8);
}

.page-hero .breadcrumb__sep {
    color: rgba(255, 255, 255, .22);
}

/* Yoast / Rank Math w hero */
.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, .5);
}

.page-hero .breadcrumb a:hover {
    color: #c9a96e;
}

.page-hero .breadcrumb_last,
.page-hero .breadcrumb span:last-child {
    color: rgba(255, 255, 255, .8);
}

/* ==========================================================================
   Page Wrapper — kontener treści pod hero
   ========================================================================== */

.page-wrapper {
    padding: 4rem 0 5.5rem;
}

/* Legacy .page-content — zachowanie kompatybilności */
.page-content {
    padding: 2rem 0 5rem;
}

/* ==========================================================================
   Entry Content — typography & Gutenberg blocks
   ========================================================================== */

/* ── Akapity ── */
.entry-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #2e2e2e;
    margin-bottom: 1.6rem;
}

/* ── Nagłówki ── */
.entry-content h2,
.entry-content .wp-block-heading:is(h2) {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.2;
    color: #111;
    /* brak bottom margin — daje go divider ::after poprzez padding */
    margin: 3.5rem 0 0;
    padding-bottom: 0;
}

/* Złota kreska — osobny blok pod nagłówkiem jak .about-divider na homepage */
.entry-content h2::after,
.entry-content .wp-block-heading:is(h2)::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: #c9a96e;
    /* góra = odstęp tekst → kreska; dół = odstęp kreska → treść */
    margin: 1.25rem 0 1.75rem;
}

.entry-content h3,
.entry-content .wp-block-heading:is(h3) {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.3;
    color: #111;
    margin: 2.5rem 0 .9rem;
}

.entry-content h4,
.entry-content .wp-block-heading:is(h4) {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #333;
    margin: 2rem 0 .75rem;
}

/* Pierwszy nagłówek bez górnego marginesu */
.entry-content>*:first-child {
    margin-top: 0;
}

/* ── Listy ── */
.entry-content ul,
.entry-content .wp-block-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.entry-content ul li,
.entry-content .wp-block-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #2e2e2e;
}

/* Złoty punkt zamiast bullet */
.entry-content ul li::before,
.entry-content .wp-block-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9a96e;
    flex-shrink: 0;
}

.entry-content ol {
    padding-left: 1.5rem;
    margin: 0 0 1.75rem;
}

.entry-content ol li {
    font-size: 1rem;
    line-height: 1.75;
    color: #2e2e2e;
    margin-bottom: .5rem;
    padding-left: .35rem;
}

.entry-content ol li::marker {
    color: #c9a96e;
    font-weight: 600;
}

/* ── Media Text (image + tekst obok) ── */
.entry-content .wp-block-media-text {
    margin: 3rem 0;
    gap: 3rem;
    align-items: center;
}

.entry-content .wp-block-media-text img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.entry-content .wp-block-media-text__content {
    padding: 0;
}

/* ── Columns (bloki kolumn) ── */
.entry-content .wp-block-columns {
    margin: 3.5rem 0;
    gap: 2.5rem;
}

.entry-content .wp-block-column {
    padding: 2rem 1.75rem;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fafafa;
    transition:
        border-color .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.entry-content .wp-block-column:hover {
    border-color: #c9a96e;
    box-shadow:
        0 0 0 1px #c9a96e,
        0 8px 32px rgba(201, 169, 110, .12);
    background: #fff;
}

/* Nagłówki wewnątrz kolumn — bez dekoracyjnej kreski H2 */
.entry-content .wp-block-column h2::after,
.entry-content .wp-block-column .wp-block-heading:is(h2)::after {
    display: none;
}

.entry-content .wp-block-column h2,
.entry-content .wp-block-column h3 {
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.entry-content .wp-block-column p {
    font-size: .93rem;
    color: #555;
    margin-bottom: 0;
}

/* ── Gallery (siatka zdjęć) ── */
.entry-content .wp-block-gallery {
    margin: 3rem 0;
}

.entry-content .wp-block-gallery .wp-block-image img,
.entry-content .wp-block-gallery figure img {
    border-radius: 4px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, filter .5s ease;
}

/* Wrapper zdjęcia — overflow hidden dla border-radius */
.entry-content .wp-block-gallery .wp-block-image,
.entry-content .wp-block-gallery figure {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

/* Hover: lekkie przyciemnienie + zoom */
.entry-content .wp-block-gallery .wp-block-image:hover img,
.entry-content .wp-block-gallery figure:hover img {
    transform: scale(1.04);
    filter: brightness(.82);
}

/* ── Separator ── */
.entry-content hr,
.entry-content .wp-block-separator {
    border: none;
    height: 1px;
    background: rgba(0, 0, 0, .08);
    margin: 3rem 0;
}

/* ── Cytaty ── */
.entry-content blockquote,
.entry-content .wp-block-quote {
    border-left: 3px solid #c9a96e;
    padding: .75rem 0 .75rem 1.75rem;
    margin: 2.5rem 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    line-height: 1.75;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
    display: block;
    margin-top: .75rem;
    font-size: .8rem;
    font-style: normal;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #999;
}

/* ── Obrazy standalone ── */
.entry-content .wp-block-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.entry-content .wp-block-image figcaption {
    font-size: .78rem;
    color: #999;
    letter-spacing: .06em;
    text-align: center;
    margin-top: .5rem;
}

#contact_html {
    filter: grayscale(100%);
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */

.wpcf7 form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.wpcf7 form .form-row--full {
    grid-template-columns: 1fr;
}

.wpcf7 label {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #8a8a8a;
    font-weight: 500;
    display: block;
}

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

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    border-radius: 0;
    padding: .65rem 0;
    font-size: .95rem;
    font-family: var(--nf-font-body);
    background: transparent;
    color: #fff;
    transition: border-color var(--nf-transition);
}

.wpcf7 select.wpcf7-select {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    border-radius: 0;
    padding: .65rem 1.5rem .65rem 0;
    font-size: .95rem;
    font-family: var(--nf-font-body);
    background: transparent;
    color: #fff;
    transition: border-color var(--nf-transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    cursor: pointer;
}

.wpcf7 select.wpcf7-select:focus {
    outline: none;
    border-bottom-color: #c9a96e;
}

.wpcf7 select.wpcf7-select option {
    background: #1e1e1e;
    color: #fff;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, .35);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-bottom-color: #c9a96e;
}

.wpcf7 textarea {
    min-height: 80px;
    max-height: 100px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 3.25rem;
    margin-top: 1.5rem;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .04em;
    background: #c9a96e;
    color: #1a1a1a;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background var(--nf-transition), box-shadow var(--nf-transition);
}

.wpcf7 input[type="submit"]:hover {
    background: #b8945a;
    box-shadow: 0 8px 32px rgba(201, 169, 110, .35);
}

.wpcf7-not-valid-tip {
    font-size: .7rem;
    color: #b00000;
    margin-top: .35rem;
}

.wpcf7-response-output {
    border: none;
    padding: 1rem 0 0;
    font-size: .85rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footer-wrapper {
    padding: 6rem 0;
    background: var(--nf-color-footer-bg);
    color: #6b6b6b;
    font-size: .7rem;
}

.site-footer {
    color: var(--nf-color-footer-text);
    font-size: .9rem;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
}

.site-footer a:hover {
    color: #bdbdbd;
}

/* Footer Widgets */
.footer-widget {
    padding: 4.5rem 0 3.5rem;
}

.footer-widget-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.col-first {
    padding-right: 3rem;
}

/* Logo w stopce */
.footer-logo {
    margin: 1.5rem 0 2.5rem 0;
}

.footer-logo img {
    max-width: 160px;
    height: auto;
    display: block;
}

/* Ukryj tytuł widgetu w col-first — zastąpiony przez logo */
.col-first .widget-title,
.col-first h2.widget-title,
.col-first h3.widget-title {
    display: none;
}

.footer-widget img {
    max-width: 240px;
    height: auto;
}

.footer-widget h2,
.footer-widget .wp-block-heading {
    font-family: var(--nf-font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: .2px;
}

.footer-widget p {
    margin-bottom: .5rem;
    line-height: 1.7;
    opacity: .85;
    font-size: .9rem;
}

.footer-widget strong {
    color: #9b9b9b;
    font-weight: 500;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-bottom: .55rem;
    line-height: 1.6;
    font-size: .9rem;
    /* fix: li bez <a> dostaje ten sam rozmiar */
    color: var(--nf-color-footer-text);
    /* kolor jak opis pod QHM */
    transition: padding-left var(--nf-transition);
}

.footer-widget ul li:hover {
    padding-left: .35rem;
    /* delikatne przesunięcie w prawo on hover */
}

.footer-widget ul li::before {
    content: "\f054";
    /* chevron-right */
    font-family: "Font Awesome 7 Sharp";
    font-weight: 300;
    /* Light */
    flex-shrink: 0;
    font-size: .65rem;
    color: #c9a96e;
    /* złoty — ten sam co przyciski */
    transition: color var(--nf-transition);
}

/* Wyższa specyficzność (2 klasy) — wygrywa z .widget ul li a */
.footer-widget .widget ul li a,
.footer-widget ul li a {
    font-size: .9rem;
    color: var(--nf-color-footer-text);
    text-decoration: none;
    transition: color var(--nf-transition);
}

.footer-widget .widget ul li a:hover,
.footer-widget ul li a:hover,
.footer-widget ul li:hover a {
    color: #fff;
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.25rem 0;
    font-size: .75rem;
    color: #9b9b9b;
}

.footer-bottom a {
    color: #fff;
}

.footer-bottom a:hover {
    opacity: .8;
}

.footer-bottom .fb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Scroll to Top */
.scroll-top a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background .25s ease, transform .25s ease;
}

.scroll-top a:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-2px);
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--nf-color-border);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    padding: .75rem 0;
}

#commentform textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    padding: .65rem;
    font-size: .95rem;
    font-family: var(--nf-font-body);
    background: transparent;
    color: #111;
    min-height: 120px;
    resize: vertical;
}

#commentform textarea:focus {
    outline: none;
    border-color: #000;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    padding: .5rem .65rem;
    font-size: .95rem;
    font-family: var(--nf-font-body);
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus {
    outline: none;
    border-color: #000;
}

#commentsubmit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 2rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background var(--nf-transition);
    margin-top: 1rem;
}

#commentsubmit:hover {
    background: #3a3a3a;
}

/* ==========================================================================
   WordPress Widgets (sidebar)
   ========================================================================== */

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-family: var(--nf-font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: .35rem 0;
}

.widget ul li a {
    text-decoration: none;
    color: var(--nf-color-text);
    transition: color var(--nf-transition);
}

.widget ul li a:hover {
    color: var(--nf-color-text-muted);
}

.widget_search input[type="search"] {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    padding: .5rem .75rem;
    font-size: .95rem;
    font-family: var(--nf-font-body);
}

.widget_search input[type="submit"] {
    margin-top: .5rem;
    padding: .5rem 1.5rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: .8rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 7rem 0;
    background: var(--nf-color-secondary);
    color: #fff;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Left column */
.contact-info .section-pretitle {
    display: block;
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 1.25rem;
}

.contact-title {
    font-family: var(--nf-font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-desc {
    font-size: .95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 2.5rem;
    max-width: 440px;
}

/* Contact detail items */
.contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(201, 169, 110, .35);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a96e;
    font-size: .9rem;
}

.contact-detail-body {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.contact-detail-label {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
}

.contact-detail-body a,
.contact-detail-body address {
    font-style: normal;
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    transition: color var(--nf-transition);
    line-height: 1.5;
}

.contact-detail-body a:hover {
    color: #c9a96e;
}

.contact-hours {
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.7;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Right column — form box */
.contact-form-box {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
    padding: 3rem;
}

.contact-form-heading {
    font-family: var(--nf-font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2rem;
}

.contact-form-placeholder {
    font-size: .85rem;
    color: rgba(255, 255, 255, .35);
    line-height: 1.8;
}

/* ==========================================================================
   Footer Social Icons
   ========================================================================== */

/* Social w kolumnie footer-widget (pionowo) */
.footer-social-col .footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    margin-top: .5rem;
}

.footer-social-col .footer-social a {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: #9b9b9b;
    font-size: .9rem;
    text-decoration: none;
    transition: color var(--nf-transition);
}

.footer-social-col .footer-social a .social-label {
    font-size: .9rem;
    opacity: .9;
}

.footer-social-col .footer-social a:hover {
    color: #fff;
    background: none;
}

/* Brand colors dla ikon social */
.footer-social-col .fa-instagram {
    color: #E1306C;
}

.footer-social-col .fa-facebook-f {
    color: #1877F2;
}

.footer-social-col .fa-linkedin-in {
    color: #0A66C2;
}

.footer-social-col .fa-youtube {
    color: #FF0000;
}

.footer-social-col .fa-tiktok {
    color: #69C9D0;
}

.footer-social-col .fa-x-twitter {
    color: #e7e7e7;
}

/* Social w pasku dolnym (poziomo) — zostaje dla kompatybilności, ale ukryty */
.footer-bottom .footer-social {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .65);
    font-size: .85rem;
    text-decoration: none;
    transition: background var(--nf-transition), color var(--nf-transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}



/* ==========================================================================
   Breadcrumb — nf_breadcrumb()
   ========================================================================== */

.breadcrumb {
    margin-top: .5rem;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--nf-color-text-muted);
}

.breadcrumb__item a {
    color: var(--nf-color-text-muted);
    text-decoration: none;
    transition: color var(--nf-transition);
}

.breadcrumb__item a:hover {
    color: #c9a96e;
}

.breadcrumb__item--current,
.breadcrumb__current {
    color: var(--nf-color-text-light);
}

.breadcrumb__sep {
    opacity: .4;
    font-size: .6rem;
}

/* Yoast / RankMath breadcrumb overrides */
.breadcrumb .breadcrumb_last {
    color: var(--nf-color-text-light);
}

/* ==========================================================================
   Post Card — template-parts/content-archive.php
   ========================================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

.post-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--nf-color-border);
    background: var(--nf-color-bg);
    transition: box-shadow var(--nf-transition);
    overflow: hidden;
}

.post-card:hover {
    box-shadow: 0 6px 32px rgba(0, 0, 0, .08);
}

/* Miniatura */
.post-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--nf-color-bg-alt);
}

.post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}

.post-card:hover .post-card__thumb img {
    transform: scale(1.04);
}

.post-card__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card__thumb--placeholder span {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--nf-color-border);
    border-radius: 50%;
    opacity: .35;
}

/* Treść karty */
.post-card__body {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.5rem;
    flex: 1;
}

/* Meta (kategoria + data) */
.post-card__meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.post-card__cat {
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    color: #c9a96e;
    text-decoration: none;
    transition: opacity var(--nf-transition);
}

.post-card__cat:hover {
    opacity: .75;
}

.post-card__date {
    font-size: .75rem;
    color: var(--nf-color-text-muted);
    letter-spacing: .04em;
}

/* Tytuł karty */
.post-card__title {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    letter-spacing: .01em;
}

.post-card__title a {
    color: var(--nf-color-text);
    text-decoration: none;
    transition: color var(--nf-transition);
}

.post-card__title a:hover {
    color: #c9a96e;
}

/* Fragment tekstu */
.post-card__excerpt {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--nf-color-text-light);
    margin: 0;
    flex: 1;
}

/* Link "Czytaj dalej" */
.post-card__link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nf-color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--nf-transition), gap var(--nf-transition);
    margin-top: auto;
}

.post-card__link:hover {
    color: #c9a96e;
    gap: .7rem;
}

/* ==========================================================================
   Archive — licznik + paginacja
   ========================================================================== */

.archive-count {
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nf-color-text-muted);
    margin: 0 0 .5rem;
    border-bottom: 1px solid var(--nf-color-border);
    padding-bottom: 1rem;
}

.archive-pagination {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
    gap: .35rem;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 .75rem;
    font-size: .8rem;
    letter-spacing: .04em;
    color: var(--nf-color-text);
    border: 1px solid var(--nf-color-border);
    text-decoration: none;
    transition: all var(--nf-transition);
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

/* ==========================================================================
   Single Post — meta, tagi, nawigacja
   ========================================================================== */

/* Meta bar */
.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--nf-color-border);
    margin-bottom: 2.5rem;
}

.post-meta__item {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--nf-color-text-muted);
}

.post-meta__cats a {
    color: #c9a96e;
    text-decoration: none;
    font-weight: 600;
    transition: opacity var(--nf-transition);
}

.post-meta__cats a:hover {
    opacity: .75;
}

.post-meta__cats a+a::before {
    content: ', ';
    color: var(--nf-color-text-muted);
}

.post-meta__date time {
    color: var(--nf-color-text-muted);
}

/* Tagi */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--nf-color-border);
}

.post-tags__item {
    display: inline-block;
    padding: .35rem .9rem;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nf-color-text);
    border: 1px solid var(--nf-color-border);
    text-decoration: none;
    transition: all var(--nf-transition);
}

.post-tags__item:hover {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

/* Nawigacja między postami */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--nf-color-border);
}

.post-navigation__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .post-navigation__inner {
        grid-template-columns: 1fr;
    }
}

.post-nav-item {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    text-decoration: none;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--nf-color-border);
    transition: border-color var(--nf-transition), background var(--nf-transition);
}

.post-nav-item:hover {
    border-color: #c9a96e;
    background: rgba(201, 169, 110, .04);
}

.post-nav-item--next {
    text-align: right;
    margin-left: auto;
}

.post-nav-item__label {
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nf-color-text-muted);
}

.post-nav-item--prev .post-nav-item__label::before {
    content: '← ';
}

.post-nav-item--next .post-nav-item__label::after {
    content: ' →';
}

.post-nav-item__title {
    font-size: .95rem;
    font-weight: 500;
    color: var(--nf-color-text);
    line-height: 1.4;
    transition: color var(--nf-transition);
}

.post-nav-item:hover .post-nav-item__title {
    color: #c9a96e;
}

/* Komentarze */
.post-comments {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--nf-color-border);
}

/* ==========================================================================
   Search — nagłówek wyników
   ========================================================================== */

.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--nf-color-border);
    padding-bottom: 1rem;
}

.search-header .archive-count {
    border: none;
    padding: 0;
    margin: 0;
}

.search-header__form .search-form {
    display: flex;
    gap: .5rem;
}

.search-header__form input[type="search"] {
    border: 1px solid var(--nf-color-border);
    border-radius: 0;
    padding: .5rem 1rem;
    font-size: .85rem;
    font-family: var(--nf-font-body);
    outline: none;
    transition: border-color var(--nf-transition);
    min-width: 200px;
}

.search-header__form input[type="search"]:focus {
    border-color: #c9a96e;
}

.search-header__form input[type="submit"] {
    padding: .5rem 1.2rem;
    background: #1c1c1c;
    color: #fff;
    border: none;
    font-size: .8rem;
    font-family: var(--nf-font-body);
    cursor: pointer;
    letter-spacing: .06em;
    transition: background var(--nf-transition);
}

.search-header__form input[type="submit"]:hover {
    background: #c9a96e;
}

/* Brak wyników */
.search-no-results {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
}

.search-no-results__msg {
    font-size: 1.05rem;
    color: var(--nf-color-text-light);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.search-no-results .search-form {
    display: flex;
    gap: .5rem;
    justify-content: center;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

/* 404 ─────────────────────────────────────────────────────────── */

.error-code {
    display: block;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(201, 169, 110, .45);
    letter-spacing: .06em;
    margin-bottom: .5rem;
}

/* Przycisk powrotu wewnątrz hero 404 */
.error-cta {
    margin-top: 2.5rem;
}

.btn-solid--light {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
    background: transparent;
}

.btn-solid--light:hover {
    background: #c9a96e;
    border-color: #c9a96e;
    color: #fff;
}

/* ==========================================================================
   Page Links (stronicowanie treści WP)
   ========================================================================== */

.page-links {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    font-size: .85rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nf-color-border);
}

.page-links span,
.page-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 .6rem;
    border: 1px solid var(--nf-color-border);
    text-decoration: none;
    color: var(--nf-color-text);
    transition: all var(--nf-transition);
}

.page-links a:hover {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

/* ==========================================================================
   Process — standalone (page-prozess template)
   ========================================================================== */

/* Na podstronie sekcja nie ma sąsiednich sekcji — lekko większy padding dołem */
.process--standalone {
    padding-bottom: 9rem;
}

/* ==========================================================================
   Leistungen — standalone (page-leistungen template)
   ========================================================================== */

.services--standalone {
    padding-bottom: 9rem;
}

/* CTA po 4 usługach (tylko homepage) */
.services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 6rem;
    padding: 4rem 5rem;
    background: var(--nf-color-secondary);
    border-left: 3px solid #c9a96e;
}

.services-cta__heading {
    font-family: var(--nf-font-heading);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.services-cta__heading span {
    color: #c9a96e;
}

.services-cta__link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: 1rem 2.2rem;
    border: 1px solid #c9a96e;
    color: #c9a96e;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--nf-transition), color var(--nf-transition);
}

.services-cta__link:hover {
    background: #c9a96e;
    color: #fff;
}

@media (max-width: 768px) {
    .services-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem 2rem;
    }
}

/* ==========================================================================
   Projekte — standalone grid (page-projekte template)
   ========================================================================== */

.projects--standalone {
    padding-bottom: 9rem;
}

/* Siatka 3 kolumny — zamiast swipera */
.projects-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0;
}

/* Karty w siatce: proporcja bardziej pozioma niż w swiperze */
.projects-grid-full .project-card__image {
    aspect-ratio: 4 / 3;
}

/* Miejsce na info pod zdjęciem */
.projects-grid-full .project-card__info {
    padding: .9rem 0 .25rem;
}

/* Pusty stan */
.projects-empty {
    text-align: center;
    padding: 4rem 0;
    font-size: 1rem;
    color: var(--nf-color-text-muted);
    letter-spacing: .06em;
}

@media (max-width: 991px) {
    .projects-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .projects-grid-full {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ==========================================================================
   Single Realizacje — projekt detail
   ========================================================================== */

/* ── Pasek meta projektu ── */
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid var(--nf-color-border);
    border-bottom: 1px solid var(--nf-color-border);
    margin-bottom: 3rem;
}

.project-meta__item {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.25rem 2.5rem 1.25rem 0;
    margin-right: 2.5rem;
    border-right: 1px solid var(--nf-color-border);
}

.project-meta__item:last-child {
    border-right: none;
}

.project-meta__label {
    font-size: .65rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--nf-color-text-muted);
    font-weight: 500;
}

.project-meta__value {
    font-size: .95rem;
    color: var(--nf-color-text);
    font-weight: 400;
}

.project-meta__value a {
    color: var(--nf-color-text);
    text-decoration: none;
    transition: color var(--nf-transition);
}

.project-meta__value a:hover {
    color: #c9a96e;
}

/* Treść edytora w projekcie — mniejszy top gap gdy zaraz po meta */
.project-detail__content {
    margin-bottom: 3.5rem;
}

/* ── Galeria projektu ── */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0 0 3rem;
}

/* Pierwsze zdjęcie na pełną szerokość */
.project-gallery__item:first-child {
    grid-column: 1 / -1;
}

.project-gallery__item {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--nf-color-bg-alt);
    cursor: zoom-in;
}

/* Pierwsze zdjęcie — szersze proporcje */
.project-gallery__item:first-child {
    aspect-ratio: 16 / 7;
}

.project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease, filter .6s ease;
}

/* Overlay z ikoną zoom */
.project-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
}

.project-gallery__item:hover img {
    transform: scale(1.04);
    filter: brightness(.85);
}

.project-gallery__item:hover .project-gallery__overlay {
    opacity: 1;
}

/* ── Nawigacja projektów (prev/next z miniaturą w tle) ── */
.project-nav-item {
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

/* Miniatura jako pseudo-tło via CSS custom property */
.project-nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--nav-thumb);
    background-size: cover;
    background-position: center;
    opacity: .12;
    transition: opacity var(--nf-transition);
    z-index: 0;
}

.project-nav-item:hover::before {
    opacity: .22;
}

.project-nav-item .post-nav-item__label,
.project-nav-item .post-nav-item__title {
    position: relative;
    z-index: 1;
}

/* ── Link powrotu ── */
.project-back {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--nf-color-border);
}

.project-back__link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--nf-color-text-muted);
    text-decoration: none;
    transition: color var(--nf-transition), gap var(--nf-transition);
}

.project-back__link:hover {
    color: #c9a96e;
    gap: .75rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-gallery__item:first-child {
        aspect-ratio: 4 / 3;
    }

    .project-meta {
        flex-direction: column;
        gap: 0;
    }

    .project-meta__item {
        padding: 1rem 0;
        margin-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--nf-color-border);
    }

    .project-meta__item:last-child {
        border-bottom: none;
    }
}