/* ============================================
   Vantum: Landing Page
   Brand: Rigor, Estrategia, Solidez, Integridad
   Font: Geist / Geist Mono
   Palette: Deep navy, slate, sage, soft pink
   ============================================ */

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

:root {
    /* Brand Colors - from Brand Guidelines */
    --navy-900: #0a1628;
    --navy-800: #0f1f3d;
    --navy-700: #162d54;
    --navy-600: #1e3a6b;
    --navy-500: #2a4d8a;

    --slate-600: #7a8ba0;
    --slate-500: #8e9db0;
    --slate-400: #b0bec9;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;

    --sage-500: #6b8a7a;
    --sage-400: #8aab98;
    --sage-300: #a8c5b4;

    --pink-200: #f5d5d5;
    --pink-100: #fce8e8;

    --white: #ffffff;
    --white-alpha-5: rgba(255, 255, 255, 0.05);
    --white-alpha-8: rgba(255, 255, 255, 0.08);
    --white-alpha-12: rgba(255, 255, 255, 0.12);
    --white-alpha-20: rgba(255, 255, 255, 0.20);
    --white-alpha-60: rgba(255, 255, 255, 0.7);
    --white-alpha-80: rgba(255, 255, 255, 0.9);

    /* Semantic */
    --bg-primary: #001133;
    --bg-secondary: #001A4D;
    --bg-card: var(--white-alpha-5);
    --text-primary: var(--white);
    --text-secondary: var(--slate-300);
    --text-muted: var(--slate-400);
    --accent: var(--sage-400);
    --accent-soft: var(--sage-300);
    --border: var(--white-alpha-8);
    --border-hover: var(--white-alpha-20);

    /* Spacing */
    --section-py: 120px;
    --section-py-mobile: 80px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease);
    --transition-fast: all 0.15s var(--ease);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: var(--transition);
}

.header.scrolled {
    padding: 8px 24px;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 8px 8px 8px 24px;
    transition: var(--transition);
}

.header.scrolled .navbar {
    background: rgba(10, 22, 40, 0.92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

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

.nav-menu a {
    color: var(--white-alpha-60);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: -0.01em;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: var(--white-alpha-8);
}

.nav-menu a.nav-active {
    color: var(--text-primary);
    background: var(--white-alpha-12);
    font-weight: 500;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--white);
    color: var(--navy-900);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.01em;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-cta:hover {
    background: var(--slate-200);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 1px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 17, 51, 0.3) 0%, rgba(0, 17, 51, 0) 30%),
        linear-gradient(to bottom, transparent 50%, rgba(0, 17, 51, 0.9) 85%, rgba(0, 17, 51, 1) 100%),
        linear-gradient(to right, rgba(0, 17, 51, 0.5) 0%, transparent 50%);
}

.hero-container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 720px;
    margin-bottom: 80px;
}

.hero-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--white);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--slate-200);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--white-alpha-5);
}

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.hero-stat {
    flex: 1;
    padding: 0 32px;
}

.hero-stat:first-child {
    padding-left: 0;
}

.hero-stat:last-child {
    padding-right: 0;
}

.hero-stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

.hero-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hero-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
    padding: var(--section-py) 0;
    position: relative;
}

.section-header {
    max-width: 640px;
    margin-bottom: 64px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.service-card {
    background: var(--bg-primary);
    padding: 48px 40px;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--white-alpha-5);
}

.service-icon {
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0.8;
}

.service-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   METHOD
   ============================================ */
.method {
    background: var(--bg-secondary);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.method-step {
    position: relative;
}

.method-number {
    font-family: 'Geist Mono', monospace;
    font-size: 48px;
    font-weight: 600;
    color: rgba(176, 190, 201, 0.5);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1;
}

.method-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.method-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   QUOTE
   ============================================ */
.quote-section {
    padding: 100px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brand-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.brand-quote p {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.brand-quote cite {
    font-style: normal;
    font-family: 'Geist Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--bg-primary);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    gap: 32px;
}

.value-item {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.value-item:hover {
    border-color: var(--border-hover);
    background: var(--white-alpha-5);
}

.value-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.value-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   TECH
   ============================================ */
.tech {
    background: var(--bg-secondary);
}

.tech .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 16px;
    min-height: 120px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--border-hover);
    background: var(--white-alpha-5);
    transform: translateY(-2px);
}

.tech-logo {
    height: 40px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: var(--transition);
}

.tech-item:hover .tech-logo {
    opacity: 1;
}

.tech-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

.tech-item:hover .tech-name {
    color: var(--text-secondary);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition-fast);
}

a.contact-item:hover {
    color: var(--text-primary);
}

.contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.7;
}

.contact-cta-card {
    background: var(--white-alpha-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
}

.cta-brandmark {
    height: 40px;
    width: auto;
    margin-bottom: 24px;
    opacity: 0.6;
}

.cta-card-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.cta-card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #000c24;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 24px;
    width: auto;
    margin-bottom: 16px;
    opacity: 0.8;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a,
.footer-col span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 80px;
    }

    .header {
        padding: 12px 16px;
    }

    .navbar {
        padding: 6px 6px 6px 16px;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        justify-content: center;
        align-items: center;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s var(--ease);
        z-index: 999;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 14px 32px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .btn-cta {
        display: none;
    }

    .hero {
        padding: 120px 0 40px;
        min-height: 100svh;
    }

    .hero-content {
        margin-bottom: 48px;
    }

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

    .hero-stat {
        padding: 0;
    }

    .hero-stat-divider {
        width: 100%;
        height: 1px;
    }

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

    .service-card {
        padding: 32px 24px;
    }

    .method-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .about-layout {
        gap: 48px;
    }

    .contact-cta-card {
        padding: 32px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tech-item {
        padding: 24px 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}
