:root {
    --primary-color: #C48041;
    --primary-hover: #a66a33;
    --primary-dark: #e89100;
    --primary-glow: rgba(196, 128, 65, 0.35);
    --bg-dark: #0e0e0e;
    --bg-card: #181818;
    --bg-card-hover: #202020;
    --text-main: #ffffff;
    --text-muted: #9a9a9a;
    --transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 10px 40px rgba(196, 128, 65, 0.25);

    /* Fluid Typography & Spacing */
    --font-size-base: clamp(1rem, 0.95vw + 0.8rem, 1.125rem);
    --font-size-h1: clamp(2.2rem, 4vw + 1rem, 4.5rem);
    --font-size-h2: clamp(1.8rem, 3vw + 1rem, 3rem);
    --font-size-h3: clamp(1.2rem, 1.5vw + 1rem, 1.6rem);
    --spacing-section: clamp(3rem, 5vw + 2rem, 6rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-base);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.webp');
    background-repeat: repeat;
    background-size: 80px;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* Alternating Section Backgrounds */
.bg-alt {
    background: linear-gradient(160deg, #181818 0%, #111111 100%);
    position: relative;
    z-index: 1;
}

/* Sections that show the pattern */
.section-pattern-reveal {
    background: transparent;
    position: relative;
    z-index: 1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

.highlight {
    color: var(--primary-color);
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary-color);
    color: #000;
    padding: 12px 24px;
    z-index: 2000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: 800;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    top: 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(14, 14, 14, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(196, 128, 65, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.main-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover:not(.btn-primary)::after {
    width: 100%;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-phone:hover {
    color: var(--primary-hover) !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    background: transparent;
    border: none;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Modern spacing between icon and text */
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    line-height: 1;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    height: auto;
    padding: 12px 30px !important;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #000 !important;
    box-shadow: 0 6px 20px rgba(196, 128, 65, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    font-weight: 600;
    padding: 0 30px !important;
}

.btn-large {
    height: 56px;
    padding: 0 45px !important;
    font-size: 1.05rem;
}

/* Navbar button specific scale down */
.nav-links .btn-primary {
    min-height: 48px;
    padding: 10px 20px !important;
    font-size: 0.88rem;
    box-shadow: 0 4px 12px rgba(196, 128, 65, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(196, 128, 65, 0.45);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}



/* Modern Hero Section */
.hero {
    height: 100vh;
    height: 100dvh;
    min-height: 520px;
    /* Prevent overflow on small laptop screens */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Align perfectly with navbar */
    padding-bottom: 80px;
    background-color: var(--bg-dark);
    box-sizing: border-box;
}

.services {
    position: relative;
}

/* Paving-style Transition Divider (Realistic Running Bond / Interlocking Bricks) */
.paving-divider {
    position: absolute;
    top: -18px;
    /* Positioned slightly lower to align line with background image edge */
    left: 0;
    width: 100%;
    height: 56px;
    /* Optimized height for natural brick paving aspect ratios */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='goldGrad' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23C48041' stop-opacity='0.45' /%3E%3Cstop offset='30%25' stop-color='%23e59850' stop-opacity='0.95' /%3E%3Cstop offset='70%25' stop-color='%23f5ba82' stop-opacity='0.95' /%3E%3Cstop offset='100%25' stop-color='%23C48041' stop-opacity='0.45' /%3E%3C/linearGradient%3E%3ClinearGradient id='bgGrad' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%230e0e0e' stop-opacity='0.95' /%3E%3Cstop offset='50%25' stop-color='%230e0e0e' stop-opacity='0.6' /%3E%3Cstop offset='100%25' stop-color='%230e0e0e' stop-opacity='0' /%3E%3C/linearGradient%3E%3ClinearGradient id='jointGrad' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23C48041' stop-opacity='0.3' /%3E%3Cstop offset='100%25' stop-color='%23C48041' stop-opacity='0.02' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M 0,30 V 10 H 13 Q 15,10 15,8 V 2 Q 15,0 17,0 H 43 Q 45,0 45,2 V 8 Q 45,10 47,10 H 73 Q 75,10 75,8 V 2 Q 75,0 77,0 H 103 Q 105,0 105,2 V 8 Q 105,10 107,10 H 120 V 30 Z' fill='url(%23bgGrad)' /%3E%3Cpath d='M 0,10 H 13 Q 15,10 15,8 V 2 Q 15,0 17,0 H 43 Q 45,0 45,2 V 8 Q 45,10 47,10 H 73 Q 75,10 75,8 V 2 Q 75,0 77,0 H 103 Q 105,0 105,2 V 8 Q 105,10 107,10 H 120' fill='none' stroke='url(%23goldGrad)' stroke-width='1.5' vector-effect='non-scaling-stroke' /%3E%3Cpath d='M 0,10 H 120 M 0,20 H 120' fill='none' stroke='url(%23jointGrad)' stroke-width='0.75' vector-effect='non-scaling-stroke' /%3E%3Cpath d='M 0,10 V 20 M 30,10 V 20 M 60,10 V 20 M 90,10 V 20 M 120,10 V 20 M 15,20 V 30 M 45,20 V 30 M 75,20 V 30 M 105,20 V 30' fill='none' stroke='url(%23jointGrad)' stroke-width='0.75' vector-effect='non-scaling-stroke' /%3E%3C/svg%3E");
    background-size: 224px 100%;
    background-repeat: repeat-x;
    z-index: 10;
    filter: drop-shadow(0 -4px 10px rgba(196, 128, 65, 0.4)) drop-shadow(0 6px 15px rgba(0, 0, 0, 0.65));
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.paving-divider.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("./malko_hero_tlo.webp");
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: slowZoom 20s infinite alternate;
    -webkit-mask-image: linear-gradient(to bottom, black var(--hero-fade, 85%), transparent 100%);
    mask-image: linear-gradient(to bottom, black var(--hero-fade, 85%), transparent 100%);
    will-change: transform;
    transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Increased from 800px to allow text to expand horizontally and prevent 4-line wrapping */
    border-left: 3px solid var(--primary-color);
    padding-left: 40px;
}

.hero h1 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    /* Optimized to prevent wrapping while remaining bold and proud */
    line-height: 1.15;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease forwards;
}

.hero-description {
    font-size: clamp(0.9rem, 1vw + 0.2rem, 1rem);
    color: var(--text-muted);
    margin-bottom: 15px;
    max-width: 650px;
    line-height: 1.5;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

@keyframes slowZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

/* Shared Section Styles */
.section-padding {
    padding: var(--spacing-section) 0;
}

section[id] {
    scroll-margin-top: 90px;
}

.about.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title p {
    color: var(--text-muted);
}

.underline {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.underline-left {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 15px 0 30px 0;
    border-radius: 2px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: linear-gradient(160deg, #1d1d1d 0%, #151515 100%);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px 20px 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0%, rgba(196, 128, 65, 0.06) 0%, transparent 75%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(196, 128, 65, 0.15);
    border-color: rgba(196, 128, 65, 0.35);
    background: linear-gradient(160deg, #222222 0%, #171717 100%);
}

.service-icon {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 128, 65, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(196, 128, 65, 0.15);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(196, 128, 65, 0.08);
}

.service-card:hover .service-icon {
    background: rgba(196, 128, 65, 0.2);
    box-shadow: 0 6px 25px rgba(196, 128, 65, 0.3);
    transform: scale(1.1) rotate(-3deg);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--text-main);
}



/* About Section */
.about {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* New About Section Style */
.about-new-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.about-visual-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 120px;
}

.about-logo-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 380px;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.85) 0%, rgba(8, 8, 8, 0.95) 100%);
    border: 1px solid rgba(196, 128, 65, 0.15);
    box-shadow: var(--shadow-lg), 0 0 35px rgba(196, 128, 65, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: floatCard 8s ease-in-out infinite;
}

.about-logo-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 128, 65, 0.35);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(196, 128, 65, 0.15);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.about-logo-glowing-back {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(196, 128, 65, 0.16) 0%, rgba(196, 128, 65, 0) 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.about-logo-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.about-logo-img {
    max-width: 85%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(196, 128, 65, 0.25));
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-logo-card:hover .about-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(196, 128, 65, 0.45));
}

.experience-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #000;
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(196, 128, 65, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.experience-badge .badge-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .badge-text {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-tile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stat-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(196, 128, 65, 0.3);
    background: linear-gradient(135deg, rgba(196, 128, 65, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(196, 128, 65, 0.08);
}

.about-stat-tile i {
    font-size: 1.4rem;
    color: var(--primary-color);
    background: rgba(196, 128, 65, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 128, 65, 0.15);
    flex-shrink: 0;
}

.stat-tile-info {
    display: flex;
    flex-direction: column;
}

.stat-tile-info strong {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 700;
}

.stat-tile-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.about-tagline {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.about-text-side h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.lead-text-new {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 24px;
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
}

.founders-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.pillar-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
    background: linear-gradient(135deg, rgba(196, 128, 65, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-color: rgba(196, 128, 65, 0.25);
    transform: translateX(8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(196, 128, 65, 0.06);
}

.pillar-icon {
    font-size: 1.35rem;
    color: var(--primary-color);
    background: rgba(196, 128, 65, 0.06);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 128, 65, 0.15);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pillar-card:hover .pillar-icon {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 15px rgba(196, 128, 65, 0.3);
}

.pillar-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.pillar-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    transition: var(--transition);
}

.pillar-card:hover .pillar-content p {
    color: rgba(255, 255, 255, 0.85);
}

/* Contact Section */



.availability {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}



@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #080808 100%);
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(196, 128, 65, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-logo-box p {
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 250px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 25px rgba(196, 128, 65, 0.35);
    border-color: transparent;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-text-list li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px !important;
}

.contact-details i {
    color: var(--primary-color);
    margin-top: 4px;
}



.credit a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 8.8vw, 2.2rem) !important;
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-content {
        padding-left: 0;
        padding-right: 0;
        border-left: none;
        text-align: center;
    }

    .hero-badge {
        margin: 20px auto 16px auto;
        background: rgba(14, 14, 14, 0.8);
        border: 1px solid rgba(196, 128, 65, 0.5);
        color: #ffffff;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .hero-badge i {
        color: var(--primary-color);
    }

    .hero-description {
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom .container {
        justify-content: center;
    }

    .main-logo {
        height: 50px;
    }
}

/* Realizations background */
.realizations.bg-alt {
    background: linear-gradient(160deg, #141414 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

/* =============================
   SCROLL REVEAL ANIMATION SYSTEM
   ============================= */
.reveal-el {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-el.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================
   3D CARD PERSPECTIVE
   ============================= */
.services-grid {
    perspective: 1200px;
}

.service-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

/* =============================
   HERO AMBIENT GLOW (static, no cursor tracking)
   ============================= */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 128, 65, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

/* =============================
   ABOUT LOGO GLOW
   ============================= */


/* =============================
   SECTION DIVIDERS (wave effect)
   ============================= */
.section-padding {
    position: relative;
}

/* =============================
   STATUS DOT PULSE
   ============================= */
.status-dot {
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* =============================
   SCROLLBAR STYLE
   ============================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0e0e0e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-hover));
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ==============================
   LIGHTBOX
   ============================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(196, 128, 65, 0.2);
    border: 1px solid rgba(196, 128, 65, 0.4);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(14, 14, 14, 0.7);
    border: 1px solid rgba(196, 128, 65, 0.3);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    z-index: 10000;
}


/* ==============================
   NEWS SECTION REDESIGN
   ============================== */
.news {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.news-cards-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card {
    background: linear-gradient(160deg, #1c1c1c 0%, #161616 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.news-card:hover {
    transform: translateX(6px);
    border-color: rgba(196, 128, 65, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.news-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(196, 128, 65, 0.15), rgba(196, 128, 65, 0.05));
    border: 1px solid rgba(196, 128, 65, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.news-card:hover .news-card-icon {
    background: linear-gradient(135deg, rgba(196, 128, 65, 0.25), rgba(196, 128, 65, 0.1));
    transform: scale(1.08);
}

.news-card-body {
    flex: 1;
}

.news-tag {
    display: inline-block;
    background: rgba(196, 128, 65, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(196, 128, 65, 0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.news-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.news-card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Facebook Card */
.fb-card-wrapper {
    background: linear-gradient(160deg, #1c1c1c 0%, #161616 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

@media (max-width: 960px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   FOOTER REDESIGN
   ============================== */
.footer-inner {
    padding: 70px 0 40px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 16px;
    display: block;
}

.footer-company-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

.footer-company-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-text-list li {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-text-list li i {
    color: var(--primary-color);
    font-size: 0.65rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 14px !important;
}

.contact-details a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-details i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}

/* ==============================
   NAVBAR — PHONE + DIVIDER
   ============================== */
.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 4px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    min-height: 48px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: var(--transition);
    text-decoration: none;
}

.nav-phone::after {
    display: none !important;
}

.nav-phone i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.nav-phone:hover {
    background: rgba(196, 128, 65, 0.08) !important;
    border-color: rgba(196, 128, 65, 0.25) !important;
    color: var(--text-main) !important;
    transform: none !important;
}

/* ==============================
   CAROUSEL (Realizacje)
   ============================== */
.carousel-root {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 30px 0 60px;
    background: transparent;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.carousel-track {
    display: flex;
    gap: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    align-items: center;
    transform-style: preserve-3d;
}

.carousel-item {
    flex-shrink: 0;
    width: 35%;
    /* Reduced from 50% for a much sleeker look on desktop */
    padding: 0 16px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    position: relative;
    border-radius: 20px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform: scale(0.8) translateZ(-120px);
    opacity: 0.35;
}

.carousel-item img {
    width: 100%;
    height: 380px;
    /* Reduced from 400px to be perfectly proportioned */
    object-fit: cover;
    border-radius: 18px;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* side cards 3D effect */
.carousel-item.side-left {
    transform: scale(0.88) rotateY(15deg) translateZ(-60px);
    opacity: 0.65;
    z-index: 2;
}

.carousel-item.side-right {
    transform: scale(0.88) rotateY(-15deg) translateZ(-60px);
    opacity: 0.65;
    z-index: 2;
}

/* center (active) card 3D effect */
.carousel-item.active {
    transform: scale(1.05) translateZ(80px);
    opacity: 1;
    z-index: 10;
}

.carousel-item.active img {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(196, 128, 65, 0.4), 0 0 40px rgba(196, 128, 65, 0.25);
}

.carousel-item-overlay {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(to top, rgba(14, 14, 14, 0.85) 0%, rgba(14, 14, 14, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item-caption {
    color: #ffffff;
    margin-top: 10px;
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
    text-align: left;
}

.carousel-item-caption .caption-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.carousel-item-caption .caption-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.carousel-item.active:hover .carousel-item-overlay {
    opacity: 1;
}

.carousel-item-overlay i {
    color: var(--primary-color);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.carousel-item-overlay i:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    background: rgba(14, 14, 14, 0.85);
    color: #fff;
    border: 1px solid rgba(196, 128, 65, 0.3);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 20;
}

#carouselPrev {
    left: 18px;
}

#carouselNext {
    right: 18px;
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    transform: translateY(-60%) scale(1.1);
}

.carousel-dots-container {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 16px;
    overflow: hidden;
    z-index: 10;
    display: flex;
    align-items: center;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: max-content;
    padding: 0 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: var(--primary-color);
}

/* ==============================
   NEWS — FB CTA CARD (left column)
   ============================== */
.news-layout {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
}

.news-fb-cta-col,
.news-fb-col {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.news-fb-cta-col {
    display: flex;
    flex-direction: column;
}

.fb-cta-card {
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 28px 28px 24px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.fb-cta-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(24, 119, 242, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fb-cta-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1877f2, #145db5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.fb-cta-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.fb-cta-card>p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.fb-cta-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-cta-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.fb-cta-perks li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.fb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1877f2, #145db5);
    color: #fff !important;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.3);
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
}

.fb-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(24, 119, 242, 0.45);
    background: linear-gradient(135deg, #2688ff, #1877f2);
}

.fb-cta-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fb-stat {
    flex: 1;
    text-align: center;
}

.fb-stat strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 3px;
}

.fb-stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fb-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
}

/* FB widget (right) */
.fb-widget-wrapper {
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.fb-widget-wrapper iframe {
    flex: 1;
    width: 100% !important;
    min-height: 500px;
}

.news-fb-col {
    display: flex;
    flex-direction: column;
}

@media (max-width: 960px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-fb-cta-col,
    .news-fb-col {
        max-width: 100%;
    }

    .carousel-item {
        width: 80%;
    }
}

@media (max-width: 640px) {
    .carousel-item {
        width: 92%;
    }

    .nav-phone {
        display: none;
    }

    .nav-divider {
        display: none;
    }
}

/* Mobile menu animation */
.nav-links {
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        display: flex;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        max-height: 400px;
        opacity: 1;
        padding: 30px 0;
    }
}

/* ==============================
   HERO — BADGE + TRUST
   ============================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 128, 65, 0.12);
    border: 1px solid rgba(196, 128, 65, 0.25);
    color: var(--primary-color);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease forwards;
    letter-spacing: 0.5px;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-trust {
    display: flex;
    gap: 16px;
    margin-top: 15px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-item i {
    color: #28a745;
    font-size: 0.9rem;
}

/* Standard gap is now handled globally on .btn-primary and .btn-secondary */

@media (max-width: 768px) {
    .hero {
        height: 100vh !important;
        height: 100svh !important;
        min-height: 100vh !important;
        min-height: 100svh !important;
        padding-top: 100px !important;
        /* Proper breathing room below the sticky navbar */
        padding-bottom: 40px !important;
    }

    .hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: none !important;
        text-align: center !important;
    }

    .hero-trust {
        gap: 12px;
        flex-direction: column;
        margin-top: 30px !important;
        align-items: center !important;
        justify-content: center !important;
        /* Spacer between buttons and trust badges */
    }
}

/* ==============================
   SERVICES — FEATURES + CTA
   ============================== */
.service-pain {
    font-style: italic;
    color: var(--text-muted);
    border-left: 2px solid var(--primary-color);
    padding-left: 14px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.65;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.7rem;
    background: rgba(196, 128, 65, 0.08);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 128, 65, 0.18);
    flex-shrink: 0;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services-cta p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ==============================
   CAROUSEL — COUNTER + DRAG
   ============================== */
.carousel-counter {
    position: absolute;
    bottom: 38px;
    right: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 1px;
}

.carousel-track.dragging {
    cursor: grabbing !important;
}

.carousel-track {
    cursor: grab;
}

.carousel-track * {
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-item img {
    pointer-events: none;
}

@media (max-width: 768px) {
    .carousel-counter {
        right: 20px;
        bottom: 38px;
        font-size: 0.78rem;
    }

    .carousel-item img {
        height: 280px;
    }
}

/* ==============================
   ABOUT — CTA ROW
   ============================== */
.about-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ==============================
   SERVICES — HOW IT WORKS STEPS
   ============================== */
.how-it-works {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.how-it-works h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-main);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}

.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-2px);
}

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(196, 128, 65, 0.4);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.step-item:hover .step-num {
    background: rgba(196, 128, 65, 0.1);
    border-color: var(--primary-color);
}

.step-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.step-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-main);
    font-weight: 700;
}

.step-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 860px) {
    .steps-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .step-item {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }
}

/* ==============================
   REALIZACJE — CTA
   ============================== */
.realizations-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
}

.realizations-cta p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

/* ==============================
   CONTACT — REDESIGNED
   ============================== */
.contact-modern-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(160deg, #1d1d1d 0%, #131313 100%);
    border-radius: 24px;
    border: 1px solid rgba(196, 128, 65, 0.25);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(196, 128, 65, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
}

.contact-modern-wrapper::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at top, rgba(196, 128, 65, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.contact-cta-box {
    padding: 50px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-cta-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.btn-call-now {
    font-size: 1.8rem;
    padding: 22px 50px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 50px;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(196, 128, 65, 0.45);
    animation: callPulse 2s infinite ease-in-out;
}

@keyframes callPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(196, 128, 65, 0.45);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 15px 35px rgba(196, 128, 65, 0.65), 0 0 20px rgba(196, 128, 65, 0.3);
    }
}

.contact-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Redesigned for 4 columns instead of 3 */
    position: relative;
    z-index: 2;
}

.clean-info-item {
    padding: 35px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.clean-info-item:last-child {
    border-right: none;
}

.clean-info-item:hover {
    background: rgba(196, 128, 65, 0.03);
}

.clean-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(196, 128, 65, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 128, 65, 0.15);
    margin-bottom: 4px;
    transition: var(--transition);
}

.clean-info-item:hover i {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(196, 128, 65, 0.2);
}

.clean-info-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clean-info-item p,
.clean-info-item a.contact-link {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    text-decoration: none;
    transition: var(--transition);
}

.clean-info-item a.contact-link:hover {
    color: var(--primary-color) !important;
}

.fb-link {
    color: #1877F2 !important;
    font-weight: 600;
}

.contact-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color) !important;
    background: rgba(196, 128, 65, 0.08);
    border: 1px solid rgba(196, 128, 65, 0.2);
    padding: 12px 18px;
    min-height: 48px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 5px;
    transition: var(--transition);
}

.contact-action-link:hover {
    background: var(--primary-color) !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 128, 65, 0.25);
}

.contact-action-link i {
    font-size: 0.75rem !important;
    color: inherit !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    margin: 0 !important;
}

.contact-action-link.fb-action {
    color: #1877F2 !important;
    background: rgba(24, 119, 242, 0.08);
    border-color: rgba(24, 119, 242, 0.2);
}

.contact-action-link.fb-action:hover {
    background: #1877F2 !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.25);
}

@media (max-width: 960px) {
    .about-new-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual-side {
        position: static;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-text-side h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-tagline {
        text-align: center;
    }

    .underline-left {
        margin: 15px auto 30px auto;
    }

    .lead-text-new {
        text-align: center;
        border-left: none;
        border-bottom: 2px solid var(--primary-color);
        padding-left: 0;
        padding-bottom: 15px;
    }

    .founders-note {
        text-align: center;
    }

    .about-action {
        justify-content: center;
        text-align: center;
    }

    /* Tablet layout for contact cards (2x2 grid) */
    .contact-grid-clean {
        grid-template-columns: repeat(2, 1fr);
    }

    .clean-info-item {
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .clean-info-item:nth-child(2n) {
        border-right: none;
    }

    .clean-info-item:nth-child(3),
    .clean-info-item:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .contact-grid-clean {
        grid-template-columns: 1fr;
    }

    .clean-info-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 30px 15px;
    }

    .clean-info-item:last-child {
        border-bottom: none !important;
    }
}

@media (max-width: 480px) {
    .about-logo-card {
        height: 280px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .experience-badge {
        padding: 10px 18px;
        bottom: 15px;
        right: 15px;
    }

    .experience-badge .badge-num {
        font-size: 1.8rem;
    }

    .experience-badge .badge-text {
        font-size: 0.7rem;
    }

    .pillar-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-action {
        flex-direction: column;
        gap: 20px;
    }

    .btn-call-now {
        font-size: 1.4rem;
        padding: 18px 30px;
    }

    .contact-cta-box {
        padding: 40px 20px;
    }
}

/* ============================================================== */
/*                     RWD / MEDIA QUERIES                        */
/* ============================================================== */

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex !important;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(14, 14, 14, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid rgba(196, 128, 65, 0.2);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-divider {
        display: none;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contact-modern-wrapper,
    .about-new-wrapper {
        grid-template-columns: 1fr !important;
    }

    .contact-grid-clean {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        background: radial-gradient(circle at center, rgba(18, 18, 18, 0.55) 0%, rgba(18, 18, 18, 0.75) 100%) !important;
    }

    .hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: none !important;
        text-align: center !important;
    }

    .hero-content h1,
    .hero-content .hero-description {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 4px 20px rgba(0, 0, 0, 0.8);
        text-align: center !important;
    }

    .hero-badge {
        margin: 20px auto 16px auto !important;
        background: rgba(14, 14, 14, 0.8) !important;
        border: 1px solid rgba(196, 128, 65, 0.5) !important;
        color: #ffffff !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    .hero-badge i {
        color: var(--primary-color) !important;
    }

    .hero-description {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center !important;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .steps-row {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .news-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-box {
        align-items: center;
    }

    .footer-col ul {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-col h4::after,
    .footer-col h4::before {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-legal {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .social-links {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 15px;
    }

    .footer-logo {
        margin: 0 auto;
        display: block;
    }

    .about-text-side h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-grid-clean {
        grid-template-columns: 1fr !important;
    }

    .section-padding {
        padding: 60px 0 !important;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px;
    }

    h1,
    .hero h1 {
        font-size: clamp(1.6rem, 8.8vw, 2.2rem) !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }
}

/* =============================================
   COOKIE CONSENT SYSTEM
   ============================================= */

/* ---- Facebook Placeholder ---- */
.fb-consent-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #181818 0%, #111 100%);
    border: 1px solid rgba(196, 128, 65, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fb-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(24, 119, 242, 0.15);
    border: 2px solid rgba(24, 119, 242, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1877f2;
    flex-shrink: 0;
}

.fb-placeholder-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.fb-placeholder-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
    margin: 0;
}

.fb-placeholder-accept-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    letter-spacing: 0.02em;
}

.fb-placeholder-accept-btn:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.fb-placeholder-settings-link {
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    padding: 0.25rem;
    transition: color 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.fb-placeholder-settings-link:hover {
    color: var(--primary-color);
}

/* ---- Cookie Banner ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(196, 128, 65, 0.35);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
    padding: 1.25rem 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cookie-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(196, 128, 65, 0.15);
    border: 1px solid rgba(196, 128, 65, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.cookie-banner-text {
    flex: 1;
    min-width: 220px;
}

.cookie-banner-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.cookie-banner-text strong {
    color: var(--text-main);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ---- Cookie Buttons ---- */
.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    min-height: 48px;
    padding: 0 1.25rem;
    transition: var(--transition);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
}

.cookie-btn-accept:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid rgba(154, 154, 154, 0.35);
    color: var(--text-muted);
}

.cookie-btn-reject:hover {
    border-color: rgba(154, 154, 154, 0.7);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.cookie-btn-settings {
    background: transparent;
    border: 1px solid rgba(196, 128, 65, 0.35);
    color: var(--primary-color);
}

.cookie-btn-settings:hover {
    border-color: var(--primary-color);
    background: rgba(196, 128, 65, 0.08);
}

.cookie-btn-save {
    background: transparent;
    border: 1px solid rgba(196, 128, 65, 0.5);
    color: var(--primary-color);
}

.cookie-btn-save:hover {
    border-color: var(--primary-color);
    background: rgba(196, 128, 65, 0.12);
    transform: translateY(-1px);
}

/* ---- Cookie Modal Overlay ---- */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cookie-modal-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.cookie-modal {
    background: linear-gradient(160deg, #1e1e1e 0%, #141414 100%);
    border: 1px solid rgba(196, 128, 65, 0.3);
    border-radius: 20px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(196, 128, 65, 0.1);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.cookie-modal-overlay.visible .cookie-modal {
    transform: scale(1) translateY(0);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.cookie-modal-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-modal-title-group i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cookie-modal-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.cookie-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.cookie-modal-body {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.cookie-modal-intro {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* ---- Cookie Category ---- */
.cookie-category {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s;
}

.cookie-category:hover {
    border-color: rgba(196, 128, 65, 0.2);
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.25rem;
}

.cookie-category-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ---- iOS-Style Switch ---- */
.cookie-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 48px;
    height: 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    flex-shrink: 0;
}

.cookie-switch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cookie-switch-knob {
    position: absolute;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-switch-input:checked ~ .cookie-switch-knob,
.cookie-switch.active .cookie-switch-knob {
    transform: translateX(20px);
}

.cookie-switch:has(.cookie-switch-input:checked),
.cookie-switch.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-color: transparent;
    box-shadow: 0 0 16px rgba(196, 128, 65, 0.4);
}

/* Locked switch (Necessary) */
.cookie-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cookie-switch-label {
    font-size: 0.72rem;
    color: var(--primary-color);
    font-weight: 600;
    white-space: nowrap;
}

.cookie-switch-locked {
    cursor: not-allowed;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
    border-color: transparent !important;
    box-shadow: 0 0 10px rgba(196, 128, 65, 0.3);
    opacity: 0.75;
}

.cookie-switch-locked .cookie-switch-knob {
    transform: translateX(20px);
}

/* ---- Modal Footer ---- */
.cookie-modal-footer {
    display: flex;
    gap: 0.6rem;
    padding: 1.25rem 1.75rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* ---- Floating Cookie Button ---- */
.cookie-float-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(196, 128, 65, 0.35);
    color: var(--primary-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-float-btn:hover,
.cookie-float-btn:focus-visible {
    opacity: 1;
    transform: scale(1.08);
    background: rgba(196, 128, 65, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(196, 128, 65, 0.3);
    outline: none;
}

/* =============================================
   COOKIE — RESPONSIVE (MOBILE-FIRST)
   ============================================= */

/* --- Tablet & Small Desktop (max 768px) --- */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-banner-icon {
        display: none; /* hides icon to save space on small screens */
    }

    .cookie-banner-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .cookie-banner-actions .cookie-btn {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* --- Small Mobile (max 576px) --- */
@media (max-width: 576px) {
    /* Banner: full-width bottom sheet */
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-banner-text p {
        font-size: 0.8rem;
    }

    .cookie-banner-actions {
        gap: 0.5rem;
    }

    .cookie-btn {
        font-size: 0.78rem;
        padding: 0 1rem;
        min-height: 48px;
    }

    /* Modal: full-screen bottom sheet on mobile */
    .cookie-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .cookie-modal {
        max-width: 100%;
        width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(30px) scale(1);
    }

    .cookie-modal-overlay.visible .cookie-modal {
        transform: translateY(0) scale(1);
    }

    .cookie-modal-header {
        padding: 1.25rem 1.25rem 1rem;
        position: sticky;
        top: 0;
        background: #1e1e1e;
        z-index: 1;
    }

    .cookie-modal-header h2 {
        font-size: 1rem;
    }

    .cookie-modal-body {
        padding: 1.25rem;
        max-height: calc(92vh - 160px);
        overflow-y: auto;
    }

    .cookie-modal-footer {
        padding: 1rem 1.25rem;
        flex-direction: column-reverse;
        position: sticky;
        bottom: 0;
        background: #141414;
        z-index: 1;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .cookie-category-header {
        gap: 0.75rem;
    }

    .cookie-switch-label {
        display: none; /* Hides 'Zawsze włączone' on very small screens */
    }

    /* Float button: slightly lower z-index to not cover mobile nav */
    .cookie-float-btn {
        bottom: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Facebook Placeholder on mobile */
    .fb-consent-placeholder {
        min-height: 300px;
        padding: 2rem 1.25rem;
        gap: 0.75rem;
    }

    .fb-placeholder-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .fb-placeholder-title {
        font-size: 1rem;
    }
}