:root {
    --bg: #eceff5;
    --bg-2: #f8f9fc;
    --glass: rgba(255, 255, 255, .88);
    --glass-strong: rgba(248, 249, 252, .98);
    --stroke: rgba(35, 35, 45, .12);
    --text: #1f1f25;
    --muted: #5f6370;
    --accent: #a34fe4;
    --accent-2: #6d28d9;
    --success: #27ae60;
    --shadow: 0 14px 30px rgba(25, 25, 40, .12);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --glow: 0 0 0 1px rgba(163, 79, 228, .22), 0 12px 26px rgba(163, 79, 228, .18);
    --nav-h: 70px
}

[data-theme=dark] {
    --bg: #0b0a10;
    --bg-2: #12111a;
    --glass: rgba(25, 23, 35, .7);
    --glass-strong: rgba(28, 26, 39, .9);
    --stroke: rgba(255, 255, 255, .12);
    --text: #f5f2ff;
    --muted: #b9b2c8;
    --accent: #ff4fd8;
    --accent-2: #7c4dff;
    --success: #32d583;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --glow: 0 0 0 1px rgba(255, 79, 216, .2), 0 18px 40px rgba(124, 77, 255, .25)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, SF Pro Text, SF Pro Display, Segoe UI, sans-serif;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh
}

body:before {
    content: "";
    position: fixed;
    inset: -20vmax;
    background: radial-gradient(60vmax 60vmax at 20% 10%, rgba(163, 79, 228, .05), transparent 60%), radial-gradient(50vmax 50vmax at 80% 20%, rgba(25, 25, 40, .03), transparent 60%), radial-gradient(70vmax 70vmax at 50% 90%, rgba(163, 79, 228, .04), transparent 60%);
    filter: blur(12px);
    animation: float 18s ease-in-out infinite alternate;
    z-index: -2
}

[data-theme=dark] body:before {
    background: radial-gradient(60vmax 60vmax at 18% 12%, rgba(255, 79, 216, .2), transparent 60%), radial-gradient(40vmax 40vmax at 80% 18%, rgba(124, 77, 255, .18), transparent 60%), radial-gradient(70vmax 70vmax at 50% 88%, rgba(255, 79, 216, .12), transparent 60%)
}

@keyframes float {
    0% {
        transform: translateZ(0) scale(1)
    }

    to {
        transform: translate3d(-2%, 2%, 0) scale(1.02)
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(2px);
    transition: opacity .6s ease, transform .6s ease, filter .6s ease;
    transition-delay: var(--delay, 0s)
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0)
}

a {
    color: inherit;
    text-decoration: none
}

img,
svg {
    display: block;
    max-width: 100%
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto
}

.glass {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow)
}

.glass-strong {
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow)
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    color: #000;
    padding: 8px 12px;
    z-index: 9999
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    border-radius: 8px
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #eceff5e6;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(35, 35, 45, .08)
}

[data-theme=dark] header {
    background: #0b0a10b3;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.nav {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .2px
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: var(--glow)
}

[data-theme=dark] .logo-mark {
    background: linear-gradient(135deg, #ff4fd8, #7c4dff)
}

.nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px
}

.nav-links a {
    padding: 6px 10px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
    color: var(--muted)
}

.nav-links a.active,
.nav-links a:hover {
    background: #0000000d;
    color: var(--text)
}

.menu-toggle {
    display: none
}

[data-theme=dark] .nav-links a.active,
[data-theme=dark] .nav-links a:hover {
    background: #ffffff14
}

.cta {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(163, 79, 228, .7);
    background: transparent;
    color: var(--text);
    font-weight: 600;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease
}

.cta:hover,
.cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px #a34fe438
}

.cta.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(35, 35, 45, .18);
    box-shadow: none
}

[data-theme=dark] .cta {
    border: 1px solid rgba(255, 99, 221, .85);
    background: transparent;
    color: #ffd6f2;
    box-shadow: none
}

[data-theme=dark] .cta.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, .2)
}

.hero {
    padding: 90px 0 60px
}

.hero-grid {
    display: grid;
    gap: 40px;
    align-items: center
}

.hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    margin: 0 0 16px;
    letter-spacing: -.02em
}

.hero p {
    color: var(--muted);
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.6;
    margin: 0 0 28px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: var(--muted)
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffffe6;
    border: 1px solid rgba(35, 35, 45, .1)
}

[data-theme=dark] .trust-row span {
    background: #ffffff0d;
    border: 1px solid rgba(255, 255, 255, .12)
}

section {
    padding: 70px 0
}

.section-title {
    margin-bottom: 32px
}

.section-title h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 38px);
    letter-spacing: -.01em
}

.section-title p {
    margin: 0;
    color: var(--muted);
    max-width: 700px
}

.cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.project-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.project-card {
    padding: 20px;
    display: grid;
    gap: 12px
}

.project-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.project-header h3 {
    margin: 0;
    font-size: 18px
}

.project-tag {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(163, 79, 228, .35);
    color: #6b3bb3;
    font-size: 12px;
    background: #fffc;
    white-space: nowrap;
    line-height: 1.2
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.project-meta span {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(35, 35, 45, .12);
    background: #ffffffd9;
    font-size: 12px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    line-height: 1
}

[data-theme=dark] .project-tag {
    border: 1px solid rgba(255, 79, 216, .35);
    color: #f2b4ff;
    background: #14121ed9
}

[data-theme=dark] .project-meta span {
    border: 1px solid rgba(255, 255, 255, .18);
    background: #14121ed9;
    color: var(--muted)
}

.card {
    padding: 20px;
    transition: transform .2s ease, box-shadow .2s ease
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px #0000001f
}

.card h3 {
    margin: 12px 0 8px;
    font-size: 18px
}

.card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.5
}

.icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #a34fe41f;
    border: 1px solid rgba(163, 79, 228, .25);
    color: var(--accent)
}

[data-theme=dark] .icon {
    background: #ff4fd81f;
    border: 1px solid rgba(255, 255, 255, .14);
    color: #ff9cf0
}

.devops-card {
    display: grid;
    gap: 12px;
    align-content: start
}

.devops-card .chips {
    margin-top: 6px
}

.pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffffd9;
    border: 1px solid rgba(35, 35, 45, .12);
    font-size: 13px;
    color: var(--muted);
    box-shadow: 0 8px 16px #19192814
}

[data-theme=dark] .pill {
    background: #ffffff0f;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 18px #0006
}

.timeline {
    display: grid;
    gap: 18px
}

.step {
    padding: 18px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: start
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #b16cf0, #7a3de2);
    color: #fff;
    font-weight: 700
}

[data-theme=dark] .step-num {
    background: linear-gradient(180deg, #ff4fd8f2, #7c4dfff2);
    color: #0b0a10
}

.tech-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr))
}

.tech-panel {
    padding: 22px;
    position: relative;
    overflow: hidden
}

.tech-panel:before {
    content: "";
    position: absolute;
    inset: -40% 20% auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(163, 79, 228, .16), transparent 60%);
    opacity: .7;
    pointer-events: none
}

[data-theme=dark] .tech-panel:before {
    background: radial-gradient(circle, rgba(255, 79, 216, .22), transparent 60%)
}

.tech-grid .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fffffff2;
    border: 1px solid rgba(35, 35, 45, .12);
    box-shadow: 0 12px 20px #1919281f;
    color: #3e4250;
    transform: translateY(0);
    animation: techFloat 6s ease-in-out infinite
}

.tech-grid .pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px #1919282e
}

.tech-grid .pill:nth-child(3n+1) {
    animation-delay: -1s
}

.tech-grid .pill:nth-child(3n+2) {
    animation-delay: -2.5s
}

.tech-grid .pill:nth-child(3n+3) {
    animation-delay: -4s
}

[data-theme=dark] .tech-grid .pill {
    background: #14121ed9;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 14px 26px #00000073;
    color: #d9d6e6
}

@keyframes techFloat {

    0%,
    to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none
    }

    .tech-grid .pill {
        animation: none
    }
}

.faq {
    display: grid;
    gap: 12px
}

.faq-item {
    padding: 18px
}

.faq-item button {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    cursor: pointer;
    padding: 0
}

.faq-item button span {
    color: var(--muted);
    font-size: 14px
}

.faq-content {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.6;
    display: none
}

.faq-item.open .faq-content {
    display: block
}

.contact-grid {
    display: grid;
    gap: 24px;
    align-items: stretch
}

form {
    display: grid;
    gap: 14px
}

label {
    font-size: 14px;
    color: var(--muted)
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(35, 35, 45, .18);
    background: #fffffff2;
    color: var(--text)
}

[data-theme=dark] input,
[data-theme=dark] select,
[data-theme=dark] textarea {
    background: #0e0c14d9;
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--text)
}

textarea {
    min-height: 120px;
    resize: vertical
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.contact-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(35, 35, 45, .18);
    background: #ffffffe6;
    color: var(--text);
    box-shadow: 0 8px 16px #19192814;
    width: 100%;
    justify-content: space-between;
    min-height: 52px
}

.contact-pill--whatsapp {
    border-color: #25d36680;
    color: #1f7a45
}

.contact-pill--call {
    border-color: #3498db8c;
    color: #1f5f8a
}

.contact-pill--email {
    border-color: #a34fe473;
    color: #6b3bb3
}

.contact-pill--facebook {
    border-color: #1877f28c;
    color: #1b4f9c
}

.contact-card {
    height: 100%;
    display: flex;
    flex-direction: column
}

[data-theme=dark] .contact-pill {
    background: #14121ed9;
    border-color: #fff3;
    color: var(--text);
    box-shadow: 0 10px 18px #00000073
}

[data-theme=dark] .contact-pill--whatsapp {
    border-color: #25d36699;
    color: #7ae5a6
}

[data-theme=dark] .contact-pill--call {
    border-color: #3498db99;
    color: #8cc6f5
}

[data-theme=dark] .contact-pill--email {
    border-color: #a34fe499;
    color: #d4b2ff
}

[data-theme=dark] .contact-pill--facebook {
    border-color: #1877f2a6;
    color: #a9caff
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #fffffff2;
    border: 1px solid rgba(35, 35, 45, .12);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 9999
}

[data-theme=dark] .toast {
    background: #16141ef2;
    border: 1px solid rgba(255, 255, 255, .12)
}

.toast.show {
    display: block;
    animation: toastIn .3s ease forwards
}

@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateY(10px)
    }

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

footer {
    padding: 40px 0 60px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    color: var(--muted)
}

[data-theme=dark] footer {
    border-top: 1px solid rgba(255, 255, 255, .08)
}

footer .links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(35, 35, 45, .18);
    color: var(--text);
    font-size: 13px;
    cursor: pointer
}

.theme-toggle__icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0 35%, #cfd2d6 36% 100%);
    box-shadow: inset 0 0 0 1px #00000026
}

[data-theme=dark] .theme-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2)
}

[data-theme=dark] .theme-toggle__icon {
    background: radial-gradient(circle at 35% 35%, #ffe1ff 0 35%, #ff4fd8 36% 70%, #7c4dff 71% 100%);
    box-shadow: inset 0 0 0 1px #fff3
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.1fr .9fr
    }

    .timeline {
        grid-template-columns: repeat(2, 1fr)
    }

    .contact-grid {
        grid-template-columns: 1.1fr .9fr;
        align-items: start
    }
}

@media (max-width: 820px) {
    .nav {
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0
    }

    .menu-toggle {
        order: 2;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid rgba(35, 35, 45, .2);
        background: #ffffffd9;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 0 10px;
        cursor: pointer
    }

    [data-theme=dark] .menu-toggle {
        background: #14121ed9;
        border: 1px solid rgba(255, 255, 255, .2)
    }

    .menu-toggle span {
        height: 2px;
        background: var(--text);
        border-radius: 999px
    }

    .logo {
        order: 1;
        justify-content: flex-start
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 10px 12px;
        order: 3
    }

    .nav-links a,
    .nav-links button {
        font-size: 13px
    }

    .cta {
        padding: 8px 14px
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 8px 0 6px;
        flex-basis: 100%
    }

    .nav-links.open {
        display: flex
    }
}