/* ============================================
   LEGAL MERCHANT - Main Stylesheet
   SEO & Performance Optimised
   ============================================ */

/* CSS Custom Properties */
:root {
  --navy: #1a3c5e;
  --navy-dark: #0f2438;
  --navy-light: #2a5280;
  --gold: #c8922a;
  --gold-light: #e0a83a;
  --gold-dark: #a67520;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --light-grey: #f0eff0;
  --mid-grey: #e0dede;
  --text-dark: #1a1a1a;
  --text-mid: #3a3a3a;
  --text-light: #666666;
  --success: #2d7a4f;
  --error: #c0392b;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --transition: all 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-serif); color: var(--navy); line-height: 1.3; }

/* Skip Link */
.skip-link { position: absolute; top:-40px; left:0; background:var(--navy); color:#fff; padding:8px 16px; z-index:9999; border-radius:0 0 4px 4px; }
.skip-link:focus { top:0; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width:768px) { .container { padding: 0 32px; } }
@media (min-width:1200px) { .container { padding: 0 40px; } }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); text-align: center; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,146,42,0.4); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.header-top { background: var(--navy-dark); padding: 0.4rem 0; }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-contact-bar { display: flex; gap: 1.5rem; }
.header-phone, .header-email { color: rgba(255,255,255,0.85); font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }
.header-phone:hover, .header-email:hover { color: var(--gold-light); }
.header-social { display: flex; gap: 0.75rem; }
.header-social a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.header-social a:hover { color: var(--gold-light); }
.main-nav { padding: 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.site-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; flex-shrink: 0; }
.logo-icon { font-size: 1.8rem; }
.logo-text { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.logo-accent { color: var(--gold); }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { display: block; padding: 0.6rem 0.75rem; color: var(--text-dark); font-weight: 500; font-size: 0.92rem; white-space: nowrap; }
.nav-link:hover { color: var(--gold); }
.nav-link .fa { font-size: 0.7rem; margin-left: 2px; }
.nav-item { position: relative; }
.nav-has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 240px; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); border-top: 3px solid var(--gold); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition); z-index: 100; }
.dropdown-link { display: block; padding: 0.6rem 1.25rem; color: var(--text-mid); font-size: 0.88rem; border-bottom: 1px solid var(--light-grey); }
.dropdown-link:hover { background: var(--off-white); color: var(--navy); padding-left: 1.5rem; }
.dropdown-link:last-child { border-bottom: none; }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: var(--transition); }
.hamburger::before, .hamburger::after { content: ''; display: block; width: 24px; height: 2px; background: var(--navy); position: absolute; transition: var(--transition); }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-open .hamburger { background: transparent; }
.nav-open .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-open .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; color: var(--white); }

/* Cinematic animated background layers */
.hero-cinematic-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, #060e1a 0%, #0a192f 30%, #1a3c5e 65%, #0f2438 100%); }
.hero-layer { position: absolute; inset: 0; }
.hero-layer-1 {
  background: radial-gradient(ellipse 120% 80% at 20% 50%, rgba(200,146,42,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 80% 100% at 80% 20%, rgba(26,60,94,0.5) 0%, transparent 60%);
  animation: heroShift1 18s ease-in-out infinite alternate;
}
.hero-layer-2 {
  background: radial-gradient(ellipse 60% 60% at 70% 70%, rgba(15,36,56,0.6) 0%, transparent 55%),
              radial-gradient(ellipse 100% 50% at 10% 80%, rgba(200,146,42,0.07) 0%, transparent 50%);
  animation: heroShift2 24s ease-in-out infinite alternate;
}
.hero-layer-3 {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.35) 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.18; }
.hero-orb-1 { width: 600px; height: 600px; top: -150px; left: -100px; background: var(--navy-light); animation: orbFloat1 20s ease-in-out infinite alternate; }
.hero-orb-2 { width: 400px; height: 400px; bottom: -100px; right: 5%; background: var(--gold); opacity: 0.1; animation: orbFloat2 26s ease-in-out infinite alternate; }
.hero-orb-3 { width: 300px; height: 300px; top: 30%; right: 20%; background: rgba(200,146,42,0.4); opacity: 0.08; animation: orbFloat3 16s ease-in-out infinite alternate; }
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
}
@keyframes heroShift1 { 0% { opacity: 0.7; transform: scale(1) translate(0,0); } 100% { opacity: 1; transform: scale(1.05) translate(2%,1%); } }
@keyframes heroShift2 { 0% { opacity: 0.5; transform: scale(1.05) translate(0,0); } 100% { opacity: 0.8; transform: scale(1) translate(-2%,-1%); } }
@keyframes orbFloat1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(40px,30px) scale(1.1); } }
@keyframes orbFloat2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-30px,-20px) scale(0.9); } }
@keyframes orbFloat3 { 0% { transform: translate(0,0); } 100% { transform: translate(20px,15px); } }

.hero-video { min-height: 100vh; display: flex; align-items: center; padding: 7rem 0 4rem; }
.hero-animated-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-particle { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); background: var(--gold); border-radius: 50%; animation: float var(--d) ease-in-out infinite alternate; animation-delay: var(--delay, 0s); opacity: 0.5; }
@keyframes float { 0% { transform: translateY(0) scale(1); opacity: 0.3; } 100% { transform: translateY(-40px) scale(1.8); opacity: 0.7; } }
.hero-inner { min-height: 380px; display: flex; align-items: center; background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); padding: 5rem 0 3rem; }
.hero-inner-bg { position: absolute; inset: 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(200,146,42,0.15); border: 1px solid rgba(200,146,42,0.4); color: var(--gold-light); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; backdrop-filter: blur(8px); }
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 700; color: var(--white); margin-bottom: 1.35rem; line-height: 1.12; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.2rem); color: rgba(255,255,255,0.85); margin-bottom: 2.25rem; max-width: 640px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-cta-primary { box-shadow: 0 4px 24px rgba(200,146,42,0.45); }
.hero-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,146,42,0.55); }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: rgba(255,255,255,0.82); }
.trust-item .fa { color: var(--gold); font-size: 0.9rem; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb-list { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.breadcrumb-list li::after { content: '›'; opacity: 0.6; }
.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list a { color: rgba(255,255,255,0.7); }
.breadcrumb-list a:hover { color: var(--gold-light); }

/* ============ SECTIONS ============ */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-label { display: inline-block; background: rgba(200,146,42,0.12); color: var(--gold-dark); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 50px; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; }
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .section-title { color: var(--white); }
.bg-navy .section-subtitle { color: rgba(255,255,255,0.8); }

/* ============ CARDS ============ */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-tag { font-size: 0.75rem; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.card-title { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--navy); line-height: 1.4; }
.card-excerpt { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.card-meta { font-size: 0.8rem; color: var(--text-light); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.card-link { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.75rem; }
.card-link:hover { color: var(--navy); gap: 0.5rem; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (min-width:640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width:768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ============ HOME PAGE ============ */
/* Stats */
.stats-section { background: var(--navy); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width:768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--gold); font-family: var(--font-serif); }
.stat-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 0.25rem; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width:640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--mid-grey); transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; border-radius: var(--radius); background: rgba(200,146,42,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; color: var(--gold-dark); }
.service-title { font-size: 1.1rem; margin-bottom: 0.75rem; }
.service-desc { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.25rem; }
.service-link { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.service-link:hover { color: var(--navy); gap: 0.5rem; }

/* Process Section */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; counter-reset: process; }
@media (min-width:768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-item { text-align: center; padding: 2rem 1rem; position: relative; }
.process-item::after { content: ''; position: absolute; top: 3rem; right: 0; width: 50%; height: 2px; background: var(--mid-grey); }
.process-item:last-child::after { display: none; }
.process-number { width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-family: var(--font-serif); }
.process-title { font-size: 1rem; margin-bottom: 0.5rem; }
.process-desc { color: var(--text-light); font-size: 0.875rem; }

/* Testimonials */
.testimonials-section { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width:768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.testimonial-stars { color: #f4a900; margin-bottom: 1rem; font-size: 1rem; }
.testimonial-text { font-style: italic; color: var(--text-mid); margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-author { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }

/* Why Choose Us */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width:640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-item { text-align: center; padding: 1.5rem; }
.feature-icon { width: 70px; height: 70px; border-radius: 50%; background: rgba(26,60,94,0.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.75rem; color: var(--navy); }
.feature-title { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-desc { color: var(--text-light); font-size: 0.875rem; }

/* ============ CONTACT FORM SECTION ============ */
.contact-form-section { background: var(--off-white); padding: 5rem 0; }
.contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width:768px) { .contact-form-grid { grid-template-columns: 1fr 1.5fr; } }
.contact-form-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-form-info p { color: var(--text-light); margin-bottom: 1.5rem; }
.contact-benefits { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.contact-benefits li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.contact-benefits .fa { color: var(--success); }
.contact-phone-box { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.contact-phone-box p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 0.5rem; }
.contact-phone-link { color: var(--gold); font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.contact-phone-link:hover { color: var(--gold-light); }
.contact-form-embed { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); min-height: 400px; }

/* ============ CONTENT PAGES ============ */
.content-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 5rem 0; }
@media (min-width:1024px) { .content-layout { grid-template-columns: 1fr 360px; } }
.content-body h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; padding-top: 0.5rem; border-top: 2px solid var(--mid-grey); }
.content-body h2:first-child { border-top: none; margin-top: 0; }
.content-body h3 { font-size: 1.25rem; margin: 1.75rem 0 0.75rem; color: var(--navy); }
.content-body h4 { font-size: 1rem; margin: 1.25rem 0 0.5rem; color: var(--navy); }
.content-body p { margin-bottom: 1.25rem; color: var(--text-mid); line-height: 1.8; }
.content-body ul, .content-body ol { margin: 0 0 1.25rem 1.5rem; list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body li { margin-bottom: 0.5rem; color: var(--text-mid); line-height: 1.7; }
.content-body a { color: var(--gold-dark); text-decoration: underline; }
.content-body a:hover { color: var(--navy); }
.content-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9rem; }
.content-body th { background: var(--navy); color: white; padding: 0.75rem 1rem; text-align: left; font-weight: 600; }
.content-body td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--mid-grey); }
.content-body tr:nth-child(even) td { background: var(--off-white); }
.content-body .highlight-box { background: rgba(200,146,42,0.08); border-left: 4px solid var(--gold); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.content-body .warning-box { background: rgba(192,57,43,0.06); border-left: 4px solid var(--error); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.content-body .info-box { background: rgba(26,60,94,0.05); border-left: 4px solid var(--navy); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }

/* Sidebar */
.content-sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; border: 1px solid var(--mid-grey); }
.sidebar-widget h3 { font-size: 1.1rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--gold); }
.sidebar-nav li { border-bottom: 1px solid var(--light-grey); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a { display: block; padding: 0.6rem 0; color: var(--text-mid); font-size: 0.9rem; }
.sidebar-nav a:hover { color: var(--gold-dark); padding-left: 0.5rem; }
.sidebar-cta { background: var(--navy); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; color: white; }
.sidebar-cta h3 { color: white; font-size: 1.1rem; margin-bottom: 0.75rem; border: none; padding: 0; }
.sidebar-cta p { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin-bottom: 1.25rem; }
.sidebar-cta .btn-primary { width: 100%; justify-content: center; }
.sidebar-phone { display: flex; align-items: center; gap: 0.75rem; background: var(--off-white); border-radius: var(--radius); padding: 1rem; margin-top: 1rem; }
.sidebar-phone .fa { color: var(--gold); font-size: 1.25rem; }
.sidebar-phone a { font-weight: 700; color: var(--navy); font-size: 1rem; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--mid-grey); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 1.25rem 0; font-size: 1rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-sans); }
.faq-question .fa { color: var(--gold); transition: var(--transition); font-size: 0.875rem; flex-shrink: 0; }
.faq-question[aria-expanded="true"] .fa { transform: rotate(180deg); }
.faq-answer { padding: 0 0 1.25rem; color: var(--text-mid); line-height: 1.7; font-size: 0.95rem; display: none; }
.faq-answer.open { display: block; }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width:640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-img-placeholder { width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-category { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dark); background: rgba(200,146,42,0.1); padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 0.75rem; }
.blog-card-title { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.45; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--gold-dark); }
.blog-card-excerpt { color: var(--text-light); font-size: 0.875rem; margin-bottom: 1rem; flex: 1; line-height: 1.6; }
.blog-card-meta { font-size: 0.78rem; color: var(--text-light); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--light-grey); padding-top: 0.75rem; margin-top: auto; }
.blog-read-more { color: var(--gold-dark); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.blog-read-more:hover { color: var(--navy); }

/* Blog Article */
.blog-article { max-width: 780px; }
.blog-article img { border-radius: var(--radius); margin: 2rem 0; width: 100%; }
.blog-article h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; color: var(--navy); }
.blog-article h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--navy); }
.blog-article p { margin-bottom: 1.25rem; color: var(--text-mid); line-height: 1.9; font-size: 1.02rem; }
.blog-article ul, .blog-article ol { margin: 0 0 1.5rem 1.5rem; }
.blog-article ul { list-style: disc; }
.blog-article ol { list-style: decimal; }
.blog-article li { margin-bottom: 0.6rem; color: var(--text-mid); line-height: 1.7; }
.blog-article a { color: var(--gold-dark); text-decoration: underline; }
.blog-article blockquote { border-left: 4px solid var(--gold); margin: 2rem 0; padding: 1rem 1.5rem; background: var(--off-white); font-style: italic; }
.blog-article .highlight-box { background: rgba(200,146,42,0.08); border-left: 4px solid var(--gold); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.article-header { margin-bottom: 2.5rem; border-bottom: 2px solid var(--mid-grey); padding-bottom: 2rem; }
.article-category { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dark); background: rgba(200,146,42,0.1); padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 1rem; }
.article-title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.article-meta { color: var(--text-light); font-size: 0.875rem; display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.article-meta span { display: flex; align-items: center; gap: 0.35rem; }
.article-featured-img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 2.5rem; max-height: 480px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0; }
@media (min-width:1024px) { .article-layout { grid-template-columns: 1fr 320px; } }
.related-posts { border-top: 2px solid var(--mid-grey); padding-top: 2.5rem; margin-top: 3rem; }
.related-posts h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.related-posts-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width:640px) { .related-posts-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-dark); color: var(--white); }
.footer-main { padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width:640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .footer-grid { grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; } }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-icon { font-size: 1.5rem; }
.footer-tagline { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin-bottom: 1.5rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-social a:hover { background: var(--gold); color: white; }
.footer-accreditations { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.accreditation-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.75); font-size: 0.72rem; padding: 0.25rem 0.6rem; border-radius: 4px; font-weight: 500; }
.footer-heading { color: var(--gold-light); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.25rem; font-family: var(--font-sans); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.875rem; }
.footer-links a:hover { color: var(--gold-light); padding-left: 0.25rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-contact-list .fa { color: var(--gold); margin-top: 0.25rem; }
.footer-contact-list a { color: rgba(255,255,255,0.7); }
.footer-contact-list a:hover { color: var(--gold-light); }
.footer-quote-box { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 1.25rem; border: 1px solid rgba(255,255,255,0.1); }
.footer-quote-box p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-bottom { background: rgba(0,0,0,0.3); padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center; }
@media (min-width:768px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-legal { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ============ ABOUT PAGE ============ */
.about-intro { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width:768px) { .about-intro { grid-template-columns: 1fr 1fr; } }
.about-img { border-radius: var(--radius-lg); width: 100%; height: 400px; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width:640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1rem; background: var(--mid-grey); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; overflow: hidden; }
.team-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; color: var(--text-light); }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width:640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-item { padding: 2rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-desc { color: var(--text-light); font-size: 0.9rem; }

/* ============ CONTACT PAGE ============ */
.contact-page-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width:1024px) { .contact-page-grid { grid-template-columns: 1fr 1.5fr; } }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-icon { width: 48px; height: 48px; background: rgba(200,146,42,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gold-dark); font-size: 1.1rem; flex-shrink: 0; }
.contact-info-title { font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.contact-info-value { color: var(--text-light); font-size: 0.9rem; }

/* ============ QUOTE/GET STARTED PAGE ============ */
.quote-page-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 5rem 0; }
@media (min-width:1024px) { .quote-page-layout { grid-template-columns: 1fr 1.5fr; } }
.quote-info-card { background: var(--off-white); border-radius: var(--radius-lg); padding: 2rem; }

/* ============ AFFILIATE PAGE ============ */
.affiliate-benefits { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (min-width:640px) { .affiliate-benefits { grid-template-columns: repeat(3, 1fr); } }
.affiliate-benefit { text-align: center; padding: 2rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.affiliate-benefit-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.affiliate-benefit h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.affiliate-benefit p { color: var(--text-light); font-size: 0.875rem; }

/* ============ MISC COMPONENTS ============ */
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: white; padding: 4rem 0; text-align: center; }
.cta-banner h2 { color: white; font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 580px; margin: 0 auto 2rem; }
.cta-banner .btn-primary { background: var(--gold); color: white; }
.cta-banner .btn-outline { border-color: white; color: white; margin-left: 1rem; }
.cta-banner .btn-outline:hover { background: white; color: var(--navy); }

.trust-bar { background: var(--off-white); padding: 1.5rem 0; border-top: 1px solid var(--mid-grey); border-bottom: 1px solid var(--mid-grey); }
.trust-bar-inner { display: flex; gap: 2rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-bar-item { display: flex; align-items: center; gap: 0.5rem; color: var(--text-mid); font-size: 0.875rem; font-weight: 500; }
.trust-bar-item .fa { color: var(--gold); }

/* Tags */
.tag-list { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.tag { background: var(--off-white); border: 1px solid var(--mid-grey); color: var(--text-mid); font-size: 0.78rem; padding: 0.25rem 0.75rem; border-radius: 50px; }

/* Table of contents */
.toc { background: var(--off-white); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2.5rem; border: 1px solid var(--mid-grey); }
.toc h4 { font-size: 0.95rem; margin-bottom: 1rem; }
.toc ol { margin: 0; padding-left: 1.25rem; list-style: decimal; }
.toc li { margin-bottom: 0.35rem; font-size: 0.875rem; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { color: var(--gold-dark); }

/* Stamp Duty Calculator */
.calculator { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--mid-grey); margin: 2rem 0; }
.calculator h3 { margin-bottom: 1.5rem; font-size: 1.2rem; }
.calc-input-group { margin-bottom: 1rem; }
.calc-input-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.875rem; color: var(--navy); }
.calc-input { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--mid-grey); border-radius: var(--radius); font-size: 1rem; font-family: var(--font-sans); }
.calc-input:focus { outline: none; border-color: var(--gold); }
.calc-select { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--mid-grey); border-radius: var(--radius); font-size: 1rem; background: white; font-family: var(--font-sans); }
.calc-result { background: var(--navy); color: white; border-radius: var(--radius); padding: 1.25rem; margin-top: 1.25rem; }
.calc-result .result-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 0.35rem; }
.calc-result .result-value { font-size: 2rem; font-weight: 700; color: var(--gold); font-family: var(--font-serif); }
.calc-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.5rem; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--mid-grey); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.35rem; top: 0.25rem; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid white; box-shadow: 0 0 0 2px var(--gold); }
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.timeline-desc { color: var(--text-light); font-size: 0.9rem; }

/* Price table */
.price-table { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 2rem 0; }
.price-table-header { background: var(--navy); color: white; padding: 1.5rem; text-align: center; }
.price-table-header h3 { color: white; font-size: 1.25rem; margin-bottom: 0.25rem; }
.price-range { font-size: 2rem; font-weight: 700; color: var(--gold); margin: 0.5rem 0; font-family: var(--font-serif); }
.price-note { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.price-table-body { padding: 1.5rem; }
.price-includes { display: flex; flex-direction: column; gap: 0.6rem; }
.price-includes li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--text-mid); }
.price-includes .fa { color: var(--success); font-size: 0.8rem; }

/* Notification bar */
.notif-bar { background: var(--gold); padding: 0.6rem 0; text-align: center; }
.notif-bar p { color: var(--white); font-size: 0.85rem; font-weight: 500; }
.notif-bar a { color: var(--white); text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width:767px) {
  .header-contact-bar .header-email { display: none; }
  .header-social { display: none; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 85%; max-width: 320px; background: var(--white); box-shadow: var(--shadow-lg); padding: 5rem 1.5rem 2rem; overflow-y: auto; z-index: 999; transition: transform 0.3s ease; transform: translateX(100%); align-items: flex-start; gap: 0; }
  .nav-menu.is-open { display: flex; transform: translateX(0); }
  .nav-toggle { display: block; z-index: 1000; position: relative; }
  .nav-link { width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--light-grey); font-size: 1rem; }
  .nav-has-dropdown .nav-dropdown { display: none; position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; background: var(--off-white); border-radius: var(--radius); margin: 0.5rem 0; padding: 0.5rem 0; }
  .nav-has-dropdown .nav-dropdown.mobile-open { display: block; }
  .nav-cta { margin-left: 0; margin-top: 1rem; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; }
  .mobile-overlay.is-visible { display: block; }
  section { padding: 3.5rem 0; }
  .hero-video { min-height: 85vh; }
  .process-item::after { display: none; }
  .content-sidebar { position: static; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

@media (max-width:479px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.75rem; }
}

/* Performance: will-change for animated elements */
.hero-particle { will-change: transform, opacity; }
.card, .service-card, .blog-card { will-change: transform, box-shadow; }

/* Print styles */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .sidebar-cta { display: none !important; }
  body { font-size: 12pt; }
  a { text-decoration: underline; color: black; }
  .content-layout { grid-template-columns: 1fr; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-particle { display: none; }
}

/* High contrast */
@media (prefers-contrast: high) {
  :root { --gold: #8a5d00; --navy: #001a35; }
}

/* Blog pagination */
.blog-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.blog-pagination a, .blog-pagination span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; }
.blog-pagination a { color: var(--navy); border: 2px solid var(--mid-grey); }
.blog-pagination a:hover { border-color: var(--gold); color: var(--gold-dark); }
.blog-pagination .current { background: var(--navy); color: white; border: 2px solid var(--navy); }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy-dark); color: white; padding: 1rem; z-index: 9000; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; transform: translateY(100%); transition: transform 0.3s ease; }
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.85rem; color: rgba(255,255,255,0.85); flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--gold-light); }
.cookie-btns { display: flex; gap: 0.75rem; }
.cookie-accept { background: var(--gold); color: white; border: none; padding: 0.5rem 1.25rem; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 0.875rem; }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); padding: 0.5rem 1.25rem; border-radius: 4px; cursor: pointer; font-size: 0.875rem; }

/* Search bar */
.blog-search { background: var(--off-white); padding: 2rem 0; border-bottom: 1px solid var(--mid-grey); }
.blog-search-inner { display: flex; gap: 1rem; max-width: 600px; margin: 0 auto; }
.blog-search-input { flex: 1; padding: 0.75rem 1.25rem; border: 2px solid var(--mid-grey); border-radius: var(--radius); font-size: 1rem; }
.blog-search-input:focus { outline: none; border-color: var(--gold); }
.blog-search-btn { padding: 0.75rem 1.5rem; background: var(--navy); color: white; border: none; border-radius: var(--radius); cursor: pointer; font-weight: 600; }
.blog-search-btn:hover { background: var(--navy-light); }
.blog-filters { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; }
.filter-btn { padding: 0.4rem 1.1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; cursor: pointer; border: 2px solid var(--mid-grey); background: white; color: var(--text-mid); transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { border-color: var(--navy); background: var(--navy); color: white; }

/* ============ BLOG FILTER BAR ============ */
.blog-filter-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.blog-card-img-link { display: block; overflow: hidden; }
.blog-card-img-link img { transition: transform 0.35s ease; }
.blog-card:hover .blog-card-img-link img { transform: scale(1.04); }

/* ============ ARTICLE PAGE ============ */
.article-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.article-tag { background: rgba(200,146,42,0.1); border: 1px solid rgba(200,146,42,0.3); color: var(--gold-dark); font-size: 0.78rem; padding: 0.25rem 0.75rem; border-radius: 50px; font-weight: 500; }
.article-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--mid-grey); }
.article-share { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--text-light); }
.share-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--off-white); color: var(--navy); font-size: 0.95rem; transition: var(--transition); }
.share-link:hover { background: var(--navy); color: white; }

/* ============ RELATED POSTS ============ */
.related-posts { background: var(--off-white); padding: 4rem 0; }

/* ============ SR-ONLY ============ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ============ SKIP LINK (body) ============ */
body > .skip-link { display: block; }

/* ============ HERO PATTERN SVG FALLBACK (inner pages) ============ */
/* (cinematic bg is pure CSS — no video file required) */

/* ============ FOCUS VISIBLE ============ */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* ============ IMAGE LAZY LOADED ============ */
img.loaded { opacity: 1; }
img[data-src] { opacity: 0; transition: opacity 0.3s; }

/* ============ MOBILE NAV CLOSE BUTTON ============ */
.nav-close { display: none; position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; color: var(--navy); cursor: pointer; padding: 0.5rem; }
@media (max-width:767px) { .nav-close { display: block; } }

/* ============ ANCHOR OFFSET FOR STICKY HEADER ============ */
[id] { scroll-margin-top: 90px; }

/* ============ CONTENT AREA LIST STYLES ============ */
.content-body .check-list { list-style: none; margin-left: 0; }
.content-body .check-list li { padding-left: 1.75rem; position: relative; }
.content-body .check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ============ HERO PATTERN SVG FALLBACK ============ */
.hero-inner-bg { background: none; }

/* ============ PAGE TRANSITIONS ============ */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .blog-card, .feature-item, .testimonial-card { animation: fadeInUp 0.4s ease backwards; }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ============ SECURITY: X-Frame-Options via CSP (visual placeholder) ============ */

/* ============ PRINT MEDIA QUERIES ============ */
@media print {
  .cookie-banner, .notif-bar, .nav-toggle, .hero-trust, .cta-banner { display: none !important; }
}

/* ============ WIDE SCREENS ============ */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

/* ============ TABLE RESPONSIVE WRAPPER ============ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 480px; }

/* ============ LEGAL PAGE SPECIFIC ============ */
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.legal-content p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1.25rem; }
.legal-content ul { margin: 0 0 1.25rem 1.5rem; list-style: disc; }
.legal-content li { color: var(--text-mid); margin-bottom: 0.4rem; }

/* ============ SURVEYOR / AFFILIATE PAGE ============ */
.panel-benefits-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width:640px) { .panel-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .panel-benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.panel-benefit-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--mid-grey); }
.panel-benefit-card .benefit-icon { width: 56px; height: 56px; border-radius: var(--radius); background: rgba(200,146,42,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; color: var(--gold-dark); }
.panel-benefit-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.panel-benefit-card p { color: var(--text-light); font-size: 0.875rem; }

/* ============ HUBSPOT FORM CONTAINER ============ */
.hs-form-embed { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.hs-form-embed h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
