:root {
    --bg: #07111f;
    --surface: #0b1220;
    --surface-soft: #111827;
    --card: #17212f;
    --card-2: #202a38;
    --border: rgba(255, 255, 255, .13);
    --text: #ffffff;
    --muted: #a9b4c6;
    --primary: #1d9bf0;
    --primary-2: #12c8e8;
    --warning: #ffc21a;
    --warning-bg: rgba(255, 194, 26, .14);
    --shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

html:not([data-theme="dark"]) {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #eef3f8;
    --card: #ffffff;
    --card-2: #f1f5f9;
    --border: rgba(15, 23, 42, .14);
    --text: #0f172a;
    --muted: #64748b;
    --shadow: 0 20px 50px rgba(15, 23, 42, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 82% 17%, rgba(20, 184, 166, .18), transparent 25%),
        radial-gradient(circle at 18% 10%, rgba(29, 155, 240, .08), transparent 25%),
        var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 17, 31, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

html:not([data-theme="dark"]) .site-header {
    background: rgba(255, 255, 255, .92);
}

.header-container {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.15rem;
    font-weight: 900;
    white-space: nowrap;
}

.brand-logo {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .28);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu a:not(.btn) {
    font-weight: 800;
    color: var(--text);
    opacity: .88;
    padding: 10px 0;
}

.nav-menu a:not(.btn):hover,
.nav-menu a.active {
    opacity: 1;
    color: var(--primary);
}

.nav-menu a.active {
    border-bottom: 2px solid var(--primary);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
    color: var(--text);
    cursor: pointer;
}

/* THEME */

.theme-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.theme-toggle .icon-sun {
    display: none;
}

html:not([data-theme="dark"]) .theme-toggle .icon-moon {
    display: none;
}

html:not([data-theme="dark"]) .theme-toggle .icon-sun {
    display: inline;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 900;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    box-shadow: 0 18px 40px rgba(29, 155, 240, .22);
}

.btn-soft {
    color: var(--text);
    background: rgba(148, 163, 184, .13);
}

.btn-warning {
    color: var(--text);
    background: rgba(255, 194, 26, .16);
    border-color: rgba(255, 194, 26, .45);
}

.nav-whatsapp {
    padding-inline: 24px;
}

/* HERO */

.hero-section {
    min-height: 780px;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 86px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .13);
    border: 1px solid var(--border);
    font-weight: 900;
}

.badge i,
.hero-content h1 i,
.info-card h2 i,
.urgent-box h2 i {
    color: var(--warning);
}

.hero-content h1 {
    margin: 24px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5.1vw, 5rem);
    line-height: 1.04;
    letter-spacing: -.05em;
}

.hero-content p {
    max-width: 720px;
    margin: 0;
    color: var(--text);
    font-size: 1.22rem;
    line-height: 1.65;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* CARDS */

.hero-card,
.service-card,
.info-card,
.urgent-box {
    background: rgba(23, 33, 47, .96);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

html:not([data-theme="dark"]) .hero-card,
html:not([data-theme="dark"]) .service-card,
html:not([data-theme="dark"]) .info-card,
html:not([data-theme="dark"]) .urgent-box {
    background: var(--card);
}

.hero-card {
    padding: 28px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.card-title strong {
    display: block;
    color: var(--text);
}

.card-title p {
    margin: 5px 0 0;
    color: var(--muted);
}

.icon-pill {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--primary);
    background: rgba(29, 155, 240, .14);
    border: 1px solid rgba(29, 155, 240, .30);
    flex: 0 0 auto;
}

.icon-pill.warning {
    color: var(--warning);
    background: var(--warning-bg);
    border-color: rgba(255, 194, 26, .38);
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mini-card {
    min-height: 82px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(148, 163, 184, .12);
    border: 1px solid var(--border);
}

.mini-card strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
}

.mini-card span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

.full-btn {
    width: 100%;
    margin-top: 24px;
}

/* SECTIONS */

.section {
    padding: 78px 0;
}

.section-header {
    margin-bottom: 26px;
}

.section-header h2 {
    margin: 0 0 8px;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.section-header p {
    margin: 0;
    color: var(--text);
    font-size: 1.08rem;
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 410px;
    padding: 24px;
}

.service-media {
    height: 165px;
    margin-bottom: 24px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface-soft);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin: 22px 0 12px;
    font-size: 1.28rem;
    line-height: 1.25;
}

.service-card p,
.info-card p,
.urgent-box p,
.site-footer p {
    color: var(--muted);
    line-height: 1.65;
}

/* INFO */

.two-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.info-card {
    padding: 46px;
}

.info-card h2 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 3.2vw, 2.55rem);
    line-height: 1.08;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 16px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
}

.checklist i {
    color: #ffffff;
    font-size: .95rem;
}

/* URGENT */

.urgent-box {
    max-width: 1110px;
    margin: 0 auto;
    padding: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.urgent-box h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    line-height: 1.1;
}

.urgent-box p {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
}

/* FOOTER */

.site-footer {
    padding: 62px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 54px;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #ffffff;
    object-fit: cover;
}

.site-footer h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.site-footer p {
    margin: 0 0 10px;
}

.site-footer p i {
    width: 20px;
    color: var(--muted);
}

.social-link {
    min-height: 48px;
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 14px;
    background: rgba(148, 163, 184, .13);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.social-link:hover {
    border-color: rgba(29, 155, 240, .45);
}

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 44px auto 0;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: var(--muted);
    text-align: center;
}

/* WHATSAPP FLOAT */

.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), #1b86ff);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(29, 155, 240, .32);
}

/* ANIMATION */

.reveal {
    opacity: 1;
    transform: none;
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

.js-ready .reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .nav-menu {
        gap: 12px;
    }

    .hero-grid {
        gap: 45px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    .header-container {
        min-height: 92px;
    }

    .brand-logo {
        width: 68px;
        height: 68px;
    }

    .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;
        border-radius: 22px;
        background: var(--card);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu a {
        text-align: center;
    }

    .theme-toggle {
        width: 100%;
    }

    .hero-section {
        min-height: auto;
        padding: 90px 0 70px;
    }

    .hero-grid,
    .two-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .urgent-box {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 620px) {
    .container,
    .footer-bottom {
        width: min(100% - 28px, 1180px);
    }

    .hero-content h1 {
        font-size: 2.7rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-card,
    .service-card,
    .info-card,
    .urgent-box {
        padding: 24px;
    }

    .services-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .wa-float span {
        display: none;
    }

    .wa-float {
        width: 54px;
        height: 54px;
        justify-content: center;
        padding: 0;
    }
}