/* --- MYBIZONLINE TYPOGRAPHY INJECTION [VIBE-001] --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'Inter', sans-serif;
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo-wrap {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: preloaderReveal 1s ease forwards;
}

.preloader-logo {
    width: 700px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.preloader-line {
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    animation: preloaderLine 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes preloaderReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes preloaderLine {
    0% {
        width: 0;
    }

    100% {
        width: var(--preloader-line-width, 700px);
    }
}

* {
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    font-family: var(--font-sans);
    /* Default to Inter */
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* HEADLINE OVERRIDES (The "Vibe" Patch) */
h1,
h2,
h3,
.chapter-label,
.nav-brand {
    font-family: var(--font-serif);
    font-weight: 400;
    /* Serif looks best at regular weight */
}

/* CUSTOM CURSOR - Desktop Only */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
}

/* GRAIN OVERLAY */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: overlay;
}

/* CUSTOM CURSOR */
#custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    z-index: 10000;
}

#custom-cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

/* Cursor States */
#custom-cursor.active {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Fallback for Touch (Stronger enforcement) */
@media (hover: none),
(pointer: coarse),
(max-width: 1024px) {
    body {
        cursor: auto !important;
    }

    #custom-cursor,
    #custom-cursor-dot {
        display: none !important;
    }
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

.reveal-delay-7 {
    transition-delay: 0.7s;
}

.reveal-delay-8 {
    transition-delay: 0.8s;
}

/* BRANDING UTILITIES */
.gradient-brand {
    background: linear-gradient(to bottom, #f2f2f2 10%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.5));
    white-space: nowrap;
}

/* HEADER & NAV (FIX: Constrained to 1200px) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 10, 10, 0);
    /* Start transparent */
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
    width: 100%;
    height: 120px;
    /* CRITICAL FIX: Increased height for big-agency feel */
    max-width: 1200px;
    margin: 0 auto;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled nav {
    height: 80px;
    padding: 0 40px;
}

.nav-brand {
    justify-self: start;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo-link:hover {
    opacity: 0.8;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    /* Ensure no weird resizing on scroll transitions */
    transform: translateZ(0);
}

header.scrolled .nav-logo-img {
    height: 60px;
}

.nav-center-links {
    display: flex;
    gap: 40px;
    justify-self: center;
    align-items: center;
}

.nav-center-links a {
    text-decoration: none;
    color: #d1d1d1;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-center-links a:hover {
    color: #ffffff;
}

.nav-center-links a {
    position: relative;
}

.nav-center-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blueprint ticks */
.nav-center-links a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 1px;
    height: 6px;
    background: #fff;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.nav-center-links a:hover::before {
    opacity: 1;
}

.nav-right-action {
    justify-self: end;
    display: flex;
    align-items: center;
}

.nav-btn-ghost {
    padding: 10px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    cursor: none;
}

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    justify-self: end;
}

.mobile-menu-toggle i {
    font-size: 1.5rem;
}

.mobile-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 1);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    gap: 35px;
    z-index: 1001;
}

.mobile-nav-dropdown.active {
    display: flex;
}

.mobile-nav-dropdown a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-call-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 4px;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.4) 100%),
        linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 100%;
    padding: 0 20px;
}

.thank-you-heading {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 900px;
    text-align: center;
}

.hero-content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 40px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    transition: transform 0.1s ease-out;
    /* Smooth JS parallax */
    will-change: transform;
}

.cta-button {
    position: relative;
    overflow: hidden;
    padding: 20px 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
}

.cta-button:hover::before {
    left: 150%;
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* INTRO */
#intro-section {
    padding: 140px 20px;
    text-align: center;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

#intro-section h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.intro-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #888;
    font-weight: 300;
    max-width: 600px;
}

/* SERVICES GRID & GLASS CARDS */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    width: 100%;
}

.services-wrapper a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.glass-card,
[class*="type-"] {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 40px;
    border-radius: 4px;
    /* Sharper architectural edges */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* FIX: CLASSY SLOW TRANSITION (0.8s with smooth bezier) */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 320px;
    /* IMPROVED: Taller cards show more of the 1:1 architectural renders */
}

/* Background Image Layer */
.glass-card::after,
[class*="type-"]::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;

    /* FIX: CLASSY SLOW TRANSITION */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    opacity: 0.5;
    /* Base state: Visible but dimmed */
}

/* Dark Overlay Layer */
.glass-card::before,
[class*="type-"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1;

    /* FIX: CLASSY SLOW TRANSITION */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Text Layer */
.glass-card h3,
.glass-card p,
[class*="type-"] h3,
[class*="type-"] p {
    position: relative;
    z-index: 2;
    text-align: center;

    /* FIX: CLASSY SLOW TRANSITION */
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
}

/* --- HOVER INTERACTIONS --- */
/* 1. Hide Text */
.glass-card:hover h3,
.glass-card:hover p,
[class*="type-"]:hover h3,
[class*="type-"]:hover p {
    opacity: 0;
}

/* 2. Remove Overlay */
.glass-card:hover::before,
[class*="type-"]:hover::before {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: none;
}

/* 3. Brighten & Zoom Image */
.glass-card:hover::after,
[class*="type-"]:hover::after {
    transform: scale(1.05);
    opacity: 1;
}

/* IMAGE MAPPINGS */
.card-loft::after {
    background-image: url('Images/loft.png');
}

.card-garden::after {
    background-image: url('Images/garden.png');
}

.card-extension::after {
    background-image: url('Images/extension.png');
}

.type-mansard::after {
    background-image: url('Images/mansard.png');
}

.type-gable::after {
    background-image: url('Images/gable.png');
}

.type-dormer::after {
    background-image: url('Images/dormer.png');
}

.type-office::after {
    background-image: url('Images/studio-office.png');
    background-position: center 80%;
    /* Shifted down to show more ground-level architectural detail */
}

.type-wellness::after {
    background-image: url('Images/studio-gym.png');
    background-position: center 80%;
}

.type-lounge::after {
    background-image: url('Images/studio-lounge.png');
    background-position: center bottom;
}

.type-sidereturn::after {
    background-image: url('Images/extension-side.png');
}

.type-rearextension::after {
    background-image: url('Images/extension-rear.png');
}

.type-wraparound::after {
    background-image: url('Images/extension-wrap.png');
}


/* ASSURANCE STRIP */
#trust-strip {
    padding: 140px 20px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 30px;
    display: block;
}

.assurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.assurance-item {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.assurance-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.assurance-item:hover .assurance-icon {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    opacity: 1;
}

.assurance-icon {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.assurance-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
    color: #fff;
}

.assurance-item p {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
}

/* ATELIER SECTIONS (Lofts, Studios, Extensions) */
#lofts-atelier,
#studios-atelier,
#extensions-atelier {
    padding: 140px 20px;
    background-color: #0a0a0a;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #404040 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header .chapter-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #666;
    display: block;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #888;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.atelier-block {
    margin: 60px auto;
    max-width: 800px;
}

.atelier-block h2,
.transformation-section h3,
.typology-header h3,
.testimonial-section h3 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    color: #fff;
    margin-top: 0;
    /* REMOVE DEFAULT TOP MARGIN */
    margin-bottom: 40px;
    /* UNIFIED BOTTOM MARGIN */
    text-align: center;
}

.atelier-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #999;
    font-weight: 300;
}



.typology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 120px auto;
}

/* SLIDERS */
.sliders-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.slider-title {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: col-resize;
    background: #000;
}

.layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.layer-before {
    z-index: 2;
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    clip-path: inset(0 50% 0 0);
}

.handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 2px solid #000;
}

.label {
    position: absolute;
    bottom: 20px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 20;
}

.label-left {
    left: 20px;
}

.label-right {
    right: 20px;
}

/* GHOST BUTTONS (Re-Styled per feedback) */
.atelier-cta {
    margin-top: 60px;
    text-align: center;
    width: 100%;
    display: block;
}

.btn-ghost-large {
    display: inline-block;
    padding: 20px 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-ghost-large:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* FAQ (FIXED: Alignment, Spacing & Separator Width) */
#faq-section {
    /* FIX: Match width of other sections (1200px) so border is consistent */
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* New Wrapper to constrain content but keep border wide */
.faq-content-container {
    max-width: 800px;
    margin: 0 auto;
}

#faq-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#faq-section h2 {
    margin-bottom: 15px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    cursor: pointer;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 10px 0;
    color: #e0e0e0;
    font-size: 1.2rem;
}

.faq-item[open] summary {
    color: #fff;
}

.faq-a {
    margin-top: 10px;
    color: #888;
    line-height: 1.6;
}

/* CONTACT SECTION */
#contact-section {
    padding: 140px 20px;
    background: #0a0a0a;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-wrapper {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.glass-form-container {
    padding: 60px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border-radius: 4px;
    /* Shadowless Elite UI - No outer shadows for a cleaner, flatter architectural look */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Architectural Internal Rim only */
    position: relative;
    overflow: hidden;
}

.glass-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.1) 80%,
            transparent 100%);
    opacity: 0.6;
}

.distinct-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #aaa;
    margin-bottom: 12px;
    font-weight: 500;
}

.input-group label i {
    font-size: 0.8rem;
    opacity: 0.3;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 18px 20px;
    font-family: var(--font-sans);
    /* Ensure Inter is used */
    font-size: 0.95rem;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.input-group textarea {
    min-height: 140px;
    resize: vertical;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.input-group select option {
    background-color: #0a0a0a;
    color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 22px;
    margin-top: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #404040 100%);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.8s ease;
    pointer-events: none;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #d1d1d1 50%, #808080 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.submit-btn:hover::after {
    left: 100%;
}

.form-disclaimer {
    font-size: 0.7rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

.form-disclaimer a {
    color: #888;
}

/* ADDRESS SUGGESTIONS */
.input-group {
    position: relative;
}

.address-suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
}

.address-suggestions-container.active {
    display: block;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding-left: 20px;
}

.form-section-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0 10px 0;
    opacity: 0.5;
}

.form-section-divider span {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    white-space: nowrap;
}

.form-section-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

/* FOOTER */
footer {
    background: #050505;
    padding: 80px 20px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    /* Vertically center all columns */
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.footer-col a,
.footer-col p {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 10px;
    line-height: 1.6;
}

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

/* LEGAL PAGES */
.legal-container {
    max-width: 900px;
    margin: 151px auto 120px;
    padding: 0 40px;
}

.legal-container h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #404040 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content {
    line-height: 1.8;
    color: #d1d1d1;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 600;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    color: #fff;
}

@media (max-width: 768px) {
    .legal-container {
        margin-top: 120px;
        padding: 0 20px;
    }

    .legal-container h1 {
        font-size: 2.5rem;
    }
}

.footer-main-logo {
    width: 320px;
    height: auto;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: #444;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.mbo-footer-logo {
    height: 35px;
    width: auto;
    vertical-align: middle;
    /* Full visibility for maximum legibility */
    filter: brightness(1) grayscale(0);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-credits a:hover .mbo-footer-logo {
    filter: brightness(1) grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    nav {
        grid-template-columns: 1fr auto;
        padding: 0 20px;
        height: 100px;
    }

    .nav-logo-img {
        height: 60px;
    }

    header.scrolled nav {
        height: 70px;
        padding: 0 20px;
    }

    header.scrolled .nav-logo-img {
        height: 44px;
    }

    .preloader-logo {
        width: 85%;
        max-width: 320px;
        height: auto;
    }

    .preloader-line {
        --preloader-line-width: 85%;
        max-width: 320px;
    }


    .desktop-only {
        display: none !important;
    }

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

    .hero-section {
        height: auto;
        aspect-ratio: 3 / 4;
        min-height: 500px;
        background-color: #0a0a0a;
        padding: 100px 0;
    }

    .hero-bg-video {
        object-fit: cover;
    }

    .hero-logo {
        width: 75%;
        max-width: 280px;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 18px 36px;
        font-size: 0.8rem;
    }

    .services-wrapper,
    .sliders-wrapper,
    .assurance-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .footer-main-logo {
        width: 240px;
        margin: 0 auto 10px auto;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .typology-grid {
        grid-template-columns: 1fr;
        margin-bottom: 80px;
    }

    .glass-card,
    [class*="type-"] {
        min-height: 400px;
        /* Taller on mobile to show full architectural context of 1:1 images */
    }

    /* Specific Mobile Framing */
    .type-office::after,
    .type-wellness::after {
        background-position: center bottom;
        /* Better for vertical mobile cards to show the foundation/garden */
    }

    /* FAQ Mobile adjustment */
    .faq-content-container {
        margin: 0 auto;
    }

    #faq-section .section-header {
        align-items: center;
        text-align: center;
    }

    /* Standardized Mobile Spacing */
    #intro-section,
    #trust-strip,
    #lofts-atelier,
    #studios-atelier,
    #extensions-atelier,
    #faq-section,
    #contact-section {
        padding: 80px 24px;
    }

    .atelier-block {
        margin: 40px auto;
        padding: 0 10px;
    }

    .atelier-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Mobile Footer Credit Polish */
    .footer-credits {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
        max-width: 320px;
        /* Constrain for better text wrapping */
        margin: 10px auto 0 auto;
    }

    .preloader-logo {
        width: 360px;
    }

    .mbo-footer-logo {
        height: 30px;
        /* Slightly smaller for mobile balance */
    }
}

/* COOKIE CONSENT BANNER */
header.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: calc(100% - 60px);
    max-width: 1000px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 34px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
    opacity: 0;
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content {
    flex: 1;
}

.cookie-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.cookie-content a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.cookie-content a:hover {
    opacity: 0.7;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.cookie-btn-accept:hover {
    background: transparent;
    color: #fff;
}

.cookie-btn-reject {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: #fff;
}

/* Cookie Banner Mobile adjustment */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 24px;
        bottom: 20px;
        width: calc(100% - 40px);
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* WORLD-CLASS POLISH TWEAKS */

/* Minimalist Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Glass Card Enhanced Interaction */
.glass-card {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.6s ease;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.03);
}

/* Subtle Shimmer Animation for Core Buttons */
@keyframes buttonShimmer {
    0% {
        transform: translateX(-150%) skewX(-25deg);
    }

    100% {
        transform: translateX(150%) skewX(-25deg);
    }
}

.cta-button::after,
.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: buttonShimmer 6s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

/* Typography Fluidity Fix for Headlines */
h1,
h2 {
    letter-spacing: -0.02em;
    /* Premium tight tracking */
}

/* Executive Section Dividers */
.legal-container {
    position: relative;
}

.legal-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1));
}

/* Additional Assurance Item Polish */
.assurance-item {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.4s ease;
}

.assurance-item:hover {
    transform: translateY(-5px);
    filter: brightness(1.2);
}

.assurance-icon {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.assurance-item:hover .assurance-icon {
    transform: scale(1.15) rotate(5deg);
}

/* TESTIMONIALS SECTION */
.testimonial-section {
    padding: 0;
    margin-bottom: 90px;
    /* RECALIBRATED FOR 120PX VISUAL GAP */
    overflow: hidden;
    position: relative;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollTestimonials 60s linear infinite;
    padding: 20px 0;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 450px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 50px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author::before {
    content: '';
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 320px;
        padding: 35px;
    }

    .testimonial-section {
        margin-bottom: 50px;
        /* RECALIBRATED FOR 80PX VISUAL GAP */
    }
}