/* ==========================================================================
   D SQUARE CONSTRUCTION & DESIGN SYSTEM - BESPOKE STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #A31D1D;         /* Deep Crimson Logo Red */
    --color-primary-hover: #821414;
    --color-primary-trans: rgba(163, 29, 29, 0.08);
    --color-primary-glow: rgba(163, 29, 29, 0.2);
    
    --color-dark-obsidian: #0B0B0C;    /* Luxury Deep Obsidian Black */
    --color-dark-card: #141416;
    --color-dark-border: rgba(255, 255, 255, 0.08);
    --color-dark-text-muted: #8E8E93;
    
    --color-light-bg: #F5F5F7;         /* Warm Apple Light Neutrals */
    --color-light-card: #FFFFFF;
    --color-light-border: rgba(15, 15, 15, 0.08);
    --color-light-text-muted: #626266;
    
    --color-text-primary: #1D1D1F;
    --color-text-light: #FFFFFF;
    
    /* Brand Crimson Accent */
    --color-gold: #A31D1D;
    --color-gold-hover: #821414;
    --color-gold-glow: rgba(163, 29, 29, 0.15);
    
    /* Fonts - Luxury Serif & Modern Sans */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-subheading: 'Plus Jakarta Sans', sans-serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Details */
    --max-width: 1300px;
    --nav-height: 85px;
    --nav-height-scrolled: 75px;
    
    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transition curves */
    --transition-fast: 0.2s cubic-bezier(0.2, 1, 0.3, 1);
    --transition-smooth: 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    --transition-slow: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    
    /* Elevation Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
    --shadow-luxury: 0 30px 60px rgba(0, 0, 0, 0.08);
    --shadow-red-glow: 0 20px 40px rgba(248, 48, 48, 0.15);
}

/* ==========================================================================
   RESET & SYSTEM BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light-card);
    color: var(--color-text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500; /* Luxury serifs look much better when light */
    letter-spacing: 0.01em;
    line-height: 1.2;
}

span.text-gradient {
    background: linear-gradient(135deg, var(--color-gold) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   HEADER NAVIGATION BAR
   ========================================================================== */
.header {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.header.scrolled {
    position: fixed;
    top: 0;
    height: var(--nav-height-scrolled);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.header.scrolled-dark {
    position: fixed;
    top: 0;
    height: var(--nav-height-scrolled);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 12px rgba(163, 29, 29, 0.2);
    object-fit: cover;
    transition: var(--transition-smooth);
}

.logo:hover .logo-img-icon {
    transform: scale(1.06) rotate(5deg);
    box-shadow: 0 0 18px rgba(163, 29, 29, 0.4);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-brand-main {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
    color: #1D1D1F;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-brand-main {
    color: #1D1D1F;
}

.logo-brand-sub {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--color-primary) !important;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.header.scrolled .logo-brand-sub {
    color: var(--color-primary) !important;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1D1D1F;
    position: relative;
    padding: 0.5rem 0;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.header.scrolled .nav-link {
    color: #1D1D1F;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-gold);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-contact-pill {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white !important;
    border: none;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(163, 29, 29, 0.25);
    font-family: var(--font-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.btn-contact-pill:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(163, 29, 29, 0.4);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 25px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1D1D1F;
    transition: var(--transition-fast);
}

.header.scrolled .mobile-toggle span {
    background-color: #1D1D1F;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay Drawer */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: var(--color-dark-obsidian);
    color: var(--color-text-light);
    z-index: 999;
    padding: 8rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-overlay.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.mobile-nav-link {
    font-size: 1.4rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.mobile-overlay-footer {
    border-top: 1px solid var(--color-dark-border);
    padding-top: 2rem;
}

.mobile-overlay-footer p {
    font-size: 0.8rem;
    color: var(--color-dark-text-muted);
}

.mobile-overlay-footer a.phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-top: 0.5rem;
}

/* ==========================================================================
   CINEMATIC HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    background-color: var(--color-dark-obsidian);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 11, 12, 0.25) 0%, rgba(11, 11, 12, 0.65) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--color-text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 0 1rem;
}

.hero-pretitle {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: block;
    font-family: var(--font-sans);
}

.hero-title {
    font-size: clamp(2.5rem, 6.2vw, 4.8rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    font-family: var(--font-heading);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.text-highlight-accent {
    color: var(--color-primary);
    font-weight: 500;
    text-shadow: 0 0 20px rgba(163, 29, 29, 0.45), 0 2px 5px rgba(0, 0, 0, 0.9);
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.8rem;
}

.hero-divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(163, 29, 29, 0) 0%, var(--color-primary) 100%);
}

.hero-divider-diamond {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--color-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-sans);
    line-height: 1.6;
}

/* ==========================================================================
   CONFIGURATOR / SEARCH DECK WIDGET
   ========================================================================== */
.search-widget {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding: 0 2rem;
}

.search-deck {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-luxury);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.search-select-container {
    flex: 1;
    position: relative;
}

.search-select-custom {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    padding: 0.5rem 0;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1D1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 14px;
    padding-right: 20px;
}

.search-divider {
    width: 1px;
    height: 30px;
    background-color: var(--color-light-border);
}

.search-pill-btn {
    background-color: var(--color-primary);
    color: white;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(248, 48, 48, 0.25);
    transition: var(--transition-fast);
}

.search-pill-btn:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(248, 48, 48, 0.35);
}

/* ==========================================================================
   SECTIONS & SYSTEM CARDS
   ========================================================================== */
.section {
    padding: 7.5rem 0;
}

.title-block {
    max-width: 600px;
    margin-bottom: 4rem;
}

.title-block.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.tagline {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.8rem;
    font-family: var(--font-sans);
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: var(--color-text-primary);
    line-height: 1.15;
}

h2 span {
    font-weight: 300;
    font-style: italic;
    color: var(--color-gold);
}

.title-block p {
    color: var(--color-light-text-muted);
    font-size: 1.1rem;
    margin-top: 1.2rem;
    font-weight: 300;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2.2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Custom Luxury Showcase Card */
.showcase-card {
    background-color: var(--color-light-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-light-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.showcase-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    overflow: hidden;
}

.showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.showcase-card:hover .showcase-img-wrap img {
    transform: scale(1.06);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
}

.showcase-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.showcase-developer {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.showcase-status-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background-color: var(--color-light-bg);
    color: var(--color-text-primary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
}

.showcase-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.showcase-meta {
    font-size: 0.85rem;
    color: var(--color-light-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

.showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-light-border);
    padding-top: 1.2rem;
}

.showcase-price-label {
    font-size: 0.72rem;
    color: var(--color-light-text-muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
}

.showcase-price-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-sans);
}

.showcase-cta {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-sans);
}

/* ==========================================================================
   WHY CHOOSE US (APPLE-STYLE CARDS)
   ========================================================================== */
.advantage-card {
    background-color: var(--color-light-bg);
    border-radius: var(--radius-md);
    padding: 3.5rem 2.8rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary-trans);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.advantage-card h3 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--color-light-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Featured / highlighted card styling */
.advantage-card.highlighted {
    background-color: var(--color-dark-obsidian) !important;
    color: var(--color-text-light) !important;
    border: 1px solid var(--color-gold) !important;
    box-shadow: var(--shadow-red-glow) !important;
}

.advantage-card.highlighted h3 {
    color: white;
}

.advantage-card.highlighted p {
    color: var(--color-dark-text-muted);
}

/* ==========================================================================
   CEO SPOTLIGHT
   ========================================================================== */
.ceo-section {
    background-color: var(--color-light-bg);
}

.ceo-grid {
    display: grid;
    grid-template-columns: 4.5fr 7.5fr;
    gap: 4.5rem;
    align-items: center;
}

.ceo-img-container {
    aspect-ratio: 4/5;
    background-color: #E5E5EA;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
}

.ceo-quote {
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-family: var(--font-subheading);
    font-weight: 400;
    line-height: 1.45;
    color: var(--color-text-primary);
    position: relative;
    margin-bottom: 2rem;
}

.ceo-name {
    font-size: 1.45rem;
    font-weight: 500;
    margin-bottom: 3px;
}

.ceo-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    font-family: var(--font-sans);
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS
   ========================================================================== */
.testimonial-card {
    background-color: white;
    border: 1px solid var(--color-light-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-text-primary);
    margin-bottom: 2.2rem;
    font-style: italic;
    font-family: var(--font-sans);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
}

.author-info span {
    font-size: 0.78rem;
    color: var(--color-light-text-muted);
    font-family: var(--font-sans);
}

.testimonial-rating {
    margin-left: auto;
    color: #FFB300;
    font-size: 0.9rem;
}

/* ==========================================================================
   INTERACTIVE COST ESTIMATOR PAGE
   ========================================================================== */
.option-card {
    border: 2px solid var(--color-light-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    background-color: var(--color-light-card);
    transition: var(--transition-fast);
    cursor: pointer;
    text-align: center;
    font-family: var(--font-sans);
}

.option-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.option-card.active {
    border-color: var(--color-primary-hover);
    background-color: var(--color-primary);
    color: #FFFFFF;
    font-weight: 700;
}

/* ==========================================================================
   GLASSMORPHIC INQUIRY FORM
   ========================================================================== */
.glass-form-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-luxury);
}

.glass-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    font-family: var(--font-sans);
}

.form-control {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    outline: none;
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.form-control:focus {
    background-color: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-trans);
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-light-text-muted);
    font-family: var(--font-sans);
}

.form-checkbox input {
    margin-top: 4px;
    accent-color: var(--color-primary);
}

/* ==========================================================================
   INFINITE SLIDING MARQUEE TICKER
   ========================================================================== */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 90px;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    color: var(--color-light-text-muted);
    opacity: 0.45;
    transition: var(--transition-fast);
}

.marquee-content span:hover {
    color: var(--color-primary);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   LUXURY PAGE PRELOADER & EXPERIENCE GATE
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-obsidian);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.preloader-btn {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px rgba(163, 29, 29, 0.1);
    margin-top: 2rem;
    opacity: 0;
    animation: fade-in-up 1s ease forwards 0.5s;
}

.preloader-btn:hover {
    background: var(--color-gold);
    color: var(--color-dark-obsidian);
    box-shadow: 0 0 25px rgba(163, 29, 29, 0.4);
    transform: translateY(-2px);
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SCROLL REVEALS ENGINE
   ========================================================================== */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(8px);
    transition: opacity 0.3s cubic-bezier(0.2, 1, 0.3, 1), transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-left {
    transform: translateX(-8px);
    transition: opacity 0.3s cubic-bezier(0.2, 1, 0.3, 1), transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-right {
    transform: translateX(8px);
    transition: opacity 0.3s cubic-bezier(0.2, 1, 0.3, 1), transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-scale {
    transform: scale(0.99);
    transition: opacity 0.3s cubic-bezier(0.2, 1, 0.3, 1), transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Active Class applied via intersection observer */
.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger system */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   BUTTON LAYOUTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(248, 48, 48, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(248, 48, 48, 0.35);
}

.btn-secondary {
    background-color: var(--color-text-primary);
    color: white;
}

.btn-secondary:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-gold {
    background-color: var(--color-gold);
    color: white;
    box-shadow: 0 8px 25px rgba(163, 29, 29, 0.2);
}

.btn-gold:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(163, 29, 29, 0.35);
}

.btn-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-sans);
}

.btn-text:hover {
    color: var(--color-primary-hover);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-dark-obsidian);
    color: var(--color-text-light);
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--color-dark-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-family: var(--font-sans);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-dark-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--color-dark-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-dark-text-muted);
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--font-sans);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE BREAKPOINTS)
   ========================================================================== */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .ceo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .search-deck {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .search-divider {
        width: 100%;
        height: 1px;
    }
    .search-pill-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .section {
        padding: 5rem 0;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .glass-form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   FLOATING AUDIO FAB & CONTROL
   ========================================================================== */
.audio-control-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(11, 11, 12, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-gold);
    box-shadow: 0 10px 25px rgba(163, 29, 29, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition-smooth);
}

.audio-control-fab:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(163, 29, 29, 0.45);
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.audio-control-fab:hover span {
    background-color: var(--color-dark-obsidian) !important;
}

.audio-control-fab:hover .audio-icon-muted {
    color: var(--color-dark-obsidian);
}

.audio-waves {
    display: none;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.audio-waves span {
    display: block;
    width: 2px;
    height: 3px;
    background-color: var(--color-gold);
    animation: wave-bounce 0.8s ease-in-out infinite alternate;
}

.audio-waves span:nth-child(2) { animation-delay: 0.15s; }
.audio-waves span:nth-child(3) { animation-delay: 0.3s; }
.audio-waves span:nth-child(4) { animation-delay: 0.45s; }

@keyframes wave-bounce {
    0% { height: 3px; }
    100% { height: 16px; }
}

.audio-icon-muted {
    color: var(--color-gold);
    display: block;
}

.audio-control-fab.playing .audio-waves {
    display: flex;
}

.audio-control-fab.playing .audio-icon-muted {
    display: none;
}

/* ==========================================================================
   SHOWCASE DARK GALLERY
   ========================================================================== */
.showcase-dark-gallery {
    background-color: #121214;
    border-top: 1px solid var(--color-dark-border);
    border-bottom: 1px solid var(--color-dark-border);
}

.showcase-dark-gallery .title-block h2 {
    color: white;
}

.showcase-dark-gallery .title-block p {
    color: var(--color-dark-text-muted);
}

.showcase-dark-gallery .showcase-card {
    background-color: #1C1C1E;
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.showcase-dark-gallery .showcase-title {
    color: white;
}

.showcase-dark-gallery .showcase-meta {
    color: var(--color-dark-text-muted);
}

.showcase-dark-gallery .showcase-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.showcase-dark-gallery .showcase-status-badge {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-gold);
}

.showcase-dark-gallery .showcase-price-label {
    color: var(--color-dark-text-muted);
}

.showcase-dark-gallery .showcase-cta {
    color: white;
}

.showcase-dark-gallery .showcase-cta:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   GEOMETRIC GRID LINES & COORDINATES
   ========================================================================== */
.bg-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

.section-coordinates {
    position: absolute;
    top: 30px;
    left: 30px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: rgba(163, 29, 29, 0.4);
    text-transform: uppercase;
    pointer-events: none;
    z-index: 5;
}

@media (max-width: 992px) {
    .section-coordinates { display: none; }
}

/* ==========================================================================
   ASYMMETRICAL PILLARS SPLIT GRID
   ========================================================================== */
.pillars-split-grid {
    display: grid;
    grid-template-columns: 5.2fr 6.8fr;
    gap: 6rem;
    align-items: start;
}

.pillars-sticky-left {
    position: sticky;
    top: 120px;
}

.timeline-container {
    position: relative;
    padding-left: 2rem;
    margin-top: 3.5rem;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-gold) 0%, rgba(163, 29, 29, 0.15) 100%);
}

.timeline-dot {
    position: absolute;
    left: -4px;
    top: 5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold);
    transition: top 0.4s ease;
}

.timeline-labels {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-label-item {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-dark-text-muted);
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.timeline-label-item.active {
    color: var(--color-gold);
}

.pillar-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.pillar-card {
    background-color: var(--color-light-card);
    border: 1px solid var(--color-light-border);
    padding: 3rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: transparent;
    transition: var(--transition-fast);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(163, 29, 29, 0.2);
}

.pillar-card:hover::before {
    background-color: var(--color-gold);
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-gold);
    opacity: 0.3;
    margin-bottom: 0.8rem;
    display: block;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-num {
    opacity: 1;
    transform: scale(1.05);
}

.pillar-card h3 {
    font-size: 1.55rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.pillar-card p {
    color: var(--color-light-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 992px) {
    .pillars-split-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .pillars-sticky-left {
        position: static;
    }
    .timeline-container {
        display: none;
    }
}

/* ==========================================================================
   FOUNDER CEO MAGAZINE FRAME
   ========================================================================== */
.ceo-frame {
    position: relative;
    border: 1px solid rgba(163, 29, 29, 0.2);
    padding: 18px;
    border-radius: var(--radius-md);
    background-color: white;
}

.ceo-frame::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    border-bottom: 3px solid var(--color-gold);
    border-right: 3px solid var(--color-gold);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.ceo-frame:hover::after {
    width: 65px;
    height: 65px;
}

.ceo-stamp {
    position: absolute;
    top: 35px;
    right: 35px;
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: white;
    background-color: var(--color-dark-obsidian);
    padding: 6px 14px;
    border: 1px solid var(--color-gold);
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ==========================================================================
   STATS DASHBOARD
   ========================================================================== */
.stats-dashboard {
    position: relative;
    background-color: var(--color-dark-obsidian);
    padding: 8.5rem 0;
    border-top: 1px solid var(--color-dark-border);
    border-bottom: 1px solid var(--color-dark-border);
    overflow: hidden;
}

.stats-grid-container {
    position: relative;
    z-index: 2;
}

.stat-box {
    position: relative;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.stat-box::after {
    content: '';
    position: absolute;
    right: -1.1rem;
    top: 20%;
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(163, 29, 29, 0.2), transparent);
}

.stat-box:last-child::after {
    display: none;
}

.stat-box:hover {
    transform: translateY(-6px);
}

.stat-circle-ring {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    border: 1px dashed rgba(163, 29, 29, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    transition: var(--transition-smooth);
}

.stat-box:hover .stat-circle-ring {
    border-color: var(--color-gold);
    transform: rotate(45deg);
    box-shadow: 0 0 25px rgba(163, 29, 29, 0.2);
}

@media (max-width: 992px) {
    .stat-box::after {
        display: none;
    }
    .stat-box {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   LUXURY USER FEEDBACK & RATINGS (TESTIMONIALS)
   ========================================================================== */
.testimonial-stars {
    font-size: 1.45rem;
    color: #FFC107 !important; /* Premium Amber Gold Yellow */
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.35);
}

.testimonial-card {
    background: #FFFFFF !important;
    border: 1px solid var(--color-light-border) !important;
    padding: 3rem 2.8rem !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04) !important;
    transition: var(--transition-smooth) !important;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--color-gold) !important;
    box-shadow: 0 20px 45px rgba(163, 29, 29, 0.16) !important;
}

/* ==========================================================================
   GRAPHICAL MULTI-TIER QC PIPELINE
   ========================================================================== */
.qc-pipeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 4.5rem;
}

.qc-pipeline::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: repeating-linear-gradient(to right, transparent, transparent 6px, var(--color-gold) 6px, var(--color-gold) 12px);
    z-index: 1;
    opacity: 0.6;
}

.qc-pipeline-step {
    position: relative;
    z-index: 2;
    width: 22%;
    text-align: center;
}

.qc-pipeline-badge {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--color-light-border);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    position: relative;
}

.qc-pipeline-step:hover .qc-pipeline-badge {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 25px rgba(163, 29, 29, 0.25);
    transform: scale(1.08);
}

.qc-pipeline-step h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text-primary);
}

.qc-pipeline-step p {
    font-size: 0.88rem;
    color: var(--color-light-text-muted);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 992px) {
    .qc-pipeline {
        flex-direction: column;
        gap: 3.5rem;
        align-items: center;
    }
    .qc-pipeline::before {
        display: none;
    }
    .qc-pipeline-step {
        width: 100%;
    }
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 3.5rem;
}

.faq-item {
    border: 1px solid var(--color-light-border);
    border-radius: var(--radius-md);
    background-color: white;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--color-gold);
    box-shadow: 0 10px 25px rgba(163, 29, 29, 0.08);
}

.faq-header {
    padding: 1.6rem 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    transition: var(--transition-fast);
}

.faq-item:hover .faq-header h4 {
    color: var(--color-gold-hover);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-gold);
    transition: transform 0.35s ease;
    line-height: 1;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 2.2rem;
}

.faq-body p {
    color: var(--color-light-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-body {
    max-height: 350px;
    padding: 0 2.2rem 1.6rem 2.2rem;
}

/* ==========================================================================
   LIVING LUXURY CTA BOX & PULSE BUTTON
   ========================================================================== */
.luxury-cta-box {
    position: relative;
    background: var(--color-dark-obsidian);
    border: 1px solid rgba(163, 29, 29, 0.25);
    border-radius: var(--radius-md);
    padding: 6.5rem 5rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.luxury-cta-box .bg-grid-lines {
    opacity: 0.12;
}

.luxury-cta-box h2 {
    color: white;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.2;
}

.btn-primary.pulsing {
    position: relative;
    animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
    0% { box-shadow: 0 0 0 0 rgba(163, 29, 29, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(163, 29, 29, 0); }
    100% { box-shadow: 0 0 0 0 rgba(163, 29, 29, 0); }
}

/* ==========================================================================
   LUXURY COMPARISON TABLE MATRIX
   ========================================================================== */
.comparison-table-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-light-border);
    margin-top: 3.5rem;
}

.luxury-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.luxury-table th {
    background-color: var(--color-dark-obsidian);
    color: white;
    padding: 1.6rem;
    font-weight: 700;
    border-bottom: 2px solid var(--color-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.luxury-table td {
    padding: 1.6rem;
    border-bottom: 1px solid var(--color-light-border);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.luxury-table tr:hover td {
    background-color: rgba(163, 29, 29, 0.03);
}

.luxury-table td.element-name {
    font-weight: 700;
    color: var(--color-dark-obsidian);
    background-color: var(--color-light-bg);
    width: 25%;
}

.luxury-table td.highlight-cell {
    font-weight: 600;
    color: var(--color-dark-obsidian);
}

.luxury-table td.gold-glow-cell {
    background-color: rgba(163, 29, 29, 0.04);
    border-left: 1px solid rgba(163, 29, 29, 0.12);
    border-right: 1px solid rgba(163, 29, 29, 0.12);
    font-weight: 700;
    color: var(--color-gold-hover);
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-utility-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1001;
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
}

.top-utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.utility-left, .utility-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.utility-left a, .utility-right a, .utility-city-dropdown {
    font-size: 0.78rem;
    color: #626266;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.utility-left a:hover, .utility-right a:hover, .utility-city-dropdown:hover {
    color: var(--color-primary);
}

.utility-divider {
    color: #D2D2D7;
    font-size: 0.75rem;
}

/* ==========================================================================
   REAL-TIME NEWS TICKER BAR
   ========================================================================== */
.ticker-bar {
    background-color: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 42px;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #25D366;
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   SPLIT HERO SECTION LAYOUT
   ========================================================================== */
.hero-section-split {
    position: relative;
    background-color: #0B0B0C;
    background-image: url('images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 9.5rem 0 6.5rem;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-section-split::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 11, 12, 0.82) 0%, rgba(11, 11, 12, 0.45) 50%, rgba(11, 11, 12, 0.82) 100%);
    z-index: 1;
}

.hero-split-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-left-text {
    text-align: left;
}

.hero-left-text h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-left-text h1 span {
    color: var(--color-primary);
}

.hero-left-text .services-list {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.hero-left-text .desc-para {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-sans);
}

.hero-trust-stars {
    color: #FFC107;
    font-size: 0.9rem;
}

.estimate-lead-card {
    background: rgba(11, 11, 12, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    position: relative;
    z-index: 10;
}

.estimate-lead-card h2 {
    font-size: 1.45rem;
    font-weight: 900;
    color: white;
    margin-bottom: 5px;
}

.estimate-lead-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.8rem;
}

.estimate-form-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.phone-input-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.12);
}

.phone-country-code {
    background-color: rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    padding: 0 12px;
    display: flex;
    align-items: center;
    user-select: none;
}

.estimate-lead-card input, .estimate-lead-card select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.12);
    color: white;
    transition: var(--transition-fast);
    outline: none;
}

.estimate-lead-card input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.estimate-lead-card select option {
    background-color: #0B0B0C;
    color: white;
}

.estimate-lead-card input:focus, .estimate-lead-card select:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-trans);
}

.estimate-lead-card .btn-primary {
    width: 100%;
    padding: 1.1rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 15px;
    border-radius: var(--radius-md);
}

.estimate-lead-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1.2rem;
}

.estimate-lead-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.estimate-lead-footer svg {
    color: #25D366;
    width: 12px;
    height: 12px;
}

@media (max-width: 992px) {
    .top-utility-bar {
        display: none;
    }
    .header {
        top: 0;
    }
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-left-text {
        text-align: center;
    }
    .hero-left-text h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    .hero-left-text .desc-para {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-action-buttons {
        justify-content: center;
    }
    .hero-trust-row {
        justify-content: center;
    }
    .estimate-lead-card {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   LADDER & BRICK THEMED TIMELINE SYSTEM
   ========================================================================== */
.ladder-construction {
    position: relative;
    max-width: 750px;
    margin: 4.5rem auto 0 auto;
    padding: 0 50px;
}

/* Steel vertical ladder rails on the sides */
.ladder-construction::before, .ladder-construction::after {
    content: '';
    position: absolute;
    top: -20px;
    bottom: -20px;
    width: 12px;
    background: linear-gradient(90deg, #666, #e5e5e7 50%, #444);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1;
}

.ladder-construction::before {
    left: 20px;
}

.ladder-construction::after {
    right: 20px;
}

/* Stacked brick card block representing a stage */
.brick-step-card {
    position: relative;
    background: linear-gradient(135deg, #B22222 0%, #800000 100%);
    border: 3px solid #5A1111;
    border-radius: 8px;
    padding: 2.2rem 2.8rem;
    margin-bottom: 2.5rem;
    color: white;
    box-shadow: inset -4px -4px 0px rgba(0,0,0,0.25), 0 10px 25px rgba(163,29,29,0.15);
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.3s;
    text-align: left;
}

.brick-step-card:last-child {
    margin-bottom: 0;
}

.brick-step-card:hover {
    transform: scale(1.02);
    box-shadow: inset -4px -4px 0px rgba(0,0,0,0.25), 0 15px 35px rgba(163,29,29,0.3);
}

/* Silver steel rungs linking the rails to the bricks */
.brick-step-card::before, .brick-step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 10px;
    width: 25px;
    background: linear-gradient(180deg, #888, #e5e5e7 50%, #555);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: -1;
}

.brick-step-card::before {
    left: -23px;
}

.brick-step-card::after {
    right: -23px;
}

.brick-texture-mortar {
    position: absolute;
    bottom: 8px;
    right: 18px;
    font-size: 0.7rem;
    opacity: 0.2;
    font-weight: 800;
    letter-spacing: 1px;
    pointer-events: none;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.brick-step-card h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 5px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.brick-step-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    margin: 0;
}

.brick-badge-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    font-weight: 900;
    font-size: 0.85rem;
    color: white;
}

@media (max-width: 768px) {
    .ladder-construction {
        padding: 0 20px;
    }
    .ladder-construction::before, .ladder-construction::after {
        display: none;
    }
    .brick-step-card::before, .brick-step-card::after {
        display: none;
    }
}

/* ==========================================================================
   MOBILE & RESPONSIVE REPAIR MATRIX (STRICT SCREEN ALIGNMENT OVERRIDES)
   ========================================================================== */
@media (max-width: 768px) {
    /* Global Section & Container Adjustments */
    .section {
        padding: 3.5rem 0 !important;
    }
    .container {
        padding: 0 1.2rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Global Grid Collapse */
    .grid, .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Top Utility Bar - Force Hide */
    .top-utility-bar {
        display: none !important;
    }

    /* Header & Mobile Toggle Fixed Alignment */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 68px !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05) !important;
    }
    
    .header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 100% !important;
    }

    /* Logo Wrapping Prevention */
    .logo {
        display: flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
        max-width: 75% !important;
    }
    
    .logo-img-icon {
        width: 42px !important;
        height: 42px !important;
        flex-shrink: 0 !important;
    }
    
    .logo-text-group {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .logo-brand-main {
        font-size: 1.15rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        color: #1D1D1F !important;
    }

    .logo-brand-sub {
        font-size: 0.46rem !important;
        letter-spacing: 0.05em !important;
        white-space: nowrap !important;
        margin-top: 1px !important;
    }

    /* Nav Actions & Button Hide */
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .nav-actions .btn-contact-pill {
        display: none !important; /* Hide header button on mobile to prevent overlapping logo */
    }

    .mobile-toggle {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 30px !important;
        height: 30px !important;
    }

    /* Split Hero Section Adjustments */
    .hero-section-split {
        padding: 6.5rem 0 3.5rem 0 !important;
        min-height: auto !important;
    }

    .hero-split-grid {
        grid-template-columns: 1fr !important;
        gap: 2.2rem !important;
        text-align: center !important;
    }

    .hero-left-text {
        text-align: center !important;
    }

    .hero-left-text h1 {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.2rem !important;
    }

    .hero-left-text .services-list {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }

    .hero-left-text .desc-para {
        font-size: 0.88rem !important;
        margin: 0 auto 1.8rem auto !important;
        line-height: 1.5 !important;
    }

    /* Hero Buttons - Stacking */
    .hero-action-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto 1.8rem auto !important;
    }

    .hero-action-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 0.88rem !important;
    }

    .hero-trust-row {
        justify-content: center !important;
        padding-top: 1.5rem !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    /* Voiceover Guideline pill styling on mobile */
    #voiceoverPill {
        margin-bottom: 1.5rem !important;
        padding: 6px 12px !important;
    }

    /* News Tickers and Statistic Wraps */
    .ticker-bar {
        height: auto !important;
        padding: 0.8rem 0.5rem !important;
        flex-wrap: wrap !important;
    }
    
    .ticker-bar .container {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .ticker-bar .utility-divider {
        display: none !important; /* Hide dividers that cause wrap misalignment */
    }

    /* Showcase & Portfolio Cards */
    .showcase-card {
        margin-bottom: 1rem;
    }

    /* Brick step details on mobile */
    .brick-step-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .brick-step-card h4 {
        font-size: 1.1rem !important;
    }
    
    .brick-step-card p {
        font-size: 0.84rem !important;
    }

    /* Table responsiveness override */
    .comparison-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-top: 2rem !important;
    }

    .luxury-table {
        min-width: 650px !important;
    }
    
    .luxury-table th, .luxury-table td {
        padding: 1rem !important;
        font-size: 0.84rem !important;
    }
    
    /* Bottom CTA Obsidian Box */
    .luxury-cta-box {
        padding: 2.2rem 1.5rem !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 480px) {
    /* Prevent title wrapping and resize elements */
    .logo-brand-main {
        font-size: 0.90rem !important;
    }
    .logo-brand-sub {
        font-size: 0.42rem !important;
        letter-spacing: 0.12em !important;
    }
    .hero-left-text h1 {
        font-size: 1.95rem !important;
    }
    .logo-img-icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 360px) {
    .logo-brand-main {
        font-size: 0.80rem !important;
    }
}

/* Intermediate screen alignment (prevents navigation/logo overlap) */
@media (min-width: 993px) and (max-width: 1280px) {
    .logo-brand-main {
        font-size: 1.02rem !important;
    }
    .logo-brand-sub {
        font-size: 0.46rem !important;
        letter-spacing: 0.10em !important;
    }
    .nav-menu {
        gap: 1.1rem;
    }
    .nav-link {
        font-size: 0.85rem;
    }
}

/* Premium Video Card Interactive Transitions */
.video-card-link:hover .video-thumbnail {
    transform: scale(1.06) !important;
}

.video-card-link:hover .play-overlay {
    background: rgba(0, 0, 0, 0.22) !important;
}

.video-card-link:hover .play-btn {
    transform: scale(1.1) !important;
    background-color: var(--color-primary) !important; /* changes to primary red on hover */
    box-shadow: 0 8px 24px rgba(163, 29, 29, 0.4) !important;
}



