:root {
    --bg: #0b1220;
    --bg-2: #0f1730;
    --card: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.15);
    --text: #e9eefc;
    --muted: #b9c3e3;
    --primary: #2f7df6;
    /* Blue / --primary-600: #1a66e1; --accent: #ff8a3d; / Subtle orange */
    --success: #22c55e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 22px;
    --maxw: 1200px;
    --gap: 1.25rem;
}

*{
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg), var(--bg-2));
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--maxw);
    padding: 0 1.25rem;
    margin: 0 auto;
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: radial-gradient(1200px 800px at 50% -20%, rgba(47, 125, 246, 0.25), transparent 60%), linear-gradient(180deg, var(--bg), var(--bg-2));
}

#loader .spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--accent);
    animation: spin 1s linear infinite;
    box-shadow: var(--shadow);
}

#loader p {
    margin-top: 12px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .3px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   HEADER / NAVBAR
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(6, 12, 28, 0.88);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
}

/* Main navbar row */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
    padding: 0.8rem 0;
}

/* Logo */
.logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 320px;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Menu */
.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    list-style: none;
}

.nav-list a {
    color: #d7deff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    transition: 0.3s ease;
    white-space: nowrap;
}

.nav-list a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* Call Button */
.call-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37,99,235,0.25);
    transition: 0.3s ease;
    white-space: nowrap;
}

.call-top:hover {
    transform: translateY(-2px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    margin-left: 0.4rem;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    display: block;
    margin: 5px 0;
    border-radius: 999px;
    transition: 0.3s ease;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 960px) {

    .nav-wrapper {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .logo {
        font-size: 1.05rem;
        max-width: 75%;
    }

    .hide-sm {
        display: none;
    }

    .nav {
        margin-left: 0;
    }

    .nav-toggle {
        display: block;
    }

    /* Mobile Menu */
    .nav-list {
        position: absolute;
        top: 75px;
        right: 16px;
        width: 260px;

        flex-direction: column;
        align-items: flex-start;

        background: rgba(12, 18, 36, 0.98);
        border: 1px solid rgba(255,255,255,0.08);

        border-radius: 18px;
        padding: 1rem;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);

        transition: 0.3s ease;
        box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    }

    .nav-list.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-list a {
        width: 100%;
        padding: 0.9rem 1rem;
    }

    /* Call Button Mobile */
    .call-top {
        padding: 0.7rem;
        width: 44px;
        height: 44px;
        justify-content: center;
        border-radius: 50%;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    background: radial-gradient(1200px 600px at 10% 0%, rgba(47, 125, 246, 0.25), transparent 60%), #0b1220;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/img/hero-bg.jpg') center/cover no-repeat;
    opacity: .18;
    filter: saturate(0.9) brightness(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 80% 20%, rgba(255, 138, 61, .18), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding: 3rem 0 2rem;
    }
}

.hero-text h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin: .2rem 0 .6rem;
    letter-spacing: .2px;
}

.subheadline {
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-ctas {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .3px;
    padding: .85rem 1.1rem;
    border-radius: 12px;
    transition: .2s;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
}

.counters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.counter-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: .8rem 1rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.counter-card i {
    color: var(--accent);
    font-size: 1.2rem;
}

.counter-card .count {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.hero-art {
    position: relative;
    min-height: 260px;
}

.appliance {
    position: absolute;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--glass);
    box-shadow: var(--shadow);
    color: #fff;
    animation: float 6s ease-in-out infinite;
}

.appliance i {
    font-size: 1.5rem;
    color: #fff;
}

.a1 {
    top: 10%;
    left: 12%;
    animation-delay: 0s;
}

.a2 {
    top: 36%;
    right: 18%;
    animation-delay: 1s;
}

.a3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

.a4 {
    bottom: 25%;
    right: 8%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-14px)
    }
}

/* Sections */
.section {
    padding: 4.2rem 0;
}

.bg-light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.center {
    text-align: center;
}

.sub {
    color: var(--muted);
    margin-top: -8px;
    margin-bottom: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 960px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* About */
.split-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.glass.stat {
    background: var(--glass);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .1);
}

.glass.stat i {
    color: var(--primary);
    font-size: 1.4rem;
}

.glass.stat p {
    margin: .4rem 0 0;
    font-weight: 700;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1100px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 780px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card);
    padding: 1.2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
    transition: transform .18s ease, border-color .18s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 125, 246, .5);
}

.card i {
    font-size: 1.6rem;
    color: var(--accent);
}

.card h3 {
    margin: .6rem 0 .3rem;
}

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 960px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: linear-gradient(180deg, rgba(47, 125, 246, .08), rgba(255, 255, 255, .04));
    padding: 1.2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform .2s ease;
}

.why-card:hover {
    transform: translateY(-6px);
}

.why-card i {
    color: var(--primary);
}

/* Areas */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1100px) {
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 780px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }
}

.area-card {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--card);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
}

.area-card i {
    color: var(--primary);
}

/* Testimonials */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 960px) {
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }
}

.testi-card {
    background: var(--card);
    padding: 1.2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
}

.stars {
    color: #ffcc4d;
    margin-bottom: .5rem;
}

.testi-card h4 {
    margin: .6rem 0 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
}

@media (max-width: 780px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    filter: saturate(1.05);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
    transition: transform .2s ease, filter .2s;
}

.gallery-grid img:hover {
    transform: translateY(-4px);
    filter: saturate(1.2) brightness(1.05);
}

/* FAQ */
.accordion {
    display: grid;
    gap: .8rem;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    color: #fff;
    border: none;
    padding: 1rem 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding: 0 1.1rem;
}

.accordion-content p {
    margin: .6rem 0 1rem;
    color: var(--muted);
}

/* Contact */
.contact .contact-details .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .6rem;
}

.contact .contact-details a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, .2);
}

.note {
    margin-top: .6rem;
    color: var(--muted);
}

.map-wrapper iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: #0a111f;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .9fr;
    gap: 1rem;
    padding: 2.2rem 0;
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer h3,
.footer h4 {
    margin-top: 0;
}

.footer a {
    color: var(--muted);
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer-links ul,
.footer-areas ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .4rem;
}

.footer-call {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .6rem;
    color: #fff;
    font-weight: 700;
}

.footer .copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: .9rem 0;
    color: var(--muted);
}

/* Floating Buttons */
.fab {
    position: fixed;
    right: 16px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    z-index: 999;
    box-shadow: var(--shadow);
}

.fab-call {
    bottom: 86px;
    background: linear-gradient(135deg, var(--accent), #ff6a00);
}

.fab-wa {
    bottom: 22px;
    background: #25D366;
}

.fab i {
    font-size: 1.2rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 22px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s ease;
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Scroll Reveal (baseline hidden state) */
.sr {
    opacity: 0;
    transform: translateY(16px);
}

.sr.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: .6s cubic-bezier(.2, .6, .2, 1);
}

/* Accessibility focus */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Utility */
.bg-accent {
    background: var(--accent);
}

/* Small improvements on mobile spacing */
@media (max-width:520px) {
    .section {
        padding: 3.2rem 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   FIX ROOT VARIABLES
======================================== */

:root {
    --bg: #0b1220;
    --bg-2: #0f1730;

    --card: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.15);

    --text: #e9eefc;
    --muted: #b9c3e3;

    --primary: #2f7df6;
    --primary-600: #1a66e1;

    --accent: #ff8a3d;
    --success: #22c55e;

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.03) inset;

    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 22px;

    --maxw: 1200px;
    --gap: 1.25rem;
}

/* ========================================
   GLOBAL IMPROVEMENTS
======================================== */

img {
    max-width: 100%;
    display: block;
}

section {
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
}

p {
    line-height: 1.7;
}

/* ========================================
   HERO IMPROVEMENTS
======================================== */

.hero {
    padding-top: 90px;
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-weight: 800;
    line-height: 1.15;
}

.subheadline {
    font-size: 1.1rem;
    max-width: 650px;
}

/* CTA buttons */

.hero-ctas .btn {
    min-width: 180px;
    justify-content: center;
}

/* ========================================
   COUNTER FIX
======================================== */

.counters {
    margin-top: 1.8rem;
}

.counter-card {
    flex: 1 1 220px;
    min-width: 220px;
}

.counter-card p {
    margin: 0;
    color: var(--muted);
}

/* ========================================
   HERO ICONS MOBILE FIX
======================================== */

@media (max-width: 960px) {

    .hero-art {
        min-height: 180px;
        margin-top: 1rem;
    }

    .appliance {
        width: 58px;
        height: 58px;
    }

    .appliance i {
        font-size: 1.2rem;
    }
}

@media (max-width: 520px) {

    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .subheadline {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .counters {
        flex-direction: column;
    }

    .counter-card {
        width: 100%;
        min-width: unset;
    }

    .hero-art {
        display: none;
    }
}

/* ========================================
   MOBILE NAVBAR FIX
======================================== */

@media (max-width: 960px) {

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .6rem;
        min-height: 70px;
    }

    .logo {
        flex: 1;
        font-size: 1rem;
    }

    .nav {
        order: 3;
    }

    .call-top {
        order: 2;
    }

    .nav-toggle {
        order: 1;
    }

    .nav-list {
        top: 70px;
    }
}

/* ========================================
   ABOUT SECTION
======================================== */

.checks {
    list-style: none;
    padding: 0;
    margin-top: 1.2rem;

    display: grid;
    gap: .8rem;
}

.checks li {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.checks i {
    color: var(--success);
}

/* ========================================
   GLASS CARD EFFECT
======================================== */

.card,
.why-card,
.area-card,
.testi-card,
.counter-card,
.glass.stat {
    backdrop-filter: blur(10px);
}

/* ========================================
   CARD RESPONSIVE FIX
======================================== */

@media (max-width: 768px) {

    .card-grid,
    .areas-grid,
    .why-grid,
    .testi-grid {
        gap: 1rem;
    }

    .card,
    .why-card,
    .testi-card,
    .area-card {
        padding: 1rem;
    }
}

/* ========================================
   GALLERY FIX
======================================== */

.gallery-grid img {
    aspect-ratio: 1 / 1;
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

.contact-list i {
    color: var(--primary);
    margin-top: 5px;
}

.map-wrapper iframe {
    min-height: 380px;
}

/* ========================================
   FLOATING BUTTONS FIX
======================================== */

.floating-call,
.floating-whatsapp {
    position: fixed;

    right: 18px;

    width: 56px;
    height: 56px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: #fff;

    z-index: 999;

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}

.floating-call {
    bottom: 90px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-600)
    );
}

.floating-whatsapp {
    bottom: 20px;
    background: #25D366;
}

.floating-call:hover,
.floating-whatsapp:hover {
    transform: translateY(-4px);
}

/* ========================================
   BACK TO TOP FIX
======================================== */

#backToTop {
    position: fixed;

    left: 18px;
    bottom: 20px;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    border: none;

    background: rgba(255,255,255,0.12);

    color: #fff;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;

    transform: translateY(10px);

    transition: 0.3s ease;

    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ========================================
   FAQ FIX
======================================== */

.accordion-header i {
    transition: 0.3s ease;
}

.accordion-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* ========================================
   FOOTER
======================================== */

.footer {
    padding-top: 3rem;
}

.footer-grid {
    align-items: start;
}

.footer ul li {
    margin-bottom: .5rem;
}

/* ========================================
   SMALL MOBILE IMPROVEMENTS
======================================== */

@media (max-width: 520px) {

    body {
        font-size: 15px;
    }

    .container {
        padding-inline: 1rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .section {
        padding: 3rem 0;
    }

    .map-wrapper iframe {
        min-height: 260px;
    }
}