:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #eef3f8;
    --card: #ffffff;
    --border: rgba(15, 23, 42, .14);
    --text: #0f172a;
    --muted: #64748b;
    --primary: #1da1f2;
    --primary-dark: #0b7ed6;
    --green: #22c55e;
    --warning: #fbbf24;
    --shadow: 0 20px 50px rgba(15, 23, 42, .14);
}

html[data-theme="dark"] {
    --bg: #07121f;
    --surface: #0b1220;
    --surface-soft: #111c2e;
    --card: #172233;
    --border: rgba(255, 255, 255, .12);
    --text: #f8fafc;
    --muted: #a7b1c2;
    --primary: #1da1f2;
    --primary-dark: #0b7ed6;
    --shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 70% 12%, rgba(29, 161, 242, .12), transparent 26%),
        var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 18, 31, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

html:not([data-theme="dark"]) .site-header {
    background: rgba(255, 255, 255, .9);
}

.header-container {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 900;
}

.brand-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .25);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-menu a:not(.btn) {
    color: var(--text);
    font-weight: 800;
    padding: 8px 0;
    opacity: .9;
}

.nav-menu a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
}

/* THEME */

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.theme-toggle .icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
    display: inline;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 900;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--primary), #12c8e8);
    border-color: transparent;
}

.btn-soft {
    background: rgba(148, 163, 184, .14);
    color: var(--text);
}

/* HERO */

.hero-section {
    padding: 120px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .16);
    border: 1px solid var(--border);
    font-weight: 900;
}

.hero-content h1 {
    margin: 22px 0 16px;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.05;
}

.hero-content p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* CARDS */

.hero-card,
.service-card,
.testimonial-card,
.tips-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.card-title p {
    color: var(--muted);
    margin: 4px 0 0;
}

.icon-pill {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(29, 161, 242, .14);
    border: 1px solid rgba(29, 161, 242, .28);
    color: var(--primary);
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mini-card {
    background: rgba(148, 163, 184, .14);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.mini-card span {
    display: block;
    color: var(--muted);
    margin-top: 5px;
}

.full-btn {
    width: 100%;
    margin-top: 22px;
}

/* SECTIONS */

.section {
    padding: 76px 0;
}

.section-header {
    margin-bottom: 28px;
}

.section-header h2 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 14px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card h3 {
    margin: 18px 0 10px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* FAQ */

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 800;
}

.faq-list p {
    margin: 0;
    padding: 0 22px 18px;
    color: var(--muted);
}

/* TESTIMONIALS */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stars {
    color: var(--warning);
    margin-bottom: 10px;
}

.testimonial-card p {
    color: var(--text);
    line-height: 1.6;
}

.testimonial-card strong {
    color: var(--muted);
}

/* TIPS */

.tips-box {
    max-width: 1100px;
    margin: 0 auto;
}

.tips-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.tips-list div {
    background: rgba(148, 163, 184, .14);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    font-weight: 700;
}

.tips-list i {
    color: var(--green);
    margin-right: 10px;
}

.tips-actions {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* FOOTER */

.site-footer {
    padding: 60px 0 25px;
}

.footer-bottom {
    text-align: center;
    color: var(--muted);
}

/* WHATSAPP FLOAT */

.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 900;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    box-shadow: var(--shadow);
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .nav-menu {
        position: absolute;
        top: 92px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu a {
        text-align: center;
    }

    .theme-toggle {
        width: 100%;
    }

    .hero-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero-section {
        padding: 90px 0 60px;
    }

    .services-grid,
    .testimonials-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .wa-float span {
        display: none;
    }
}