/* ============================================================
   ACE Electric & Automation — Main Stylesheet
   Palette: Black · Chrome Silver · Electric Gold
   ============================================================ */

:root {
    --bg: #030306;
    --bg-2: #0a0a10;
    --bg-3: #111118;
    --gold: #ffd700;
    --gold-bright: #ffe44d;
    --gold-dim: #c9a227;
    --gold-glow: rgba(255, 215, 0, 0.45);
    --silver: #b8bcc8;
    --silver-light: #e2e4ea;
    --chrome: linear-gradient(135deg, #f0f2f5 0%, #a8adb8 35%, #6b7280 65%, #d1d5db 100%);
    --text: #e8eaef;
    --text-muted: #8b919e;
    --border: rgba(255, 215, 0, 0.15);
    --border-silver: rgba(192, 192, 192, 0.12);
    --glass: rgba(10, 10, 16, 0.72);
    --radius: 12px;
    --radius-lg: 20px;
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-h: 80px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

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

/* ── Logo: true transparent PNG (no black box) ── */
.logo-clean,
.logo-blend {
    background: transparent;
    filter: drop-shadow(0 0 28px rgba(255, 215, 0, 0.35))
            drop-shadow(0 0 55px rgba(255, 215, 0, 0.18));
}
.ace-logo {
    background: transparent !important;
}

/* ── Language modal ── */
body.lang-modal-open { overflow: hidden; }

.lang-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(3, 3, 6, 0.92);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lang-modal.visible {
    opacity: 1;
    visibility: visible;
}
.lang-modal-box {
    text-align: center;
    max-width: 420px;
    width: 100%;
    padding: 2.5rem 2rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.12), 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-modal.visible .lang-modal-box {
    transform: scale(1) translateY(0);
}
.lang-modal-logo {
    width: 100px;
    margin: 0 auto 1.5rem;
}
.lang-modal-box h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.lang-modal-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}
.lang-modal-bolt {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: bolt-pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 12px var(--gold));
}
.lang-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.lang-btn {
    flex: 1;
    max-width: 160px;
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 8px;
    border: 1px solid var(--border-silver);
    background: var(--bg);
    color: var(--silver-light);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.lang-btn:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.2);
}
.lang-btn-gold {
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    color: #0a0a0a;
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-silver);
    border-radius: 6px;
}
.lang-switch-btn {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.55rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 4px;
    transition: background var(--transition), color var(--transition);
}
.lang-switch-btn.active {
    background: var(--gold);
    color: #0a0a0a;
}
.lang-switch-btn:hover:not(.active) {
    color: var(--gold);
}

/* ── Work gallery ── */
.work { background: var(--bg); }

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-silver);
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-3);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.08);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 3, 6, 0.92) 0%, rgba(3, 3, 6, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay figcaption {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--silver-light);
    margin-bottom: 0.35rem;
}
.gallery-view {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── Lightbox ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 15000;
    background: rgba(3, 3, 6, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
    text-align: center;
}
.lightbox-inner img {
    max-height: 75vh;
    width: auto;
    margin: 0 auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.15);
}
.lightbox-caption {
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(10, 10, 16, 0.8);
    border: 1px solid var(--border-silver);
    color: var(--gold);
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    z-index: 2;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--gold);
    transform: scale(1.08);
}
.lightbox-close { top: -50px; right: 0; font-size: 1.75rem; }
.lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover,
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox-prev { left: 0; }
    .lightbox-next { right: 0; }
    .lang-switch { display: none; }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-overlay { opacity: 1; }
    .lang-buttons { flex-direction: column; align-items: center; }
    .lang-btn { max-width: 100%; width: 100%; }
}

/* ── Cursor glow ── */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
body.loaded .cursor-glow { opacity: 1; }

/* ── Particle canvas ── */
#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ── Page loader ── */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: opacity 0.6s, visibility 0.6s;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-ring {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-silver);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}
.loader-logo {
    width: 120px;
    animation: pulse-glow 2s ease-in-out infinite;
}

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

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 0 var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand { flex-shrink: 0; }

.nav-logo {
    height: 52px;
    width: auto;
    transition: transform var(--transition), filter var(--transition);
}
.nav-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)) drop-shadow(0 0 40px rgba(255, 215, 0, 0.2));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--silver);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transition: width var(--transition);
    box-shadow: 0 0 8px var(--gold-glow);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    color: #0a0a0a !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 6px;
    font-weight: 700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
    transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.45);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    box-shadow: 0 0 6px var(--gold-glow);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 50%, var(--gold-bright) 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 24px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}
.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
    transform: translateX(-100%);
    animation: btn-shimmer 3s ease-in-out infinite;
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.45);
}
.btn-outline {
    background: transparent;
    color: var(--silver-light);
    border: 1px solid var(--border-silver);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}
.btn-lg { padding: 1rem 2.4rem; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

@keyframes btn-shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 2rem) 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
    animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

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

.hero-pipes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 80px,
        rgba(255, 215, 0, 0.04) 80px,
        rgba(255, 215, 0, 0.04) 82px
    );
    opacity: 0.5;
    transform: skewY(-2deg);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid var(--border);
    padding: 0.45rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hero-badge .bolt {
    animation: bolt-pulse 1.5s ease-in-out infinite;
}

@keyframes bolt-pulse {
    0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 4px var(--gold)); }
    50% { opacity: 0.7; transform: scale(1.15); filter: drop-shadow(0 0 12px var(--gold)); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}
.line-silver {
    background: var(--chrome);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.line-gold {
    color: var(--gold);
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 0 80px rgba(255, 215, 0, 0.15);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-silver);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-plus, .stat-suffix {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
    display: inline;
}
.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.25rem;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-silver);
}

/* Logo showcase */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-showcase {
    position: relative;
    width: min(420px, 80vw);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: ring-spin linear infinite;
}
.logo-ring-1 {
    inset: -8%;
    border-color: rgba(255, 215, 0, 0.15);
    animation-duration: 25s;
}
.logo-ring-2 {
    inset: -16%;
    border-color: rgba(192, 192, 192, 0.08);
    animation-duration: 35s;
    animation-direction: reverse;
}
.logo-ring-3 {
    inset: -24%;
    border-color: rgba(255, 215, 0, 0.06);
    animation-duration: 45s;
    border-style: dashed;
}

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

.logo-shimmer {
    position: absolute;
    inset: 5%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.08), transparent, rgba(192,192,192,0.05), transparent);
    animation: ring-spin 8s linear infinite;
    pointer-events: none;
}

.hero-logo {
    width: 100%;
    position: relative;
    z-index: 2;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3)) drop-shadow(0 0 60px rgba(255, 215, 0, 0.1)); }
    50% { filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.5)) drop-shadow(0 0 90px rgba(255, 215, 0, 0.2)); }
}

.logo-sparks span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold), 0 0 16px var(--gold-glow);
    animation: spark-float 3s ease-in-out infinite;
}
.logo-sparks span:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.logo-sparks span:nth-child(2) { top: 25%; right: 15%; animation-delay: 0.5s; }
.logo-sparks span:nth-child(3) { bottom: 30%; left: 10%; animation-delay: 1s; }
.logo-sparks span:nth-child(4) { bottom: 15%; right: 25%; animation-delay: 1.5s; }
.logo-sparks span:nth-child(5) { top: 50%; left: 5%; animation-delay: 2s; }
.logo-sparks span:nth-child(6) { top: 40%; right: 8%; animation-delay: 2.5s; }

@keyframes spark-float {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
    50% { opacity: 1; transform: translateY(-20px) scale(1); }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Trust bar ── */
.trust-bar {
    position: relative;
    z-index: 2;
    background: var(--bg-2);
    border-top: 1px solid var(--border-silver);
    border-bottom: 1px solid var(--border-silver);
    padding: 1.25rem 0;
}
.trust-inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}
.trust-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--silver);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trust-icon {
    color: var(--gold);
    font-size: 1.1rem;
    animation: bolt-pulse 2s ease-in-out infinite;
}

/* ── Sections ── */
.section {
    position: relative;
    padding: 6rem 0;
    z-index: 2;
}
.section-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-2);
    z-index: -1;
}
.section-bg-alt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.section-divider::before,
.section-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-divider .bolt {
    color: var(--gold);
    font-size: 1.2rem;
    animation: bolt-pulse 2s ease-in-out infinite;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ── Service cards ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: var(--bg-3);
    border: 1px solid var(--border-silver);
    border-radius: var(--radius-lg);
    padding: 2rem;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.08);
}
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 215, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover .card-glow { opacity: 1; }

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px var(--gold-glow));
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    color: var(--silver-light);
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.card-tags span {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid var(--border);
    color: var(--gold);
}
.card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition);
}
.card-link:hover { gap: 0.8rem; }

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-frame {
    position: relative;
    padding: 2rem;
}
.about-frame-inner {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, var(--bg-3) 70%);
    overflow: hidden;
}
.about-frame-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.05) 0%, transparent 50%, rgba(192,192,192,0.03) 100%);
    animation: shimmer-sweep 4s ease-in-out infinite;
}
@keyframes shimmer-sweep {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.about-logo { width: 100%; max-width: 320px; margin: 0 auto; }
.about-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
}
.about-corner-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.about-corner-br { bottom: 0; right: 0; border-left: none; border-top: none; }
.about-float {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--gold-glow));
}
.about-float-1 { top: -10px; right: 20px; animation-delay: 0s; }
.about-float-2 { bottom: 10px; left: 0; animation-delay: 2s; }

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.about-list { margin: 1.5rem 0 2rem; }
.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.about-list .check {
    color: var(--gold);
    font-weight: 700;
}

/* ── Process ── */
.process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.process-track::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent);
    opacity: 0.4;
}
.process-step {
    text-align: center;
    position: relative;
}
.step-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--chrome);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.step-line {
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 0 16px var(--gold-glow);
    position: relative;
    z-index: 1;
}
.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── CTA Banner ── */
.cta-banner {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    z-index: 2;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        var(--bg-3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-inner {
    text-align: center;
    position: relative;
}
.cta-bolt {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bolt-pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--gold));
}
.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.cta-inner p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}
.contact-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-silver);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-item:hover {
    border-color: var(--border);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.08);
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.2rem;
}
.contact-item span { color: var(--text-muted); font-size: 0.95rem; }

.contact-form-wrap {
    background: var(--bg-3);
    border: 1px solid var(--border-silver);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-bright), var(--gold));
}

.form-success, .form-error {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.form-success {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--border);
    color: var(--gold);
    animation: formSuccessIn 0.35s ease;
}
.form-success[hidden] {
    display: none !important;
}
.form-success .bolt {
    flex-shrink: 0;
    line-height: 1.4;
}
@keyframes formSuccessIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.form-error {
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.3);
    color: #ff8888;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border-silver);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-2); }

/* ── Reviews ── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.review-card {
    background: var(--bg-3);
    border: 1px solid var(--border-silver);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.review-card:hover {
    border-color: var(--border);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.06);
}

.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.review-head strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.review-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.review-media {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.review-media img,
.review-media video {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-silver);
    cursor: pointer;
}

.reviews-loading, .reviews-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
}

.review-submit-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-3);
    border: 1px solid var(--border-silver);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.review-submit-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.15rem;
    line-height: 1;
    transition: color 0.15s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.star-btn.active { color: var(--gold); }
.star-btn:active { transform: scale(1.15); }

.file-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg);
    border: 1px dashed var(--border-silver);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
}

.file-input::file-selector-button {
    background: var(--gold);
    color: #0a0a0a;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    margin-right: 0.75rem;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.file-preview img,
.file-preview video {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-silver);
}

/* ── Estimate ── */
.estimate { background: var(--bg); }

.urgent-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
    background: rgba(255, 85, 85, 0.06);
    border: 1px solid rgba(255, 85, 85, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.urgent-toggle input { display: none; }

.urgent-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 85, 85, 0.5);
    border-radius: 4px;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}

.urgent-toggle input:checked + .urgent-check {
    background: #ff5555;
    border-color: #ff5555;
}

.urgent-toggle input:checked + .urgent-check::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.urgent-toggle:has(input:checked) {
    background: rgba(255, 85, 85, 0.12);
    border-color: rgba(255, 85, 85, 0.4);
}

/* ── Footer ── */
.site-footer {
    position: relative;
    background: var(--bg-2);
    border-top: 1px solid var(--border-silver);
    padding: 4rem 0 0;
    z-index: 2;
}
.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 20px var(--gold-glow);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}
.footer-logo { width: 140px; margin-bottom: 0.75rem; }
.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.footer-col li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-col a {
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-emergency { color: var(--gold) !important; font-weight: 600; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-silver);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-bolt {
    color: var(--gold);
    font-size: 1.2rem;
    animation: bolt-pulse 2s ease-in-out infinite;
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

main { position: relative; z-index: 1; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .logo-showcase { width: min(300px, 70vw); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .process-track { grid-template-columns: repeat(2, 1fr); }
    .process-track::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px), (hover: none) {
    .cursor-glow,
    #particleCanvas,
    .desktop-only,
    .logo-shimmer,
    .logo-sparks,
    .hero-pipes,
    .hero-grid {
        display: none !important;
    }

    .logo-showcase {
        animation: none !important;
        width: min(260px, 72vw);
    }

    .hero-logo {
        animation: none !important;
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3)) !important;
    }

    .logo-clean,
    .logo-blend {
        filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.28)) !important;
    }

    .btn-gold::before {
        animation: none !important;
        display: none;
    }

    .trust-icon,
    .section-divider .bolt,
    .cta-bolt,
    .footer-bolt,
    .hero-badge .bolt {
        animation: none !important;
    }

    .about-frame-inner::before {
        animation: none !important;
    }

    .gallery-item {
        transform: none !important;
    }
    .gallery-item:hover {
        transform: none !important;
        box-shadow: none;
    }
    .gallery-item img {
        transition: none !important;
    }
    .gallery-item:hover img {
        transform: none !important;
    }

    .reveal {
        transition-duration: 0.35s;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-h) + 1.25rem) 0 2.5rem;
    }

    .site-header.scrolled {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    body.nav-open {
        overflow: hidden;
    }

    .lang-switch {
        display: flex !important;
        justify-content: center;
        margin: 1rem auto 0;
    }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }

    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        inset: 0;
        top: var(--header-h);
        background: rgba(3, 3, 6, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        gap: 1.75rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .form-row { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .stat-divider { display: none; }
    .trust-inner { flex-direction: column; align-items: center; gap: 0.75rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo { margin-left: auto; margin-right: auto; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .process-track { grid-template-columns: 1fr; gap: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .reviews-grid { grid-template-columns: 1fr; }
    .review-media img, .review-media video { width: 80px; height: 80px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
