@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/space-grotesk-v22-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/space-grotesk-v22-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-dark: #1e40af;
    --text-body: #475569;
    --border-width: 2px;
    --shadow-hard: 5px 5px 0px 0px var(--primary);
    --radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.4;
    overflow-x: hidden;
    background-image: radial-gradient(rgba(71, 85, 105, 0.40) 1px, transparent 1px);
    background-size: 30px 30px;
    background-attachment: fixed;
    opacity: 0.99;
}

h1,
h2,
h3,
h4,
.button,
.nav-link {
    color: var(--primary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.card {
    background: var(--bg-card);
    border: var(--border-width) solid var(--primary);
    box-shadow: var(--shadow-hard);
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 7px 7px 0px 0px var(--accent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    border: var(--border-width) solid var(--primary);
    transition: all 0.2s;
    font-size: 0.9rem;
}

.button-primary {
    background: var(--primary);
    color: white;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
}

.button-primary:hover {
    background: var(--accent);
    border-color: var(--primary);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--primary);
}

.button-outline {
    background: transparent;
    color: var(--primary);
}

.button-outline:hover {
    background: var(--primary);
    color: white;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 8px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: var(--border-width) solid var(--primary);
    z-index: 1000;
    padding: 16px 0;
    transition: padding 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo span {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-body);
    transition: color 200ms;
}

.nav-link:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--primary);
}

.hero-text .highlight,
.about-title .highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 90%;
}

.tech-marquee {
    background: var(--primary);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: var(--border-width) solid var(--primary);
    border-bottom: var(--border-width) solid var(--primary);
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.tech-item {
    color: white;
    font-weight: 700;
    margin: 0 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.section-padding {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 1rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-list {
    margin-top: auto;
    padding-top: 1rem;
    list-style: none;
    font-size: 0.9rem;
}

.service-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    counter-reset: step;
}

.step-item {
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.1);
    line-height: 1;
    margin-bottom: -1.2rem;
    margin-left: -0.7rem;
    position: relative;
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: var(--border-width) solid var(--primary);
    box-shadow: 4px 4px 0px 0px rgba(15, 23, 42, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 6px 6px 0px 0px var(--primary);
    transform: translate(-2px, -2px);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem;
    color: var(--text-body);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.contact-section {
    background: var(--primary);
    color: white;
    position: relative;
}

.contact-section h2,
.contact-section p {
    color: white;
}

.contact-section p {
    opacity: 0.8;
}

.contact-container {
    background: var(--bg-card);
    border: var(--border-width) solid white;
    color: var(--text-body);
    padding: 3rem;
    box-shadow: 0.6rem 0.6rem 0px rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #cbd5e1;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
}

textarea.form-input {
    resize: vertical;
    min-height: 11rem;
}

.footer {
    background: #020617;
    color: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links a {
    color: white;
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.nav-cta {
    padding: 0.6rem 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.mb-20 {
    margin-bottom: 1rem;
}

.card-highlight {
    border-color: var(--accent);
}

.card-badge-popular {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 4px 0.6rem;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.bg-white {
    background: white;
}

.borders-light {
    border-top: 1px solid #bac5d3;
    border-bottom: 1px solid #bac5d3;
}

.badge-inverted {
    background: white;
    color: var(--primary);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.w-100 {
    width: 100%;
}

.footer-title {
    color: white;
    margin-bottom: 0.6rem;
}

.footer-text {
    opacity: 0.7;
}

.footer-copyright {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hero {
        padding: 11rem 0 60px;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 0.6rem 1rem rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-visual {
        display: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.business-card-wrapper {
    transform-style: preserve-3d;
    animation: float-card 6s ease-in-out infinite;
}

.business-card {
    background: #ffffff;
    width: 480px;
    height: 280px;
    border: 4px solid #111827;
    box-shadow: 1rem 1rem 0 #111827;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 1rem 1rem;
}

.business-card-wrapper:hover .business-card {
    transform: translate(-5px, -5px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 25px 25px 0 var(--accent);
    border-color: var(--primary);
}

.card-badge {
    display: inline-block;
    background: #111827;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.card-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.6rem 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.card-role {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
    line-height: 1.5;
}

.corner {
    position: absolute;
    width: 0.6rem;
    height: 0.6rem;
    border: 2px solid #111827;
    opacity: 0.3;
}

.corner.top-left {
    top: 0.6rem;
    left: 0.6rem;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: 0.6rem;
    right: 0.6rem;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: 0.6rem;
    left: 0.6rem;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: 0.6rem;
    right: 0.6rem;
    border-left: none;
    border-top: none;
}

@keyframes float-card {

    0%,
    100% {
        transform: rotateY(5deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-5deg) rotateX(-5deg) translateY(-15px);
    }
}

@media (max-width: 768px) {
    .business-card {
        width: 100%;
        height: auto;
        min-height: 240px;
        box-shadow: 0.6rem 0.6rem 0 #111827;
        text-align: left;
    }

    .card-name {
        font-size: 2rem;
    }
}

.button-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.button-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1fe068;
}
