/* ==========================================================================
   AMMAN MOTORS - Ultra-Modern Light Theme & Responsive Masterpiece
   Aesthetics: Clean Glassmorphism, Bold Typography, Vibrant Accent Gradients
   ========================================================================== */

/* --- 1. CSS Custom Properties / Design System Tokens --- */
:root {
    /* Light Theme (Default - High Contrast Luxury Studio) */
    --bg-primary: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-alt: #F1F5F9;
    --bg-subtle: #E2E8F0;
    
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-subtle: #94A3B8;
    --text-inverse: #FFFFFF;
    
    --border-color: #E2E8F0;
    --border-hover: #FF5500;
    
    --primary: #FF5500;
    --primary-hover: #E04B00;
    --primary-light: #FFF1EC;
    --primary-glow: rgba(255, 85, 0, 0.25);
    
    --accent-gradient: linear-gradient(135deg, #FF5500 0%, #FF2E00 100%);
    --accent-blue: #2563EB;
    
    --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
    --shadow-primary: 0 10px 25px -5px rgba(255, 85, 0, 0.35);
    
    --navbar-bg: rgba(255, 255, 255, 0.92);
    --navbar-border: rgba(226, 232, 240, 0.8);
    
    --font-head: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Midnight Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0B0F19;
    --bg-surface: #111827;
    --bg-card: #1E293B;
    --bg-glass: rgba(17, 24, 39, 0.85);
    --bg-alt: #172033;
    --bg-subtle: #334155;
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-subtle: #64748B;
    --text-inverse: #0F172A;
    
    --border-color: #1E293B;
    --border-hover: #FF6A00;
    
    --primary: #FF6A00;
    --primary-hover: #E05D00;
    --primary-light: rgba(255, 106, 0, 0.15);
    --primary-glow: rgba(255, 106, 0, 0.35);
    
    --accent-gradient: linear-gradient(135deg, #FF6A00 0%, #FF2E00 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
    --shadow-primary: 0 10px 25px rgba(255, 106, 0, 0.4);
    
    --navbar-bg: rgba(11, 15, 25, 0.92);
    --navbar-border: rgba(255, 255, 255, 0.08);
}

/* Cyber Electric Blue Theme */
[data-theme="cyber"] {
    --bg-primary: #050B14;
    --bg-surface: #0B1528;
    --bg-card: #112240;
    --bg-glass: rgba(11, 21, 40, 0.85);
    --bg-alt: #0D1B36;
    --bg-subtle: #1E3A5F;
    
    --text-main: #F0F6FF;
    --text-muted: #88A4D8;
    --text-subtle: #47689B;
    --text-inverse: #050B14;
    
    --border-color: rgba(56, 189, 248, 0.2);
    --border-hover: #00F0FF;
    
    --primary: #00F0FF;
    --primary-hover: #00C8D6;
    --primary-light: rgba(0, 240, 255, 0.12);
    --primary-glow: rgba(0, 240, 255, 0.35);
    
    --accent-gradient: linear-gradient(135deg, #00F0FF 0%, #3B82F6 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 240, 255, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 240, 255, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 240, 255, 0.25);
    --shadow-primary: 0 10px 25px rgba(0, 240, 255, 0.4);
    
    --navbar-bg: rgba(5, 11, 20, 0.92);
    --navbar-border: rgba(56, 189, 248, 0.2);
}

/* --- 2. Global Reset & Layout Enforcement --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- 3. Preloader & Progress --- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent-gradient);
    width: 0%;
    z-index: 10001;
}

/* --- 4. Typography & Buttons --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #FFFFFF !important;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 85, 0, 0.45);
}

.btn-outline {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Card Styling */
.card-glass {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card-glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

/* --- 5. Flawless Responsive Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navbar-border);
    padding: 0.85rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.brand-text .dot {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-tech);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Theme Switcher Toggle Pill */
.theme-switch {
    display: flex;
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 2px;
}

.theme-opt {
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.theme-opt:hover {
    color: var(--text-main);
}

.theme-opt.active {
    background: var(--bg-surface);
    color: var(--primary);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- 6. Hero Section --- */
.hero {
    position: relative;
    padding: 140px 0 90px 0;
    background: radial-gradient(circle at 85% 15%, var(--primary-light) 0%, transparent 45%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-left h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-left p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-surface);
}

.hero-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.badge-float {
    position: absolute;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-float.top-badge {
    top: -15px;
    right: -15px;
}

.badge-float.bottom-badge {
    bottom: -15px;
    left: -15px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
}

.badge-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* --- 7. Luxury Brands Marquee --- */
.brands-bar {
    background: var(--bg-surface);
    border-y: 1px solid var(--border-color);
    padding: 1.25rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-item {
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-subtle);
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 3rem;
}

.marquee-item .dot {
    color: var(--primary);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 8. Signature Services --- */
.services-sec {
    padding: 90px 0;
}

.filter-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-chip {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.srv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.srv-icon-box {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.srv-index {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-subtle);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.srv-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.srv-tag {
    font-family: var(--font-tech);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}

.srv-btn {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-card:hover .srv-btn {
    color: var(--primary);
    transform: translateX(4px);
}

/* --- 9. Interactive Estimator Section --- */
.estimator-sec {
    padding: 80px 0;
    background: var(--bg-alt);
}

.estimator-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-lg);
}

.estimator-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.custom-select {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.calc-result-box {
    background: var(--bg-primary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calc-title {
    font-family: var(--font-tech);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.calc-amount {
    font-family: var(--font-head);
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
}

.calc-subtext {
    font-size: 0.85rem;
    color: var(--text-subtle);
    margin-bottom: 1.5rem;
}

/* --- 10. Why Us / Stats --- */
.stats-sec {
    padding: 90px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.stat-box {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.25rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-val {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-name {
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 11. Showcase Gallery --- */
.gallery-sec {
    padding: 90px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
}

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

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-info {
    opacity: 1;
}

.gallery-info h4 {
    color: #FFFFFF;
    font-size: 1.2rem;
}

.gallery-info span {
    color: var(--primary);
    font-family: var(--font-tech);
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* --- 12. Testimonials & FAQ --- */
.reviews-sec {
    padding: 90px 0;
    background: var(--bg-alt);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #F59E0B;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

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

.avatar {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-tech);
}

.reviewer-meta h4 {
    font-size: 1.05rem;
}

.reviewer-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-sec {
    padding: 90px 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
}

.accordion-header i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-body p {
    padding-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.accordion-item.active {
    border-color: var(--primary);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

/* --- 13. Location & Footer --- */
.location-sec {
    padding: 90px 0;
    background: var(--bg-alt);
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info {
    padding: 3rem;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.location-info address {
    font-style: normal;
    color: var(--text-muted);
    margin: 1rem 0 1.5rem 0;
    line-height: 1.7;
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.cta-bar {
    padding: 70px 0;
    background: var(--accent-gradient);
    color: #FFFFFF;
    text-align: center;
}

.cta-bar h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-bar p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-light {
    background: #FFFFFF;
    color: #0F172A !important;
    font-weight: 800;
}

footer {
    background: var(--bg-primary);
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    color: var(--text-subtle);
    font-size: 0.85rem;
}

/* Floating Action Dock */
.fab-dock {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.fab-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: var(--transition);
}

.fab-icon:hover {
    transform: scale(1.1);
}

.fab-whatsapp { background: #25D366; }
.fab-phone { background: #3B82F6; }
.fab-scroll {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

.fab-scroll.visible {
    opacity: 1;
    visibility: visible;
}

/* Reveal Observer */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- 14. Responsive Layout Fixes (Mobile & Tablet) --- */
@media (max-width: 1024px) {
    .hero-grid,
    .estimator-layout,
    .faq-layout,
    .location-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-left p {
        margin: 0 auto 2rem auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .badge-float.top-badge {
        top: 10px;
        right: 10px;
    }

    .badge-float.bottom-badge {
        bottom: 10px;
        left: 10px;
    }

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

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

@media (max-width: 868px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

    .nav-cta span {
        display: none;
    }

    .nav-cta {
        padding: 8px 12px;
    }

    .theme-opt span {
        display: none;
    }

    .theme-opt {
        padding: 6px 8px;
    }

    .estimator-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 120px 0 60px 0;
    }

    .hero-left h1 {
        font-size: 2.2rem;
    }

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

    .gallery-card.wide {
        grid-column: span 1;
    }

    .location-info {
        padding: 1.75rem;
    }

    .badge-float {
        padding: 10px 14px;
    }
}