/* =========================================================================
   LIL HOBBS TOWING & ROADSIDE ASSISTANCE LLC
   Main CSS Architecture - Premium Modern Industrial Gold Theme (Agency Pass)
   File: assets/css/index.css
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    /* Color Palette - Premium Agency Industrial Gold */
    --primary: #d4af37;           /* Metallic Warm Gold */
    --primary-hover: #c5a02e;     /* Darker burnished gold */
    --primary-rgb: 212, 175, 55;  
    
    --bg-jet: #08090a;            /* Deep Black (Primary background) */
    --bg-graphite: #111315;       /* Charcoal Graphite (Secondary background) */
    --bg-steel: #1a1d20;          /* Steel Gray (Card Background) */
    --bg-light: #202428;          /* Accent gray elements */
    
    --text-white: #ffffff;
    --text-muted: #8a929e;        /* Balanced metallic silver gray */
    --border: rgba(212, 175, 55, 0.12); /* Subtle gold border */
    
    /* Global Radius */
    --radius: 4px;                /* Agency industrial crisp sharp look */
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Animations & Transitions */
    --transition-snappy: transform 0.15s cubic-bezier(0.2, 1, 0.2, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.15s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --header-height: 72px;
    --container-max: 1200px;
}

/* =========================================================================
   2. RESET & BASE RULES
   ========================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-jet);
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(var(--primary-rgb), 0.035) 0%, transparent 60%),
        linear-gradient(rgba(8, 9, 10, 0.98), rgba(8, 9, 10, 0.98)),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.003) 39px, rgba(255,255,255,0.003) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.003) 39px, rgba(255,255,255,0.003) 40px);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
    font-family: inherit;
}

/* =========================================================================
   3. TYPOGRAPHY & HEADINGS
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-white);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

h1 {
    font-size: 3.25rem;
    font-weight: 900;
}

h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

h3 {
    font-size: 1.5rem;
}

.font-rugged {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -0.02em;
}

p {
    font-size: 0.98rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.65;
}

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

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

.text-green {
    color: #2ecc71;
}

/* =========================================================================
   4. LAYOUT CONTAINERS & SECTIONS (Consistent 120px padding)
   ========================================================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

section {
    padding: 7.5rem 0; /* Strict 120px top and bottom */
    position: relative;
}

.section-header {
    margin-bottom: 4.5rem;
}

.section-title {
    font-size: 2.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto 0 auto;
    line-height: 1.6;
}

.section-divider-rugged {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 1.25rem auto 0 auto;
    position: relative;
}

.section-divider-rugged.align-left {
    margin-right: 0;
    margin-left: 0;
}

.hazard-stripe-accent {
    height: 4px;
    background: repeating-linear-gradient(
        -45deg,
        var(--primary),
        var(--primary) 10px,
        #000000 10px,
        #000000 20px
    );
}

/* =========================================================================
   5. HEADER & MOBILE NAVIGATION
   ========================================================================= */
.header-top-bar {
    background-color: #050607;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 1001;
    position: relative;
}

.header-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-dispatch-badge {
    color: var(--primary);
    font-family: var(--font-heading);
}

.top-phone-link {
    color: var(--text-muted);
    transition: var(--transition-snappy);
}

.top-phone-link:hover {
    color: var(--primary);
}

.site-header {
    background-color: rgba(8, 9, 10, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.sticky-header {
    position: sticky;
    top: 0;
}

.header-scrolled {
    height: 62px;
    background-color: rgba(8, 9, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.header-container {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.header-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition-smooth);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.nav-desktop {
    display: none;
    justify-self: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.nav-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ba3af;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-snappy);
}

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

/* Premium Dropdown Styles */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-link {
    display: inline-flex;
    align-items: center;
}

.dropdown-chevron {
    margin-left: 4px;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.2, 1);
    vertical-align: middle;
}

.nav-item-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(17, 19, 21, 0.75); /* Glassmorphism */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.9), 0 0 20px rgba(212, 175, 55, 0.05);
    border-radius: var(--radius);
    padding: 1rem 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1);
    z-index: 2000;
}

.nav-item-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Arrow pointing up to the nav item */
.nav-dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(17, 19, 21, 0.95);
    border-left: 1px solid rgba(212, 175, 55, 0.15);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    z-index: -1;
}

/* Invisible hover bridge */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 30px;
}

.nav-dropdown-content a {
    display: block;
    padding: 0.75rem 1.75rem;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown-content a:hover {
    color: var(--primary);
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--primary);
    padding-left: 2rem;
}

/* Mobile Dropdown Subnav */
.mobile-subnav {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border-left: 2px solid rgba(255,255,255,0.05);
}

.mobile-subnav a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-subnav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background-color: var(--primary);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background-color: var(--primary);
}

/* Mobile Nav Slide Drawer */
.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background-color: rgba(17, 19, 21, 0.98);
    border-left: 1px solid var(--border);
    backdrop-filter: blur(15px);
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 999;
}

.nav-mobile[aria-hidden="false"] {
    transform: translateX(0);
}

.nav-mobile-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-mobile-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-white);
    display: block;
    transition: var(--transition-snappy);
}

.nav-mobile-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.nav-mobile-cta {
    margin-top: auto;
}

/* =========================================================================
   6. PREMIUM BUTTONS SYSTEM (Rounded, Soft Shadows, Phone Free)
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 1.15rem 2.6rem; /* Improved height and padding */
    border-radius: 30px; /* Strict rounded buttons */
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Primary Button - Gold, Rounded */
.btn-primary {
    background-color: var(--primary);
    color: var(--bg-jet);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #dfba45;
    border-color: #dfba45;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
}

.btn-arrow {
    margin-left: 0.5rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Secondary CTA - Glass style */
.btn-glass {
    background-color: rgba(8, 9, 10, 0.6);
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.btn-glass:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Emergency Dispatch Ticker Button */
.btn-emergency {
    background-color: #d9534f;
    color: #fff;
    border-bottom: 3px solid #b33c38;
}

.btn-emergency:hover {
    background-color: #c9302c;
    box-shadow: 0 0 15px rgba(217, 83, 79, 0.3);
    transform: translateY(-2px);
}

.btn-pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* =========================================================================
   7. HERO SECTION REDESIGN (Slight Overlap & Depth)
   ========================================================================= */
.hero-section {
    position: relative;
    padding: 8.5rem 0 9.5rem 0; /* Expanded vertical spacing for breathing room */
    overflow: hidden;
    background-color: var(--bg-jet);
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.015) 0%, transparent 50%),
        url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMjAwIDIwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSdub2lzZSc+PGZlVHVyYnVsZW5jZSB0eXBlPSdmcmFjdGFsTm9pc2UnIGJhc2VGcmVxdWVuY3k9JzAuNjUnIG51bU9jdGF2ZXM9JzMnIHN0aXRjaFRpbGVzPSdzdGl0Y2gnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWx0ZXI9J3VybCgjbm9pc2UpJyBvcGFjaXR5PScwLjAxMicvPjwvc3ZnPg==");
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.hero-glow-orb-1 {
    position: absolute;
    top: -250px;
    right: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-orb-2 {
    position: absolute;
    bottom: -250px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.025) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 2;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-container-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem; /* Increased spacing between left and right composition */
    align-items: center;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.45rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    transition: var(--transition-snappy);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pulse-amber {
    background-color: var(--primary);
    animation: flashIndicator 2.5s infinite ease-in-out;
}

@keyframes flashIndicator {
    0% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
    100% { opacity: 0.4; transform: scale(1); }
}

.badge-text {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--primary);
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.75rem; /* Better typography spacing */
    line-height: 1.1; /* Refined tighter line height */
    letter-spacing: -0.025em; /* Premium tight letter spacing */
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 3.25rem; /* Increased spacing to CTAs */
    max-width: 620px; /* Better composition balance */
    color: var(--text-muted);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem; /* Improved CTA spacing */
    margin-bottom: 4.5rem;
}

.hero-trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.25rem;
}

.trust-indicator-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.indicator-icon {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 900;
}

.indicator-info {
    display: flex;
    flex-direction: column;
}

.indicator-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-white);
}

.indicator-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    width: 100%;
}

.image-frame-rugged {
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.22); /* Outlined premium border */
    background: linear-gradient(135deg, rgba(26, 29, 32, 0.75) 0%, rgba(17, 19, 21, 0.92) 100%);
    padding: 0.85rem;
    border-radius: 6px;
    box-shadow: 
        0 25px 60px -15px rgba(0, 0, 0, 0.95),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
        inset 0 0 25px rgba(212, 175, 55, 0.04);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame-rugged:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 30px 70px -10px rgba(0, 0, 0, 0.95),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
        inset 0 0 30px rgba(212, 175, 55, 0.08);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    filter: brightness(0.85) contrast(1.05);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame-rugged:hover .hero-image {
    filter: brightness(0.92) contrast(1.08);
}

/* =========================================================================
   8. DYNAMIC FLOATING DISPATCH CARD (Single card loop text)
   ========================================================================= */
.floating-dispatch-card {
    position: absolute;
    bottom: -15px; /* Sits flush and overlaps the bottom border perfectly */
    left: 2rem;
    right: 2rem;
    background-color: rgba(17, 19, 21, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 3px solid var(--primary);
    padding: 1.25rem 1.75rem;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-dispatch-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(212, 175, 55, 0.12);
}

.fdc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.65rem;
}

.fdc-dot {
    color: #2ecc71;
    animation: flashDot 2s infinite ease-in-out;
}

@keyframes flashDot {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.fdc-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.fdc-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fdc-status-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-white);
    transition: opacity 0.3s ease;
}

.fdc-progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.fdc-progress-fill {
    height: 100%;
    width: 20%;
    background-color: var(--primary);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   9. TRUST RIBBON (Scrolling Ribbon ticker instead of blocks)
   ========================================================================= */
.trust-bar-ribbon {
    background-color: var(--bg-graphite);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ribbon-wrapper {
    overflow: hidden;
    width: 100%;
}

.ribbon-track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    animation: marquee 84s linear infinite; /* Adjusted to 84s to maintain same visual scroll speed with 6 copies */
}

.ribbon-item {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
}

.ribbon-dot {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 900;
}

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

/* =========================================================================
   10. SERVICES SECTION
   ========================================================================= */
.services-section {
    background-color: var(--bg-jet);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem; /* Increased spacing */
}

.service-card {
    background-color: var(--bg-steel);
    border: 1px solid rgba(255, 255, 255, 0.02); /* Minimal border */
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 15px rgba(212, 175, 55, 0.1);
}

.service-card-visual {
    height: 160px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-graphite);
}

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

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-placeholder-bg {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #202428 20%, #111315 100%);
    position: relative;
}

.service-watermark {
    position: absolute;
    bottom: 12px;
    left: 15px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.02);
    text-transform: uppercase;
}

.service-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8,9,10,0.6) 0%, transparent 100%);
    pointer-events: none;
}

.service-card-body {
    padding: 1.75rem; /* Increased padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.25rem; /* Larger Title */
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.service-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.btn-service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    padding: 0.65rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    transition: var(--transition-snappy);
}

.btn-service-cta .arrow {
    transition: transform 0.2s ease;
    color: var(--primary);
}

.service-card:hover .btn-service-cta {
    background-color: rgba(212, 175, 55, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

.service-card:hover .btn-service-cta .arrow {
    transform: translateX(4px);
}

/* =========================================================================
   11. WHY CHOOSE US SECTION
   ========================================================================= */
.why-choose-section {
    background-color: var(--bg-graphite);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-choose-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-intro {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.reasons-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.reason-item {
    display: flex;
    gap: 1.25rem;
}

.reason-marker {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--primary);
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.reason-details {
    display: flex;
    flex-direction: column;
}

.reason-title {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.reason-text {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.why-choose-visual {
    width: 100%;
}

.dispatch-button-rugged {
    background-color: var(--bg-steel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.dispatch-content {
    padding: 2.5rem 2rem;
    text-align: center;
}

.dispatch-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--primary);
    background-color: rgba(212, 175, 55, 0.05);
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.dispatch-heading {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.dispatch-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* =========================================================================
   12. REVIEWS (Carbon ticket auto rotate slider)
   ========================================================================= */
.reviews-section {
    background-color: var(--bg-jet);
}

.reviews-slider-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.review-dispatch-ticket {
    background-color: #1c1e20;
    border: 1px solid #2d3135;
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(15px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.review-dispatch-ticket.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    pointer-events: auto;
    order: 1;
}

/* Tablet Layout (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .reviews-slider-wrapper {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }

    .review-dispatch-ticket.active,
    .review-dispatch-ticket.active + .review-dispatch-ticket,
    .review-dispatch-ticket:first-child:has(~ .review-dispatch-ticket.active:last-child) {
        opacity: 1;
        transform: translateY(0) scale(1);
        position: relative;
        pointer-events: auto;
    }

    .review-dispatch-ticket.active {
        order: 1;
    }
    .review-dispatch-ticket.active + .review-dispatch-ticket {
        order: 2;
    }
    .review-dispatch-ticket:first-child:has(~ .review-dispatch-ticket.active:last-child) {
        order: 2;
    }
}

/* Desktop Layout (>1024px) */
@media (min-width: 1025px) {
    .reviews-slider-wrapper {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }

    .review-dispatch-ticket.active,
    .review-dispatch-ticket.active + .review-dispatch-ticket,
    .review-dispatch-ticket.active + .review-dispatch-ticket + .review-dispatch-ticket,
    .review-dispatch-ticket:first-child:has(~ .review-dispatch-ticket.active:last-child),
    .review-dispatch-ticket:first-child:has(~ .review-dispatch-ticket.active:nth-last-child(2)),
    .review-dispatch-ticket:nth-child(2):has(~ .review-dispatch-ticket.active:last-child) {
        opacity: 1;
        transform: translateY(0) scale(1);
        position: relative;
        pointer-events: auto;
    }

    .review-dispatch-ticket.active {
        order: 1;
    }
    .review-dispatch-ticket.active + .review-dispatch-ticket {
        order: 2;
    }
    .review-dispatch-ticket.active + .review-dispatch-ticket + .review-dispatch-ticket {
        order: 3;
    }
    .review-dispatch-ticket:first-child:has(~ .review-dispatch-ticket.active:last-child) {
        order: 2;
    }
    .review-dispatch-ticket:first-child:has(~ .review-dispatch-ticket.active:nth-last-child(2)) {
        order: 3;
    }
    .review-dispatch-ticket:nth-child(2):has(~ .review-dispatch-ticket.active:last-child) {
        order: 3;
    }
}

.review-dispatch-ticket::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 15px 15px;
    border-color: transparent transparent var(--primary) transparent;
    opacity: 0.4;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.ticket-label {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.ticket-id {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ticket-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.t-label {
    font-weight: 700;
    color: var(--text-muted);
    font-family: monospace;
}

.t-val {
    color: var(--text-white);
    font-weight: 600;
}

.customer-name {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    font-family: var(--font-heading);
}

.ticket-stars {
    font-size: 1.25rem;
    color: var(--primary) !important;
}

.verified-badge {
    background-color: rgba(46, 204, 113, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    font-size: 0.72rem;
    color: #2ecc71 !important;
}

.ticket-footer {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-top: auto;
}

.ticket-text {
    font-size: 0.92rem;
    color: var(--text-white);
    font-style: italic;
    line-height: 1.6;
}

/* =========================================================================
   13. GALLERY SECTION
   ========================================================================= */
.gallery-section {
    background-color: var(--bg-graphite);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-card {
    background-color: var(--bg-steel);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 9, 10, 0.9);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    border: 1px solid var(--primary);
}

.gallery-overlay-content {
    width: 100%;
    transform: translateY(15px);
    transition: transform 0.3s ease;
}

.gallery-card-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.gallery-card-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.lightbox-trigger {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

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

.gallery-card:hover .gallery-overlay-content {
    transform: translateY(0);
}

/* =========================================================================
   14. CLEAN MINIMALIST SERVICE AREAS
   ========================================================================= */
.service-areas-section {
    background-color: var(--bg-jet);
}

.areas-minimal-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.area-minimal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-graphite);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius);
    transition: var(--transition-snappy);
}

.area-minimal-item:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.area-minimal-item .pin {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.area-minimal-item .name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-white);
}

.area-minimal-item .action-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-snappy);
}

.area-minimal-item:hover .action-text {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================================================
   15. FAQ SECTION
   ========================================================================= */
.faq-section {
    background-color: var(--bg-graphite);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.faq-accordion-container {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    background-color: var(--bg-steel);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.faq-question-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
}

.accordion-icon-box {
    position: relative;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-icon-bar {
    position: absolute;
    background-color: var(--primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.accordion-icon-bar:nth-child(1) {
    width: 100%;
    height: 2px;
}

.accordion-icon-bar:nth-child(2) {
    width: 2px;
    height: 100%;
}

.accordion-header[aria-expanded="true"] .faq-question-text {
    color: var(--primary);
}

.accordion-header[aria-expanded="true"] .accordion-icon-bar:nth-child(2) {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.25, 1);
}

.accordion-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.accordion-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* =========================================================================
   16. ABOUT PAGE REDESIGN
   ========================================================================= */
.about-page-section {
    position: relative;
    padding: 7.5rem 0;
    overflow: hidden;
}

.about-container-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.about-text-wrapper {
    margin-bottom: 2rem;
}

.about-lead-para {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.about-body-para {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.about-hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    filter: brightness(0.9);
}

/* =========================================================================
   17. CONTACT SPLIT & GLASS FORM
   ========================================================================= */
.emergency-cta-section {
    background-color: var(--bg-jet);
    text-align: center;
    border-bottom: 2px solid var(--border);
}

.emergency-cta-panel {
    max-width: 680px;
    margin: 0 auto;
}

.emergency-cta-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.emergency-cta-text {
    font-size: 1.05rem;
    margin-bottom: 2.25rem;
}

.contact-section {
    background-color: var(--bg-jet);
}

.contact-container-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.bullet-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.bullet-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.contact-phone-box {
    background-color: rgba(212, 175, 55, 0.04);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 380px;
}

.phone-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
}

.phone-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
}

.rugged-form {
    background-color: var(--bg-graphite);
    border: 1px solid var(--bg-steel);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-glass-form {
    background-color: rgba(26, 29, 32, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background-color: var(--bg-steel);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition-snappy);
}

.form-input:focus {
    border-color: var(--primary);
    background-color: var(--bg-graphite);
}

select.form-input {
    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='%23d4af37' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
}

.form-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* =========================================================================
   18. COMPACTED SITE FOOTER
   ========================================================================= */
.site-footer {
    background-color: var(--bg-graphite);
    border-top: 3px solid var(--primary); /* Stronger premium indicator strip */
    padding: 4.5rem 0 0 0; /* Balanced height */
    background-image: 
        radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.015) 0%, transparent 60%),
        url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMjAwIDIwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSdub2lzZSc+PGZlVHVyYnVsZW5jZSB0eXBlPSdmcmFjdGFsTm9pc2UnIGJhc2VGcmVxdWVuY3k9JzAuNjUnIG51bU9jdGF2ZXM9JzMnIHN0aXRjaFRpbGVzPSdzdGl0Y2gnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWx0ZXI9J3VybCgjbm9pc2UpJyBvcGFjaXR5PScwLjAwOCcvPjwvc3ZnPg==");
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.logo-img-footer {
    height: 38px;
    width: auto;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 0.85rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: var(--bg-steel);
    border-radius: 50%; /* Circle socials look more premium */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--bg-jet);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
    border-left: 2px solid var(--primary);
    padding-left: 0.75rem;
    color: var(--text-white);
    text-transform: uppercase;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem; /* Reduced spacing */
}

.sitemap-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem 1.5rem !important;
}

.footer-link {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all 0.25s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.footer-link:hover {
    color: var(--text-white); /* Elegant color transition to white */
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.25s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem; /* Tighter layout */
}

.contact-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start; /* Perfect vertical top alignment */
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px; /* Precision vertical alignment shift */
}

.contact-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.contact-link {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.contact-link:hover {
    color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem; /* Reduced margin */
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    background-color: #050607;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.copyright-text {
    font-size: 0.8rem;
    color: #5a616d;
}

.footer-utility-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.managed-text {
    font-size: 0.8rem;
    color: #5a616d;
}

.creator-link {
    color: #5a616d;
    font-weight: 700;
    transition: var(--transition-snappy);
}

.creator-link:hover {
    color: var(--primary);
}

/* =========================================================================
   19. SCROLL REVEALS
   ========================================================================= */
/* Hero Section load animations - No JS dependency, above the fold */
.hero-content.fade-up-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
    transition: none !important;
}

.hero-visual.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    animation: heroScaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.25s;
    transition: none !important;
}

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

@keyframes heroScaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll reveal items - Progressively hidden only if JS loads and sets js-active class */
.reveal-up {
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-active .reveal-up:not(.revealed) {
    opacity: 0;
    transform: translateY(35px);
}

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

.reveal-scale:not(.hero-visual) {
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-active .reveal-scale:not(.hero-visual):not(.revealed) {
    opacity: 0;
    transform: scale(0.95);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.fade-up-reveal:not(.hero-content) {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-active .fade-up-reveal:not(.hero-content):not(.revealed) {
    opacity: 0;
    transform: translateY(20px);
}

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

/* =========================================================================
   20. RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================= */

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .nav-desktop {
        display: block;
    }
    
    .mobile-nav-toggle {
        display: none;
    }
    
    .nav-mobile {
        display: none;
    }
    
    .hero-container-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-choose-grid-layout {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4rem;
    }
    
    .reasons-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-container-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
    
    .contact-container-grid {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 5rem;
    }
    
    .footer-container {
        grid-template-columns: 1.6fr 1fr 1fr 1.4fr 1.4fr; /* Balanced 5-column layout with 2-column sitemap grid */
        gap: 2.25rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 0.45rem;
    }
}

@media (min-width: 1200px) {
    .container {
        padding-right: 0;
        padding-left: 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Outlined premium line SVGs */
.svg-icon {
    width: 1.15em;
    height: 1.15em;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    vertical-align: middle;
    display: inline-block;
}
.bullet-icon .svg-icon {
    stroke: var(--primary);
    stroke-width: 2.5;
}
.contact-icon .svg-icon {
    stroke: var(--primary);
    stroke-width: 2.2;
    margin-top: 0.15rem;
}
.area-minimal-item .svg-icon {
    stroke: var(--primary);
    stroke-width: 2.5;
    margin-right: 0.5rem;
}
.top-phone-link .svg-icon {
    stroke: var(--primary);
    stroke-width: 2.5;
    margin-right: 0.5rem;
}

/* Floating Call Dispatch Button (Mobile & Tablet Only) */
.floating-call-btn {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translate(-50%, 20px);
    background-color: var(--primary);
    color: var(--bg-jet);
    padding: 0.95rem 1.85rem;
    border-radius: 50px;
    display: none; /* Hidden by default on Desktop */
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.35);
    z-index: 990;
    border: 1px solid rgba(212, 175, 55, 0.4);
    opacity: 0;
    pointer-events: none;
    width: max-content;
    max-width: calc(100% - 40px);
    white-space: nowrap;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-call-btn.visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.floating-call-btn:hover,
.floating-call-btn:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translate(-50%, -2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.5);
    color: var(--bg-jet);
}

.floating-call-btn:active {
    transform: translate(-50%, 1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.floating-call-btn .phone-icon {
    stroke: var(--bg-jet);
    transition: transform 0.25s ease;
}

.floating-call-btn:hover .phone-icon {
    transform: rotate(15deg) scale(1.05);
}

@media (max-width: 1024px) {
    .floating-call-btn {
        display: inline-flex; /* Visible on Mobile and Tablet */
    }
}

/* =========================================================================
   21. MOBILE & TABLET HEADER RESPONSIVE HOTFIX (Desktop untouched)
   ========================================================================= */
@media (max-width: 1024px) {
    :root {
        --header-height: 58px; /* Compact height to increase hero space */
    }
    
    .site-header {
        height: var(--header-height);
    }
    
    .header-scrolled {
        height: 52px; /* Even more compact when scrolled */
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem;
        flex-shrink: 0 !important;
    }
    
    .nav-desktop {
        display: none !important; /* Ensure desktop nav is completely hidden */
    }
    
    .header-logo {
        flex-shrink: 0 !important;
    }
    
    .logo-img {
        height: 28px; /* Slightly smaller logo */
        width: auto;
    }
    
    .header-scrolled .logo-img {
        height: 24px;
    }
    
    .logo-text {
        font-size: 1.05rem; /* Resized business name to fit screen */
        white-space: nowrap; /* Prevent wrapping */
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-shrink: 0;
    }
    
    .header-actions .btn-emergency {
        padding: 0.45rem 1rem; /* Compact padding */
        font-size: 0.72rem;     /* Smaller text */
        border-radius: 20px;    /* Compact pill shape */
        min-height: auto;
        height: auto;
        width: auto;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    
    .mobile-nav-toggle {
        margin: 0;
        display: flex;
    }
    
    .hero-section {
        padding: 6.5rem 0 7.5rem 0; /* Natural breathing room start position */
    }
}

/* Extra tweaks for small viewport phones (e.g. 320px, 360px, 375px) */
@media (max-width: 375px) {
    .header-container {
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .header-scrolled .logo-img {
        height: 22px;
    }
    
    .logo-text {
        font-size: 0.92rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .header-actions .btn-emergency {
        padding: 0.4rem 0.8rem;
        font-size: 0.68rem;
    }
}

/* Mobile top bar optimization to prevent overlap and text crowding */
@media (max-width: 767px) {
    .header-top-bar {
        display: none !important; /* Hide top bar on mobile to keep layout clean and error-free */
    }
    
    .hero-section {
        padding: 5.5rem 0 6.5rem 0; /* Reduced padding when top bar is hidden */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header-top-bar {
        font-size: 0.7rem; /* Make text smaller on tablet so it never wraps */
    }
}
