/* ==============================================
   BRICKVESTS ANALYTICS — SHARED STYLES
   ============================================== */

:root {
    --navy: #0A1F44;
    --navy-mid: #122654;
    --navy-light: #1A3570;
    --gold: #C9A84C;
    --gold-light: #DFC27A;
    --gold-pale: #F5EDD4;
    --offwhite: #F7F6F2;
    --white: #FFFFFF;
    --text-dark: #0D1B35;
    --text-mid: #3D4F6E;
    --text-light: #6B7A94;
    --border: rgba(10,31,68,0.10);
    --shadow-sm: 0 2px 12px rgba(10,31,68,0.08);
    --shadow-md: 0 8px 32px rgba(10,31,68,0.12);
    --shadow-lg: 0 20px 60px rgba(10,31,68,0.18);
    --radius: 4px;
    --radius-lg: 8px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family: 'DM Sans', sans-serif; font-weight: 400; color: var(--text-dark); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height:1.15; }
p { line-height: 1.75; color: var(--text-mid); }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
.container { max-width:1180px; margin:0 auto; padding:0 24px; }
section { padding: 100px 0; }

.label { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.label-light { color: var(--gold-light); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-link { background: none; padding: 0; color: var(--navy); font-weight: 600; font-size: 0.875rem; gap: 6px; }
.btn-link:hover { color: var(--gold); }
.btn-link i { font-size: 0.75rem; transition: var(--transition); }
.btn-link:hover i { transform: translateX(3px); }

/* NAVIGATION */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(10,31,68,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(201,168,76,0.15); transition: var(--transition); }
.navbar.scrolled { background: rgba(10,31,68,1); box-shadow: var(--shadow-md); }
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark { width: 36px; height: 36px; background: var(--gold); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--navy); font-weight: 400; flex-shrink: 0; }
.nav-brand-text { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1rem; color: var(--white); letter-spacing: 0.02em; }
.nav-brand-text span { color: var(--gold); }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.75); transition: var(--transition); letter-spacing: 0.02em; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after { content: ''; position: absolute; bottom: -24px; left: 0; right: 0; height: 2px; background: var(--gold); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.bar { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* PAGE HEADER (interior pages) */
.page-header { background: var(--navy); padding: 160px 0 80px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.page-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.page-header-inner { position: relative; z-index: 1; max-width: 820px; }
.page-header .label { color: var(--gold); }
.page-header h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: var(--white); margin-bottom: 24px; line-height: 1.1; }
.page-header h1 em { font-style: italic; color: var(--gold); }
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 680px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 24px; letter-spacing: 0.04em; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.65rem; color: rgba(255,255,255,0.3); }

/* SECTION HEADERS */
.section-header { margin-bottom: 64px; }
.section-header h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--navy); margin-bottom: 18px; }
.section-header p { font-size: 1.05rem; max-width: 620px; color: var(--text-light); }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* CARDS */
.card-stack-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-stack-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 30px; transition: var(--transition); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(201,168,76,0.3); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 50px; height: 50px; background: var(--gold-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; font-size: 1.15rem; color: var(--gold); }
.feature-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.feature-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; margin: 0; }

/* DEAL TOMBSTONES */
.tombstone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tombstone { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); position: relative; }
.tombstone:hover { box-shadow: var(--shadow-md); border-color: rgba(201,168,76,0.3); }
.tombstone-tag { display: inline-block; background: var(--gold-pale); color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; margin-bottom: 16px; }
.tombstone-amount { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.tombstone-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 18px; }
.tombstone-meta { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--text-light); }
.tombstone-meta strong { color: var(--navy); font-weight: 600; }

/* TRUST BAR */
.trust-bar { background: var(--offwhite); border-bottom: 1px solid var(--border); padding: 24px 0; }
.trust-bar-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 500; color: var(--text-mid); letter-spacing: 0.02em; }
.trust-item i { color: var(--gold); font-size: 0.9rem; }
.trust-divider { width: 1px; height: 20px; background: var(--border); }

/* CTA BAND */
.cta-band { background: var(--navy); padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px); background-size: 60px 60px; }
.cta-band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h3 { font-family: 'DM Serif Display', serif; font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--white); line-height: 1.2; margin-bottom: 10px; max-width: 620px; }
.cta-band h3 em { font-style: italic; color: var(--gold); }
.cta-band p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 580px; }

/* FOOTER */
.footer { background: var(--navy); padding: 80px 0 32px; border-top: 2px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px; margin-bottom: 60px; }
.footer-brand-name { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-brand-name span { color: var(--gold); }
.footer-brand-desc { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.75; margin-bottom: 28px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: var(--transition); }
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-item i { color: var(--gold); font-size: 0.82rem; margin-top: 3px; width: 14px; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.55; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin: 0; }
.footer-bottom-links { display: flex; gap: 28px; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
.footer-legal { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 8px; line-height: 1.5; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .card-stack-3 { grid-template-columns: 1fr 1fr; }
    .tombstone-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    section { padding: 70px 0; }
    .card-stack-3 { grid-template-columns: 1fr; }
    .card-stack-2 { grid-template-columns: 1fr; }
    .tombstone-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .nav-menu { display: none; flex-direction: column; gap: 0; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); padding: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
    .nav-menu.active { display: flex; }
    .nav-menu .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-cta { margin-left: 0; margin-top: 14px; }
    .nav-toggle { display: flex; }
    .trust-bar-inner { gap: 24px; }
    .trust-divider { display: none; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .page-header { padding: 130px 0 60px; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
