/* ═══════════════════════════════════════════════════════════
   GSR Basements — Guides / Blog shared stylesheet
   Matches the main site design (gold-on-black, Inter).
   Used by all pages in /blog/.
   ═══════════════════════════════════════════════════════════ */

:root {
    --gold: #C49A4A;
    --gold-light: #DDB86A;
    --gold-dark: #9A7830;
    --gold-subtle: rgba(196,154,74,0.1);
    --gold-border: rgba(196,154,74,0.25);
    --black: #080808;
    --dark: #0F0F0F;
    --dark-2: #171717;
    --dark-3: #222222;
    --dark-4: #2C2C2C;
    --white: #FFFFFF;
    --gray: #888888;
    --gray-light: #B8B8B8;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--black); color: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 64px; } }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 24px 0; transition: all 0.35s var(--ease); }
nav.scrolled { background: rgba(8,8,8,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 14px 0; border-bottom: 1px solid var(--gold-border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-gsr { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.logo-divider { width: 1px; height: 20px; background: var(--gold); opacity: 0.55; flex-shrink: 0; }
.logo-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); line-height: 1; }
.nav-links { display: none; list-style: none; gap: 32px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { color: var(--gray-light); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.has-dropdown { position: relative; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: rgba(8,8,8,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--gold-border); border-radius: var(--radius-md); min-width: 210px; padding: 12px 0 8px; z-index: 1000; }
.nav-dropdown a { display: block; padding: 11px 20px; color: var(--gray-light); font-size: 13px; font-weight: 500; white-space: nowrap; background: transparent; }
.nav-dropdown a:hover { color: var(--gold); background: var(--gold-subtle); }
.has-dropdown:hover .nav-dropdown { display: block; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--black); padding: 13px 26px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.25s var(--ease); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,154,74,0.28); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); padding: 13px 26px; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.25s var(--ease); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--black); z-index: 998; flex-direction: column; justify-content: center; align-items: center; gap: 36px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); text-decoration: none; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close { position: absolute; top: 22px; right: 22px; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; }
.mobile-cta-btn { background: var(--gold) !important; color: var(--black) !important; padding: 14px 36px !important; border-radius: var(--radius-sm); font-size: 15px !important; }

/* ── ARTICLE / GUIDES ── */
.guide-hero { padding: 150px 0 50px; background: var(--dark-2); border-bottom: 1px solid rgba(255,255,255,0.05); position: relative; }
.guide-hero::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(circle, rgba(196,154,74,0.07) 0%, transparent 65%); pointer-events: none; }
.guide-hero .container { position: relative; }
.breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: 22px; }
.breadcrumb a { color: var(--gray-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.guide-eyebrow { display: inline-block; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.guide-hero h1 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; max-width: 860px; }
.guide-meta { margin-top: 22px; font-size: 14px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.guide-meta span { display: inline-flex; align-items: center; gap: 7px; }

.article { padding: 56px 0 90px; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article p { font-size: 17px; color: var(--gray-light); line-height: 1.85; margin-bottom: 24px; }
.article h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin: 48px 0 18px; color: var(--white); }
.article h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 700; letter-spacing: -0.02em; margin: 34px 0 14px; color: var(--white); }
.article ul, .article ol { margin: 0 0 24px 22px; color: var(--gray-light); }
.article li { font-size: 17px; line-height: 1.8; margin-bottom: 10px; }
.article a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--gold-light); }
.article strong { color: var(--white); font-weight: 700; }
.article-lead { font-size: 20px !important; color: var(--white) !important; line-height: 1.7 !important; margin-bottom: 32px !important; }

/* Cost callout box */
.cost-box { background: var(--dark-2); border: 1px solid var(--gold-border); border-radius: var(--radius-lg); padding: 28px 30px; margin: 32px 0; }
.cost-box h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.cost-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 16px; }
.cost-row:last-child { border-bottom: none; }
.cost-row .label { color: var(--gray-light); }
.cost-row .value { color: var(--white); font-weight: 700; white-space: nowrap; }

/* Key facts table */
.facts-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 16px; }
.facts-table th, .facts-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.facts-table th { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--dark-2); }
.facts-table td { color: var(--gray-light); }

/* Note / disclaimer */
.note { background: var(--gold-subtle); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 18px 22px; margin: 28px 0; font-size: 15px; color: var(--gray-light); line-height: 1.7; }

/* In-article CTA */
.inline-cta { background: linear-gradient(135deg, var(--dark-2), var(--dark-3)); border: 1px solid var(--gold-border); border-radius: var(--radius-lg); padding: 38px 34px; margin: 48px 0; text-align: center; }
.inline-cta h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; color: var(--white); }
.inline-cta p { font-size: 16px; color: var(--gray-light); margin-bottom: 24px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.faq-item h3 { margin: 0 0 10px; font-size: 19px; }
.faq-item p { margin-bottom: 0; }

/* ── GUIDES INDEX ── */
.guides-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guides-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-card { background: var(--dark-2); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-lg); padding: 30px 28px; text-decoration: none; display: flex; flex-direction: column; transition: all 0.3s var(--ease); }
.guide-card:hover { border-color: var(--gold-border); transform: translateY(-5px); }
.guide-card .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.guide-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--white); margin-bottom: 12px; }
.guide-card p { font-size: 14px; color: var(--gray); line-height: 1.7; flex-grow: 1; }
.guide-card .read { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--gold); }

/* ── FINAL CTA ── */
.final-cta { padding: 110px 0; background: var(--dark-2); text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(196,154,74,0.07) 0%, transparent 65%); pointer-events: none; }
.final-cta h2 { font-size: clamp(32px,5vw,56px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; position: relative; }
.final-cta p { font-size: 18px; color: var(--gray-light); max-width: 460px; margin: 0 auto 40px; line-height: 1.65; position: relative; }
.final-cta .ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }

/* ── FOOTER ── */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; } }
.footer-brand p { font-size: 14px; color: var(--gray); line-height: 1.75; max-width: 260px; margin: 18px 0 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; background: var(--dark-3); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--gray); text-decoration: none; transition: all 0.2s; }
.footer-social a:hover { border-color: var(--gold-border); color: var(--gold); }
.footer-social a svg { width: 18px; height: 18px; opacity: 0.65; transition: opacity 0.2s; }
.footer-social a:hover svg { opacity: 1; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--gray-light); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom p, .footer-bottom a { font-size: 13px; color: var(--gray); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.license-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray); }
.license-badge span { color: var(--gold); }
