/* ============================================
   COREVIEW ADVISORS — GLOBAL STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --navy: #1B2A4A;
    --navy-light: #2C3E5A;
    --navy-dark: #111D35;
    --cream: #F7F5F0;
    --cream-dark: #EDE9E0;
    --white: #FFFFFF;
    --gold: #B8956A;
    --gold-light: #D4B896;
    --gold-faint: rgba(184,149,106,0.12);
    --text-primary: #1B2A4A;
    --text-secondary: #5A6678;
    --text-light: #8A9AAE;
    --border: #E0DCD4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    background: var(--white);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(27,42,74,0.06); }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--navy);
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo span {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 500; }

.nav-cta {
    background: var(--navy) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 4px;
    font-weight: 500 !important;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy-light) !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    width: 22px; height: 2px;
    background: var(--navy);
    transition: 0.3s;
}

/* ---- BUTTONS ---- */
.btn-primary {
    background: var(--navy);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); }

.btn-secondary {
    color: var(--navy);
    padding: 14px 32px;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    display: inline-block;
}
.btn-secondary:hover { border-color: var(--navy); }

.btn-gold {
    background: var(--gold);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ---- SECTION BASICS ---- */
section { padding: 100px 40px; }

.section-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 38px;
    color: var(--navy);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.25;
}

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

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

/* ---- FOOTER ---- */
footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.5);
    padding: 48px 40px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo img { height: 32px; filter: brightness(0) invert(1); }
.footer-logo span {
    font-family: 'DM Serif Display', serif;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}
.footer-tagline {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 6px;
}
footer p { font-size: 13px; }
.footer-links {
    display: flex;
    gap: 28px;
    list-style: none;
}
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ---- ANIMATIONS ---- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    section { padding: 72px 24px; }
    .nav-inner { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 20px;
    }
    .hamburger { display: flex; }
    .section-title { font-size: 30px; }
    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title { font-size: 26px; }
}
