/**
 * kowalczykm.pl - Nowoczesny Styl "Boutique Property Executive"
 * Architektura, zaufanie, elegancja i wysoka czytelność
 */

:root {
    --bg-main: #f9f8f5;
    --bg-card: #ffffff;
    --bg-dark: #12161a;
    --bg-dark-secondary: #1a2026;
    --text-primary: #1a202c;
    --text-muted: #5a6578;
    --text-light: #f7fafc;
    --text-light-muted: #a0aec0;
    
    --accent-gold: #c5a059;
    --accent-gold-hover: #b08d46;
    --accent-green: #1b3b32;
    --accent-green-light: #255246;
    --border-light: #e5e3dc;
    --border-dark: #2d3748;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.07);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .font-serif {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
}

.text-gold { color: var(--accent-gold); }
.text-green { color: var(--accent-green); }

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(27, 59, 50, 0.25);
}

.btn-primary:hover {
    background-color: var(--accent-green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 59, 50, 0.35);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    background-color: #ffffff;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* HEADER & NAVBAR (EXECUTIVE BOUTIQUE DOCK) */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(249, 248, 245, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(229, 227, 220, 0.85);
    z-index: 1000;
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0.65rem 0;
}

.navbar.nav-scrolled {
    padding: 0.35rem 0;
    background-color: rgba(249, 248, 245, 0.98);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.navbar-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c5a059 25%, #e2c275 50%, #c5a059 75%, transparent);
}

.navbar .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Brand Identity & Monogram Seal */
.brand-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-monogram {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b3b32 0%, #0e201b 100%);
    border: 1.5px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(27, 59, 50, 0.25);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-link:hover .brand-monogram {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.brand-monogram span {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: -0.02em;
}

.brand-meta {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-dot-gold {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.35);
}

/* Desktop Navigation Dock */
.nav-dock {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.25s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--accent-green);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.25s ease;
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

/* Nav Actions (Emergency Pill, Admin Pill, Hamburger) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.phone-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: var(--transition);
}

.phone-pill:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.2);
}

.phone-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(27, 59, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
}

.phone-pill-text {
    display: flex;
    flex-direction: column;
}

.phone-sub {
    font-size: 0.68rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.phone-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1.2;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background-color: #f1f5f9;
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.admin-pill:hover {
    background-color: #e2e8f0;
    color: var(--text-primary);
    border-color: #cbd5e1;
}

/* Mobile Hamburger Button */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1010;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Luxury Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 22, 26, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 86%;
    max-width: 360px;
    height: 100%;
    background-color: #ffffff;
    z-index: 1100;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 993px) {
    .mobile-drawer,
    .mobile-drawer-overlay {
        display: none !important;
    }
}

.drawer-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.drawer-emergency-banner {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-cta-wrap {
    padding: 1.25rem 1.5rem;
}

.drawer-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 0.95rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(27, 59, 50, 0.25);
}

.drawer-nav {
    padding: 0.5rem 1.5rem;
    flex-grow: 1;
}

.drawer-nav-list {
    list-style: none;
}

.drawer-link {
    display: flex;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(229, 227, 220, 0.6);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.drawer-link .link-idx {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-right: 1rem;
}

.drawer-footer {
    padding: 1.5rem;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-light);
}

.drawer-vcard-btn {
    display: block;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.drawer-meta-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* HERO SECTION */
.hero {
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.hero-title {
    font-size: 2.85rem;
    line-height: 1.18;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats-row {
    display: flex;
    gap: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-light);
}

.stat-item .stat-num {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent-green);
}

.stat-item .stat-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.hero-media {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.hero-image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

.hero-float-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 290px;
}

.float-card-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(197, 160, 89, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.float-card-text .title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.float-card-text .desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* SECTION COMMON */
.section {
    padding: 5.5rem 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.section-dark .section-lead {
    color: var(--text-light-muted);
}

/* MOTTO & PHILOSOPHY */
.motto-banner {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
}

.motto-banner::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 12rem;
    color: rgba(197, 160, 89, 0.08);
    line-height: 1;
    pointer-events: none;
}

.motto-quote {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--accent-green);
    margin-bottom: 1.25rem;
}

.motto-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 820px;
}

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

.pillar-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.25rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.pillar-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.pillar-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pillar-list {
    list-style: none;
    margin-top: 1.25rem;
}

.pillar-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.pillar-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* ==========================================================================
   CZŁOWIEK & PASJE: ŚWIAT MIECZYSŁAWA KOWALCZYKA
   ========================================================================== */
.hero-passion-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.hero-passion-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero-passion-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.passions-intro-box {
    max-width: 860px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.passions-intro-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.passions-quote-lead {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--accent-gold);
    line-height: 1.5;
    position: relative;
    padding: 0 2rem;
}

.passions-triptych-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    margin-bottom: 3.5rem;
}

.passion-triptych-card {
    background: linear-gradient(160deg, #1f2730 0%, #141a20 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.passion-triptych-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 89, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.passion-triptych-media {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.passion-triptych-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.passion-triptych-card:hover .passion-triptych-media img {
    transform: scale(1.08);
}

.passion-media-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(18, 22, 26, 0.85);
    backdrop-filter: blur(6px);
    color: var(--accent-gold);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(197, 160, 89, 0.4);
    z-index: 2;
}

.passion-triptych-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.passion-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

.passion-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.passion-card-subtitle {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.passion-card-text {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.passion-takeaway-box {
    background: rgba(0, 0, 0, 0.25);
    border-left: 3px solid var(--accent-gold);
    padding: 0.85rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.84rem;
    color: #f1f5f9;
    font-style: italic;
    line-height: 1.5;
}

/* Osobisty box wywiadu i dialogu z ludźmi */
.human-experience-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.human-philosophy-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.human-philosophy-content p {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.human-principles-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.75rem 0 2rem;
}

.human-principles-list li {
    font-size: 0.94rem;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.human-principles-list .check-gold {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1rem;
}

/* WYWIAD AUDIO/WIDEO PLAYER */
.interview-box {
    background: linear-gradient(145deg, #1f2730, #161c22);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: var(--shadow-lg);
}

.interview-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.interview-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.interview-box blockquote {
    font-style: italic;
    font-size: 1.05rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    border-left: 3px solid var(--accent-gold);
    padding-left: 1.25rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.1rem 1.35rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.play-btn {
    width: 46px;
    height: 46px;
    background-color: var(--accent-gold);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
}

.play-btn:hover {
    background-color: var(--accent-gold-hover);
    transform: scale(1.08);
}

.player-info {
    flex-grow: 1;
}

.player-info .song-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
}

.player-info .station-name {
    font-size: 0.76rem;
    color: var(--text-light-muted);
}

/* WROCŁAWSKIE KAMIENICE (PORTFOLIO) */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.property-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.property-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.property-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.property-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.property-stats {
    background-color: var(--bg-main);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-green);
    border-left: 3px solid var(--accent-green);
}

/* INTERAKTYWNY AUDYT DLA WSPÓLNOT (WIDGET) */
.audit-widget {
    background: linear-gradient(135deg, #1b3b32 0%, #0e201b 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

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

.audit-step-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.choice-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    font-size: 0.92rem;
    font-family: inherit;
    transition: var(--transition);
}

.choice-btn:hover, .choice-btn.active {
    background: rgba(197, 160, 89, 0.25);
    border-color: var(--accent-gold);
}

.audit-result-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

.audit-result-box h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.audit-result-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* DOKUMENTY & REFERENCJE (LIGHTBOX) */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.doc-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition);
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.doc-thumb {
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.doc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.doc-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.doc-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.doc-action {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-green);
}

/* KONTAKT & FORMULARZ */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
}

.contact-info-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(27, 59, 50, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail .label {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.contact-detail .value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-box {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(27, 59, 50, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ANTISPAM HONEYPOT */
.hp-field {
    display: none !important;
    visibility: hidden !important;
}

/* FOOTER */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-dark);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    font-size: 0.82rem;
    color: var(--text-light-muted);
}

/* LIGHTBOX MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
}

.modal-content {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-image {
    max-height: 60vh;
    margin: 0 auto 1.5rem;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #ffffff;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--accent-green);
    display: none;
    z-index: 1100;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   NOWOCZESNA GALERIA, SUWAK PRZED/PO & REALIZACJE
   ========================================================================== */
.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.75rem;
}

.filter-pill {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-pill:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.filter-pill.active {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 59, 50, 0.2);
}

.filter-count {
    font-size: 0.75rem;
    opacity: 0.75;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.25rem;
}

.portfolio-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 160, 89, 0.45);
}

.card-media {
    position: relative;
    height: 250px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.card-single-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .card-single-img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(18, 22, 26, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-left: 2px solid var(--accent-gold);
    z-index: 5;
}

/* WIDGET SUWAKA PRZED / PO (BEFORE-AFTER SLIDER) */
.before-after-widget {
    position: relative;
    width: 100%;
    height: 100%;
    user-select: none;
    cursor: ew-resize;
    overflow: hidden;
}

.before-after-widget .img-after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-widget .img-before-wrap {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    z-index: 2;
    will-change: width;
}

.before-after-widget .img-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    min-width: 100%;
    object-fit: cover;
}

.slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.divider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: var(--accent-gold);
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.badge-stage {
    position: absolute;
    bottom: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 3px;
    z-index: 4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-before { left: 0.75rem; }
.badge-after { right: 0.75rem; border: 1px solid var(--accent-gold); }

.portfolio-card .card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.portfolio-card .card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.success-metric-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.metric-pill {
    background-color: rgba(27, 59, 50, 0.06);
    border: 1px solid rgba(27, 59, 50, 0.12);
    color: var(--accent-green);
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-spec-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-spec-detail:hover {
    background-color: #ffffff;
    border-color: var(--accent-gold);
    color: var(--accent-green);
}

/* ==========================================================================
   NOWOCZESNY KALKULATOR POTENCJAŁU OSZCZĘDNOŚCI
   ========================================================================== */
.calc-card-outer {
    background: linear-gradient(145deg, #1b3b32 0%, #10241e 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.calc-headline {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.85rem;
}

.calc-sub {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.calc-control-group {
    margin-bottom: 1.75rem;
}

.calc-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.calc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
}

.calc-display-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.calc-slider {
    width: 100%;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    accent-color: var(--accent-gold);
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    cursor: pointer;
}

.property-type-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-type-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-type-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
}

.btn-type-pill.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #1b3b32;
    font-weight: 700;
}

/* Karta wyników kalkulatora */
.calc-results-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
}

.calc-res-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    display: block;
}

.total-savings-box {
    margin-bottom: 1.75rem;
}

.savings-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.savings-label {
    font-size: 0.88rem;
    color: #94a3b8;
}

.savings-breakdown {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.breakdown-row strong {
    color: #ffffff;
}

.individual-impact-pill {
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.35);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: #f1f5f9;
    margin-bottom: 1.75rem;
    text-align: center;
}

.individual-impact-pill strong {
    color: var(--accent-gold);
}

/* ==========================================================================
   MODUŁ SZYBKIEGO ZGŁOSZENIA AWARII (EMERGENCY LEAD)
   ========================================================================== */
.fault-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
}

.emergency-alert-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #d97706;
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.emergency-alert-card h4 {
    color: #92400e;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emergency-alert-card p {
    color: #78350f;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.btn-emergency-call {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #dc2626;
    color: #ffffff;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: var(--transition);
}

.btn-emergency-call:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.sla-standards-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.sla-standards-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.sla-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sla-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.sla-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.priority-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.priority-radio-label {
    cursor: pointer;
}

.priority-radio-label input {
    display: none;
}

.priority-radio-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: #ffffff;
    transition: var(--transition);
    display: block;
}

.priority-radio-label input:checked + .priority-radio-card {
    border-color: var(--accent-green);
    background: rgba(27, 59, 50, 0.06);
    color: var(--accent-green);
    font-weight: 700;
}

/* ==========================================================================
   PFRN TRUST & CREDENTIALS CERTIFICATE CARD
   ========================================================================== */
.credentials-outer {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    padding: 3rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
}

.certificate-diploma-view {
    background: #fbfaf6;
    border: 2px solid #c5a059;
    border-radius: var(--radius-md);
    padding: 2.25rem;
    position: relative;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificate-diploma-view:hover {
    transform: translateY(-4px);
}

.cert-gold-seal {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c5a059 0%, #997838 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(153, 120, 56, 0.4);
    margin: 0 auto 1.25rem;
    border: 2px dashed #ffffff;
}

.cert-diploma-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.cert-diploma-org {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: block;
}

.cert-diploma-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cert-diploma-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px dashed var(--border-light);
    padding-top: 1rem;
}

.guarantee-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guarantee-item {
    display: flex;
    gap: 1rem;
}

.guarantee-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.guarantee-item h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.guarantee-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET ADJUSTMENTS)
   ========================================================================== */
@media (max-width: 992px) {
    .nav-dock { display: none; }
    .hamburger-btn { display: flex; }
    
    .hero-grid, .about-grid, .audit-grid, .contact-grid, .footer-grid, 
    .calc-grid, .fault-grid, .credentials-grid, .passions-triptych-grid, .human-experience-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-title { font-size: 2.3rem; }
    .hero-image-wrapper img { height: 380px; }
    .pillars-grid { grid-template-columns: 1fr; }
    
    .calc-card-outer { padding: 2.25rem 1.5rem; }
    .credentials-outer { padding: 2rem 1.5rem; }
}

@media (max-width: 576px) {
    .brand-meta .brand-badge { display: none; }
    .hero-title { font-size: 1.95rem; }
    .hero-stats-row { flex-direction: column; gap: 1rem; }
    .motto-banner { padding: 2rem 1.5rem; }
    .motto-quote { font-size: 1.4rem; }
    .audit-widget { padding: 2rem 1.5rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .priority-selector-grid { grid-template-columns: 1fr; }
    .phone-pill-text { display: none; }
    .phone-pill { padding: 0.5rem; }
    .admin-pill { display: none; }
}

/* ==========================================================================
   DOSTĘPNOŚĆ (A11Y) - FOCUS RINGS & SKIP-LINK
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.filter-pill:focus-visible,
.btn:focus-visible,
.hamburger-btn:focus-visible,
.drawer-close:focus-visible,
.play-btn:focus-visible,
.btn-spec-detail:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -120px;
    left: 1.5rem;
    background: var(--accent-green);
    color: #ffffff;
    padding: 0.65rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 99999;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.25s ease;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   2026 TRENDS: QUIET LUXURY / BOUTIQUE EXECUTIVE PACK
   ========================================================================== */

/* 1. BROKEN WHITE – Papier / Parchment (zamiast czystego #FFFFFF) */
:root {
    --parchment:        #fbfaf6;
    --linen:            #f6f3ec;
    --charcoal-deep:    #0f1316;
    --gold-foil-1:      #e8c98a;
    --gold-foil-2:      #c5a059;
    --gold-foil-3:      #8b6e36;
    --hairline:         rgba(27, 59, 50, 0.09);
    --shadow-quiet:     0 1px 2px rgba(15, 19, 22, 0.04), 0 8px 24px -12px rgba(27, 59, 50, 0.10);
    --shadow-luxury:    0 2px 3px rgba(15, 19, 22, 0.05), 0 20px 40px -20px rgba(27, 59, 50, 0.18);
}

body {
    background-color: var(--parchment);
    color: var(--charcoal-deep);
    position: relative;
}

/* Linen / Parchment subtle texture for body background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.09  0 0 0 0 0.08  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container { position: relative; z-index: 2; }
.navbar    { position: relative; z-index: 20; }
.footer    { position: relative; z-index: 3; }
.section   { position: relative; z-index: 2; }

/* 2. FILM GRAIN OVERLAY dla ciemnych sekcji */
.hero-bg-img-wrap::after,
.emergency-alert-card::after,
.footer::after,
.modal-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.18;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}

.hero-bg-img-wrap { position: relative; overflow: hidden; }
.emergency-alert-card { position: relative; overflow: hidden; }
.footer { position: relative; overflow: hidden; }
.modal-overlay { position: fixed; overflow: hidden; }

/* 3. GOLD FOIL GRADIENT – tekst z efektem tłoczonego złota */
.gold-foil-text {
    background: linear-gradient(
        135deg,
        var(--gold-foil-1) 0%,
        var(--gold-foil-2) 40%,
        #fff4d0 48%,
        var(--gold-foil-3) 56%,
        var(--gold-foil-2) 80%,
        var(--gold-foil-1) 100%
    );
    background-size: 200% 200%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: background-position 1.6s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.gold-foil-text:hover,
a:hover .gold-foil-text,
h1:hover .gold-foil-text,
h2:hover .gold-foil-text {
    background-position: 100% 50%;
}

/* Elegant hairline underline for nav & titles */
.hairline-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--hairline) 20%,
        rgba(197, 160, 89, 0.45) 50%,
        var(--hairline) 80%,
        transparent 100%
    );
    margin: 1.5rem 0;
    width: 100%;
}

/* 4. SECTION EYEBROW – uppercase tracking, Quiet Luxury label style */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.72rem;
    color: var(--accent-gold);
    margin-bottom: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}
.section-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--accent-gold);
    vertical-align: middle;
    opacity: 0.7;
}

/* 5. SCROLL-REVEAL – Płynny i lekki fade-in (bez obciążającego filtra blur) */
.reveal-element {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}
.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* 6. ANIMOWANE LICZNIKI STATYSTYCZNE */
.counter-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
@keyframes counter-bump {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}
.counter-animate-done {
    animation: counter-bump 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 7. BRAND MONOGRAM – micro animacja premium */
.brand-monogram {
    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.6s ease;
    position: relative;
}
.brand-link:hover .brand-monogram {
    transform: translateY(-2px) rotate(-4deg);
    box-shadow:
        0 2px 0 0 rgba(197, 160, 89, 0.0),
        0 14px 30px -10px rgba(27, 59, 50, 0.45);
    background: linear-gradient(135deg, var(--accent-green) 0%, #1f4a3f 100%);
}
.brand-monogram::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 1px solid var(--accent-gold);
    opacity: 0;
    transform: scale(0.94);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.brand-link:hover .brand-monogram::after {
    opacity: 0.45;
    transform: scale(1);
}

/* 8. PHONE PILL – pulsacyjny aureola premium */
.phone-pill {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.phone-pill::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.45);
    opacity: 0.7;
    animation: phone-pulse-ring 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes phone-pulse-ring {
    0%, 100% { transform: scale(1);    opacity: 0.45; }
    50%      { transform: scale(1.08); opacity: 0; }
}
.phone-pill:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-luxury);
}

/* Pulse-dot inner enhancement */
.pulse-dot {
    position: relative;
}
.pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-dot-lux 2.2s ease-out infinite;
}
@keyframes pulse-dot-lux {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0;   }
}

/* 9. LUXURY SHADOWS – zaktualizowane karty portfolio i pasji */
.portfolio-card,
.passion-triptych-card,
.form-box,
.audit-widget,
.doc-card {
    box-shadow: var(--shadow-quiet);
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    will-change: transform;
}
.portfolio-card:hover,
.passion-triptych-card:hover,
.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-luxury);
}

/* 10. AMBIENT GLOW CURSOR – podświetlenie kart (desktop > 1024px) */
.ambient-glow-container {
    position: relative;
    isolation: isolate;
}
.portfolio-grid,
.passions-triptych-grid {
    position: relative;
}

/* 11. BUTTONS – hairline micro-3D press effect */
.btn-primary,
.btn-outline,
.btn-spec-detail,
.btn-emergency-call {
    position: relative;
    overflow: hidden;
}
.btn-primary::after,
.btn-emergency-call::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.btn-primary:hover::after,
.btn-emergency-call:hover::after {
    opacity: 1;
}
.btn-primary:active {
    transform: translateY(1px);
}

/* 12. MODA – hairline gold border */
.modal-content {
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(197, 160, 89, 0.25);
}

/* 13. HERO STAT CARDS – quiet luxury border highlight */
.hero-stat {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hairline);
    backdrop-filter: blur(14px) saturate(140%);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(251, 250, 246, 0.55) 100%
    );
}
.hero-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.7;
}

/* 14. HERO HEADLINE – oversize typographic presence */
.hero h1 {
    letter-spacing: -0.015em;
    line-height: 1.08;
}
@media (min-width: 1024px) {
    .hero h1 {
        font-size: clamp(3rem, 5vw, 4.2rem);
    }
    .hero-lead {
        font-size: 1.12rem;
        line-height: 1.75;
    }
}

/* 15. PASSION TRIPTYCH – asymmetric quiet luxury layout */
.passions-triptych-grid {
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .passions-triptych-grid {
        grid-template-columns: 1.2fr 1fr 1.1fr;
    }
    .passions-triptych-grid .passion-triptych-card:nth-child(2) {
        transform: translateY(1.5rem);
    }
}

/* 16. MOTTO – enlarged quotes with hairline ornament */
.motto-quote {
    position: relative;
    font-style: italic;
}
.motto-quote::before {
    content: "\201C";
    position: absolute;
    top: -2.2rem;
    left: -1.4rem;
    font-size: 9rem;
    line-height: 1;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    opacity: 0.18;
    font-style: normal;
    pointer-events: none;
    z-index: -1;
}
@media (min-width: 1024px) {
    .motto-quote::before {
        font-size: 12rem;
        left: -2.2rem;
        top: -3rem;
    }
}


