/* =====================================================================
   Champ Electric — Main Stylesheet
   Mobile-first base styles (no media queries — see responsive.css)
   ===================================================================== */

/* --- Custom Properties -------------------------------------------- */
:root {
    --bg-primary:   #080a0f;
    --bg-alt:       #0d1018;
    --bg-card:      #0a0d14;
    --accent:       #2B6CC4;
    --accent-hover: #4480D8;
    --accent-2:     #1755a0;
    --accent-2-hover: #2468b8;
    --text:         #f0f0f0;
    --text-muted:   #7a8fa8;
    --teal:         #60a8e0;
    --border:       rgba(43, 108, 196, 0.22);
    --shadow:       0 8px 32px rgba(0,0,0,0.6);
    --radius:       10px;
    --transition:   0.3s ease;
    --font-head:    'Oswald', sans-serif;
    --font-body:    'Inter', sans-serif;
    --nav-h:        76px;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* --- Typography ---------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    letter-spacing: 0.5px;
}
h1 { font-size: clamp(2.2rem, 7vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); font-weight: 600; }

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.section-title span { color: var(--accent); }
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons ------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 24px rgba(43,108,196,0.35);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(43,108,196,0.55);
}
.btn:disabled, .btn[disabled] {
    background: #3a3a4a !important;
    color: #888 !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: not-allowed;
    animation: none !important;
    opacity: 0.7;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    vertical-align: middle;
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Layout Helpers ----------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
section { padding: 5rem 0; overflow-x: hidden; }
section:nth-child(odd) { background-color: var(--bg-primary); }
section:nth-child(even) { background-color: var(--bg-alt); }

/* --- Navigation ---------------------------------------------------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
    background: rgba(8,10,15,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.nav-logo img {
    height: 68px;
    width: auto;
    background: #ffffff;
    border-radius: 4px;
    padding: 4px 8px;
}
.nav-logo-placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-logo-placeholder .bolt-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
}
.nav-logo-placeholder .logo-text { color: var(--text); }
.nav-logo-placeholder .logo-text span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: var(--text);
    font-family: var(--font-head);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links .btn-primary:hover { color: #ffffff; }
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.lang-toggle a {
    color: var(--text-muted);
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    transition: color var(--transition);
}
.lang-toggle a:hover,
.lang-toggle a.lang-active { color: var(--accent); }
.lang-toggle span { color: var(--text-muted); font-size: 0.7rem; }

.nav-cta { margin-left: 0.5rem; }
.nav-cta a.btn {
    padding-bottom: 0.85rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-cta a.btn::after { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1010;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    background: rgba(8,10,15,0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem 1.25rem 2rem;
    gap: 1rem;
    border-top: 1px solid var(--border);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.mobile-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}
.mobile-menu a {
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

/* --- Hero ---------------------------------------------------------- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-primary);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,10,15,0.88) 0%, rgba(8,10,15,0.68) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-family: var(--font-head);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(43,108,196,0.4);
    border-radius: 2px;
    background: rgba(8,10,15,0.97);
    backdrop-filter: blur(10px);
    color: #ffffff;
}
@keyframes eyebrow-flash {
    0%   { background: rgba(8,10,15,0.97); box-shadow: none; border-color: rgba(43,108,196,0.4); }
    10%  { background: rgba(43,108,196,0.85); box-shadow: 0 0 24px rgba(43,108,196,0.9), 0 0 60px rgba(43,108,196,0.5), 0 0 100px rgba(43,108,196,0.2); border-color: #ffffff; }
    13%  { background: rgba(8,10,15,0.97); box-shadow: none; border-color: rgba(43,108,196,0.4); }
    16%  { background: rgba(43,108,196,0.85); box-shadow: 0 0 24px rgba(43,108,196,0.9), 0 0 60px rgba(43,108,196,0.5), 0 0 100px rgba(43,108,196,0.2); border-color: #ffffff; }
    20%  { background: rgba(8,10,15,0.97); box-shadow: none; border-color: rgba(43,108,196,0.4); }
    100% { background: rgba(8,10,15,0.97); box-shadow: none; border-color: rgba(43,108,196,0.4); }
}
.hero-headline {
    color: var(--text);
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    margin-bottom: 1.2rem;
}
.hero-headline span { color: var(--accent); }
.hero-subtext {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text);
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.85rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    background: rgba(8,10,15,0.75);
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.hero-phone-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    transform: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    animation: bounce 1.8s infinite;
}
@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

/* --- Trust Bar ----------------------------------------------------- */
#trust-bar {
    background: var(--accent);
    padding: 0;
}
#trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    min-height: 54px;
}
.trust-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.4rem;
    padding: 0.7rem 0.9rem;
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; }
#trust-bar .container::-webkit-scrollbar { display: none; }

/* --- Services ----------------------------------------------------- */
#services { padding: 5rem 0; }
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-content: start;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(43,108,196,0.45);
    box-shadow: var(--shadow);
}
.service-card:hover::before { height: 100%; }
.service-icon {
    width: 52px;
    height: 52px;
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
    color: var(--text);
    margin-bottom: 0.7rem;
}
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- About --------------------------------------------------------- */
#about .about-inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}
.about-image-wrap {
    width: 100%;
    max-width: 480px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.about-image-wrap img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.about-image-frame {
    position: absolute;
    bottom: -12px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.4;
}
.about-content h2 { margin-bottom: 1rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1rem; }
.about-content p:last-of-type { margin-bottom: 1.5rem; }
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}
.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--teal);
    border-radius: 4px;
    color: var(--teal);
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* --- Testimonials -------------------------------------------------- */
#testimonials { overflow: hidden; }
.testimonials-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-card);
}
.testimonials-grid::-webkit-scrollbar { height: 6px; }
.testimonials-grid::-webkit-scrollbar-track { background: var(--bg-card); border-radius: 3px; }
.testimonials-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.testimonial-card {
    flex: 0 0 min(85vw, 340px);
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
}
.testimonial-stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-quote {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.testimonial-quote::before { content: '\201C'; color: var(--accent); font-size: 1.4rem; font-style: normal; }
.testimonial-quote::after  { content: '\201D'; color: var(--accent); font-size: 1.4rem; font-style: normal; }
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.testimonial-name {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--text);
    letter-spacing: 0.5px;
}
.testimonial-location { font-size: 0.8rem; color: var(--text-muted); }

/* --- Testimonials Carousel ---------------------------------------- */
.carousel-wrap {
    position: relative;
}
.carousel-wrap.carousel-active {
    padding: 0 2.5rem;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    flex-shrink: 0;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.carousel-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.35);
}

/* --- Gallery ------------------------------------------------------- */
#gallery { padding: 5rem 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 1;
    cursor: pointer;
    background: var(--bg-card);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8,10,15,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { width: 40px; height: 40px; color: var(--accent); }
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Gallery Lightbox */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
#lightbox.open { display: flex; }
#lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    object-fit: contain;
}
#lightbox-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    max-width: 80vw;
}
#lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity var(--transition), color var(--transition);
}
#lightbox-close:hover { opacity: 1; color: var(--accent); }
#lightbox-prev, #lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(43,108,196,0.12);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
#lightbox-prev { left: 1rem; }
#lightbox-next { right: 1rem; }
#lightbox-prev:hover, #lightbox-next:hover { background: var(--accent); color: #ffffff; }

/* --- Contact ------------------------------------------------------- */
#contact .contact-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(43,108,196,0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-text { display: flex; flex-direction: column; gap: 0.1rem; }
.contact-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-family: var(--font-head);
}
.contact-detail-value { color: var(--text); font-size: 0.95rem; }
.contact-detail-value a { color: var(--text); }
.contact-detail-value a:hover { color: var(--accent); }
.social-links { display: flex; gap: 1rem; }
.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.85rem;
    font-family: var(--font-head);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(43,108,196,0.08); }

/* Contact Form */
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; }
.contact-form-wrap h3 { color: var(--text); margin-bottom: 0.3rem; }
.contact-form-wrap > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-family: var(--font-head);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(43,108,196,0.05);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
    display: none;
    background: rgba(0,212,170,0.1);
    border: 1px solid var(--teal);
    color: var(--teal);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.form-error {
    display: none;
    background: rgba(255,80,80,0.1);
    border: 1px solid #ff5050;
    color: #ff8080;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.form-ajax-msg { display: none; border-radius: 6px; padding: 1rem; text-align: center; font-size: 0.95rem; margin-bottom: 1rem; }
.form-ajax-msg.form-success { background: rgba(0,212,170,0.1); border: 1px solid var(--teal); color: var(--teal); }
.form-ajax-msg.form-error   { background: rgba(255,80,80,0.1);  border: 1px solid #ff5050;   color: #ff8080; }
.field-error { display: block; color: #ff8080; font-size: 0.78rem; margin-top: 0.3rem; }
.form-group input.input-error,
.form-group textarea.input-error { border-color: #ff5050; }

/* --- Footer -------------------------------------------------------- */
#footer {
    background: #050709;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}
.footer-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.footer-brand {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: 1px;
}
.footer-brand span { color: var(--accent); }
.footer-logo {
    height: 68px;
    width: auto;
    background: #ffffff;
    border-radius: 4px;
    padding: 4px 8px;
    display: block;
    margin: 0 auto;
}
.footer-meta { color: var(--text-muted); font-size: 0.8rem; }
.footer-meta a { color: var(--text-muted); }
.footer-meta a:hover { color: var(--accent); }
.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-links-sep { opacity: 0.4; }
.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
.footer-qr-img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 5px;
}
.footer-qr-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
    max-width: 100px;
    line-height: 1.3;
}
@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-center {
        flex: unset;
        text-align: center;
    }
}

/* --- Cookie Banner ------------------------------------------------- */
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9000;
    background: rgba(8,10,15,0.97);
    border-top: 1px solid rgba(43,108,196,0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    flex: 1;
}
.cookie-link {
    color: var(--accent);
    margin-left: 0.4rem;
    text-decoration: underline;
    white-space: nowrap;
}
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn-cookie {
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-cookie-primary  { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-cookie-primary:hover  { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-cookie-outline  { background: transparent; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.2); }
.btn-cookie-outline:hover  { color: #fff; border-color: #fff; }

/* Cookie policy modal + Privacy/Terms modals */
#cookie-modal,
#privacy-modal,
#terms-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.cookie-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 480px;
    width: 100%;
}
.cookie-modal-box h3 { color: var(--text); margin-bottom: 0.75rem; }
.cookie-modal-box p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* --- Utility: Animate on scroll ----------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale.visible  { opacity: 1; transform: scale(1); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Hero entrance animations ------------------------------------- */
@keyframes fade-down {
    from { opacity: 0; transform: translateY(-22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fade-down 0.65s 0.15s ease both, eyebrow-flash 4s 1s linear infinite; }
.hero-headline { animation: fade-up   0.65s 0.35s ease both; }
.hero-subtext  { animation: fade-up   0.65s 0.55s ease both; }
.hero-actions  { animation: fade-up   0.65s 0.75s ease both; }
.hero-scroll-hint { animation: fade-up 0.65s 1.1s ease both; }

/* --- Hero animated gradient headline ------------------------------ */
@keyframes gradient-shift {
    0%   { background-position: 0% center; }
    50%  { background-position: 100% center; }
    100% { background-position: 0% center; }
}
.hero-headline span {
    background: linear-gradient(90deg, var(--accent), #6ab0f0, var(--accent-hover), var(--accent));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

/* --- Hero parallax bg layer --------------------------------------- */
.hero-parallax-bg {
    position: absolute;
    inset: -60% 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}

/* --- Hero with background image ----------------------------------- */
#hero.has-bg .particle {
    background: #ffffff;
    mix-blend-mode: overlay;
    opacity: 0.6;
}
#hero.has-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(8,10,15,0.75) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* --- Hero floating particles -------------------------------------- */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
@keyframes particle-rise {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-110vh) translateX(var(--drift, 20px)) scale(0.4); opacity: 0; }
}
.particle {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    animation: particle-rise linear infinite;
    will-change: transform, opacity;
}

/* --- CTA button glow pulse ---------------------------------------- */
@keyframes btn-pulse {
    0%, 100% { box-shadow: 0 0 24px rgba(43,108,196,0.35); }
    50%       { box-shadow: 0 0 48px rgba(43,108,196,0.65), 0 0 80px rgba(43,108,196,0.2); }
}
.btn-primary { animation: btn-pulse 2.8s ease-in-out infinite; }
.btn-primary:hover { animation: none; }

/* --- Service card shimmer ----------------------------------------- */
.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -75%;
    width: 55%;
    height: 300%;
    background: linear-gradient(105deg, transparent 40%, rgba(43,108,196,0.12) 50%, transparent 60%);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    pointer-events: none;
}
.service-card:hover::after { left: 140%; }

/* --- Trust bar entrance animation --------------------------------- */
@keyframes trust-slide-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.trust-item { animation: trust-slide-up 0.5s ease both; }
.trust-item:nth-child(1) { animation-delay: 0.05s; }
.trust-item:nth-child(2) { animation-delay: 0.15s; }
.trust-item:nth-child(3) { animation-delay: 0.25s; }
.trust-item:nth-child(4) { animation-delay: 0.35s; }
.trust-item:nth-child(5) { animation-delay: 0.45s; }

/* --- Section title underline animation ---------------------------- */
@keyframes underline-in {
    from { width: 0; }
    to   { width: 56px; }
}
.section-title::after {
    content: '';
    display: block;
    height: 3px;
    background: var(--accent);
    margin: 0.55rem auto 0;
    border-radius: 2px;
    width: 0;
    transition: width 0.6s ease;
}
.section-title.line-visible::after { width: 56px; }

/* --- Testimonial card hover --------------------------------------- */
.testimonial-card {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(43,108,196,0.15);
    border-color: rgba(43,108,196,0.4);
}

/* --- Pagination controls ------------------------------------------ */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2rem;
}
.pagination-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination-btn:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pagination-btn:disabled { opacity: 0.35; cursor: default; }
.pagination-info {
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    min-width: 50px;
    text-align: center;
}

/* --- Gallery item border glow on hover ---------------------------- */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border-color var(--transition);
    pointer-events: none;
    z-index: 2;
}
.gallery-item:hover::after { border-color: var(--accent); }

/* --- Badge hover -------------------------------------------------- */
.badge {
    transition: transform var(--transition), background var(--transition);
}
.badge:hover {
    background: rgba(0,212,170,0.1);
    transform: translateY(-2px);
}

/* --- Counter number animation ------------------------------------- */
.count-num { display: inline-block; }

/* --- Review Toast Notification ------------------------------------ */
@keyframes toast-slide-in {
    from {
        transform: translateX(420px) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}
@keyframes toast-slide-out {
    from {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(420px) translateY(20px);
        opacity: 0;
    }
}
@keyframes toast-slide-in-mobile {
    from {
        transform: translateY(80px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes toast-slide-out-mobile {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}
@keyframes tab-slide-in {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.review-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 380px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.25);
    z-index: 9500;
    animation: toast-slide-in 0.4s ease-out forwards;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.review-toast.hide { animation: toast-slide-out 0.4s ease forwards; }
.review-toast.minimized {
    bottom: 2rem !important;
    top: auto !important;
    right: 0 !important;
    left: auto;
    z-index: 2147483647;
    width: auto;
    max-width: none;
    padding: 0.6rem !important;
    border: none;
    border-radius: 8px 0 0 8px;
    background: var(--accent);
    box-shadow: -4px 4px 16px rgba(0,0,0,0.2);
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.6rem !important;
    min-height: 120px;
}
.review-toast.minimized:hover {
    padding: 0.6rem 0.8rem !important;
    box-shadow: -6px 6px 20px rgba(0,0,0,0.3);
}
.review-toast.minimized .review-toast-header,
.review-toast.minimized .review-toast-message,
.review-toast.minimized .review-toast-actions {
    display: none;
}
.review-toast.minimized .review-toast-min-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: #ffffff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
    user-select: none;
}
.review-toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.review-toast-icon {
    width: 36px;
    height: 36px;
    background: rgba(43,108,196,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.review-toast-icon svg { width: 18px; height: 18px; }
.review-toast-title {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    flex: 1;
}
.review-toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition);
    flex-shrink: 0;
}
.review-toast-close:hover { color: var(--text); }
.review-toast-message {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.review-toast-actions {
    display: flex;
    gap: 0.75rem;
}
.review-toast-cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    font-family: var(--font-head);
    letter-spacing: 0.5px;
}
.review-toast-cta:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
}
.review-toast-cta svg { width: 16px; height: 16px; }

/* Toast responsive */
@media (max-width: 768px) {
    .review-toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        animation: toast-slide-in-mobile 0.4s ease-out forwards;
    }
    .review-toast.hide {
        animation: toast-slide-out-mobile 0.4s ease forwards;
    }
    .review-toast.minimized {
        left: 0 !important;
        right: 0 !important;
        bottom: 1rem !important;
        top: auto !important;
        width: fit-content !important;
        margin: 0 auto;
        transform: none !important;
        border-radius: 50px;
        height: auto;
        min-height: auto;
        padding: 0.5rem 1.2rem !important;
        flex-direction: row;
        gap: 0;
    }
    .review-toast.minimized .review-toast-min-text {
        writing-mode: unset;
        text-orientation: unset;
        transform: none;
        white-space: nowrap;
    }
}
