/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
    --bg-main: #0c0c0d;       /* Dark charcoal/black */
    --bg-darker: #080809;     /* Deep black */
    --bg-card: #121214;       /* Dark card background */
    --bg-input: #161619;
    --accent: #bda07a;        /* Elegant gold / warm oak wood */
    --accent-hover: #a88a64;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a5;
    --text-muted: #8e8e93;        /* High-contrast muted gray for WCAG AA */
    --border-color: #1f1f23;
    --success: #2ec4b6;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-primary: 'Outfit', sans-serif;
}

/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-smooth);
}


/* --- ACCESSIBILITY UTILITIES & FOCUS STATES --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 2px solid var(--accent) !important;
    outline-offset: 3px !important;
}

/* --- MULTILINGUAL LOGIC (SRB / ENG / RUS) --- */
.srb-text, .eng-text, .rus-text {
    display: none !important;
}

body.lang-sr .srb-text {
    display: block !important;
}

body.lang-en .eng-text {
    display: block !important;
}

body.lang-ru .rus-text {
    display: block !important;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-gold {
    border: 1px solid var(--accent);
    color: var(--accent);
    background-color: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--accent);
    color: #0c0c0d;
}

.btn-primary {
    background-color: var(--accent);
    color: #0c0c0d;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--text-primary);
}

.btn-block {
    width: 100%;
}

/* --- PREMIUM BUTTON EFFECTS --- */

/* Base transitions and positioning for shimmer effects */
.btn, 
.btn-header-contact, 
.load-more-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Shimmer overlay */
.btn::after, 
.btn-header-contact::after, 
.load-more-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.22) 48%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.22) 52%,
        rgba(255, 255, 255, 0) 65%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translate3d(-100%, 0, 0);
    transition: none;
    pointer-events: none;
    z-index: 1;
}

/* Shimmer animation on hover */
.btn:hover::after, 
.btn-header-contact:hover::after, 
.load-more-btn:hover::after {
    animation: btn-shine 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Auto-shimmer loop for main CTA hero buttons in idle state */
.hero-buttons .btn::after {
    animation: btn-shine-loop 6s infinite ease-in-out;
}

.hero-buttons .btn:hover::after {
    animation: btn-shine 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Float & Lift animations */
.btn:hover, 
.btn-header-contact:hover, 
.load-more-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Gold Glow for primary/outline buttons */
.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(189, 160, 122, 0.35);
}

.btn-outline-gold:hover {
    box-shadow: 0 10px 25px rgba(189, 160, 122, 0.25);
}

.btn-header-contact:hover {
    box-shadow: 0 8px 20px rgba(189, 160, 122, 0.2);
}

.btn-secondary:hover {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
}

@keyframes btn-shine {
    0% {
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        transform: translate3d(50%, 0, 0);
    }
}

@keyframes btn-shine-loop {
    0%, 80% {
        transform: translate3d(-100%, 0, 0);
    }
    90%, 100% {
        transform: translate3d(50%, 0, 0);
    }
}

/* --- HEADER / NAVBAR --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(12, 12, 13, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(12, 12, 13, 0.95);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.header-container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 20px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-title {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.logo-svg {
    height: 44px;
    width: auto;
    display: block;
    /* SVG чёрный на тёмном фоне → инвертируем в белый */
    filter: invert(1) brightness(2);
    transition: opacity 0.2s ease;
}

.logo-svg:hover {
    opacity: 0.85;
}

.nav-list {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-list li {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-items: start;
    align-items: center;
}

.nav-list li.nav-lang-item {
    display: block;
}

.nav-link {
    grid-area: 1 / 1 / 2 / 2;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-lang-item {
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}

.nav-lang-toggle {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    min-width: 36px;
    text-align: center;
    display: inline-block;
}

.nav-lang-toggle:hover {
    color: var(--accent);
}

.btn-header-contact {
    display: inline-grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-items: center;
    align-items: center;
    padding: 10px 22px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-header-contact span {
    grid-area: 1 / 1 / 2 / 2;
    white-space: nowrap;
}

.btn-header-contact:hover {
    background-color: var(--accent);
    color: #0c0c0d;
}

/* Ensure language-specific text occupies space in navigation elements to prevent shifts */
body.lang-sr .nav-list .eng-text, body.lang-sr .nav-list .rus-text,
body.lang-en .nav-list .srb-text, body.lang-en .nav-list .rus-text,
body.lang-ru .nav-list .srb-text, body.lang-ru .nav-list .eng-text,
body.lang-sr .btn-header-contact .eng-text, body.lang-sr .btn-header-contact .rus-text,
body.lang-en .btn-header-contact .srb-text, body.lang-en .btn-header-contact .rus-text,
body.lang-ru .btn-header-contact .srb-text, body.lang-ru .btn-header-contact .eng-text {
    display: block !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

body.lang-ru .nav-list .rus-text,
body.lang-ru .btn-header-contact .rus-text {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.mobile-nav-toggle {
    display: none;
    font-size: 22px;
    color: var(--text-primary);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.08);
    animation: kenBurnsEffect 24s ease-in-out infinite alternate;
}

@keyframes kenBurnsEffect {
    0% {
        transform: scale(1.08) translate(1%, -1%);
    }
    50% {
        transform: scale(1.04) translate(-1%, 1%);
    }
    100% {
        transform: scale(1.08) translate(1%, -1%);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    margin-top: 90px;
}

.hero-scroll-down {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 24px;
    color: var(--text-secondary);
    animation: heroBounce 2s infinite;
}

@keyframes heroBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}


.hero-content {
    max-width: 750px;
}

.hero-subtitle-project {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(34px, 5.5vw, 60px);
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-title-sub {
    font-size: 0.65em;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: 0.05em;
    display: inline-block;
    margin-top: 8px;
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
}

/* --- HERO REVEAL INTERACTIVE EFFECT --- */
.hero-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
    
    /* Initially hide the circle offscreen */
    clip-path: circle(var(--clip-radius, 0px) at var(--clip-x, -500px) var(--clip-y, -500px));
    
    /* Smooth clip-path transition to make the mouse trailing feel buttery smooth */
    transition: clip-path 0.08s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Cloned background image inside the reveal container to block underlying solid text */
.hero-reveal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.08); /* Matches base scale */
    animation: kenBurnsEffect 24s ease-in-out infinite alternate; /* Synchronized perfectly with base */
}

/* Blue overlay tint applied directly to the reveal background image */
.hero-reveal-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(189, 160, 122, 0.15); /* Elegant translucent brand gold */
    z-index: 2;
}

/* Ensure the layout of reveal layer matches the base exactly and sits above background */
.hero-reveal .hero-container {
    position: relative;
    z-index: 3; /* Sits above .hero-reveal-bg and its ::after overlay */
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    margin-top: 90px;
}

/* Text outline effect for the main title when inside the blue circle */
.hero-reveal .hero-title {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 1.5px #ffffff;
}

/* Subtitle and description inside circle remain legible but style slightly */
.hero-reveal .hero-subtitle-project {
    color: var(--accent);
}

.hero-reveal .hero-description {
    color: rgba(255, 255, 255, 0.95);
}

/* Reverse color effect for the button when inside the circle */
.hero-reveal .btn-outline-gold {
    background-color: var(--accent);
    color: var(--bg-main);
    border-color: var(--accent);
}



/* --- SECTIONS (MOCKUP ACCORDING) --- */
/* Kept for backward compat, actual styles defined below */
.projects-section-mockup { }

/* --- ACCORDION SLIDER (McDermott style) --- */
.accordion-section {

    width: 100%;
    overflow: hidden;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.accordion-track {
    display: flex;
    width: 100%;
    height: 620px;
}

/* Each panel */
.acc-panel {
    position: relative;
    flex: 1;
    min-width: 80px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    /* Subtle separator line */
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.acc-panel:last-child {
    border-right: none;
}

/* Background video styles for accordion panels */
.acc-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.acc-panel:hover .acc-video-container,
.acc-panel--active .acc-video-container {
    opacity: 1;
}

.acc-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acc-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.45) 40%, rgba(5,5,5,0.1) 100%);
}

/* Default (collapsed) state – narrow */
.acc-panel .acc-content-expanded {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0s;
}

/* Collapsed state label – vertical rotated name */
.acc-title-collapsed {
    position: absolute;
    bottom: 48px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.acc-number {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.acc-number--gold {
    color: var(--accent);
}

.acc-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
}

/* Category label top-left */
.acc-category-label {
    position: absolute;
    top: 28px;
    left: 22px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    z-index: 5;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.acc-category-label--gold {
    color: var(--accent);
    opacity: 0.9;
}

/* Bottom left expanded content */
.acc-content-expanded {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 36px 40px 36px;
    z-index: 5;
}

/* ——— HOVER / EXPANDED state ——— */
.accordion-track:hover .acc-panel {
    /* When track is hovered, shrink all by default */
    flex: 0.4;
}

.accordion-track:hover .acc-panel:hover {
    /* Expand the hovered one */
    flex: 2.4;
}

.acc-panel:hover .acc-title-collapsed {
    opacity: 0;
}

.acc-panel:hover .acc-content-expanded {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.25s;
}

/* Always-expanded third panel (default active) */
.acc-panel--active {
    flex: 2;
    border-left: 2px solid var(--accent);
}

/* Active panel shows content by default */
.acc-panel--active .acc-content-expanded {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.acc-panel--active .acc-title-collapsed {
    opacity: 0;
}

.accordion-track:hover .acc-panel--active {
    flex: 0.4;
}

.accordion-track:hover .acc-panel--active:hover {
    flex: 2.4;
    border-left-color: var(--accent);
}

/* Category label hidden in non-hovered state on narrow panels */
.accordion-track:hover .acc-panel:not(:hover) .acc-category-label {
    opacity: 0;
}

/* Badge (status) */
.acc-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background-color: rgba(12, 12, 13, 0.6);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 3px;
    margin-bottom: 16px;
}

.acc-badge--active {
    color: var(--accent);
    border-color: rgba(189, 160, 122, 0.4);
    background-color: rgba(189, 160, 122, 0.06);
}

/* Title */
.acc-title {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Address subtitle */
.acc-address {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    white-space: nowrap;
}

/* CTA link */
.acc-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    cursor: pointer;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: var(--transition-smooth);
}

.acc-cta-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.acc-cta-link i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.acc-cta-link:hover i {
    transform: translateX(4px);
}

/* Secondary CTA links (Plans / Video) */
.acc-extra-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.acc-cta-link--secondary {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    gap: 6px;
}

.acc-cta-link--secondary:hover {
    color: var(--accent);
    border-bottom-color: transparent;
}

/* --- MOBILE: accordion becomes vertical stack --- */
@media (max-width: 768px) {
    .accordion-track {
        flex-direction: column;
        height: auto;
    }

    .acc-panel {
        flex: none !important;
        height: 80px; /* Collapsed height on mobile */
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .acc-panel--active {
        height: 350px !important; /* Expanded height on mobile */
        border-left: none;
        border-top: 2px solid var(--accent);
    }

    .acc-title-collapsed {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 16px !important;
        bottom: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 24px !important;
        width: auto !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
        opacity: 1 !important;
    }

    .acc-panel--active .acc-title-collapsed {
        opacity: 0 !important;
    }

    .acc-name {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        transform: none !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #fff !important;
        text-align: left !important;
    }

    .acc-name br {
        display: none !important;
    }

    .acc-number {
        font-size: 16px !important;
    }

    /* Category label hidden when collapsed on mobile */
    .acc-category-label {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .acc-panel--active .acc-category-label {
        opacity: 1 !important;
        pointer-events: auto !important;
        top: 24px !important;
        left: 24px !important;
    }

    .acc-content-expanded {
        opacity: 0 !important;
        transform: translateY(10px) !important;
        pointer-events: none !important;
        padding: 0 24px 24px 24px !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }

    .acc-panel--active .acc-content-expanded {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        bottom: 0 !important;
    }

    .acc-title {
        font-size: 18px !important;
        white-space: normal !important;
    }

    .acc-address {
        white-space: normal !important;
    }

    .accordion-track:hover .acc-panel,
    .accordion-track:hover .acc-panel:hover,
    .accordion-track:hover .acc-panel--active,
    .accordion-track:hover .acc-panel--active:hover {
        flex: none;
    }
}

/* Keep old sections styles for any remnants (can be cleaned later) */
.projects-section-mockup {

    padding: 60px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-header-mockup {
    margin-bottom: 32px;
}

.section-title-mockup {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.section-subtitle a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    border-bottom: 1px dashed rgba(189, 160, 122, 0.4);
    padding-bottom: 1px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.section-subtitle a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

/* Projects Grid (completed) */
.projects-grid-mockup {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card-mockup {
    position: relative;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.project-card-mockup:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(189, 160, 122, 0.3);
}

.card-status-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.05em;
    z-index: 3;
}

.card-status-badge.status-active {
    border-color: rgba(189, 160, 122, 0.3);
    color: var(--accent);
}

.card-content-mockup {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 32px 32px 32px;
    z-index: 2;
}

.card-title-mockup {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 6px;
}

.card-subtitle-mockup {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.card-link-mockup {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.card-link-mockup:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Construction Layout (large card + sidebar) */
.construction-layout-mockup {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.construction-large-card {
    position: relative;
    height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.construction-large-card:hover {
    border-color: rgba(189, 160, 122, 0.3);
}

.construction-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sidebar-item:hover, .sidebar-item.active {
    border-color: rgba(189, 160, 122, 0.4);
    background-color: rgba(255, 255, 255, 0.02);
}

.sidebar-item-img {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.sidebar-item-info {
    flex-grow: 1;
}

.sidebar-item-info h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.sidebar-item-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.sidebar-action-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- SERVICES SECTION --- */
.services-section-mockup {
    padding: 60px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.services-grid-mockup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card-mockup {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.service-card-mockup:hover {
    border-color: rgba(189, 160, 122, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.service-card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.service-card-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(18, 18, 20, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-mockup:hover .service-card-img {
    transform: scale(1.08);
}

.service-card-icon-badge {
    position: absolute;
    top: -26px;
    left: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #0c0c0d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 4px solid var(--bg-card);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 5;
    transition: var(--transition-smooth);
}

.service-card-mockup:hover .service-card-icon-badge {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.service-card-content {
    position: relative;
    padding: 38px 24px 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-cta {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.service-card-cta i {
    transition: transform 0.3s ease;
}

.service-card-cta:hover {
    color: var(--text-primary);
}

.service-card-cta:hover i {
    transform: translateX(4px);
}

/* --- ABOUT SECTION --- */
.about-section-mockup {
    padding: 60px 0;
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.about-grid-mockup {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.about-content-mockup p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.about-info-badges span {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
}

.about-info-badges strong {
    color: var(--accent);
}

.about-stats-mockup {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box-mockup {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 24px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.stat-box-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(189, 160, 122, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
}

.stat-box-mockup:hover::before {
    left: 150%;
}

.stat-box-mockup:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(189, 160, 122, 0.12);
}

.stat-number {
    font-size: 44px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-box-mockup:hover .stat-number {
    transform: scale(1.05);
}

.stat-box-mockup span:not(.stat-number) {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- CONTACT SECTION --- */
.contact-section-mockup {
    padding: 60px 0;
    background-color: var(--bg-main);
}

.contact-grid-mockup {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.contact-form-panel {
    background: linear-gradient(135deg, rgba(18, 18, 20, 0.75) 0%, rgba(10, 10, 11, 0.85) 100%);
    border: 1px solid rgba(189, 160, 122, 0.12);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.contact-form-panel::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(189, 160, 122, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-form-panel:hover {
    border-color: rgba(189, 160, 122, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(189, 160, 122, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.c-form-mockup {
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

/* --- Premium Input Styling --- */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 2;
}

.input-wrapper .m-input {
    padding-left: 48px;
}

.input-wrapper.textarea-wrapper {
    align-items: flex-start;
}

.input-wrapper.textarea-wrapper i {
    top: 18px;
}

.m-input {
    width: 100%;
    background-color: rgba(12, 12, 13, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.m-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(12, 12, 13, 0.9);
    box-shadow: 0 0 20px rgba(189, 160, 122, 0.15);
}

.input-wrapper .m-input:focus + i,
.input-wrapper .m-input:focus ~ i {
    color: var(--accent);
    transform: scale(1.05);
}

textarea.m-input {
    resize: none;
}

/* --- Submit Button (Premium Shimmer) --- */
.btn-submit-premium {
    background: linear-gradient(135deg, var(--accent) 0%, #d4b58e 100%);
    color: #0c0c0d;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(189, 160, 122, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-submit-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.btn-submit-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(189, 160, 122, 0.35);
    background: linear-gradient(135deg, #d4b58e 0%, var(--accent) 100%);
    color: #0c0c0d;
}

.btn-submit-premium:hover::after {
    left: 125%;
    transition: 0.75s ease-in-out;
}

.btn-submit-premium:active {
    transform: translateY(0);
}

.contact-details-panel {
    display: flex;
    align-items: center;
}

.details-list-mockup {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.details-item-mockup {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.details-item-mockup i {
    font-size: 20px;
    color: var(--accent);
    margin-top: 4px;
}

.details-item-mockup h4 {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: inline-block;
    position: relative;
}

.details-item-mockup h4::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.5px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.details-item-mockup:hover h4::after {
    transform: scaleX(1);
}

.details-item-mockup p, .details-item-mockup a {
    font-size: 18px;
    font-weight: 500;
}

.details-item-mockup a:hover {
    color: var(--accent);
}

.map-container-mockup {
    margin-top: 40px;
    width: 100%;
    height: 320px;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.map-container-mockup iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.92) contrast(1.2) opacity(0.85);
}

/* --- FOOTER --- */
.footer {
    background-color: #060607;
    border-top: 1px solid var(--border-color);
    padding: 36px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.author-link {
    color: var(--text-muted);
    font-size: 12px;
    opacity: 0.7;
}

.author-link:hover {
    color: var(--accent);
    opacity: 1;
}

/* --- MODAL DIALOGS --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 95%;
    max-width: 950px;
    border-radius: 8px;
    padding: 24px 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 32px;
    color: var(--text-muted);
    line-height: 1;
    z-index: 15;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: -0.01em;
}

/* Plans Selector Layout */
.plan-selector-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
}

.plan-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 6px;
}

.plan-tabs::-webkit-scrollbar {
    width: 4px;
}
.plan-tabs::-webkit-scrollbar-track {
    background: transparent;
}
.plan-tabs::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.plan-tab-btn {
    text-align: left;
    padding: 12px 16px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.plan-tab-btn.active {
    background-color: var(--accent);
    color: #0c0c0d;
    border-color: var(--accent);
}

.plan-display {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plan-display img {
    border-radius: 4px;
    background-color: #080809;
    padding: 12px;
    height: 250px;
    width: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease-in-out;
}

/* Plan Slider Custom Styles */
.plan-slider-container {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: #080809;
}

.plan-slider-container .slider-container {
    height: 450px;
    width: 100%;
}

.plan-slider-container .slider-wrapper .slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.plan-slider-container .slider-wrapper .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    border-radius: 4px;
    background-color: #080809;
    transition: none;
    cursor: zoom-in;
}

.plan-slider-container .slider-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(12, 12, 13, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.plan-slider-container .prev-btn {
    left: 8px;
}

.plan-slider-container .next-btn {
    right: 8px;
}

.plan-slider-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enlarged Plan Modal Styles */
.modal-content--plan {
    max-width: 1250px;
    padding: 24px 35px;
}

@media (min-width: 769px) {
    .modal-content--plan .plan-selector-layout {
        grid-template-columns: 320px 1fr;
        gap: 35px;
    }
    
    .plan-tabs {
        max-height: 580px;
        overflow-y: auto;
    }
}

/* Fullscreen Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 6, 0.98);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    user-select: none;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 40px;
    cursor: pointer;
    z-index: 2010;
    transition: color 0.25s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--text-primary);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2010;
    font-size: 18px;
    transition: all 0.25s ease;
}

.lightbox-btn:hover {
    background-color: var(--accent);
    color: #0c0c0d;
    border-color: var(--accent);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-details {
    background-color: rgba(255, 255, 255, 0.01);
    padding: 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    min-height: 100px;
    transition: opacity 0.25s ease-in-out;
}

.plan-size {
    font-size: 15px;
    margin-bottom: 6px;
}

.plan-size strong {
    color: var(--accent);
}

.plan-info-text {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Video Modal Spec */
.modal-video-content {
    max-width: 900px;
    padding: 24px 30px;
}

.modal-video-gallery {
    aspect-ratio: 16 / 9;
    max-height: 50vh;
}

/* Video Thumbnail Overlays */
.modal-gallery-thumbnails .thumbnail-wrapper {
    width: 64px;
    height: 48px;
    position: relative;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
    overflow: hidden;
}

.modal-gallery-thumbnails .thumbnail-wrapper:hover {
    opacity: 0.9;
}

.modal-gallery-thumbnails .thumbnail-wrapper.active {
    border-color: var(--accent);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-gallery-thumbnails .thumbnail-wrapper .thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-gallery-thumbnails .thumbnail-wrapper .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.modal-gallery-thumbnails .thumbnail-wrapper:hover .play-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 4px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Detailed Project Modal Spec */
.modal-project-gallery {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 55vh;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-wrapper .slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-wrapper .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges for photos */
.media-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.badge-concept {
    background-color: rgba(189, 160, 122, 0.9); /* Gold/Accent */
    color: #0c0c0d;
}

.badge-real {
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Slider buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(12, 12, 13, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.slider-btn:hover {
    background-color: var(--accent);
    color: #0c0c0d;
    border-color: var(--accent);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

/* Thumbnails Container */
.modal-gallery-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding: 4px;
    list-style: none;
}

.modal-gallery-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.modal-gallery-thumbnails::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.modal-gallery-thumbnails .thumbnail {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

.modal-gallery-thumbnails .thumbnail:hover {
    opacity: 0.8;
}

.modal-gallery-thumbnails .thumbnail.active {
    border-color: var(--accent);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Category Tabs Styling */
.modal-category-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.category-tab-btn {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(189, 160, 122, 0.3);
    background-color: rgba(255, 255, 255, 0.02);
}

.category-tab-btn.active {
    background-color: var(--accent);
    color: #0c0c0d;
    border-color: var(--accent);
}

.project-modal-desc-panel {
    background-color: rgba(255, 255, 255, 0.01);
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    min-height: auto;
    transition: opacity 0.25s ease-in-out;
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1200px) {
    .nav-list {
        gap: 20px;
    }
    .nav-link {
        font-size: 13px;
    }
    .nav-lang-item {
        padding-left: 12px;
    }
    .btn-header-contact {
        padding: 8px 16px;
        font-size: 11px;
    }
}

@media (max-width: 992px) {
    .projects-grid-mockup {
        grid-template-columns: 1fr;
    }
    
    .construction-layout-mockup {
        grid-template-columns: 1fr;
    }
    
    .about-grid-mockup {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid-mockup {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid-mockup {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* --- MOBILE NAV TOGGLE --- */
    .header-container {
        height: 70px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(12, 12, 13, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 40px 30px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        z-index: 99;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        width: 100%;
    }
    
    .nav-list li {
        justify-items: center;
        width: 100%;
    }
    
    .nav-link {
        font-size: 20px;
        font-weight: 500;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        padding: 8px 0;
    }
    
    .nav-lang-item {
        border-left: none;
        padding-left: 0;
        margin-top: 15px;
    }
    
    .nav-lang-toggle {
        font-size: 16px;
        padding: 8px 24px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 4px;
    }
    
    .btn-header-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    
    .projects-section-mockup, .services-section-mockup, .about-section-mockup, .contact-section-mockup {
        padding: 48px 0;
    }
    
    .services-grid-mockup {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-selector-layout {
        grid-template-columns: 1fr;
    }
    
    .plan-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .plan-tab-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-metric-item {
        align-items: center;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-form-panel {
        padding: 30px 20px;
    }

    .about-stats-mockup {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   NEW STYLES FOR BB INVEST DEVELOPER PORTFOLIO
   ========================================================================== */

/* --- HERO SLIDER & METRICS --- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(12, 12, 13, 0.5) 0%, rgba(12, 12, 13, 0.85) 60%, var(--bg-main) 100%);
}

.hero-slide.active {
    opacity: 1;
}

/* Alternate Ken Burns (zoom in / zoom out) effects for slides */
.hero-slide:nth-child(odd) {
    transform: scale(1);
}

.hero-slide:nth-child(odd).active {
    animation: kenBurnsZoomIn 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-slide:nth-child(even) {
    transform: scale(1.04);
}

.hero-slide:nth-child(even).active {
    animation: kenBurnsZoomOut 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes kenBurnsZoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.04);
    }
}

@keyframes kenBurnsZoomOut {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1);
    }
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(189, 160, 122, 0.2);
    padding-top: 30px;
}

.hero-metric-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-metric-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.hero-metric-label {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- ZAŠTO BB INVEST (WHY SECTION) --- */
.why-section {
    padding: 70px 0;
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Scroll reveal initial state for why-cards */
.why-card-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.why-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(189, 160, 122, 0.06),
        rgba(255, 255, 255, 0.15),
        rgba(189, 160, 122, 0.06), 
        transparent
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 5;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(189, 160, 122, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.why-card:hover::after {
    left: 150%;
    transition: left 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.why-card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(10, 10, 10, 0.3));
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.why-card:hover .why-card-img-wrapper::after {
    opacity: 0.65;
}

.why-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.why-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.why-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    align-self: flex-start;
}

.why-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover .why-card-title::after {
    width: 40px;
}

.why-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- DOSTUPNI STANOVI (APARTMENTS TABLE) --- */
.apartments-section {
    padding: 70px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.apartments-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.apartments-table-wrapper {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    overflow: hidden;
}

.apartments-filters-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.01);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.filter-row-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    min-width: 95px;
}

.filter-row-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 10px 18px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s ease, 
                border-color 0.3s ease, 
                color 0.3s ease, 
                box-shadow 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-1.5px);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent);
    color: #0c0c0d;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(189, 160, 122, 0.2);
}

.load-more-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    background: rgba(255, 255, 255, 0.005);
}

.load-more-btn {
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    cursor: pointer;
}

.load-more-btn:hover {
    background-color: var(--accent);
    color: #0c0c0d;
    box-shadow: 0 10px 25px rgba(189, 160, 122, 0.25);
}

.apartments-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.apartments-table th:nth-child(1) { width: 22%; }
.apartments-table th:nth-child(2) { width: 16%; }
.apartments-table th:nth-child(3) { width: 16%; }
.apartments-table th:nth-child(4) { width: 28%; }
.apartments-table th:nth-child(5) { width: 18%; }

.apartments-table th, .apartments-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.apartments-table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.01);
}

.apartments-table tr {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.apartments-table tr:hover {
    background-color: rgba(189, 160, 122, 0.05);
}

.apartments-table tr.active {
    background-color: rgba(189, 160, 122, 0.1);
    border-left: 3px solid var(--accent);
}

.apartments-table tr.active td {
    color: var(--text-primary);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.slobodan {
    background-color: rgba(46, 196, 182, 0.15);
    color: var(--success);
}

.status-badge.rezervisan {
    background-color: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.status-badge.prodat {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.apartments-preview {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 24px;
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.preview-img-wrapper {
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.preview-img {
    max-width: 98%;
    max-height: 98%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.preview-info {
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.preview-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 11px;
}

.preview-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.spec-item {
    font-size: 14px;
    color: var(--text-secondary);
}

.spec-item strong {
    color: var(--text-primary);
}

.preview-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
}

/* --- KAKO KUPITI STAN (STEPPER) --- */
.kako-kupiti-section {
    padding: 70px 0;
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.stepper-wrapper {
    max-width: 900px;
    margin: 50px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Навигация степпера */
.stepper-nav-steps-container {
    position: relative;
    padding-bottom: 15px;
}

.stepper-nav-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 80px;
}

.step-btn-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.6;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.step-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step-btn-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    transition: all 0.3s ease;
}

/* Лингвистическое исправление */
.step-btn-title .srb-text, 
.step-btn-title .eng-text, 
.step-btn-title .rus-text {
    display: none;
}
body.lang-sr .step-btn-title .srb-text { display: inline-block !important; }
body.lang-en .step-btn-title .eng-text { display: inline-block !important; }
body.lang-ru .step-btn-title .rus-text { display: inline-block !important; }

/* Состояния кнопок */
.step-btn:hover .step-btn-icon {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.15);
}

.step-btn.active .step-btn-num {
    color: var(--accent);
    opacity: 1;
}

.step-btn.active .step-btn-icon {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
}

.step-btn.active .step-btn-title {
    color: var(--accent);
    font-weight: 700;
}

/* Прогресс-бар */
.stepper-progress-container {
    position: absolute;
    top: 40px; /* Выравнивание по центру иконок */
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.stepper-progress-line {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Световой лазерный импульс */
.stepper-progress-line::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -5px;
    width: 10px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--accent);
    animation: laser-pulse 2s infinite;
}

@keyframes laser-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Карточка контента */
.stepper-content-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px 60px;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Фоновая контурная цифра */
.slide-bg-number {
    position: absolute;
    right: 40px;
    bottom: -20px;
    font-size: 180px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(212, 175, 55, 0.04);
    pointer-events: none;
    user-select: none;
    transition: transform 0.2s ease-out;
    z-index: 1;
}

.stepper-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(15px) translateZ(0);
    filter: blur(5px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.stepper-slide.active {
    display: block;
    opacity: 1;
    transform: translateY(0) translateZ(20px);
    filter: blur(0);
}

.slide-grid {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    align-items: center;
}

.slide-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-icon-large {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--accent);
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.05);
    transition: all 0.5s ease;
}

.stepper-slide.active .slide-icon-large {
    animation: icon-glow 3s infinite alternate;
}

@keyframes icon-glow {
    0% {
        box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.05), 0 0 10px rgba(212, 175, 55, 0.1);
        border-color: rgba(212, 175, 55, 0.2);
    }
    100% {
        box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.15), 0 0 25px rgba(212, 175, 55, 0.3);
        border-color: rgba(212, 175, 55, 0.5);
        transform: scale(1.03);
    }
}

.slide-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slide-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

.slide-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 680px;
}

/* Управление степпером (Назад / Вперед) */
.stepper-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.stepper-control-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stepper-control-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.15);
}

.stepper-control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.stepper-dots-indicator {
    display: none; /* Покажем на мобильных */
    gap: 8px;
}

.stepper-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.stepper-dot.active {
    background-color: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--accent);
}

/* --- LOKACIJA --- */
.location-section {
    padding: 70px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.location-grid {
    display: grid;
    grid-template-columns: 0.90fr 1.10fr;
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.location-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.loc-highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.loc-highlight-icon {
    font-size: 20px;
    color: var(--accent);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
}

.loc-highlight-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 24px;
}

.loc-highlight-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.location-media {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    height: 400px;
}

.location-media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) grayscale(100%) contrast(1.2);
}

/* --- DOKUMENTACIJA I SIGURNOST --- */
.security-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(189, 160, 122, 0.03) 0%, rgba(12, 12, 13, 0) 100%);
    border-bottom: 1px solid var(--border-color);
}

.security-box {
    background-color: var(--bg-card);
    border: 1px solid rgba(189, 160, 122, 0.15);
    border-radius: 8px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.security-item {
    display: flex;
    gap: 20px;
}

.security-icon {
    font-size: 28px;
    color: var(--accent);
    margin-top: 4px;
}

.security-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.security-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- FAQ ACCORDION --- */
.faq-section {
    padding: 70px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: rgba(189, 160, 122, 0.15);
}

.faq-question {
    width: 100%;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 12px;
    color: var(--text-secondary);
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 30px 24px 30px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- RESPONSIVE MEDIA QUERIES (NEW SECTIONS) --- */
@media (max-width: 1024px) {
    .apartments-grid {
        grid-template-columns: 1fr;
    }
    
    .apartments-preview {
        position: static;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .security-box {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    /* --- STEPPER RESPONSIVE --- */
    .stepper-nav-steps-container {
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }

    .stepper-nav-steps-container::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }

    .stepper-nav-steps {
        justify-content: flex-start;
        gap: 15px;
        width: max-content;
        padding: 5px;
    }

    .stepper-progress-container {
        display: none; /* Hide linear progress bar on mobile nav */
    }

    .stepper-content-card {
        padding: 35px 25px;
        min-height: auto;
    }

    .slide-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .slide-visual {
        order: -1;
    }

    .slide-icon-large {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }

    .slide-title {
        font-size: 18px;
    }

    .slide-desc {
        font-size: 13.5px;
        line-height: 1.6;
    }

    .slide-bg-number {
        font-size: 100px;
        right: 15px;
        bottom: -10px;
    }

    .stepper-dots-indicator {
        display: flex;
    }

    .stepper-control-btn span {
        display: none; /* Hide text buttons on mobile, show only icons */
    }

    .stepper-control-btn {
        padding: 12px 16px;
    }
    
    .apartments-table th:nth-child(1) { width: 30%; }
    .apartments-table th:nth-child(2) { width: 22%; }
    .apartments-table th:nth-child(3) { width: 22%; }
    /* 4th is hidden */
    .apartments-table th:nth-child(5) { width: 26%; }

    .apartments-table th:nth-child(4), .apartments-table td:nth-child(4) {
        display: none; /* Hide structure on mobile to fit */
    }
    
    .preview-img-wrapper {
        height: 340px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .faq-answer-inner {
        padding: 0 20px 16px 20px;
    }
}

/* --- ACCESSIBILITY: PREFERS REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: scroll !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    .hero-slide:nth-child(odd).active,
    .hero-slide:nth-child(even).active {
        animation: none !important;
    }
    .hero-bg {
        animation: none !important;
        transform: scale(1) !important;
    }
    .why-card::after, .btn::after, .btn-header-contact::after, .load-more-btn::after {
        display: none !important;
    }
    .stepper-content-card {
        transform: none !important;
    }
}

