@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale: #f5e6c0;
  --red: #8b1a1a;
  --red-bright: #c0392b;
  --cream: #f8f4ed;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --text: #1a2332;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--text); background: var(--cream); overflow-x: hidden; }

/* NAV */
nav {
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}
.nav-logo { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.nav-logo span { color: var(--white); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 9px 20px; border-radius: 4px; font-weight: 700 !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* FOOTER */
footer { background: var(--navy); padding: 50px 5% 30px; border-top: 2px solid rgba(201,168,76,0.2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: var(--gold-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-disclaimer { color: rgba(255,255,255,0.3); font-size: 0.75rem; max-width: 600px; line-height: 1.5; }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.75rem; }

/* SHARED ELEMENTS */
.section-label { text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.btn-primary { background: var(--red-bright); color: var(--white); padding: 14px 32px; border-radius: 6px; font-size: 1rem; font-weight: 700; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.1s; font-family: 'Source Sans 3', sans-serif; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--red); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); padding: 14px 32px; border-radius: 6px; font-size: 1rem; font-weight: 700; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-gold:hover { background: var(--gold-light); }

/* LEAD FORM (shared) */
.lead-form-box { background: var(--white); border-radius: 12px; padding: 32px; border-top: 4px solid var(--gold); box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.lead-form-box h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; }
.lead-form-box p { color: var(--gray); font-size: 0.88rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row.single { grid-template-columns: 1fr; }
input, select { width: 100%; padding: 12px 14px; border: 1.5px solid #d1d5db; border-radius: 6px; font-size: 0.92rem; font-family: 'Source Sans 3', sans-serif; color: var(--text); background: #fafafa; transition: border-color 0.2s; appearance: none; }
input:focus, select:focus { outline: none; border-color: var(--gold); background: var(--white); }
.submit-btn { width: 100%; background: var(--red-bright); color: var(--white); border: none; padding: 14px; border-radius: 6px; font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 8px; transition: background 0.2s; font-family: 'Source Sans 3', sans-serif; letter-spacing: 0.3px; }
.submit-btn:hover { background: var(--red); }
.form-trust { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--gray); font-size: 0.78rem; }

/* BLOG POST STYLES */
.post-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 60px 5%; }
.post-hero .breadcrumb { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin-bottom: 16px; }
.post-hero .breadcrumb a { color: var(--gold); text-decoration: none; }
.post-hero h1 { font-family: 'Playfair Display', serif; color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; max-width: 800px; margin-bottom: 16px; }
.post-hero .meta { color: rgba(255,255,255,0.5); font-size: 0.85rem; display: flex; gap: 20px; flex-wrap: wrap; }
.post-hero .meta span { display: flex; align-items: center; gap: 6px; }

.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; max-width: 1100px; margin: 0 auto; padding: 60px 5%; align-items: start; }
.post-content { min-width: 0; }
.post-content h2 { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--navy); margin: 40px 0 16px; line-height: 1.25; }
.post-content h2:first-child { margin-top: 0; }
.post-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.post-content p { font-size: 1rem; line-height: 1.75; color: #374151; margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 24px; }
.post-content li { font-size: 1rem; line-height: 1.7; color: #374151; margin-bottom: 6px; }
.post-content strong { color: var(--navy); }
.post-content a { color: var(--gold); text-decoration: underline; }

.callout { background: linear-gradient(135deg, #fff8ec, #fff3dc); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 28px 0; }
.callout p { margin: 0; font-size: 0.95rem; color: var(--text); }
.callout strong { color: var(--navy); }

.stat-box { background: var(--navy); color: var(--white); border-radius: 10px; padding: 24px; margin: 28px 0; text-align: center; }
.stat-box .number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-box .label { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 8px; }

.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.comparison-table th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.comparison-table th:nth-child(2) { background: rgba(201,168,76,0.9); color: var(--navy); }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid #e5e7eb; }
.comparison-table tr:nth-child(even) td { background: #f9fafb; }
.comparison-table td:nth-child(2) { background: rgba(201,168,76,0.06); font-weight: 600; }
.check { color: #16a34a; font-weight: 700; }
.cross { color: #dc2626; }

.post-sidebar { position: sticky; top: 90px; }
.sidebar-cta { background: var(--navy); border-radius: 12px; padding: 28px; margin-bottom: 24px; border: 2px solid var(--gold); }
.sidebar-cta h4 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; }
.sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 18px; line-height: 1.5; }
.sidebar-cta input { margin-bottom: 10px; }
.sidebar-cta .submit-btn { font-size: 0.9rem; padding: 12px; }

.related-posts { background: var(--white); border-radius: 12px; padding: 24px; }
.related-posts h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.related-post-item { padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
.related-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-post-item a { color: var(--navy); text-decoration: none; font-size: 0.88rem; font-weight: 600; line-height: 1.4; display: block; margin-bottom: 4px; }
.related-post-item a:hover { color: var(--gold); }
.related-post-item span { color: var(--gray); font-size: 0.78rem; }

/* BLOG INDEX */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1.5px solid #e5e7eb; transition: border-color 0.2s, box-shadow 0.2s; }
.blog-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,0.12); }
.blog-card-body { padding: 24px; }
.blog-card-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.blog-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.blog-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; }
.blog-card a.read-more { color: var(--gold); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.blog-card a.read-more:hover { color: var(--navy); }

@media (max-width: 768px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

/* HERO IMAGE */
.post-hero-img { position: relative; background-size: cover; background-position: center top; }
.post-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(17,34,64,0.82) 100%); }
.post-hero-img > * { position: relative; z-index: 1; }

/* HOMEPAGE HERO IMAGE */
.hero-bg { background-image: url('https://images.unsplash.com/photo-1521295121783-8a321d551ad2?w=1400&q=80'); background-size: cover; background-position: center; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(17,34,64,0.88) 100%); z-index: 0; }
.hero-bg > * { position: relative; z-index: 1; }

/* TRUST BADGES */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.trust-badge { display: flex; align-items: center; gap: 7px; background: #f0f7ff; border: 1.5px solid #dbeafe; border-radius: 6px; padding: 8px 14px; font-size: 0.8rem; font-weight: 600; color: #1e40af; }
.trust-badge.gold { background: #fffbeb; border-color: rgba(201,168,76,0.3); color: #92400e; }

/* URGENCY BAR */
.urgency-bar { background: linear-gradient(90deg, #7f1d1d, #991b1b); color: white; text-align: center; padding: 10px 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px; }
.urgency-bar span { color: var(--gold-light); }

/* BOTTOM OF POST CTA */
.post-bottom-cta { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: 12px; padding: 36px; margin: 50px 0 20px; text-align: center; border: 2px solid rgba(201,168,76,0.25); }
.post-bottom-cta h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.5rem; margin-bottom: 10px; line-height: 1.3; }
.post-bottom-cta p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.post-bottom-cta .cta-form { display: flex; gap: 10px; max-width: 400px; margin: 0 auto 12px; flex-wrap: wrap; }
.post-bottom-cta input { flex: 1; min-width: 140px; border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1); color: white; padding: 12px 14px; border-radius: 6px; font-family: 'Source Sans 3', sans-serif; font-size: 0.9rem; }
.post-bottom-cta input::placeholder { color: rgba(255,255,255,0.5); }
.post-bottom-cta input:focus { outline: none; border-color: var(--gold); }
.post-bottom-cta button { background: var(--gold); color: var(--navy); border: none; padding: 12px 22px; border-radius: 6px; font-weight: 700; font-family: 'Source Sans 3', sans-serif; cursor: pointer; white-space: nowrap; font-size: 0.9rem; }
.post-bottom-cta button:hover { background: var(--gold-light); }
.post-bottom-cta .urgency-note { color: rgba(255,255,255,0.45); font-size: 0.78rem; }

/* SECTION IMAGES */
.section-img { width: 100%; border-radius: 10px; object-fit: cover; margin: 24px 0; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin: 50px 0; }
.split-section img { width: 100%; border-radius: 10px; object-fit: cover; height: 320px; }
@media(max-width:768px) { .split-section { grid-template-columns: 1fr; } }
