:root {
    --primary-lux: #0A192F;       /* Deep Luxury Blue */
    --accent-gold: #D4AF37;       /* Premium Gold */
    --accent-glow: #64FFDA;       /* Interactive Micro-Glow Teal */
    --text-primary: #1E293B;      /* Off-Black Slate */
    --text-muted: #64748B;         /* Soft Gray Slate */
    --bg-light: #F8FAFC;           /* Ultra-Clean Modern Light Gray */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    --radius-premium: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   Premium Glassmorphic Utility Engine
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-premium);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.12);
}

/* Container Structure */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Standardizers */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-lux);
    margin-bottom: 50px;
    letter-spacing: -0.03em;
}

.section-title span {
    color: var(--accent-gold);
}

/* ==========================================================================
   Interactive UI Components & Forms
   ========================================================================== */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-lux) 0%, #112240 100%);
    color: #ffffff;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.2);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.3);
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B89028 100%);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-lux);
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}

/* ==========================================================================
   Overlay Modals & Interstitials (Popups)
   ========================================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    background: none;
    border: none;
}

/* Sticky Bottom Form Module */
.sticky-lead-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    z-index: 1500;
    padding: 12px 0;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.sticky-lead-bar.active {
    transform: translateY(0);
}

.sticky-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* CTA Persistent Triggers */
.cta-floater-group {
    position: fixed;
    bottom: 90px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1400;
}

.float-cta {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.float-cta.whatsapp { background-color: #25D366; }
.float-cta.call { background-color: var(--primary-lux); }
.float-cta:hover { transform: scale(1.1) rotate(5deg); }

/* Lazy Loading Transition Effects */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
img.loaded {
    opacity: 1;
}

/* ==========================================================================
   Responsive Viewport Adaptability Grid
   ========================================================================== */
@media (max-width: 992px) {
    .sticky-lead-bar { display: none !important; } /* Hide heavy bottom sticky bar on small interfaces */
    .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .popup-content { padding: 24px; }
}