/* ==========================================
   AutoDoc Complete Auto Repair
   Ultra Premium Dark Theme 2025
   ========================================== */

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

:root {
    /* Colors */
    --primary: #0055ff;
    --primary-light: #3377ff;
    --primary-dark: #0044cc;
    --accent: #00e5ff;
    
    --white: #ffffff;
    --black: #000000;
    
    /* Dark Theme */
    --bg-primary: #09090b;
    --bg-secondary: #0f0f12;
    --bg-tertiary: #151518;
    --bg-elevated: #1a1a1f;
    --bg-hover: #222228;
    
    /* Text Colors */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-faint: #52525b;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(0, 85, 255, 0.15);
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.3s;
    
    /* Container */
    --container: 1280px;
    --gutter: clamp(1rem, 5vw, 3rem);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) var(--ease);
}

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }

/* ==========================================
   Preloader
   ========================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

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

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

.loader-ring {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
}

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

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease-out);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

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

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

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

.btn-blue:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
}

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

/* ==========================================
   Header
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--duration) var(--ease);
}

.header.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
}

.header-top {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 0;
}

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

.header-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.header-info-item i {
    color: var(--primary);
    font-size: 0.75rem;
}

.header-info-item:hover {
    color: var(--text-primary);
}

.header-languages {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-faint);
    font-size: 0.8125rem;
}

.header-languages i {
    color: var(--primary);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: padding var(--duration) var(--ease);
}

.header.scrolled .navbar {
    padding: 0.75rem 0;
}

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

/* Logo */
.logo, .footer-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
}

.logo-auto, .logo-doc {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    display: inline;
}

.logo-auto { color: var(--text-primary); }
.logo-doc { color: var(--primary); }

.logo-tagline {
    width: 100%;
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

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

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

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

.nav-link i {
    font-size: 0.5rem;
    transition: transform var(--duration);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -1rem;
    min-width: 220px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration) var(--ease-out);
    box-shadow: var(--shadow-lg);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown li a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--duration);
}

.dropdown li a:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--duration) var(--ease);
    border-radius: 2px;
}

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

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

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

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(9, 9, 11, 0.97) 0%, rgba(9, 9, 11, 0.8) 50%, rgba(9, 9, 11, 0.95) 100%),
        url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 85, 255, 0.08) 0%, transparent 60%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Content */
.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-badge span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-title {
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-stat {
    position: relative;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-text {
    font-size: 0.75rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Hero Certifications */
.hero-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-faint);
    transition: color var(--duration);
}

.cert-item i {
    font-size: 1rem;
    color: var(--text-faint);
    transition: color var(--duration);
}

.cert-item:hover {
    color: var(--text-secondary);
}

.cert-item:hover i {
    color: var(--primary);
}

/* Hero Form */
.hero-form-wrapper {
    position: relative;
}

.hero-form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
}

.hero-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.form-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Form Fields */
.quick-estimate-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
}

.form-field {
    flex: 1;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--duration);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-faint);
}

.form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-field select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
}

.form-field textarea {
    resize: none;
    min-height: 80px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.25);
}

.btn-submit i {
    transition: transform var(--duration);
}

.btn-submit:hover i {
    transform: translateX(4px);
}

/* Form Footer */
.form-footer {
    margin-top: 1.25rem;
    text-align: center;
}

.form-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-faint);
}

.form-trust i {
    color: #22c55e;
}

.form-divider {
    position: relative;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.form-divider span {
    padding: 0 1rem;
    font-size: 0.75rem;
    color: var(--text-faint);
}

.form-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* ==========================================
   Sections
   ========================================== */
section {
    padding: 6rem 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================
   Services Grid
   ========================================== */
.services {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    display: block;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all var(--duration);
}

.service-card:hover .service-icon {
    background: rgba(0, 85, 255, 0.1);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color var(--duration);
}

.service-card:hover .service-icon i {
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-faint);
}

.service-link i {
    font-size: 0.625rem;
    transition: transform var(--duration);
}

.service-card:hover .service-link {
    color: var(--text-primary);
}

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

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================
   Gallery / Before-After
   ========================================== */
.before-after {
    background: var(--bg-primary);
}

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

.comparison-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration) var(--ease-out);
}

.comparison-container:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.comparison-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.comparison-before,
.comparison-after {
    position: absolute;
    inset: 0;
}

.comparison-after {
    clip-path: inset(0 50% 0 0);
}

.comparison-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.comparison-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
}

.comparison-before .comparison-label { right: 1rem; }
.comparison-after .comparison-label { left: 1rem; }

.comparison-slider {
    position: absolute;
    inset: 0;
}

.slider-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    pointer-events: none;
    z-index: 5;
    box-shadow: var(--shadow-md);
}

.slider-handle::before,
.slider-handle::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 150vh;
    background: var(--white);
}

.comparison-info {
    padding: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.comparison-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.comparison-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================
   Why Choose Us / Stats
   ========================================== */
.why-choose-us {
    background: var(--bg-secondary);
}

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

.why-choose-content .section-tag,
.why-choose-content .section-title {
    text-align: left;
}

.section-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--duration) var(--ease);
}

.feature-item:hover {
    border-color: var(--border-light);
    transform: translateX(4px);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color var(--duration);
}

.feature-item:hover .feature-icon i {
    color: var(--primary);
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Stats Grid */
.why-choose-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--duration) var(--ease);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.stat-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: color var(--duration);
}

.stat-card:hover .stat-icon i {
    color: var(--primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials {
    background: var(--bg-primary);
}

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

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: var(--radius-xl);
    transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #facc15;
    font-size: 0.875rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.author-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================
   Insurance Partners
   ========================================== */
.insurance-partners {
    background: var(--bg-secondary);
}

.insurance-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.insurance-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--duration) var(--ease);
}

.insurance-logo:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.insurance-logo i {
    font-size: 1.75rem;
    color: var(--text-faint);
    transition: color var(--duration);
}

.insurance-logo:hover i {
    color: var(--text-muted);
}

.insurance-logo span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.insurance-cta {
    text-align: center;
}

/* ==========================================
   CTA Banner
   ========================================== */
.cta-banner {
    background: var(--white);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-primary);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-faint);
    margin-bottom: 2rem;
}

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

.cta-banner .btn-primary {
    background: var(--bg-primary);
    color: var(--white);
}

.cta-banner .btn-primary:hover {
    background: var(--bg-secondary);
}

.cta-banner .btn-outline {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--bg-primary);
}

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

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    background: var(--bg-primary);
}

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

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--duration);
}

.contact-item:hover {
    border-color: var(--border-light);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color var(--duration);
}

.contact-item:hover .contact-icon i {
    color: var(--primary);
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text p,
.contact-text a {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

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

.contact-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--duration);
}

.social-link:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.contact-map iframe {
    display: block;
    filter: grayscale(100%) invert(92%) contrast(85%);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--bg-secondary);
    padding: 5rem 0 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-about p {
    font-size: 0.9375rem;
    margin: 1.25rem 0;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: all var(--duration);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 0.5rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.875rem;
}

.footer-contact a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ==========================================
   Mobile Sticky CTA
   ========================================== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem;
    z-index: 999;
    gap: 0.75rem;
}

.mobile-cta-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-cta-btn.call {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.mobile-cta-btn.estimate {
    background: var(--primary);
    color: var(--white);
}

.mobile-cta-btn i {
    font-size: 1.125rem;
}

/* ==========================================
   Back to Top
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--duration) var(--ease-out);
    z-index: 998;
}

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

.back-to-top:hover {
    background: var(--white);
    color: var(--bg-primary);
    transform: translateY(-4px);
}

/* ==========================================
   Page Hero
   ========================================== */
.page-hero {
    background: var(--bg-secondary);
    padding: 160px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    max-width: 520px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb span {
    color: var(--text-secondary);
}

.breadcrumb i {
    color: var(--text-faint);
    font-size: 0.5rem;
}

/* ==========================================
   Forms
   ========================================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--duration);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-faint);
}

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

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr 420px;
        gap: 3rem;
    }
    
    .services-grid,
    .gallery-slider,
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-top { display: none; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        gap: 0;
        transition: right var(--duration) var(--ease-out);
        overflow-y: auto;
        z-index: 1001;
    }
    
    .nav-menu.active { right: 0; }
    .nav-menu li { width: 100%; }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-subtle);
        width: 100%;
        font-size: 1rem;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
    }
    
    .has-dropdown.active .dropdown {
        max-height: 500px;
        padding: 1rem 0;
    }
    
    .dropdown li a {
        padding-left: 1.5rem;
    }
    
    .nav-actions { display: none; }
    .hamburger { display: flex; z-index: 1002; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-form-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .why-choose-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .review-stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    
    .hero { 
        padding: 120px 0 60px; 
        min-height: auto;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stat {
        text-align: center;
        min-width: 100px;
    }
    
    .stat-value { font-size: 1.75rem; }
    
    .hero-certifications {
        justify-content: center;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .services-grid,
    .gallery-slider,
    .testimonials-slider,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .insurance-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-social,
    .contact-social {
        justify-content: center;
    }
    
    .footer-contact ul li {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .cta-buttons { 
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .mobile-sticky-cta { display: flex; }
    .back-to-top { bottom: 90px; right: 1rem; }
    .footer { padding-bottom: 100px; }
    
    .process-grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-cards {
        grid-template-columns: 1fr !important;
    }
    
    .page-hero {
        padding: 140px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    /* Contact grid on mobile */
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info .section-tag,
    .contact-info .section-title {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .contact-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-form-card { padding: 1.25rem; }
    .section-title { font-size: 1.5rem; }
    .why-choose-stats { grid-template-columns: 1fr; }
    .stat-number { font-size: 2rem; }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-certifications {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .cert-item {
        justify-content: center;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.25rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Gallery tabs responsive */
    .gallery-tabs {
        gap: 0.375rem !important;
    }
    
    .gallery-tab {
        padding: 0.5rem 0.875rem !important;
        font-size: 0.75rem !important;
    }
    
    /* Insurance logos */
    .insurance-logos {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .insurance-logo {
        padding: 1rem;
    }
    
    .insurance-logo i {
        font-size: 1.25rem;
    }
    
    .insurance-logo span {
        font-size: 0.75rem;
    }
}

/* Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1); }
    70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ==========================================
   WhatsApp Floating Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 1.5rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--duration) var(--ease-out);
    z-index: 998;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #20BA5C;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all var(--duration) var(--ease-out);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        left: 1rem;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    
    .whatsapp-float .whatsapp-tooltip {
        display: none;
    }
}

/* Legacy variable compatibility */
:root {
    --space-2: 0.5rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --color-gray-500: var(--text-muted);
    --color-gray-600: var(--text-faint);
    --color-surface-hover: var(--bg-hover);
    --duration-base: 0.3s;
}
