/* ================================================
   Mobile Mechanic Brisbane — Website Styles
   Light Grey Theme | Parallax | Enhanced Animations
   ================================================ */

/* --- Custom Properties --- */
:root {
    --bg:           #0d0d14;
    --bg-alt:       #131320;
    --panel:        #1a1a2e;
    --text:         #c8cad0;
    --text-muted:   #8b8fa3;
    --heading:      #eef0f6;
    --accent:       #f97316;
    --accent-hover: #ea580c;
    --accent-light: rgba(249, 115, 22, 0.12);
    --green:        #22c55e;
    --line:         rgba(255, 255, 255, 0.08);
    --overlay:      rgba(0, 0, 0, 0.65);
    --radius:       10px;
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.2);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.4);
    --iridescent-1: #6366f1;
    --iridescent-2: #8b5cf6;
    --iridescent-3: #a855f7;
    --iridescent-4: #ec4899;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(249, 115, 22, 0.15);
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4 {
    margin: 0 0 12px;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    color: var(--heading);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin: 0 0 16px;
    color: var(--text-muted);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Layout Utilities --- */
.container {
    width: min(1120px, 100% - 2rem);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
}

.section-header p {
    font-size: 1.0625rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: "Montserrat", sans-serif;
}

.text-accent {
    color: var(--accent);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: "Montserrat", sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn.primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.35);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.btn.outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn.outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.25);
}

.btn.full-width {
    width: 100%;
    justify-content: center;
}

/* Button fill sweep on hover */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn.primary::before {
    background: rgba(0, 0, 0, 0.1);
}

.btn.outline::before {
    background: var(--accent);
}

/* --- Scroll Progress --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--iridescent-1), var(--iridescent-2), var(--iridescent-3), var(--accent));
    z-index: 60;
    width: 0%;
    transition: width 0.1s linear;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #0d0d14;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-spinner {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 3px solid rgba(139, 92, 246, 0.15);
    border-top-color: var(--iridescent-2);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
}

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

.preloader-logo {
    width: 120px;
    height: auto;
    animation: preloaderPulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.3));
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* --- Header --- */
.site-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
    background: rgba(13, 13, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.2));
}

.nav-links {
    display: none;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: var(--accent) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    box-shadow: 0 4px 12px rgba(249,115,22,0.3) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 51;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    background: rgba(13, 13, 20, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    transition: color 0.2s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

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

.mobile-nav-cta {
    margin-top: 8px;
    background: var(--accent);
    color: #fff !important;
    text-align: center;
    padding: 14px !important;
    border-radius: var(--radius);
    border-bottom: none !important;
    font-weight: 600;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1);
    animation: kenBurns 18s ease infinite;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background-image: url('../assets/images/Brisbane-Mobile-Mechanic.jpg');
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    background-image: url('../assets/images/Mechanical-Services-QLD.jpg');
    animation-delay: -6s;
}

.hero-slide:nth-child(3) {
    background-image: url('../assets/images/Auto-Repairs.jpg');
    animation-delay: -12s;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(99, 102, 241, 0.15) 0%,
            rgba(139, 92, 246, 0.10) 25%,
            transparent 50%,
            rgba(236, 72, 153, 0.10) 75%,
            rgba(249, 115, 22, 0.12) 100%),
        linear-gradient(to bottom,
            rgba(13, 13, 20, 0.70) 0%,
            rgba(13, 13, 20, 0.50) 40%,
            rgba(13, 13, 20, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 1rem;
}

.hero-logo {
    width: min(580px, 85vw);
    height: auto;
    margin: 0 auto 8px;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
}

.hero-heading {
    font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.hero .eyebrow {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.hero-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.hero .tagline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-address a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.hero-address a:hover {
    color: var(--accent);
}

/* Hero fade-in stagger */
.fade-hero {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeHeroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-hero:nth-child(1) { animation-delay: 0.6s; }
.fade-hero:nth-child(2) { animation-delay: 0.8s; }
.fade-hero:nth-child(3) { animation-delay: 1.0s; }
.fade-hero:nth-child(4) { animation-delay: 1.2s; }
.fade-hero:nth-child(5) { animation-delay: 1.4s; }

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

/* --- Value Props --- */
.value-props {
    padding: 60px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.props-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.prop-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.prop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.prop-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
}

.prop-card:hover .prop-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    color: #fff;
}

.prop-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.prop-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-text .eyebrow {
    color: var(--accent);
}

.about-text h2 {
    font-size: clamp(1.5rem, 2vw + 0.75rem, 2.25rem);
}

.about-text p {
    font-size: 1rem;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-image::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--iridescent-1), var(--iridescent-3), var(--accent)) 1;
    border-radius: 0;
    z-index: -1;
    transition: transform 0.4s ease;
}

.about-image:hover::after {
    transform: translate(4px, 4px);
}

/* ================================================
   Parallax Background Sections
   ================================================ */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--overlay);
}

.parallax-section .container {
    position: relative;
    z-index: 1;
}

/* Disable fixed attachment on mobile (performance) */
@media (max-width: 719px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* --- Services (with parallax background) --- */
#services {
    background-image: url('../assets/images/Brisbane-Mobile-Mechanic.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(99, 102, 241, 0.08) 0%,
            rgba(13, 13, 20, 0.94) 40%,
            rgba(139, 92, 246, 0.06) 100%);
    backdrop-filter: blur(2px);
}

#services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 36px rgba(139, 92, 246, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius);
    margin-bottom: 16px;
    color: var(--accent);
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08);
    background: var(--accent);
    color: #fff;
}

.service-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Services Callout */
.services-callout {
    background: linear-gradient(135deg, var(--accent), #c2410c);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.25);
    transition: transform 0.3s ease;
}

.services-callout:hover {
    transform: translateY(-2px);
}

.callout-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    color: #fff;
}

.callout-inner svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.callout-inner h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.callout-inner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox.open {
    display: flex;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 81;
    transition: color 0.2s, transform 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    object-fit: contain;
    animation: lightboxZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoom {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- Stats (Parallax Background) --- */
.stats-bar {
    padding: 80px 0;
    background-image: url('../assets/images/Brake-Repair.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.85) 0%,
        rgba(139, 92, 246, 0.80) 30%,
        rgba(168, 85, 247, 0.80) 60%,
        rgba(249, 115, 22, 0.85) 100%);
}

.stats-bar .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    color: #fff;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
    font-weight: 800;
    line-height: 1;
    display: block;
}

.stat-suffix {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Reviews --- */
.reviews-carousel {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
    flex: 0 0 100%;
    padding: 0 8px;
    box-sizing: border-box;
}

.review-card > :first-child {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
}

.review-card {
    flex: 0 0 100%;
    padding: 0 8px;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 4px;
    font-size: 0.9375rem;
}

.review-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reviews-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.reviews-dots .dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* --- FAQ (Parallax Background) --- */
#faq {
    background-image: url('../assets/images/Mechanical-Services-QLD.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

#faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(236, 72, 153, 0.06) 0%,
            rgba(13, 13, 20, 0.94) 40%,
            rgba(99, 102, 241, 0.06) 100%);
    backdrop-filter: blur(2px);
}

#faq .container {
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--heading);
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: color 0.2s, padding-left 0.3s;
}

.faq-question:hover {
    color: var(--accent);
    padding-left: 8px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    font-family: "Montserrat", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field input,
.field select,
.field textarea {
    padding: 12px 16px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--text);
    font-family: "Roboto", sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
    transform: translateY(-1px);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238b8fa3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field + .btn {
    margin-top: 8px;
}

/* Contact Info */
.info-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.info-item:hover {
    transform: translateX(4px);
}

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

.info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item strong {
    display: block;
    color: var(--heading);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.info-item a {
    color: var(--accent);
    transition: opacity 0.2s;
}

.info-item a:hover {
    opacity: 0.8;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(0.9) hue-rotate(180deg) brightness(0.8) contrast(1.1);
}

/* --- Footer --- */
.site-footer {
    background: #08080f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
    opacity: 0.85;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.2));
}

.footer-brand p {
    font-size: 0.9375rem;
    max-width: 320px;
    color: #94a3b8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    color: #f1f5f9;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9375rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: #94a3b8;
}

.footer-contact a {
    color: var(--accent);
    transition: opacity 0.2s;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #94a3b8;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 40;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

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

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px) scale(1.05);
}

/* --- Sticky Mobile CTA --- */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

/* ================================================
   Enhanced Scroll Animations
   ================================================ */
.fade-in,
.fade-in-left,
.fade-in-right,
.fade-in-scale,
.fade-in-rotate {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in {
    transform: translateY(32px);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.fade-in-scale {
    transform: scale(0.9);
}

.fade-in-rotate {
    transform: perspective(800px) rotateY(8deg) translateX(20px);
}

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-scale.visible,
.fade-in-rotate.visible {
    opacity: 1;
    transform: translate(0) scale(1) perspective(800px) rotateY(0deg);
}

/* Staggered children animation */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.5s; }
.stagger-children .fade-in:nth-child(7) { transition-delay: 0.6s; }
.stagger-children .fade-in:nth-child(8) { transition-delay: 0.7s; }

/* Floating animation for prop icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.prop-icon {
    animation: float 3s ease-in-out infinite;
}

.prop-card:nth-child(2) .prop-icon { animation-delay: 0.5s; }
.prop-card:nth-child(3) .prop-icon { animation-delay: 1s; }


/* Underline reveal for section headings */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.visible h2::after,
.fade-in.visible .section-header h2::after {
    width: 60px;
    left: calc(50% - 30px);
}

/* Glow hover on service icons */
.service-icon {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

/* Animated gradient border for review cards */
.review-card-inner {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Shimmer effect on stats numbers */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.stat-number {
    background: linear-gradient(90deg, #fff 40%, rgba(255,255,255,0.6) 50%, #fff 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* --- Shimmer Text on Hero Heading --- */
.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--heading) 0%,
        var(--heading) 40%,
        var(--accent) 50%,
        var(--heading) 60%,
        var(--heading) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerHeading 4s linear infinite;
}

@keyframes shimmerHeading {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.hero .shimmer-text {
    background: linear-gradient(
        90deg,
        #fff 0%,
        #fff 35%,
        var(--iridescent-2) 45%,
        var(--accent) 55%,
        #fff 65%,
        #fff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Typed Subtitle --- */
.typed-subtitle {
    border-right: 2px solid var(--accent);
    white-space: nowrap;
    overflow: hidden;
    min-height: 1.7em;
}

.typed-subtitle.done {
    border-right-color: transparent;
    white-space: normal;
    overflow: visible;
}

@keyframes blink-caret {
    50% { border-color: transparent; }
}

.typed-subtitle:not(.done) {
    animation: blink-caret 0.75s step-end infinite;
}

/* --- Split Text Reveal --- */
.split-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.split-text.revealed .word {
    opacity: 1;
    transform: translateY(0);
}

/* --- Blur-Up Lazy Loading --- */
.blur-up {
    filter: blur(12px);
    transition: filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-up.loaded {
    filter: blur(0);
}

/* --- CTA Pulse Glow --- */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); }
    50% { box-shadow: 0 0 0 14px rgba(249, 115, 22, 0); }
}

.hero-cta .btn.primary {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.hero-cta .btn.primary:hover {
    animation: none;
}

/* --- Footer Reveal --- */
.footer-reveal {
    position: sticky;
    bottom: 0;
    z-index: -1;
}

main {
    position: relative;
    z-index: 1;
    background: var(--bg);
}

/* Iridescent glow accents on sections */
.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.3) 25%,
        rgba(168, 85, 247, 0.3) 50%,
        rgba(249, 115, 22, 0.3) 75%,
        transparent 100%);
}

.section {
    position: relative;
}

#contact {
    margin-bottom: 0;
}

/* --- Active Nav Link --- */
.nav-links a.active-link {
    color: var(--accent) !important;
    background: rgba(249, 115, 22, 0.1) !important;
}

/* ================================================
   How It Works
   ================================================ */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step-card {
    flex: 0 0 200px;
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--iridescent-1), var(--accent));
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    border-radius: 50%;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    color: var(--iridescent-2);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.step-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Step Connector with animated car */
.step-connector {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    padding-top: 60px;
    position: relative;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--iridescent-1), var(--iridescent-3), var(--accent));
    position: relative;
}

.connector-line::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 30%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: driveAcross 2.5s ease-in-out infinite;
}

@keyframes driveAcross {
    0% { left: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.connector-car {
    margin-top: 8px;
    animation: carBounce 2.5s ease-in-out infinite;
}

@keyframes carBounce {
    0%, 100% { transform: translateX(-20px); opacity: 0.3; }
    50% { transform: translateX(20px); opacity: 1; }
}

/* ================================================
   Trust Badges
   ================================================ */
.trust-badges {
    padding: 40px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.badge-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

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

.badge-item span {
    font-family: "Montserrat", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Wrench spin animation */
.wrench-spin svg {
    animation: wrenchRotate 3s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes wrenchRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    75% { transform: rotate(-5deg); }
}

/* ================================================
   Vehicle Types
   ================================================ */
.vehicle-types {
    padding: 48px 0;
    background: var(--bg);
}

.vehicles-label {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.vehicles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.vehicle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: all 0.3s ease;
    min-width: 100px;
}

.vehicle-item:hover {
    color: var(--accent);
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.1);
}

.vehicle-item:hover svg {
    animation: vehicleDrive 0.6s ease;
}

@keyframes vehicleDrive {
    0% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.vehicle-item span {
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================================
   Emergency Banner
   ================================================ */
.emergency-banner {
    padding: 48px 0;
    background: linear-gradient(135deg,
        rgba(220, 38, 38, 0.15) 0%,
        var(--bg-alt) 50%,
        rgba(249, 115, 22, 0.15) 100%);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.emergency-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.emergency-beacon {
    width: 16px;
    height: 16px;
    background: #dc2626;
    border-radius: 50%;
    animation: beaconPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes beaconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6), 0 0 0 0 rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0), 0 0 0 16px rgba(220, 38, 38, 0);
    }
}

.emergency-text h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: #fca5a5;
}

.emergency-text p {
    font-size: 0.9375rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.emergency-btn {
    flex-shrink: 0;
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    animation: emergencyPulse 2s ease-in-out infinite !important;
}

.emergency-btn:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    animation: none !important;
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}

/* ================================================
   Chat Widget
   ================================================ */
.chat-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--iridescent-1), var(--iridescent-2));
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 40;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    animation: chatBounceIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2s backwards;
}

.chat-widget:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

@keyframes chatBounceIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Road line section divider animation */
.road-divider {
    height: 4px;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.road-divider::before {
    content: '';
    position: absolute;
    top: 1px;
    left: -100%;
    width: 60px;
    height: 2px;
    background: var(--accent);
    animation: roadDash 3s linear infinite;
}

@keyframes roadDash {
    0% { left: -60px; }
    100% { left: 100%; }
}

/* Service icon tool rotation on hover */
.service-card:hover .service-icon svg {
    animation: toolWiggle 0.5s ease;
}

@keyframes toolWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* --- Logo Carousel --- */
.logos-bar {
    padding: 40px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.logos-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 20s linear infinite;
}

.logos-slide {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
}

.logos-slide img {
    height: 40px;
    width: auto;
    opacity: 0.4;
    filter: grayscale(100%) brightness(1.5);
    transition: opacity 0.3s, filter 0.3s;
}

.logos-slide img:hover {
    opacity: 0.9;
    filter: grayscale(0%) brightness(1);
}

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

/* ================================================
   Responsive Design
   ================================================ */

@media (min-width: 720px) {
    .nav-links {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

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

    .step-connector {
        display: flex;
    }

    .steps-grid {
        flex-wrap: nowrap;
    }

    .emergency-inner {
        text-align: left;
        justify-content: flex-start;
    }

    .chat-widget {
        bottom: 24px;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

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

    .review-card {
        flex: 0 0 50%;
    }

    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

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

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

    .sticky-cta {
        display: none !important;
    }

    .back-to-top {
        bottom: 24px;
    }
}

@media (min-width: 960px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .review-card {
        flex: 0 0 33.333%;
    }

    .section {
        padding: 100px 0;
    }

    .about-image {
        transform: translateY(0);
        transition: transform 0.05s linear;
    }
}

@media (max-width: 719px) {
    /* Sticky CTA bar */
    .sticky-cta {
        display: flex;
    }

    .back-to-top {
        bottom: 68px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    /* Header */
    .header-inner {
        height: 60px;
    }

    .brand-logo {
        height: 40px;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
    }

    .hero-logo {
        width: min(580px, 75vw);
    }

    .hero .eyebrow {
        font-size: 0.6875rem;
    }

    .hero .tagline {
        font-size: 0.9375rem;
        margin-bottom: 24px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-address {
        font-size: 0.8125rem;
    }

    /* Typed subtitle — allow wrapping on mobile */
    .typed-subtitle {
        white-space: normal;
        overflow: visible;
        border-right: none;
    }

    .typed-subtitle:not(.done) {
        animation: none;
    }

    /* Section spacing */
    .section {
        padding: 48px 0;
    }

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

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

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }

    /* Value props */
    .value-props {
        padding: 40px 0;
    }

    .prop-card {
        padding: 24px 16px;
    }

    .prop-icon {
        width: 60px;
        height: 60px;
    }

    /* How It Works */
    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .step-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 320px;
    }

    .step-connector {
        display: none;
    }

    .step-icon {
        width: 64px;
        height: 64px;
    }

    /* Trust Badges */
    .trust-badges {
        padding: 32px 0;
    }

    .badges-grid {
        gap: 12px;
    }

    .badge-item {
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    /* Vehicle Types */
    .vehicle-types {
        padding: 32px 0;
    }

    .vehicles-grid {
        gap: 12px;
    }

    .vehicle-item {
        padding: 14px 16px;
        min-width: 80px;
    }

    .vehicle-item svg {
        width: 28px;
        height: 28px;
    }

    .vehicle-item span {
        font-size: 0.6875rem;
    }

    /* About */
    .about-grid {
        gap: 32px;
    }

    .about-text h2 {
        font-size: 1.375rem;
    }

    .about-image::after {
        display: none;
    }

    /* Services */
    .services-grid {
        gap: 12px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
    }

    .services-callout {
        padding: 24px;
    }

    .callout-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* Gallery */
    .gallery-grid {
        gap: 8px;
    }

    /* Stats */
    .stats-bar {
        padding: 48px 0;
    }

    .stats-grid {
        gap: 24px;
    }

    /* Reviews */
    .review-card {
        padding: 0 4px;
    }

    .reviews-carousel {
        margin: 0 -4px;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.9375rem;
        padding: 16px 0;
    }

    /* Contact */
    .contact-grid {
        gap: 32px;
    }

    .info-card {
        padding: 24px;
    }

    .map-embed {
        aspect-ratio: 4 / 3;
    }

    /* Emergency Banner */
    .emergency-banner {
        padding: 32px 0;
    }

    .emergency-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .emergency-text h3 {
        font-size: 1.1rem;
    }

    .emergency-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Chat Widget */
    .chat-widget {
        bottom: 68px;
        left: 16px;
        width: 46px;
        height: 46px;
    }

    /* Logos */
    .logos-bar {
        padding: 28px 0;
    }

    .logos-slide {
        gap: 32px;
    }

    .logos-slide img {
        height: 28px;
    }

    /* Footer */
    .footer-grid {
        gap: 32px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-logo {
        margin: 0 auto 16px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        padding: 16px 0;
    }

    /* Demo watermark */
    .demo-watermark {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    /* Disable parallax on mobile — fixed attachment causes jank */
    #services,
    #faq,
    .stats-bar {
        background-attachment: scroll;
    }

    /* Disable hover-only effects on touch */
    .prop-card:hover,
    .service-card:hover,
    .vehicle-item:hover,
    .badge-item:hover {
        transform: none;
    }

    /* Section iridescent top border */
    .section::after {
        height: 1px;
    }
}

/* Extra small devices (iPhone SE, etc) */
@media (max-width: 374px) {
    .container {
        width: calc(100% - 1rem);
    }

    .hero-logo {
        width: 65vw;
    }

    .brand-logo {
        height: 32px;
    }

    .nav-cta {
        display: none !important;
    }

    .prop-card {
        padding: 20px 12px;
    }

    .badges-grid {
        gap: 8px;
    }

    .badge-item {
        padding: 8px 12px;
        gap: 6px;
    }

    .badge-item span {
        font-size: 0.6875rem;
    }

    .vehicles-grid {
        gap: 8px;
    }

    .vehicle-item {
        min-width: 70px;
        padding: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .faq-question {
        font-size: 0.875rem;
    }
}

/* ============================================
   DEMO PROTECTION
   ============================================ */

/* Fixed bottom banner */
.demo-watermark {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(13, 13, 20, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    text-align: center;
    padding: 0.6rem 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    user-select: none;
    -webkit-user-select: none;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.demo-watermark__divider {
    opacity: 0.4;
    font-weight: 400;
}

/* Repeating diagonal watermark across the page */
.demo-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 180px,
            rgba(139, 92, 246, 0.03) 180px,
            rgba(139, 92, 246, 0.03) 181px
        );
    background-size: 100% 100%;
    overflow: hidden;
}

.demo-overlay::before {
    content: 'DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  DEMO  ·  BH WEB DESIGN  ·  ';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vmax;
    height: 200vmax;
    display: flex;
    align-items: center;
    text-align: center;
    transform: translate(-50%, -50%) rotate(-35deg);
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(139, 92, 246, 0.04);
    white-space: pre-wrap;
    word-spacing: 0.5em;
    line-height: 6;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* Expired state */
.demo-expired {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0d0d14;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    padding: 2rem;
}

.demo-expired h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.demo-expired p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 400px;
}
