/* ═══════════════════════════════════════════════════════
   DETAILING STUDIO — Premium Landing Page Styles
   ═══════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    /* Colors */
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1C1C1C;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    
    --accent: #E8652B;
    --accent-light: #F09A5C;
    --accent-glow: rgba(232, 101, 43, 0.15);
    --accent-glow-strong: rgba(232, 101, 43, 0.3);
    
    --text-primary: #F5F5F5;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;
    --text-dark: #0A0A0A;
    
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(232, 101, 43, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-gap: 140px;
    --container-width: 1280px;
    --container-padding: 24px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.2s;
    --duration: 0.4s;
    --duration-slow: 0.8s;
    
    /* Borders */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

html::-webkit-scrollbar {
    width: 6px;
}
html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
html::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Hide content behind preloader to prevent flicker */
.hero-badge,
.hero-line,
.hero-subtitle,
.hero-actions .btn,
.hero-scroll-indicator {
    visibility: hidden;
}

body.loaded .hero-badge,
body.loaded .hero-line,
body.loaded .hero-subtitle,
body.loaded .hero-actions .btn,
body.loaded .hero-scroll-indicator {
    visibility: visible;
}

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

button, input, select, textarea {
    font-family: var(--font-body);
    cursor: none;
}

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

::selection {
    background: var(--accent);
    color: var(--text-dark);
}

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

/* ─── Custom Cursor ─── */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(232, 101, 43, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}

.cursor-hover .cursor-dot {
    width: 60px;
    height: 60px;
    background: rgba(232, 101, 43, 0.15);
    mix-blend-mode: normal;
}

.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
}

/* ─── Preloader ─── */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-primary);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    transition: width 0.1s linear;
}

.preloader-percent {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ─── Navigation ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--duration) var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
}

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

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

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease-out);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link-cta {
    background: var(--accent);
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    transition: all var(--duration) var(--ease-out);
}

.nav-link-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}

.nav-link-cta::after {
    display: none;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

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

.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(10, 10, 10, 0.4) 0%, var(--bg-primary) 85%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--border-accent);
    padding: 8px 24px;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    background: var(--accent-glow);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    border: none;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--duration) var(--ease-out);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--text-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--accent-glow-strong);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    opacity: 0;
    transition: opacity var(--duration);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span, .btn-primary svg {
    position: relative;
    z-index: 1;
}

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

.btn-ghost:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

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

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ─── Section Headers ─── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.text-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Marquee Strip ─── */
.marquee-strip {
    background: var(--accent);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.marquee-dot {
    font-size: 1rem;
    opacity: 0.5;
}

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

/* ─── Stats ─── */
.stats {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px 30px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-light);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
}

/* ─── Services ─── */
.services {
    padding: var(--section-gap) 0;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--duration) var(--ease-out);
}

.tab-btn svg {
    width: 16px;
    height: 16px;
}

.tab-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: var(--bg-glass);
}

.tab-btn.active {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
    font-weight: 600;
}

.services-content {
    position: relative;
    min-height: 450px;
}

.service-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    animation: fadeSlideIn 0.5s var(--ease-out);
}

.service-panel.active {
    display: grid;
}

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

.service-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: var(--bg-card-hover);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-features li svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-from {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.8s var(--ease-out);
}

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

.service-visual {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ─── Before / After ─── */
.results {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
}

.ba-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ba-tab {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--duration) var(--ease-out);
}

.ba-tab:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.ba-tab.active {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
}

.ba-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.ba-slider {
    display: none;
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    user-select: none;
    touch-action: none;
}

.ba-slider.active {
    display: block;
}

.ba-before, .ba-after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ba-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.ba-after {
    z-index: 1;
}

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
}

.ba-before .ba-label {
    left: 20px;
    background: rgba(139, 115, 85, 0.8);
    color: white;
}

.ba-after .ba-label {
    right: 20px;
    background: var(--accent);
    color: var(--text-dark);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
}

.ba-handle-line {
    width: 2px;
    flex: 1;
    background: var(--accent);
}

.ba-handle-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--accent-glow-strong);
    transition: transform var(--duration) var(--ease-out);
}

.ba-handle-circle:hover {
    transform: scale(1.15);
}

.ba-handle-circle svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
}

/* ─── Gallery ─── */
.gallery {
    padding: var(--section-gap) 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--duration) var(--ease-out);
}

.filter-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item-tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

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

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--duration) var(--ease-out);
}

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

.gallery-cat {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ─── Process ─── */
.process {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    padding-top: 40px;
}

.process-line {
    position: absolute;
    top: 72px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    transition: width 0.1s linear;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    max-width: 200px;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    z-index: 2;
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: color 0.5s var(--ease-out);
    position: relative;
    z-index: 2;
}

/* Ripple / bubble burst element */
.step-ripple {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    transform: scale(0.6);
    z-index: 1;
    pointer-events: none;
}

.process-step.active .step-ripple {
    animation: stepBubbleBurst 0.8s var(--ease-out) forwards;
}

@keyframes stepBubbleBurst {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
    60% {
        opacity: 0.6;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

.process-step.active .step-icon {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow-strong), 0 0 60px var(--accent-glow);
    transform: scale(1.1);
}

.process-step.active .step-icon svg {
    color: var(--text-dark);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─── Reviews / Testimonials ─── */
.reviews {
    padding: var(--section-gap) 0;
}

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

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s var(--ease-out);
    padding: 10px 0;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--duration) var(--ease-out);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.review-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-glass-hover);
    transform: translateY(-4px);
}

.review-stars {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 4px;
}

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

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

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.review-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.review-car {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease-out);
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
    transform: translateY(-2px);
}

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

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-hover);
    transition: all var(--duration) var(--ease-out);
    cursor: pointer;
    border: none;
}

.carousel-dot.active {
    width: 32px;
    border-radius: 4px;
    background: var(--accent);
}

/* ─── Contact ─── */
.contact {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
}

/* ─── Contact V2 Layout ─── */
.contact-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

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

.form-group {
    margin-bottom: 0;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group + .form-group:not(.form-row .form-group) {
    margin-bottom: 24px;
}

.contact-form > .form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--duration) var(--ease-out);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

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

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

/* Mini info cards row under form */
.contact-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-card-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease-out);
}

.info-card-mini:hover {
    border-color: var(--border-accent);
}

.info-card-mini > svg,
.info-card-mini > i {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.info-card-mini strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card-mini span {
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Map takes full right column height */
.contact-map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 500px;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* Reviews CTA */
.reviews-cta {
    text-align: center;
    margin-top: 40px;
}

/* ─── Footer ─── */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

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

.footer-nav h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-nav a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 6px 0;
    transition: all var(--duration-fast);
    position: relative;
}

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

.footer-social h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--duration) var(--ease-out);
}

.social-link:hover {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    transition: color var(--duration-fast);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    :root {
        --section-gap: 100px;
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
    }
    
    .process-line {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 80px;
        --container-padding: 20px;
    }
    
    body {
        cursor: auto;
    }
    
    .cursor-dot, .cursor-ring {
        display: none !important;
    }
    
    /* Nav */
    .burger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 60px 40px;
        gap: 4px;
        transition: right var(--duration-slow) var(--ease-out);
        border-left: 1px solid var(--border);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        font-weight: 600;
        padding: 12px 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link-cta {
        margin-top: 20px;
        font-size: 1rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Services */
    .service-panel {
        grid-template-columns: 1fr;
    }
    
    .service-visual {
        order: -1;
    }
    
    .services-tabs {
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Скрываем скроллбар для эстетики */
    .services-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .gallery-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item-wide {
        grid-column: span 1;
    }
    
    /* Contact */
    .contact-grid-v2 {
        grid-template-columns: 1fr;
    }
    
    .contact-map-wrapper {
        min-height: 350px;
    }
    
    .contact-map {
        min-height: 350px;
    }
    
    .contact-info-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 28px;
    }
    
    /* Reviews */
    .review-card {
        flex: 0 0 calc(100% - 0px);
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Stats */
    .stat-divider {
        display: none;
    }
    
    .stats-grid {
        gap: 0;
    }
    
    .stat-item {
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-tall {
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
    
    .stat-item {
        min-width: 50%;
    }
    
    .ba-slider {
        aspect-ratio: 4/3;
    }
}

/* --- Leaflet Premium Popups --- */
.leaflet-popup-content-wrapper { background: var(--bg-card); color: var(--text-primary); border-radius: var(--radius); padding: 0; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 15px 35px rgba(0,0,0,0.6); }
.leaflet-popup-content { margin: 0; width: 280px !important; }
.leaflet-popup-tip { background: var(--bg-card); }
.map-popup-text h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--accent); margin-bottom: 4px; padding-left: 16px; padding-top: 16px; }
.map-popup-text p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; padding-left: 16px; padding-bottom: 16px; padding-right: 16px; }
.map-popup-img { width: 100%; height: 140px; object-fit: cover; }
