/* ================================================================
   CAR KEYS NOW — RACING-SPEED DESIGN SYSTEM
   Palette : Racing Red + Lightning Yellow
   Fonts   : Anton (display) · Barlow (body) · Orbitron (numbers)
   ================================================================ */

/* ----------------------------------------
   RESET
   ---------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------- */
:root {
    /* Racing red scale */
    --red-500: #EF4444;
    --red-600: #DC2626;
    --red-700: #B91C1C;
    --red-800: #991B1B;
    --red-900: #7F1D1D;

    /* Lightning yellow scale */
    --yellow-200: #FEF08A;
    --yellow-400: #FACC15;
    --yellow-500: #EAB308;
    --gold: #FFD200;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --black: #0A0A0A;

    /* Semantic aliases (backwards-compat with legacy pages) */
    --primary-color: var(--red-700);
    --primary-light: var(--red-600);
    --primary-dark: var(--red-800);
    --secondary-color: var(--red-800);
    --accent-color: var(--red-600);
    --accent-gold: var(--gold);

    --text-color: var(--gray-900);
    --text-secondary: var(--gray-700);
    --text-light: var(--gray-500);
    --text-lighter: var(--gray-400);

    --bg-light: var(--gray-50);
    --bg-lighter: var(--gray-100);
    --border-color: var(--gray-200);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.16);
    --shadow-2xl: 0 32px 80px rgba(0,0,0,0.2);
    --shadow-red: 0 8px 30px rgba(185,28,28,0.25);
    --shadow-gold: 0 8px 30px rgba(255,210,0,0.2);
    --glow-red: 0 0 40px rgba(185,28,28,0.4);
    --glow-gold: 0 0 40px rgba(255,210,0,0.3);

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.15s var(--ease-out);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);

    /* Font stacks */
    --font-display: 'Anton', Impact, sans-serif;
    --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Orbitron', 'Courier New', monospace;
}

/* ----------------------------------------
   GLOBAL
   ---------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background-color: var(--red-700);
    color: var(--white);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 4px solid var(--gold);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 0.875rem 0;
}

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

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255,210,0,0.5));
    animation: boltPulse 2s ease-in-out infinite;
}

@keyframes boltPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255,210,0,0.5)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 16px rgba(255,210,0,0.8)); }
}

.logo h1,
.logo .logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--red-700), var(--red-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
    display: block;
    margin: 0;
    line-height: 1.1;
}

.logo h1:hover,
.logo .logo-text:hover {
    filter: brightness(1.15);
    transform: scale(1.02);
}

/* Nav links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-700), var(--gold));
    border-radius: 2px;
    transition: width var(--transition-base);
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--red-700);
}

/* Login button */
.nav-login {
    background: linear-gradient(135deg, var(--red-700), var(--red-600));
    color: var(--white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 10px;
    margin-left: 0.5rem;
    box-shadow: var(--shadow-red);
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav-login:hover {
    background: linear-gradient(135deg, var(--red-600), var(--red-500));
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(185,28,28,0.35);
}

.nav-login::after {
    display: none !important;
}

.nav-dashboard {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Footer typography (shared with footer section) */
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-heading {
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 700;
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--red-600) 0%, var(--red-700) 35%, var(--red-900) 100%);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
    padding-bottom: 8rem;
}

/* Animated diagonal speed lines */
.speed-lines {
    position: absolute;
    inset: -100%;
    width: 300%;
    height: 300%;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 80px,
        rgba(255, 210, 0, 0.035) 80px,
        rgba(255, 210, 0, 0.035) 82px
    );
    animation: speedDrift 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes speedDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(140px, 0); }
}

/* Warm golden center glow */
.hero-modern::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    transform: translate(-50%, -30%);
    background: radial-gradient(circle, rgba(255, 210, 0, 0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle dot grid pattern */
.hero-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0 2rem;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s var(--ease-out) both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge-icon {
    font-size: 1.125rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(255,210,0,0.6));
}

.hero-badge span:last-child {
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Hero title */
.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.05;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title span {
    display: block;
}

/* Yellow shimmer gradient text */
.gradient-text {
    background: linear-gradient(
        90deg,
        var(--gold) 0%,
        #FFE566 25%,
        #FFF8CC 50%,
        #FFE566 75%,
        var(--gold) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    filter: drop-shadow(0 0 30px rgba(255,210,0,0.5));
}

@keyframes shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: -100% 50%; }
}

/* Hero description */
.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

/* Hero CTA row */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.45s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    background: var(--gold);
    color: var(--red-900);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    box-shadow:
        0 8px 30px rgba(255,210,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-hero-primary svg {
    flex-shrink: 0;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 14px 40px rgba(255,210,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.4);
    background: #FFE033;
}

.btn-hero-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1.125rem 2.25rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.125rem;
    border: 2px solid rgba(255,255,255,0.35);
    transition: all var(--transition-base);
}

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

/* Hero stat bar */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255,210,0,0.4);
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* Backwards-compat aliases for old hero trust markup */
.hero-trust { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.2); }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.trust-number { font-family: var(--font-mono); font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.trust-label { font-size: 0.875rem; color: rgba(255,255,255,0.8); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ----------------------------------------
   SERVICES SECTION
   ---------------------------------------- */
.services-modern {
    padding: 7rem 0 6rem;
    background: var(--white);
    position: relative;
    z-index: 2;
    margin-top: -5rem;
}

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

.section-label {
    display: inline-block;
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red-700);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.service-card-modern {
    position: relative;
    background: var(--white);
    padding: 2.25rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--red-700);
    transition: all var(--transition-base);
    overflow: hidden;
}

/* Yellow accent that slides up on hover */
.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-base);
    z-index: 2;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-left-color: var(--gold);
}

.service-card-modern:hover::before {
    transform: scaleY(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.service-card-modern h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.service-card-modern p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.service-link-modern {
    color: var(--red-700);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
}

.service-link-modern:hover {
    color: var(--red-600);
    gap: 0.75rem;
}

/* ----------------------------------------
   WHY CHOOSE US SECTION
   ---------------------------------------- */
.why-modern {
    padding: 6rem 0;
    background: var(--gray-50);
}

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

.why-text {
    max-width: 600px;
}

.why-text > p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

.why-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--gold);
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
}

.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), #FFE566);
    color: var(--red-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
    line-height: 1;
}

.feature-item h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ----------------------------------------
   SERVICE AREAS SECTION
   ---------------------------------------- */
.areas-modern {
    padding: 5rem 0;
    background: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.area-card {
    padding: 1.25rem 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.area-pin {
    font-size: 1rem;
    line-height: 1;
}

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--red-700);
    background: var(--white);
}

/* ----------------------------------------
   REVIEWS SECTION
   ---------------------------------------- */
.reviews-modern {
    padding: 5rem 0;
    background: var(--gray-50);
}

/* ----------------------------------------
   CTA SECTION — BOLD YELLOW
   ---------------------------------------- */
.cta-modern {
    padding: 6rem 0;
    background: var(--gold);
    color: var(--red-900);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Red speed lines on yellow background */
.cta-modern::before {
    content: '';
    position: absolute;
    inset: -100%;
    width: 300%;
    height: 300%;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 100px,
        rgba(185, 28, 28, 0.04) 100px,
        rgba(185, 28, 28, 0.04) 102px
    );
    animation: speedDrift 6s linear infinite;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-bolt {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px rgba(185,28,28,0.3));
    line-height: 1;
}

.cta-modern h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--red-900);
}

.cta-modern p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--red-800);
    font-weight: 500;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.375rem 2.75rem;
    background: var(--red-700);
    color: var(--white);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.375rem;
    transition: all var(--transition-base);
    box-shadow: 0 8px 30px rgba(185,28,28,0.4);
    margin-bottom: 1.5rem;
}

.btn-cta-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(185,28,28,0.5);
    background: var(--red-600);
}

.cta-note {
    font-size: 0.9375rem;
    color: var(--red-800);
    font-weight: 600;
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    border-top: 4px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: 0.75rem;
    line-height: 1.8;
    font-size: 0.9375rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.625rem;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 0.9375rem;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ================================================================
   LEGACY STYLES — Used by other pages (services, about, etc.)
   DO NOT REMOVE — these class names are referenced across the site
   ================================================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Image Carousel */
.image-carousel {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background-color: var(--white);
    height: 400px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-slide {
    display: none;
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.carousel-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.carousel-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    max-width: 800px;
}

.carousel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: #5C0000;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex: 1;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot.active {
    background-color: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Services Overview (legacy pages) */
.services-overview {
    padding: 4rem 0;
    background-color: var(--white);
}

.services-overview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Why Choose Us (legacy) */
.why-choose-us {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Service Areas (legacy) */
.service-areas {
    padding: 4rem 0;
    background-color: var(--white);
}

.service-areas h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-areas > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.areas-list li {
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

/* Reviews Preview (legacy) */
.reviews-preview {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.reviews-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.reviews-count {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* CTA Section (legacy) */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Page Specific Styles (legacy) */
.page-header {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    padding: 3rem 0;
}

.content-section h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

/* Mobile: 768px and below */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* ---- MOBILE NAV ---- */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: 100vh;
        height: 100dvh;
        text-align: center;
        transition: left 0.35s var(--ease-out);
        box-shadow: var(--shadow-2xl);
        padding: 6rem 2rem 3rem;
        gap: 0;
        z-index: 999;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.125rem;
        font-weight: 700;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.active {
        color: var(--red-700);
    }

    .nav-login {
        margin: 1.5rem auto 0;
        display: inline-block;
        width: auto;
        padding: 0.875rem 2.5rem !important;
        font-size: 1rem;
        border-radius: 12px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo h1,
    .logo .logo-text {
        font-size: 1.5rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    /* ---- MOBILE HERO ---- */
    .hero-modern {
        min-height: auto;
        padding: 3rem 0 5rem;
        clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
    }

    .speed-lines {
        animation-duration: 6s;
    }

    .hero-content {
        padding: 1rem 0 0;
    }

    .hero-badge {
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .badge-icon {
        font-size: 0.875rem;
    }

    .hero-badge span:last-child {
        font-size: 0.6875rem;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
        gap: 0.125rem;
    }

    .hero-title span {
        display: block;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .btn-hero-primary {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1.0625rem;
        border-radius: 12px;
    }

    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .hero-stats {
        gap: 0;
        padding-top: 2rem;
        justify-content: space-evenly;
    }

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

    .stat-label {
        font-size: 0.6875rem;
        letter-spacing: 0.5px;
    }

    .stat-divider {
        height: 32px;
        margin: 0 0.5rem;
    }

    /* ---- MOBILE SERVICES ---- */
    .services-modern {
        padding: 3.5rem 0 3rem;
        margin-top: -2rem;
    }

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

    .section-label {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.15;
        margin-bottom: 0.75rem;
    }

    .section-description {
        font-size: 0.9375rem;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card-modern {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .service-card-modern h3 {
        font-size: 1.1875rem;
        margin-bottom: 0.5rem;
    }

    .service-card-modern p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .service-link-modern {
        font-size: 0.875rem;
    }

    /* ---- MOBILE WHY CHOOSE US ---- */
    .why-modern {
        padding: 3rem 0;
    }

    .why-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-image {
        order: -1;
        border-radius: 14px;
        border-width: 2px;
    }

    .why-text .section-title {
        margin-top: 0.5rem;
    }

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

    .features-list {
        margin-top: 1.5rem;
        gap: 1rem;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 0.875rem;
    }

    .feature-item h4 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    /* ---- MOBILE AREAS ---- */
    .areas-modern {
        padding: 3rem 0;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
        margin-top: 1.5rem;
    }

    .area-card {
        padding: 1rem;
        font-size: 0.875rem;
        border-radius: 10px;
        gap: 0.375rem;
    }

    .area-pin {
        font-size: 0.875rem;
    }

    /* ---- MOBILE REVIEWS ---- */
    .reviews-modern {
        padding: 3rem 0;
    }

    /* ---- MOBILE CTA ---- */
    .cta-modern {
        padding: 3.5rem 0;
    }

    .cta-bolt {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    .cta-modern h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .cta-modern p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-cta-large {
        width: 100%;
        justify-content: center;
        padding: 1.125rem 2rem;
        font-size: 1.125rem;
        border-radius: 14px;
        margin-bottom: 1rem;
    }

    .btn-cta-large svg {
        width: 22px;
        height: 22px;
    }

    .cta-note {
        font-size: 0.8125rem;
    }

    /* ---- MOBILE FOOTER ---- */
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        font-size: 1.25rem;
    }

    .footer-section p {
        font-size: 0.875rem;
    }

    .footer-section a {
        font-size: 0.875rem;
    }

    .footer-section a:hover {
        transform: none;
    }

    .footer-bottom {
        padding-top: 2rem;
        font-size: 0.8125rem;
    }

    /* ---- LEGACY PAGES MOBILE ---- */
    .hero h1 {
        font-size: 1.75rem;
    }
}

/* Small phones: 480px and below */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Hero small phone */
    .hero-modern {
        padding: 2.5rem 0 4rem;
        clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    }

    .hero-content {
        padding: 0.5rem 0 0;
    }

    .hero-badge {
        margin-bottom: 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        gap: 0;
    }

    .gradient-text {
        filter: drop-shadow(0 0 16px rgba(255,210,0,0.4));
    }

    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
    }

    .hero-cta {
        margin-bottom: 2rem;
        padding: 0;
    }

    .btn-hero-primary {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
        gap: 0.5rem;
    }

    .btn-hero-primary svg {
        width: 18px;
        height: 18px;
    }

    .btn-hero-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    .hero-stats {
        padding-top: 1.5rem;
    }

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

    .stat-label {
        font-size: 0.5625rem;
    }

    .stat-divider {
        height: 24px;
        margin: 0 0.25rem;
    }

    /* Services small phone */
    .services-modern {
        padding: 2.5rem 0 2rem;
        margin-top: -1.5rem;
    }

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

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

    .section-description {
        font-size: 0.875rem;
    }

    .services-grid-modern {
        gap: 0.75rem;
    }

    .service-card-modern {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }

    .service-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .service-card-modern h3 {
        font-size: 1.0625rem;
    }

    .service-card-modern p {
        font-size: 0.8125rem;
    }

    /* Why small phone */
    .why-modern {
        padding: 2.5rem 0;
    }

    .why-content {
        gap: 1.5rem;
    }

    .features-list {
        gap: 0.875rem;
    }

    .feature-item {
        gap: 0.75rem;
    }

    /* Areas small phone */
    .areas-modern {
        padding: 2.5rem 0;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* Reviews small phone */
    .reviews-modern {
        padding: 2.5rem 0;
    }

    /* CTA small phone */
    .cta-modern {
        padding: 2.5rem 0;
    }

    .cta-bolt {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .cta-modern h2 {
        font-size: 1.625rem;
    }

    .cta-modern p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .btn-cta-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        gap: 0.5rem;
    }

    .btn-cta-large svg {
        width: 20px;
        height: 20px;
    }

    .cta-note {
        font-size: 0.75rem;
    }

    /* Footer small phone */
    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* Legacy small phone */
    .hero h1 {
        font-size: 1.5rem;
    }
}

/* Very small phones: 360px and below */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge span:last-child {
        font-size: 0.625rem;
    }

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

    .stat-label {
        font-size: 0.5rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats {
        gap: 1rem;
    }

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

    .cta-modern h2 {
        font-size: 1.375rem;
    }
}
