*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #F8FAFC;
    --bg-white: #ffffff;
    --ink: #0F172A;
    --ink-light: #1E3A5F;
    --ink-muted: #64748B;
    --navy: #0F172A;
    --navy-light: #1E3A8A;
    --gold: #CA8A04;
    --gold-light: #EAB308;
    --gold-muted: rgba(202,138,4,0.12);
    --divider: #CBD5E1;
    --divider-light: #E2E8F0;
    --serif: 'Cormorant', Georgia, serif;
    --sans: 'IBM Plex Sans', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --max-w: 1140px;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--divider-light);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 36px; width: auto; object-fit: contain; }
.nav-links { display: none; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink-muted); transition: color 0.3s;
}
.nav-links a:hover { color: var(--ink); }
.header-cta {
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 1.5px solid var(--gold);
    color: var(--gold); transition: all 0.3s var(--ease);
}
.header-cta:hover { background: var(--gold); color: var(--navy); }

/* ===== HERO ===== */
.hero {
    background: var(--navy);
    color: #fff; padding: clamp(5rem, 12vw, 9rem) 0;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(202,138,4,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-eyebrow {
    font-family: var(--mono); font-size: 0.72rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700; line-height: 1.08;
    letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    color: rgba(255,255,255,0.6); max-width: 520px;
    line-height: 1.75; margin-bottom: 2.5rem;
}
.hero-stats {
    display: flex; gap: 3rem; flex-wrap: wrap;
    padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
    font-family: var(--serif); font-size: 2.2rem;
    font-weight: 700; color: var(--gold); line-height: 1;
}
.hero-stat-label {
    font-size: 0.75rem; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem;
}

/* ===== SECTIONS ===== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--dark { background: var(--navy); color: #fff; }
.section-eyebrow {
    font-family: var(--mono); font-size: 0.65rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; line-height: 1.12;
    letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-lead {
    font-size: clamp(0.92rem, 1.2vw, 1.02rem);
    color: var(--ink-muted); max-width: 52ch; line-height: 1.75;
}
.section-lead--light { color: rgba(255,255,255,0.5); }

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 1.5rem; margin-top: 3rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.service-card {
    padding: 2rem; background: var(--bg-white);
    border: 1px solid var(--divider-light);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(15,23,42,0.06);
}
.service-card-icon {
    width: 44px; height: 44px; display: flex;
    align-items: center; justify-content: center;
    background: var(--gold-muted); color: var(--gold);
    font-size: 1rem; margin-bottom: 1.25rem;
}
.service-card h3 {
    font-family: var(--serif); font-size: 1.2rem;
    font-weight: 600; margin-bottom: 0.5rem;
}
.service-card p {
    font-size: 0.88rem; color: var(--ink-muted); line-height: 1.65;
}
.service-card ul {
    list-style: none; margin-top: 1rem;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.service-card li {
    font-size: 0.82rem; color: var(--ink-light);
    display: flex; align-items: center; gap: 0.6rem;
}
.service-card li::before {
    content: ''; width: 5px; height: 1px;
    background: var(--gold); flex-shrink: 0;
}

/* ===== DEALS ===== */
.deals-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 0; margin-top: 3rem;
    border-top: 2px solid rgba(255,255,255,0.15);
}
@media (min-width: 768px) { .deals-grid { grid-template-columns: 1fr 1fr; } }
.deal-card {
    padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) {
    .deal-card:nth-child(odd) { padding-right: 2rem; border-right: 1px solid rgba(255,255,255,0.08); }
    .deal-card:nth-child(even) { padding-left: 2rem; }
}
.deal-amount {
    font-family: var(--serif); font-size: 2rem;
    font-weight: 700; color: var(--gold); margin-bottom: 0.5rem;
    line-height: 1.1; letter-spacing: -0.02em;
}
.deal-name {
    font-family: var(--serif); font-size: 1.15rem;
    font-weight: 600; color: #fff; margin-bottom: 0.5rem;
}
.deal-desc {
    font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.65;
}

/* ===== TEAM ===== */
.team-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 3rem; margin-top: 3rem;
}
@media (min-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.team-photo {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover; margin-bottom: 1.25rem;
    border: 3px solid var(--divider-light);
}
.team-name {
    font-family: var(--serif); font-size: 1.4rem;
    font-weight: 700; margin-bottom: 0.2rem;
}
.team-role {
    font-family: var(--mono); font-size: 0.72rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
}
.team-bio {
    font-size: 0.9rem; color: var(--ink-muted); line-height: 1.75;
    margin-bottom: 1.25rem;
}
.team-creds { display: flex; flex-direction: column; gap: 0.5rem; }
.team-cred {
    font-size: 0.82rem; color: var(--ink-light);
    display: flex; align-items: center; gap: 0.6rem;
}
.team-cred i { color: var(--navy-light); font-size: 0.75rem; width: 16px; text-align: center; }

/* ===== VALUES ===== */
.values-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; margin-top: 3rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.value-item {
    text-align: center; padding: 1.5rem 1rem;
    border: 1px solid var(--divider-light);
    transition: border-color 0.3s;
}
.value-item:hover { border-color: var(--gold); }
.value-item i { font-size: 1.4rem; color: var(--gold); margin-bottom: 0.75rem; display: block; }
.value-item h4 { font-family: var(--serif); font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.value-item p { font-size: 0.78rem; color: var(--ink-muted); }

/* ===== INDUSTRIES ===== */
.industries-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.industry-tag {
    font-size: 0.78rem; font-weight: 500;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6); transition: all 0.3s;
}
.industry-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ===== AFFILIATIONS ===== */
.affiliations-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 1.5rem; margin-top: 2.5rem;
}
@media (min-width: 768px) { .affiliations-grid { grid-template-columns: repeat(3, 1fr); } }
.affiliation-card {
    background: var(--bg-white); border: 1px solid var(--divider-light);
    padding: 2rem 1.5rem; text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.affiliation-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(15,23,42,0.06);
}
.affiliation-card img { height: 72px; width: auto; object-fit: contain; margin: 0 auto 1.25rem; }
.affiliation-card h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.affiliation-card p { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.6; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #1E293B 100%);
    color: #fff; padding: clamp(4rem, 8vw, 6rem) 0; text-align: center;
}
.cta-section h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.12; margin-bottom: 1rem;
}
.cta-section p {
    font-size: 0.95rem; color: rgba(255,255,255,0.5);
    margin-bottom: 2.5rem; max-width: 45ch;
    margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-gold {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    background: var(--gold); color: var(--navy);
    transition: all 0.3s var(--ease);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline-light {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff; transition: all 0.3s var(--ease);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 3rem; margin-top: 3rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item i { color: var(--gold); font-size: 0.9rem; width: 20px; text-align: center; margin-top: 0.2rem; }
.contact-info-item h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-info-item p { font-size: 0.88rem; color: var(--ink-muted); }
.contact-info-item a { color: var(--navy-light); transition: color 0.3s; }
.contact-info-item a:hover { color: var(--gold); }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-label {
    display: block; font-family: var(--mono);
    font-size: 0.7rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
    width: 100%; padding: 0.85rem 1rem;
    font-size: 0.9rem; color: var(--ink);
    background: var(--bg); border: 1px solid var(--divider);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input:focus, .form-textarea:focus {
    outline: none; border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15,23,42,0.08);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
    width: 100%; padding: 1rem;
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--navy); color: #fff;
    cursor: pointer; transition: all 0.3s var(--ease);
}
.form-submit:hover { background: var(--navy-light); }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy); color: rgba(255,255,255,0.4); padding: 2.5rem 0;
}
.footer-inner {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 0.78rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

/* ===== LANG TOGGLE ===== */
.lang-toggle {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 600;
    color: var(--ink-muted); letter-spacing: 0.05em;
}
.lang-toggle span { cursor: pointer; transition: color 0.3s; padding: 0.2rem 0; }
.lang-toggle span:hover { color: var(--ink); }
.lang-toggle span.active { color: var(--gold); }
.lang-toggle .divider { color: var(--divider); user-select: none; }
[data-lang="es"] [data-en] { display: none !important; }
[data-lang="en"] [data-es] { display: none !important; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
