* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #111827;
    transition: background 0.25s ease, color 0.25s ease;
}

/* DARK MODE */
body.dark {
    background: #020617;
    color: #e5e7eb;
}

body.dark .site-header {
    background: rgba(15,23,42,0.96);
    box-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

body.dark section {
    background: transparent;
}

body.dark .service-card,
body.dark .price-card,
body.dark .contact-info,
body.dark .review-card,
body.dark .contact-form iframe,
body.dark .faq-answer,
body.dark .faq-question,
body.dark .gallery-item,
body.dark .ba-image {
    background-color: #020617;
    color: #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    border-color: #1f2937;
}

body.dark .pricing,
body.dark .services,
body.dark .reviews,
body.dark .add-review,
body.dark .contact-page,
body.dark .gallery,
body.dark .before-after,
body.dark .faq,
body.dark .testimonials {
    background: transparent;
}

body.dark .cta-btn.ghost {
    border-color: rgba(148,163,184,0.7);
}

body.dark .faq-question {
    background: #1d4ed8;
}

body.dark .faq-answer {
    background: #111827;
}

body.dark footer {
    background: #020617;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(15,23,42,0.08);
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-name {
    font-weight: 700;
    font-size: 1rem;
}

.logo {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

.dark-toggle {
    border: none;
    background: #e5e7eb;
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

body.dark .dark-toggle {
    background: #111827;
    color: #e5e7eb;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #2563eb, #0f172a);
    color: white;
    padding: 120px 20px 100px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 480px;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Floating shapes */
.hero-shape {
    position: absolute;
    border-radius: 999px;
    opacity: 0.35;
    filter: blur(2px);
    animation: float 10s ease-in-out infinite alternate;
}

.hero-shape-1 {
    width: 220px;
    height: 220px;
    background: #22c55e;
    top: -40px;
    right: -40px;
}

.hero-shape-2 {
    width: 260px;
    height: 260px;
    background: #38bdf8;
    bottom: -80px;
    left: -60px;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-30px); }
}

/* BUTTONS */
.cta-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.cta-btn.primary {
    background: #22c55e;
    color: #052e16;
    box-shadow: 0 8px 20px rgba(34,197,94,0.35);
}

.cta-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(34,197,94,0.45);
}

.cta-btn.ghost {
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    background: transparent;
}

.cta-btn.ghost:hover {
    background: rgba(15,23,42,0.3);
}

/* SECTIONS */
section {
    padding: 60px 20px;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #6b7280;
}

/* STATS */
.stats {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

/* SERVICES */
.services {
    background: #ffffff;
}

.service-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.service-card {
    background: #f9fafb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(15,23,42,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15,23,42,0.12);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    animation: icon-bounce 2s infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* SECTORS */
.sectors {
    background: #f3f4f6;
    text-align: center;
}

/* WHY US */
.whyus {
    background: #ffffff;
}

.whyus ul {
    max-width: 600px;
    margin: 20px auto 0;
    padding-left: 20px;
}

/* GALLERY */
.gallery {
    background: #f9fafb;
}

.gallery-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    height: 180px;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,0.5);
}

/* BEFORE / AFTER */
.before-after {
    background: #ffffff;
}

.ba-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.ba-image {
    height: 260px;
    border-radius: 14px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 260px;
    font-weight: 700;
    color: white;
}

.ba-before {
    background: #9ca3af;
    z-index: 1;
}

.ba-after {
    background: #22c55e;
    z-index: 2;
    width: 50%;
    overflow: hidden;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#ba-slider {
    position: relative;
    margin-top: 280px;
    width: 100%;
}

/* PRICING */
.pricing {
    background: #ffffff;
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.price-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
    position: relative;
}

.price-card.popular {
    border: 2px solid #2563eb;
}

.badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #2563eb;
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 999px;
}

.price {
    font-size: 2rem;
    color: #2563eb;
    margin: 10px 0 15px;
}

.price-card ul {
    padding-left: 18px;
    margin-bottom: 18px;
}

/* FAQ */
.faq {
    background: #f9fafb;
}

.faq-item {
    max-width: 700px;
    margin: 0 auto 10px;
}

.faq-question {
    width: 100%;
    padding: 14px 16px;
    background: #2563eb;
    color: white;
    border: none;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    display: none;
    padding: 12px 16px;
    background: #e5e7eb;
    border-radius: 10px;
    margin-top: 6px;
}

/* TESTIMONIAL SLIDER */
.testimonials {
    background: #ffffff;
    text-align: center;
}

.slider {
    max-width: 700px;
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    padding: 20px;
    background: #f9fafb;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(15,23,42,0.06);
}

.slide.active {
    display: block;
}

.slider-controls {
    margin-top: 12px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    margin: 0 4px;
    background: #d1d5db;
    cursor: pointer;
}

.slider-dot.active {
    background: #2563eb;
}

/* REVIEWS GRID */
.reviews {
    background: #ffffff;
}

.review-grid {
    max-width: 1100px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.review-card {
    background: #f9fafb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(15,23,42,0.06);
}

.stars {
    color: #facc15;
    margin-bottom: 8px;
}

/* ADD REVIEW */
.add-review {
    background: #f3f4f6;
}

#review-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

#review-name,
#review-rating,
#review-text {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.95rem;
}

#review-name,
#review-rating {
    flex: 1;
}

#review-text {
    margin-bottom: 10px;
}

.review-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 6px;
}

/* CONTACT */
.contact-page {
    background: #ffffff;
}

.contact-container {
    max-width: 1100px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 24px;
}

.contact-info {
    background: #f9fafb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(15,23,42,0.06);
}

.contact-note {
    margin-top: 10px;
    color: #6b7280;
    font-size: 0.9rem;
}

.contact-form iframe {
    width: 100%;
    min-height: 420px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.contact-fallback {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6b7280;
}

.contact-fallback a {
    color: #2563eb;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: #e5e7eb;
    text-align: center;
    padding: 30px 20px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 10px;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #22c55e;
    color: #052e16;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(34,197,94,0.45);
}

/* ANIMATIONS */
.fade-in,
.fade-up {
    opacity: 0;
    animation-fill-mode: forwards;
    animation-play-state: paused;
}

.fade-in {
    animation-name: fadeIn;
    animation-duration: 1.2s;
}

.fade-up {
    transform: translateY(30px);
    animation-name: fadeUp;
    animation-duration: 1s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero {
        text-align: left;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
}
