/* ==========================================================================
   🪐 BIURA POD BARANAMI — DESIGN SYSTEM & STYLES (PREMIUM STYLE)
   ========================================================================== */

/* Variables / Design Tokens */
:root {
    /* Color Palette */
    --primary-color: #0c2340;       /* Głęboki, prestiżowy granat holdingu */
    --primary-light: #183359;       /* Jaśniejszy odcień granatu */
    --primary-dark: #05101f;        /* Ciemny granat do tła */
    --accent-color: #b89047;        /* Ekskluzywne, matowe złoto */
    --accent-light: #d6b265;        /* Jasne złoto do interakcji */
    --light-bg: #f5f7fa;            /* Ciepłe, jasnoszare tło */
    --light-blue: #ebf3fc;          /* Delikatny, czysty błękit (benefity) */
    --text-dark: #1f2937;           /* Głęboki grafit */
    --text-light: #f3f4f6;          /* Jasnoszary do ciemnych teł */
    --text-muted: #6b7280;          /* Stonowany szary */
    --white: #ffffff;
    --success: #10b981;             /* Zielony dla statusów */
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout & Spacing */
    --container-width: 1360px;
    --header-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    
    /* Glassmorphism & Shadows */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(12, 35, 64, 0.08);
    --box-shadow-premium: 0 10px 40px rgba(12, 35, 64, 0.06);
    --box-shadow-hover: 0 20px 50px rgba(12, 35, 64, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
}

body.modal-open {
    overflow: hidden;
}

.copy-allowed,
.copy-allowed *,
input,
textarea,
select {
    -webkit-user-select: text;
    user-select: text;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

h3 {
    font-size: 1.25rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

strong {
    color: var(--primary-color);
}

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

/* Helper Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2-col { grid-template-columns: repeat(2, 1fr); }
.grid-3-col { grid-template-columns: repeat(3, 1fr); }
.grid-4-col { grid-template-columns: repeat(4, 1fr); }

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

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-badge.badge-light {
    color: var(--accent-light);
}

.section-title {
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.title-light {
    color: var(--white);
}

/* Custom Card Hover Animation */
.card-hover-effect {
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.card-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-large {
    padding: 16px 36px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

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

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary.btn-light {
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary.btn-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.75rem;
}

/* Link with Arrow */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 4px;
    width: fit-content;
}

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

.btn-link svg {
    transition: transform var(--transition-fast);
}

.btn-link:hover svg {
    transform: translateX(6px);
}

.btn-link-light {
    color: var(--white);
    border-bottom-color: var(--accent-light);
}

.btn-link-light:hover {
    color: var(--accent-light);
    border-bottom-color: var(--white);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast), height var(--transition-fast);
    box-shadow: 0 1px 10px rgba(12, 35, 64, 0.05);
}

.main-header.scrolled {
    height: 70px;
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-fast);
}

.main-header.scrolled .logo-img {
    height: 40px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-image-side {
    --hero-image-opacity: 1;
    --hero-image-wipe: 0%;
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    opacity: var(--hero-image-opacity);
    transition: opacity 80ms linear;
    will-change: opacity;
}

.hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        var(--white) 0%, 
        rgba(255, 255, 255, 0.95) 15%, 
        rgba(255, 255, 255, 0.6) 40%, 
        rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.hero-image-side::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: var(--hero-image-wipe);
    background: linear-gradient(to top,
        var(--white) 0%,
        rgba(255, 255, 255, 0.98) 46%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 3;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 580px;
    color: var(--text-dark);
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.arrow-icon {
    transition: transform var(--transition-fast);
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Animate Hero Elements */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}
.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-slide-up-delay {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.animate-slide-up-delay-more {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* USP Section */
.usp-section {
    padding: 100px 0;
    background-color: var(--white);
    border-bottom: 1px solid rgba(12, 35, 64, 0.05);
}

.usp-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(12, 35, 64, 0.05);
    box-shadow: var(--box-shadow-premium);
    text-align: center;
}

.usp-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--accent-color);
    margin-bottom: 24px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.usp-card:hover .usp-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--white);
}

.usp-title {
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.usp-description {
    font-size: 0.95rem;
}

/* Split Section (Image Left, Text Right) */
.split-section {
    padding: 100px 0;
    background-color: var(--white);
}

.split-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    height: 100%;
    min-height: 450px;
    /* Webkit/Chrome rendering clip fix */
    transform: translateZ(0);
    -webkit-transform: translate3d(0, 0, 0);
    isolation: isolate;
}

.split-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition-medium);
}

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

.features-list {
    list-style: none;
    margin: 40px 0 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 34px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(12, 35, 64, 0.04);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 0.95rem;
}

/* Spaces Section (Cards Grid) */
.spaces-section {
    padding: 100px 0;
    background-color: var(--white);
}

.space-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(12, 35, 64, 0.05);
    box-shadow: var(--box-shadow-premium);
    display: flex;
    flex-direction: column;
}

.space-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--white);
}

.space-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition-medium);
}

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

.space-content {
    padding: 24px 28px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.space-title {
    margin-bottom: 14px;
    font-size: 1.15rem;
    line-height: 1.3;
}

.space-description {
    margin-bottom: 0;
    flex-grow: 1;
}

.space-description p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 10px;
}

.space-description p:last-child {
    margin-bottom: 0;
}

.space-link {
    margin-top: auto;
}

/* Available Modules Section */
.modules-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-lead {
    max-width: 720px;
    margin: 16px auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 42px;
}

.module-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(12, 35, 64, 0.06);
    box-shadow: var(--box-shadow-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.floorplan-trigger {
    cursor: zoom-in;
}

.floorplan-trigger:focus-visible {
    outline: 3px solid rgba(184, 144, 71, 0.55);
    outline-offset: 4px;
}

.module-plan-wrapper {
    height: 250px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f5 100%);
    border-bottom: 1px solid rgba(12, 35, 64, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-plan-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

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

.module-kicker {
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background-color: rgba(184, 144, 71, 0.12);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.module-content h3 {
    margin-bottom: 14px;
    font-size: 1.22rem;
    line-height: 1.3;
}

.module-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 18px;
}

.module-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.module-highlights li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.module-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

/* Floorplan Preview Modal */
.floorplan-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.floorplan-modal.open {
    display: flex;
}

.floorplan-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 16, 31, 0.78);
}

.floorplan-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    max-height: calc(100vh - 56px);
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.floorplan-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(12, 35, 64, 0.08);
}

.floorplan-modal-titlebar {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.floorplan-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
}

.floorplan-zoom-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    background-color: var(--light-bg);
    flex-shrink: 0;
}

.floorplan-zoom-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.floorplan-zoom-btn:hover,
.floorplan-zoom-btn:focus-visible {
    background-color: var(--primary-color);
    color: var(--white);
    outline: none;
}

.floorplan-zoom-level {
    min-width: 42px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.floorplan-modal-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.floorplan-modal-close:hover,
.floorplan-modal-close:focus-visible {
    background-color: var(--primary-color);
    color: var(--white);
    outline: none;
}

.floorplan-modal-body {
    min-height: 0;
    padding: 20px;
    background-color: #f7f7f4;
    overflow: auto;
}

.floorplan-modal-img {
    width: calc(100% * var(--floorplan-zoom, 1));
    max-width: none;
    max-height: calc(100vh - 166px);
    object-fit: contain;
    display: block;
    background-color: var(--white);
    margin: 0 auto;
}

.floorplan-modal-img.is-zoomed {
    max-height: none;
    margin: 0;
}

/* Benefits Section (Dark Background, Columns) */
.benefits-section {
    padding: 100px 0;
    background-color: var(--white);
}

.benefits-header {
    max-width: 760px;
    margin: 0 auto;
}

.benefits-grid {
    margin-top: 40px;
    gap: 24px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.benefit-img-container {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    position: relative;
    background-color: var(--light-bg);
}

.benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-content {
    padding: 30px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.benefit-icon {
    color: var(--accent-color);
    margin-bottom: 16px;
}

.benefit-content h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.benefit-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.benefit-card-link {
    color: inherit;
    text-decoration: none;
}

.benefit-card-link:focus-visible {
    outline: 3px solid rgba(184, 144, 71, 0.55);
    outline-offset: 5px;
}

.benefit-link-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.benefit-link-label svg {
    transition: transform var(--transition-fast);
}

.benefit-card-link:hover .benefit-link-label svg {
    transform: translateX(4px);
}

.gallery-slider {
    width: min(1160px, 100%);
    margin: 42px auto 0;
}

.gallery-slider-viewport {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    background-color: var(--primary-dark);
    box-shadow: var(--box-shadow-hover);
}

.gallery-slider-track {
    display: flex;
    transform: translateX(0);
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide {
    position: relative;
    flex: 0 0 100%;
    height: clamp(440px, 51vw, 640px);
    overflow: hidden;
}

.gallery-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(4, 14, 25, 0.84) 100%);
}

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

.gallery-slide figcaption {
    position: absolute;
    left: 36px;
    bottom: 30px;
    z-index: 1;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.gallery-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    color: var(--white);
    background: rgba(4, 14, 25, 0.62);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.gallery-slider-nav:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.05);
}

.gallery-slider-prev {
    left: 24px;
}

.gallery-slider-next {
    right: 24px;
}

.gallery-slider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 6px 0;
}

.gallery-slider-dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(12, 35, 64, 0.18);
    cursor: pointer;
    transition: width var(--transition-fast), border-radius var(--transition-fast), background-color var(--transition-fast);
}

.gallery-dot.is-active {
    width: 34px;
    border-radius: 999px;
    background-color: var(--accent-color);
}

.gallery-dot:focus-visible,
.gallery-slider-nav:focus-visible {
    outline: 3px solid rgba(184, 144, 71, 0.55);
    outline-offset: 4px;
}

.gallery-slider-counter {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

/* Gallery */
.gallery-section {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 18px;
    margin-top: 42px;
}

.gallery-item {
    position: relative;
    height: 280px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-color);
    box-shadow: var(--box-shadow-premium);
    cursor: zoom-in;
    isolation: isolate;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 21, 38, 0.82) 100%);
}

.gallery-item span {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 2;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: left;
}

.gallery-item:hover img {
    transform: scale(1.045);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 4px;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.gallery-modal.open {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 14, 25, 0.92);
    backdrop-filter: blur(8px);
}

.gallery-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 96px);
    border-radius: var(--border-radius-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.gallery-modal-close,
.gallery-modal-nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    background: rgba(4, 14, 25, 0.72);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.gallery-modal-close:hover,
.gallery-modal-nav:hover {
    background: var(--accent-color);
}

.gallery-modal-close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.gallery-modal-nav {
    top: 50%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.gallery-modal-prev {
    left: 14px;
}

.gallery-modal-next {
    right: 14px;
}

.gallery-modal-caption {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    max-width: calc(100% - 180px);
    margin: 0;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(4, 14, 25, 0.75);
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

/* Pricing Table & Location Map */
.pricing-section, .location-section {
    padding: 100px 0;
    background-color: var(--white);
}

.pricing-section {
    border-bottom: 1px solid rgba(12, 35, 64, 0.05);
}

.gap-large {
    gap: 60px;
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
    margin-top: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(12, 35, 64, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--white);
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(12, 35, 64, 0.05);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.comparison-table th.highlight {
    background-color: var(--primary-color);
    color: var(--white);
}

.comparison-table td.feature-name {
    font-weight: 500;
    color: var(--primary-color);
}

.comparison-table td.highlight-cell {
    font-weight: 600;
    color: var(--primary-color);
}

.comparison-table tr:last-child th, .comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: rgba(184, 144, 71, 0.03);
}

/* Location Card */
.location-address {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0 30px;
}

.map-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    height: 100%;
    min-height: 350px;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 35, 64, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.map-wrapper:hover .map-overlay {
    opacity: 1;
}

/* Footer Section */
.footer-section {
    position: relative;
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 76px 0 34px;
    z-index: 1;
}

.footer-cta-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 8px;
}

.footer-cta-subtitle {
    font-size: 1.08rem;
    color: var(--accent-color);
    font-weight: 400;
    margin-bottom: 36px;
}

/* Contact Grid */
.contact-grid {
    margin-bottom: 56px;
}

.contact-card {
    background-color: var(--primary-color);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
    min-width: 0;
}

.contact-portrait-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    flex-shrink: 0;
    background-color: var(--light-bg);
    margin-bottom: 20px;
}

.contact-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-name {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-position {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.contact-bio {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 380px;
    margin: 0 auto 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.85);
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-detail-item:hover {
    color: var(--accent-color);
}

.detail-icon {
    color: var(--accent-color);
    display: flex;
    align-items: center;
}

/* Form Styling */
.contact-form-container {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 30px;
    min-width: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
}

.form-group input, .form-group textarea, .form-group select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    outline: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-group select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%), linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-group select option {
    color: var(--primary-color);
    background-color: var(--white);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 24px;
    margin: 0;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-status.is-success {
    color: #9dd8b0;
}

.form-status.is-error {
    color: #ffb4b4;
}

.contact-form .btn:disabled {
    cursor: wait;
    opacity: 0.68;
}

.contact-stack {
    width: min(1080px, 100%);
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-mini-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(24, 51, 89, 0.96), rgba(12, 35, 64, 0.96));
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.contact-mini-card .contact-info-wrapper {
    min-width: 0;
    text-align: left;
}

.contact-mini-card .contact-name {
    margin-bottom: 5px;
}

.contact-mini-card .contact-position {
    margin-bottom: 9px;
}

.contact-mini-card .contact-bio {
    max-width: 650px;
    margin: 0;
    font-size: 0.94rem;
}

.contact-mini-card .contact-details {
    align-items: flex-start;
}

.contact-mini-card .contact-detail-item {
    justify-content: flex-start;
    white-space: nowrap;
}

.contact-form-wide {
    padding: 34px;
}

.contact-form-heading {
    margin-bottom: 26px;
}

.contact-form-heading h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 1.45rem;
}

.contact-form-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.55;
}

.contact-form-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.form-group-message {
    grid-column: 1 / -1;
}

.contact-form-wide .btn-block {
    margin-top: 4px;
}

/* Footer Bottom */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 60px 0 40px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-col-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
    width: fit-content;
}

.footer-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
}

.footer-nav-links a:hover {
    color: var(--accent-color);
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-contact-info strong {
    color: var(--white);
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-info a:hover {
    color: var(--accent-color);
}

.footer-sub-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 40px 0 25px;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid rgba(12, 35, 64, 0.1);
    box-shadow: var(--box-shadow-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 998;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Image Reveal on Scroll Animation */
.img-reveal {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Styles */
@media (max-width: 1120px) {
    :root {
        --header-height: 70px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        padding: 38px clamp(24px, 6vw, 64px);
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }

    .nav-menu a {
        display: block;
        font-size: 1.05rem;
    }

    .btn-nav {
        display: none;
    }
}

@media (max-width: 1024px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-card {
        min-height: 240px;
        flex-direction: row;
    }
    .benefit-img-container {
        width: 36%;
        height: auto;
    }
    .benefit-content {
        width: 64%;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-mini-card {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .contact-mini-card .contact-details {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-form-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .usp-section,
    .split-section,
    .spaces-section,
    .modules-section,
    .benefits-section,
    .gallery-section,
    .pricing-section,
    .location-section {
        padding: 60px 0;
    }
    
    .grid-2-col, .grid-3-col, .grid-4-col {
        grid-template-columns: 1fr;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
        background-color: var(--white);
    }
    
    .hero-image-side {
        width: 100%;
        height: 100%;
        --hero-image-opacity: 0.16;
    }
    
    .hero-image-side::after {
        background: none;
    }
    
    .hero-content {
        max-width: 100%;
        z-index: 4;
        position: relative;
    }
    
    .text-right {
        text-align: left;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        padding: 40px;
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        display: block;
    }
    
    .btn-nav {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .benefit-card {
        flex-direction: column;
    }
    
    .benefit-img-container {
        width: 100%;
        height: 200px;
    }
    
    .benefit-content {
        width: 100%;
        padding: 30px;
    }

    .benefit-card-wide {
        grid-column: auto;
    }

    .benefit-card-wide .benefit-img-container,
    .benefit-card-wide .benefit-content {
        width: 100%;
    }

    .gallery-slide {
        height: 340px;
    }

    .gallery-slide figcaption {
        left: 20px;
        bottom: 20px;
        font-size: 0.94rem;
    }

    .gallery-slider-nav {
        width: 46px;
        height: 46px;
    }

    .gallery-slider-prev {
        left: 12px;
    }

    .gallery-slider-next {
        right: 12px;
    }

    .gallery-slider-footer {
        padding-top: 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-item,
    .gallery-item-wide {
        grid-column: auto;
        height: 240px;
    }

    .gallery-modal {
        padding: 12px;
    }

    .gallery-modal-panel {
        max-height: calc(100vh - 24px);
    }

    .gallery-modal-img {
        max-height: calc(100vh - 48px);
    }

    .gallery-modal-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
    }

    .gallery-modal-nav {
        width: 44px;
        height: 44px;
    }

    .gallery-modal-prev {
        left: 8px;
    }

    .gallery-modal-next {
        right: 8px;
    }

    .gallery-modal-caption {
        bottom: 10px;
        max-width: calc(100% - 40px);
        font-size: 0.8rem;
    }

    .contact-mini-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 26px 22px;
    }

    .contact-mini-card .contact-info-wrapper {
        text-align: center;
    }

    .contact-mini-card .contact-bio {
        margin: 0 auto;
    }

    .contact-mini-card .contact-details {
        grid-column: auto;
        flex-direction: column;
        align-items: center;
    }

    .contact-mini-card .contact-detail-item {
        justify-content: center;
    }

    .contact-form-wide {
        padding: 28px 22px;
    }

    .contact-form-fields {
        grid-template-columns: 1fr;
    }

    .form-group-message {
        grid-column: auto;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .module-plan-wrapper {
        height: 220px;
    }

    .floorplan-modal {
        padding: 12px;
    }

    .floorplan-modal-panel {
        max-height: calc(100vh - 24px);
    }

    .floorplan-modal-header {
        padding: 14px 16px;
        align-items: flex-start;
        gap: 12px;
    }

    .floorplan-modal-titlebar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .floorplan-modal-body {
        padding: 12px;
    }

    .floorplan-modal-img {
        max-height: calc(100vh - 128px);
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
    }

    .contact-form-container {
        padding: 28px 22px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
    }
}
