/* ==========================================================================
   Inner pages — dark theme (navy / gold / teal)
   Shared stylesheet for all service and legaltech inner pages.
   Loaded after css/main.css so it overrides the home (light) theme.
   ========================================================================== */

:root {
  --navy:        #0d1117;
  --navy-mid:    #131a23;
  --navy-light:  #1c2634;
  --navy-border: #253044;
  --gold:        #c8a96e;
  --gold-light:  #e2c98b;
  --gold-dim:    rgba(200,169,110,.15);
  --teal:        #3ecfb2;
  --teal-dim:    rgba(62,207,178,.12);
  --white:       #f4f0ea;
  --gray:        #8a96a8;
  --text:        #cdd4de;
  --copper:      #c98b62;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --radius:      6px;
  --max:         1160px;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

body { background: var(--navy); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
main { padding-top: 110px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.nav { background: rgba(13,17,23,.92); border-bottom-color: var(--navy-border); }
.nav::after { display: none; }
.nav-link { color: var(--gray); }
.nav-link:hover { color: var(--white); }

.breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--navy-border); }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; list-style: none; font-size: 13px; color: var(--gray); }
.breadcrumb a { color: var(--gray); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 8px; }
.breadcrumb li:last-child { color: var(--gold); }

.hero { position: relative; overflow: hidden; padding: 88px 0 80px; border-bottom: 1px solid var(--navy-border); background: var(--navy); display: block; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(200,169,110,.08) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 10% 80%, rgba(62,207,178,.05) 0%, transparent 60%); pointer-events: none; }
.hero::after { content: 'LEX'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: clamp(120px,16vw,220px); font-weight: 700; color: rgba(200,169,110,.04); pointer-events: none; white-space: nowrap; line-height: 1; }
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-dim); border: 1px solid rgba(200,169,110,.25); color: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 40px; margin-bottom: 24px; }
.hero-badge svg { width: 13px; height: 13px; }
h1 { font-family: var(--serif); font-size: clamp(38px,5.5vw,62px); font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px; }
h1 em { font-style: italic; color: var(--gold); }
.hero-desc { font-size: 17px; color: var(--text); max-width: 560px; line-height: 1.7; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 14px 28px; border-radius: var(--radius); transition: background var(--transition), transform var(--transition); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 14px 24px; border: 1px solid var(--navy-border); border-radius: var(--radius); transition: border-color var(--transition), color var(--transition); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats { display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }
.stat-card { background: var(--navy-light); border: 1px solid var(--navy-border); border-radius: 10px; padding: 22px 28px; text-align: center; min-width: 160px; }
.stat-card .stat-num { font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.stat-card .stat-label { font-size: 12px; color: var(--gray); letter-spacing: .04em; text-transform: uppercase; }

.intro-alert { background: var(--navy-light); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 28px; margin: 56px 0; display: flex; align-items: flex-start; gap: 16px; }
.intro-alert svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.intro-alert p { font-size: 15px; color: var(--text); line-height: 1.65; }
.intro-alert strong { color: var(--white); }

section { padding: 80px 0; background: var(--navy); }
section + section { border-top: 1px solid var(--navy-border); }
section.section-light { background: #f5f2ed; border-top-color: rgba(26,32,48,.10); }
section.section-light h2 { color: #1a2030; }
section.section-light h2 em { color: var(--copper); }
section.section-light .section-label { color: var(--copper); }
section.section-light .section-intro { color: rgba(26,32,48,.60); }
section.section-light .service-card { background: #fff; border-color: rgba(26,32,48,.10); }
section.section-light .service-card:hover { border-color: var(--copper); }
section.section-light .service-card::before { background: linear-gradient(90deg, var(--copper), transparent); }
section.section-light .service-card h3 { color: #1a2030; }
section.section-light .service-card p { color: rgba(26,32,48,.60); }
section.section-light .service-card ul li { color: rgba(26,32,48,.75); }
section.section-light .service-card ul li::before { color: var(--copper); }
section.section-light .service-icon { background: rgba(201,139,98,.12); color: var(--copper); }
section.section-light .process-step { border-right-color: rgba(26,32,48,.10); border-top-color: rgba(26,32,48,.10); }
section.section-light .step-num { color: rgba(26,32,48,.15); }
section.section-light .process-step:hover .step-num { color: var(--copper); }
section.section-light .process-step h3 { color: #1a2030; }
section.section-light .process-step p { color: rgba(26,32,48,.60); }
section.section-light .why-item-text h3 { color: #1a2030; }
section.section-light .why-item-text p { color: rgba(26,32,48,.60); }
section.section-light .why-bullet { background: rgba(201,139,98,.12); color: var(--copper); }
section.section-light .why-cta-box { background: #fff; border-color: rgba(26,32,48,.10); }
section.section-light .why-cta-box blockquote { color: #1a2030; }
section.section-light .why-cta-box cite { color: rgba(26,32,48,.55); }
section.section-light .faq-item { border-bottom-color: rgba(26,32,48,.10); }
section.section-light .faq-item:first-child { border-top-color: rgba(26,32,48,.10); }
section.section-light .faq-question { color: #1a2030; }
section.section-light .faq-question:hover { color: var(--copper); }
section.section-light .faq-item.open .faq-question { color: var(--copper); }
section.section-light .faq-icon { border-color: rgba(26,32,48,.20); color: rgba(26,32,48,.40); }
section.section-light .faq-item.open .faq-icon { border-color: var(--copper); color: var(--copper); }
section.section-light .faq-answer-inner { color: rgba(26,32,48,.60); }
section.section-light .related-card { background: #fff; border-color: rgba(26,32,48,.10); }
section.section-light .related-card:hover { border-color: var(--copper); }
section.section-light .related-card h3 { color: #1a2030; }
section.section-light .related-card p { color: rgba(26,32,48,.60); }
section.section-light .related-tag { color: var(--copper); }
section.section-light .related-link { color: var(--copper); }

.section-label { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
h2 { font-family: var(--serif); font-size: clamp(28px,4vw,44px); font-weight: 700; color: var(--white); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 16px; }
h2 em { font-style: italic; color: var(--gold); }
.section-intro { font-size: 16px; color: var(--gray); max-width: 600px; line-height: 1.7; margin-bottom: 52px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.service-card { background: var(--navy-mid); border: 1px solid var(--navy-border); border-radius: 10px; padding: 30px; transition: border-color var(--transition), transform var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); opacity: 0; transition: opacity var(--transition); }
.service-card:hover { border-color: rgba(200,169,110,.4); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 46px; height: 46px; background: var(--gold-dim); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--gold); }
.service-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }
.service-card ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.service-card ul li { font-size: 13.5px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; }
.service-card ul li::before { content: '›'; color: var(--gold); font-size: 16px; line-height: 1.3; flex-shrink: 0; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--navy-border); border-radius: 12px; overflow: hidden; }
.process-step { padding: 32px 28px; border-right: 1px solid var(--navy-border); }
.process-step:last-child { border-right: none; }
.process-step:nth-child(n+4) { border-top: 1px solid var(--navy-border); }
.step-num { font-family: var(--serif); font-size: 48px; font-weight: 700; color: var(--navy-border); line-height: 1; margin-bottom: 12px; transition: color var(--transition); }
.process-step:hover .step-num { color: var(--gold); }
.process-step h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-bullet { width: 36px; height: 36px; background: var(--gold-dim); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; font-family: var(--serif); font-weight: 700; font-size: 14px; }
.why-item-text h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.why-item-text p { font-size: 14px; color: var(--gray); line-height: 1.65; }
.why-cta-box { background: var(--navy-light); border: 1px solid var(--navy-border); border-radius: 12px; padding: 44px; text-align: center; }
.why-cta-box .big-quote { font-family: var(--serif); font-size: 72px; font-weight: 700; color: var(--gold-dim); line-height: .8; margin-bottom: 16px; }
.why-cta-box blockquote { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--white); line-height: 1.4; margin-bottom: 28px; }
.why-cta-box cite { font-size: 13px; color: var(--gray); font-style: normal; display: block; margin-bottom: 32px; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--navy-border); }
.faq-item:first-child { border-top: 1px solid var(--navy-border); }
.faq-question { width: 100%; background: none; border: none; color: var(--white); font-family: var(--serif); font-size: 19px; font-weight: 600; text-align: left; padding: 24px 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color var(--transition); }
.faq-question:hover { color: var(--gold); }
.faq-question .faq-icon { width: 28px; height: 28px; border: 1px solid var(--navy-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gray); font-size: 18px; transition: all var(--transition); }
.faq-item.open .faq-question { color: var(--gold); }
.faq-item.open .faq-icon { border-color: var(--gold); color: var(--gold); transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-answer-inner { padding-bottom: 24px; font-size: 15px; color: var(--gray); line-height: 1.7; max-width: 720px; }

.cta-banner { background: var(--navy-mid); border: 1px solid var(--navy-border); border-radius: 12px; padding: 60px 56px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; overflow: hidden; margin: 80px 0; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 100% 50%, var(--gold-dim) 0%, transparent 70%); pointer-events: none; }
.cta-banner h2 { font-size: clamp(24px,3.5vw,38px); margin-bottom: 12px; }
.cta-banner p { font-size: 15px; color: var(--gray); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; flex-shrink: 0; }
.cta-note { font-size: 11.5px; color: var(--gray); text-align: center; }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.related-card { background: var(--navy-mid); border: 1px solid var(--navy-border); border-radius: 10px; padding: 28px; text-decoration: none; transition: border-color var(--transition), transform var(--transition); display: block; }
.related-card:hover { border-color: rgba(200,169,110,.4); transform: translateY(-2px); }
.related-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.related-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.related-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.related-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 13px; color: var(--gold); font-weight: 500; }

.footer { background: var(--navy-mid); border-top: 1px solid var(--navy-border); }
.footer-logo { color: var(--gold); }
.footer-col h4 { color: var(--gold); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--navy-border); }
  .process-step:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-stats { flex-wrap: wrap; }
  .cta-banner { padding: 40px 28px; }
  h1 { font-size: 36px; }
  .process-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
