/* ===== GSM — Grupo Santa Marta ===== */
/* Family Office & Private Equity — Search Fund Capital */

/* ===== DESIGN TOKENS ===== */
:root {
    --ink: #0A1628;
    --paper: #F7F5F0;
    --cream: #EFECE4;
    --warm: #B8965A;
    --warm-light: #CEBF9E;
    --accent: #16423C;
    --accent-light: #1D5A52;
    --muted: #5A6475;
    --light-muted: #8D95A3;
    --border: rgba(10, 22, 40, 0.08);
    --border-dark: rgba(247, 245, 240, 0.10);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== UTILITY ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 48px;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ===== GRAIN OVERLAY ===== */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-up {
    animation: fadeUp 0.8s ease-out both;
}

.animate-up-1 {
    animation-delay: 0.1s;
}

.animate-up-2 {
    animation-delay: 0.2s;
}

.animate-up-3 {
    animation-delay: 0.3s;
}

.animate-up-4 {
    animation-delay: 0.4s;
}

.animate-up-5 {
    animation-delay: 0.5s;
}

.animate-up-6 {
    animation-delay: 0.6s;
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

nav.scrolled {
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

nav .container-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 110;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}

.nav-logo-text {
    font-family: var(--serif);
    font-size: 1.45rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.nav-logo-text em {
    color: var(--accent);
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links li a:hover {
    color: var(--light-secondary);
}

.nav-links .nav-cta {
    background: var(--light-muted);
    color: var(--paper) !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.nav-links .nav-cta:hover {
    background: var(--light-secondary);
    color: var(--paper) !important;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    margin-top: 12px;
    min-width: 200px;
    background: var(--paper);
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 200;
    padding: 12px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.8rem !important;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

.nav-dropdown-menu a:hover {
    background: var(--cream);
    color: var(--accent);
}

.nav-cta {
    background: var(--ink) !important;
    color: var(--paper) !important;
    padding: 10px 24px !important;
    border-radius: 0 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
}

.nav-cta::after {
    display: none !important;
}

.lang-toggle {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    cursor: pointer;
    border: 1px solid var(--border);
    padding: 6px 12px;
    transition: all 0.3s;
    text-decoration: none;
    background: none;
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-toggle::after {
    display: none !important;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
    gap: 5px;
}

.hamburger-close-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 2px;
    background-color: var(--paper);
    transition: all 0.3s ease-in-out;
}

#mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
    padding: 0;
}

.mobile-menu-header {
    position: relative;
    width: 100%;
    height: 60px;
    /* Space for close button */
}

/* Mobile Address */
.contact-address-mobile {
    display: none !important;
    margin-top: 32px;
    text-align: center;
    width: 100%;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: all 0.35s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--paper);
    z-index: 105;
    flex-direction: column;
    padding: 100px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(10, 22, 40, 0.12);
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.4);
    z-index: 104;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu-backdrop.open {
    opacity: 1;
}

.mobile-menu a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.35rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.mobile-menu-bottom {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-bottom .lang-toggle {
    width: fit-content;
    font-size: 0.8rem;
    padding: 8px 16px;
}

.mobile-menu-bottom .btn-primary {
    text-align: center;
    justify-content: center;
}

body.menu-open {
    overflow: hidden;
}

/* ===== HERO ===== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 90px 0 0;
    background: var(--paper);
}

.hero>.container {
    background: var(--accent);
    border-radius: 16px;
    padding: 48px 64px 16px;
    position: relative;
    overflow: hidden;
}

.hero>.container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(22, 66, 60, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

/* Hero Logo Removed */

/* Selective Feature Styling */
.hero-selective-wrapper.hero-feature {
    background: #000000;
    color: #ffffff;
    border: none;
    font-size: 1.05rem;
    padding: 10px 24px;
    opacity: 1;
    margin-left: auto;
}

.hero-selective-pill {
    color: #ffffff;
}

.hero-tag {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--warm);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tag::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--warm);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--paper);
    margin-bottom: 28px;
}

.hero h1 em {
    font-style: italic;
    color: var(--warm);
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(247, 245, 240, 0.72);
    max-width: 520px;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 12px;
}

.hero-selective {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: rgba(247, 245, 240, 0.85);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-top: 24px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(184, 150, 90, 0.3);
    display: inline-block;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--paper);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-primary svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--paper);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(247, 245, 240, 0.3);
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: rgba(184, 150, 90, 0.15);
    border-color: var(--warm);
    color: var(--warm);
    transform: translateY(-2px);
}

.hero-right {
    position: relative;
}

.hero-image-container {
    width: 100%;
    height: calc(100% - 40px);
    aspect-ratio: unset;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    border-radius: 8px;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.15) 0%, transparent 50%);
}

/* hero-stats removed */

/* ===== MARQUEE ===== */
.marquee-section {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--cream);
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 48px;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-muted);
    display: flex;
    align-items: center;
    gap: 48px;
    flex-shrink: 0;
}

.marquee-item::after {
    content: '◆';
    font-size: 0.4rem;
    color: var(--accent);
}

/* ===== SECTION SHARED ===== */
section {
    padding: 120px 0;
}

.section-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
    font-weight: 300;
}

.section-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
}

/* ===== WHY GSM ===== */
.why-section {
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(22, 66, 60, 0.12) 0%, transparent 60%);
}

.why-section .section-tag {
    color: var(--warm);
}

.why-section .section-tag::before {
    background: var(--warm);
}

.why-section .section-title {
    color: var(--paper);
}

.why-section .section-subtitle {
    color: rgba(247, 245, 240, 0.6);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-dark);
    margin-top: 64px;
    border: 1px solid var(--border-dark);
}

.why-card {
    padding: 48px 36px;
    background: var(--ink);
    position: relative;
    transition: background 0.4s;
}

.why-card:hover {
    background: rgba(22, 66, 60, 0.08);
}

.why-card-number {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--warm);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.why-card h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--paper);
    margin-bottom: 16px;
    line-height: 1.3;
}

.why-card p {
    font-size: 0.88rem;
    color: rgba(247, 245, 240, 0.55);
    line-height: 1.65;
    font-weight: 300;
}

/* ===== HOW WE INVEST ===== */
.invest-section {
    border-bottom: 1px solid var(--border);
}

.invest-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.invest-header .section-subtitle {
    padding-top: 48px;
}

.invest-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.invest-column {
    padding-top: 32px;
    border-top: 2px solid var(--accent);
}

.invest-column-title {
    font-family: var(--serif);
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--accent);
    display: block;
    letter-spacing: 0;
    padding: 0;
    border: none;
    border-radius: 0;
}

.invest-column p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
}

/* ===== PROCESS (FOR SEARCHERS) ===== */
.process-section {
    background: var(--cream);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.process-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.process-header .section-tag {
    justify-content: center;
}

.process-header .section-subtitle {
    margin: 0 auto;
}

/* Horizontal Timeline */
.process-timeline-h {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 60px;
}

.process-timeline-h::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(to right, var(--accent), rgba(22, 66, 60, 0.15));
}

.process-step-h {
    position: relative;
    padding: 40px 24px 0;
    text-align: left;
    transition: all 0.3s;
}

.process-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cream);
    border: 3px solid var(--accent);
    position: absolute;
    top: 0;
    left: 24px;
    z-index: 2;
    transition: all 0.3s;
}

.process-step-h:hover .process-dot {
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(22, 66, 60, 0.12);
}

.process-step-phase {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--light-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.process-step-h:hover .process-step-phase {
    color: var(--accent);
}

.process-step-h h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.3;
}

.process-step-h p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 64px;
}

.portfolio-card {
    background: var(--paper);
    padding: 48px 36px;
    transition: all 0.4s;
    position: relative;
    cursor: default;
}

.portfolio-card:hover {
    background: var(--cream);
}

.portfolio-card-logo {
    height: 80px;
    width: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    padding: 0;
}

.portfolio-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    /* transform removed per request */
}

/* ===== FEATURES GRID (Replacing Marquee) ===== */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 32px;
}

.feature-item {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--warm);
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(184, 150, 90, 0.25);
    background: rgba(184, 150, 90, 0.06);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.feature-item::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--warm);
    border-radius: 2px;
    flex-shrink: 0;
}

.feature-item:hover {
    border-color: var(--warm);
    background: rgba(184, 150, 90, 0.12);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .features-grid {
        gap: 8px;
    }

    .feature-item {
        font-size: 0.65rem;
        padding: 8px 14px;
    }
}

.portfolio-card:hover .portfolio-card-logo {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.portfolio-card-tag {
    font-family: var(--sans);
    font-size: 0.7rem;
    color: var(--light-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 600;
}

.tag-industry {
    background: var(--light-bg);
    /* Softer background */
    color: var(--accent);
    padding: 4px 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 100px;
    /* Pill shape */
    border: 1px solid rgba(22, 66, 60, 0.1);
}

.tag-detail {
    padding-left: 8px;
    color: var(--light-muted);
}

.portfolio-card h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 12px;
}

.portfolio-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
}

.portfolio-card-geo {
    margin-top: 20px;
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--accent);
    letter-spacing: 0.06em;
    border: 1px solid rgba(22, 66, 60, 0.2);
    padding: 4px 10px;
}

.portfolio-card.highlight-card {
    background: var(--ink);
}

.portfolio-card.highlight-card .portfolio-card-tag {
    color: var(--warm);
}

.portfolio-card.highlight-card h3 {
    color: var(--paper);
}

.portfolio-card.highlight-card p {
    color: rgba(247, 245, 240, 0.55);
}

.portfolio-card.highlight-card .portfolio-card-geo {
    color: var(--warm);
    border-color: rgba(184, 150, 90, 0.3);
}

.portfolio-card.highlight-card:hover {
    background: #0E1E30;
}

/* ===== TEAM ===== */
.team-section {
    background: var(--cream);
    border-top: 1px solid var(--border);
}

.team-header {
    margin-bottom: 64px;
}

.team-header .section-subtitle {
    margin-top: 16px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.team-card {
    text-align: center;
}

.team-card-image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--ink);
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 6px rgba(22, 66, 60, 0.08);
    transition: all 0.4s ease;
}

.team-card:hover .team-card-image {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 8px rgba(22, 66, 60, 0.12);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.6s ease;
}

.team-card:hover .team-card-image img {
    transform: scale(1.06);
}

.team-card h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 4px;
}

.team-card-role {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.team-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.3s ease;
}

.team-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(22, 66, 60, 0.05);
    transform: translateY(-2px);
}

.team-social svg {
    width: 16px;
    height: 16px;
}

/* ===== CO-INVESTORS ===== */
.coinvestors-section {
    background: var(--ink);
    color: var(--paper);
    position: relative;
}

.coinvestors-section .section-tag {
    color: var(--warm);
}

.coinvestors-section .section-tag::before {
    background: var(--warm);
}

.coinvestors-section .section-title {
    color: var(--paper);
}

.coinvestors-section .section-subtitle {
    color: rgba(247, 245, 240, 0.6);
}

.coinvestors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-dark);
    margin-top: 64px;
    border: 1px solid var(--border-dark);
}

.coinvestors-card {
    padding: 48px 40px;
    background: var(--ink);
    transition: background 0.3s;
}

.coinvestors-card:hover {
    background: rgba(22, 66, 60, 0.06);
}

.coinvestors-card h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--paper);
    margin-bottom: 12px;
}

.coinvestors-card p {
    font-size: 0.88rem;
    color: rgba(247, 245, 240, 0.5);
    line-height: 1.65;
    font-weight: 300;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 100px 0 48px;
}

.faq-header {
    text-align: center;
}

.faq-header .section-tag {
    justify-content: center;
}

.faq-list {
    max-width: 760px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink);
}

.faq-toggle {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--light-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding-top: 16px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
}

/* ===== INSIGHTS ===== */
.insights-section {
    border-bottom: 1px solid var(--border);
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.insight-card {
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 32px;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    text-decoration: none;
    color: inherit;
}

.insight-card:hover {
    background: var(--cream);
}

.insight-card-tag {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--light-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.insight-card h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: auto;
}

.insight-card-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 24px;
    transition: gap 0.3s;
}

.insight-card:hover .insight-card-arrow {
    gap: 14px;
}

/* ===== CONTACT ===== */
.contact-section {
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 66, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.contact-left {
    display: flex;
    flex-direction: column;
}

.contact-left .section-tag {
    color: var(--warm);
}

.contact-left .section-tag::before {
    background: var(--warm);
}

.contact-left .section-title {
    color: var(--paper);
    font-size: clamp(2rem, 3vw, 2.4rem);
}

.contact-desc {
    font-size: 1rem;
    color: rgba(247, 245, 240, 0.55);
    line-height: 1.7;
    font-weight: 300;
    margin-top: 20px;
    max-width: 420px;
}

.contact-signals {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-signal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 0.92rem;
    color: rgba(247, 245, 240, 0.65);
    letter-spacing: 0.01em;
}

.contact-signal::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--warm);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-address {
    margin-top: auto;
    font-family: var(--sans);
    font-size: 1rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-decoration: none;
    display: block;
}

.contact-address-mobile {
    text-decoration: none;
}

.contact-address-mobile:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.contact-address:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-family: var(--serif);
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea,
.form-field select {
    background: transparent;
    border: 1px solid var(--border-dark);
    padding: 14px 16px;
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--paper);
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(247, 245, 240, 0.25);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--warm);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(247,245,240,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-field select option {
    background: var(--ink);
    color: var(--paper);
}

.form-status {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 12px 0;
    display: none;
}

.form-status.success {
    display: block;
    color: var(--warm);
}

.form-status.error {
    display: block;
    color: #e55;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--accent);
    color: var(--paper);
    border: none;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s;
    width: fit-content;
    border-radius: 0;
}

.btn-submit:hover {
    background: var(--paper);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--ink);
    border-top: 1px solid var(--border-dark);
    padding: 64px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-brand img {
    height: 56px;
    width: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-brand:hover img {
    opacity: 1;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(247, 245, 240, 0.4);
    font-weight: 300;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: rgba(247, 245, 240, 0.35);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(247, 245, 240, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 300;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--warm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-dark);
}

.footer-legal {
    font-size: 0.75rem;
    color: rgba(247, 245, 240, 0.3);
    font-weight: 300;
}

.footer-legal a {
    color: rgba(247, 245, 240, 0.3);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--warm);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .invest-header {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .invest-header .section-subtitle {
        padding-top: 0;
    }

    .invest-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline-h {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 48px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-selective-wrapper.hero-feature {
        margin-left: 0;
    }

    .hero-desc strong {
        display: block;
        margin-top: 4px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .section-header-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .container,
    .container-narrow,
    .container-wide {
        padding: 0 24px;
    }

    section {
        padding: 80px 0;
    }

    /* Show hamburger, hide desktop nav */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .mobile-menu-backdrop {
        display: block;
        pointer-events: none;
    }

    .mobile-menu-backdrop.open {
        pointer-events: auto;
    }

    .hero {
        min-height: auto;
        padding: 90px 0 0;
    }

    /* hero-stats removed */
    .why-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .coinvestors-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .process-timeline-h {
        grid-template-columns: 1fr;
        padding-left: 40px;
    }

    .process-timeline-h::before {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .process-dot {
        left: -40px;
        top: 4px;
    }

    .process-step-h {
        padding: 0 0 36px 0;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .process-timeline-h {
        padding-left: 32px;
    }

    .process-dot {
        left: -32px;
        width: 12px;
        height: 12px;
    }
}

/* ===== SKIP-TO-CONTENT (A11Y) ===== */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--paper);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    z-index: 200;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 16px;
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ===== HERO FEATURES ROW ===== */
.hero-features-row {
    margin-top: 0px;
    padding-top: 16px;
    border-top: 1px solid rgba(247, 245, 240, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-feature {
    font-family: var(--serif);
    color: rgba(247, 245, 240, 0.7);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    padding: 8px 20px;
    border: 1px solid rgba(184, 150, 90, 0.25);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.hero-feature:hover {
    color: var(--warm);
    border-color: var(--warm);
    background: rgba(184, 150, 90, 0.08);
}

@media (max-width: 900px) {
    .hero-features-row {
        gap: 8px;
    }

    .hero-feature {
        font-size: 0.72rem;
        padding: 6px 14px;
    }
}

@media (max-width: 600px) {
    .hero>.container {
        padding: 48px 24px 36px;
        border-radius: 12px;
    }
}

/* Mobile Specific (Phones) */
@media (max-width: 768px) {
    .contact-left .contact-address {
        display: none !important;
    }

    .contact-address-mobile {
        display: block !important;
        margin-top: 32px;
        text-align: center;
        width: 100%;
        color: #fff;
    }

    .hero-selective-wrapper.hero-feature {
        margin-left: 0;
    }

    .hero-desc strong {
        display: block;
        margin-top: 4px;
    }

    .hero-h1 em {
        display: block;
        white-space: normal;
        margin-top: 0;
    }
}

/* H1 prevent wrapping */
.hero-h1 em {
    white-space: nowrap;
    font-style: italic;
}