/* ===== BLUE RIDGE TRADEMARK COMPANY ===== */
/* Design System */
:root {
  --navy: #1B2A4A;
  --navy-light: #2A3F6B;
  --slate: #3A5A8C;
  --forest: #3D5A3A;
  --forest-light: #4A6F45;
  --sage: #7A9A6D;
  --cream: #F5F1E8;
  --cream-dark: #EDE8DC;
  --gold: #B8860B;
  --gold-light: #C9971C;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --gray-900: #212529;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(27,42,74,0.08);
  --shadow-lg: 0 8px 30px rgba(27,42,74,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 16px; color: var(--gray-800); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius); font-weight: 600;
  font-size: 1rem; cursor: pointer; border: none; transition: all 0.25s;
  font-family: var(--font-body); text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-light); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cream); color: var(--navy); }

/* ===== NAVIGATION ===== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--gold); }
.topbar a:hover { color: var(--gold-light); }

header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 32px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-wrap img { height: 56px; width: auto; border-radius: 50%; }
.logo-text { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-text span { display: block; font-size: 0.7rem; font-weight: 400; color: var(--gray-600); letter-spacing: 0.15em; text-transform: uppercase; }

nav ul { display: flex; list-style: none; gap: 4px; align-items: center; }
nav a {
  padding: 8px 14px; border-radius: var(--radius); font-size: 0.9rem;
  font-weight: 500; color: var(--gray-800); transition: all 0.2s;
}
nav a:hover, nav a.active { color: var(--navy); background: var(--cream); }
nav .dropdown { position: relative; }
nav .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 240px; padding: 8px 0; z-index: 200;
}
nav .dropdown:hover .dropdown-menu { display: block; }
nav .dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 0.88rem;
  border-radius: 0;
}
nav .dropdown-menu a:hover { background: var(--cream); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.88rem; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--slate) 100%);
  color: var(--white);
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 32px; line-height: 1.8; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

.hero-right {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 40px;
  backdrop-filter: blur(8px);
}
.hero-right h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); background: rgba(255,255,255,0.08);
  color: var(--white); font-size: 0.95rem; font-family: var(--font-body);
}
.form-group input::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.12); }
.form-submit { width: 100%; padding: 14px; font-size: 1.05rem; margin-top: 8px; }

/* ===== SECTIONS ===== */
section { padding: clamp(48px, 8vw, 96px) 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-header .eyebrow {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--gold); margin-bottom: 12px;
}
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.8); }
.bg-gray { background: var(--gray-100); }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-radius: 10px; padding: 32px;
  border: 1px solid var(--gray-200); transition: all 0.3s;
  position: relative; overflow: hidden;
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); transform: translateY(-4px); }
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px; color: var(--navy);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 16px; }
.service-card .learn-more { font-weight: 600; color: var(--gold); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.service-card .learn-more:hover { color: var(--navy); }

/* ===== GUARANTEE BANNER ===== */
.guarantee {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  color: var(--white); padding: 60px 0; text-align: center;
}
.guarantee h2 { color: var(--white); margin-bottom: 16px; }
.guarantee p { color: rgba(255,255,255,0.85); max-width: 700px; margin: 0 auto 28px; font-size: 1.1rem; }
.guarantee-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px; padding: 12px 28px; font-weight: 600; font-size: 1rem;
  margin-bottom: 28px;
}
.guarantee-badge .shield { font-size: 1.4rem; }

/* ===== PROCESS SECTION ===== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; counter-reset: step; }
.process-step { text-align: center; counter-increment: step; position: relative; }
.process-step::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  margin: 0 auto 20px;
}
.process-step h3 { font-size: 1.1rem; }
.process-step p { color: var(--gray-600); font-size: 0.9rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: 10px; padding: 32px;
  border: 1px solid var(--gray-200); position: relative;
}
.testimonial-card .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-style: italic; color: var(--gray-800); line-height: 1.8; margin-bottom: 20px; font-size: 0.95rem; }
.testimonial-card .author { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-card .role { color: var(--gray-600); font-size: 0.82rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-weight: 600;
  color: var(--navy); font-size: 1.05rem;
}
.faq-question:hover { color: var(--gold); }
.faq-question .toggle { font-size: 1.5rem; color: var(--gold); transition: transform 0.3s; font-weight: 300; }
.faq-answer { padding: 0 0 20px; color: var(--gray-600); line-height: 1.8; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .toggle { transform: rotate(45deg); }

/* ===== CONTENT SECTIONS (for inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--slate));
  color: var(--white); padding: clamp(48px, 8vw, 80px) 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a { color: var(--gold); }

.content-section { padding: 64px 0; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.content-main h2 { margin-top: 40px; margin-bottom: 16px; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin-top: 28px; color: var(--navy); }
.content-main p { line-height: 1.85; }
.content-main ul, .content-main ol { margin: 16px 0 16px 24px; color: var(--gray-800); }
.content-main li { margin-bottom: 8px; line-height: 1.7; }

.sidebar-cta {
  background: var(--cream); border-radius: 10px; padding: 32px;
  position: sticky; top: 100px; border: 1px solid var(--cream-dark);
}
.sidebar-cta h3 { font-size: 1.2rem; margin-bottom: 12px; }
.sidebar-cta p { font-size: 0.92rem; color: var(--gray-600); margin-bottom: 20px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* ===== PRICING TABLE ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: 12px; padding: 36px; text-align: center;
  transition: all 0.3s;
}
.pricing-card.featured { border-color: var(--gold); position: relative; }
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white); padding: 4px 20px;
  border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--navy); margin: 16px 0; }
.pricing-card .price small { font-size: 0.9rem; font-weight: 400; color: var(--gray-600); }
.pricing-card .note { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 24px; }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); list-style: none; font-size: 0.92rem; color: var(--gray-800); padding-left: 24px; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--forest); font-weight: 700; }

/* ===== TWO COLUMN FEATURE ===== */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-image { border-radius: 12px; overflow: hidden; background: var(--cream); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-content .eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 12px; }
.feature-content p { color: var(--gray-600); }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900); color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-top: 16px; }
.footer-brand img { height: 50px; border-radius: 50%; }
footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { margin-top: 40px; }
  .feature-split, .feature-split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  nav ul { display: none; }
  .menu-toggle { display: block; }
  nav.open ul {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    padding: 16px; border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav-cta { display: none; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .hero-stat { display: flex; align-items: center; gap: 12px; justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
}

/* ===== TRUST BAR ===== */
.trust-bar { padding: 32px 0; border-bottom: 1px solid var(--gray-200); }
.trust-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--gray-600); font-weight: 500; }
.trust-item .icon { font-size: 1.3rem; color: var(--forest); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--slate));
  color: var(--white); padding: 64px 0; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto 28px; }

/* ===== INFO GRID ===== */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.info-item h4 { color: var(--navy); margin-bottom: 8px; font-family: var(--font-display); }
.info-item p { font-size: 0.92rem; color: var(--gray-600); }

/* ===== TABLE ===== */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.comparison-table th, .comparison-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: 0.92rem; }
.comparison-table th { background: var(--navy); color: var(--white); font-weight: 600; }
.comparison-table tr:hover { background: var(--cream); }
.comparison-table td:first-child { font-weight: 600; color: var(--navy); }

/* ===== RELATED PAGES ===== */
.related-pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.related-page {
  display: block; padding: 24px; background: var(--cream);
  border-radius: var(--radius); border: 1px solid var(--cream-dark);
  transition: all 0.2s;
}
.related-page:hover { background: var(--white); border-color: var(--gold); box-shadow: var(--shadow); }
.related-page h4 { margin-bottom: 6px; font-size: 1rem; }
.related-page p { font-size: 0.85rem; color: var(--gray-600); margin: 0; }

/* Utility */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
