
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  --navy:#0f172a; --midnight:#111827; --royal:#1d4ed8; --teal:#0f766e; --gold:#d4af37; --amber:#f59e0b;
  --cream:#fff8ed; --ivory:#fffaf2; --white:#ffffff; --slate:#475569; --border:rgba(15,23,42,0.12);
  --soft-blue:#eaf2ff; --soft-gold:#fff4d6; --soft-teal:#e8fffb; --shadow:0 18px 45px rgba(15,23,42,0.12);
  --small-shadow:0 10px 28px rgba(15,23,42,0.08);
}
*{margin:0;padding:0;box-sizing:border-box} html{scroll-behavior:smooth}
body{font-family:Arial,Helvetica,sans-serif;background:radial-gradient(circle at top left,rgba(212,175,55,.13),transparent 32%),radial-gradient(circle at top right,rgba(29,78,216,.12),transparent 34%),var(--ivory);color:var(--navy);line-height:1.75;font-size:16px}
h1,h2,h3,h4{font-family:Georgia,"Times New Roman",serif;font-weight:600;line-height:1.18;color:var(--navy)} p{color:var(--slate);margin-bottom:14px} a{color:inherit}
header{background:rgba(255,250,242,.94);border-bottom:1px solid rgba(15,23,42,.08);padding:15px 7%;position:sticky;top:0;z-index:1000;backdrop-filter:blur(14px);box-shadow:0 8px 30px rgba(15,23,42,.05)}
.header-inner{display:flex;justify-content:space-between;align-items:center;gap:28px}.brand a{text-decoration:none;display:flex;align-items:center;gap:14px}.brand-mark{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(15,23,42,.18))}.brand h2{font-size:25px;letter-spacing:.5px}.brand span{display:block;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--teal);font-weight:800}
nav a{text-decoration:none;color:var(--navy);margin-left:16px;font-size:14px;font-weight:700}nav a:hover,.active-link{color:var(--royal)}.nav-btn{border:none;padding:10px 16px;border-radius:999px;background:linear-gradient(135deg,var(--gold),var(--amber));color:var(--navy);box-shadow:0 10px 22px rgba(212,175,55,.25)}
section{padding:78px 7%;border-bottom:1px solid rgba(15,23,42,.08);position:relative}.hero{padding:90px 7% 84px;display:grid;grid-template-columns:1.17fr .83fr;gap:55px;align-items:center;overflow:hidden;background:linear-gradient(135deg,rgba(15,23,42,.97),rgba(29,78,216,.88)),radial-gradient(circle at 80% 10%,rgba(212,175,55,.32),transparent 36%)}
.hero:after{content:"";position:absolute;right:-80px;bottom:-90px;width:360px;height:360px;border-radius:50%;background:rgba(212,175,55,.16);border:1px solid rgba(255,255,255,.18)}.hero:before{content:"";position:absolute;right:5.5%;top:48px;width:260px;height:260px;background:url("../images/fortunewise-emblem.png") center/contain no-repeat;opacity:.13;filter:drop-shadow(0 10px 40px rgba(212,175,55,.35))}
.hero-logo-lockup{display:flex;align-items:center;gap:18px;margin-bottom:22px}.hero-logo-lockup img{width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 16px 26px rgba(0,0,0,.25))}
.page-hero{padding:86px 7%;border-bottom:1px solid rgba(15,23,42,.08);background:linear-gradient(135deg,rgba(15,23,42,.97),rgba(15,118,110,.88)),radial-gradient(circle at 85% 20%,rgba(212,175,55,.25),transparent 40%);overflow:hidden}.page-hero:after{content:"";position:absolute;right:7%;top:45px;width:150px;height:150px;background:url("../images/fortunewise-emblem.png") center/contain no-repeat;opacity:.18}.page-hero h1{font-size:52px;max-width:980px;margin-bottom:22px;color:var(--white)}.page-hero p{max-width:980px;font-size:19px;color:#dbeafe}
.eyebrow{color:var(--gold);text-transform:uppercase;letter-spacing:2.5px;font-size:13px;margin-bottom:18px;font-weight:900}.hero h1{font-size:58px;max-width:940px;margin-bottom:24px;color:var(--white)}.hero p{font-size:19px;max-width:850px;margin-bottom:24px;color:#dbeafe}
.btn{display:inline-block;text-decoration:none;padding:13px 22px;margin:7px 10px 7px 0;border-radius:999px;font-size:14px;font-weight:800;letter-spacing:.3px;transition:transform .2s ease,box-shadow .2s ease;border:0;cursor:pointer}.btn:hover{transform:translateY(-2px)}.btn.primary{background:linear-gradient(135deg,var(--gold),var(--amber));color:var(--navy);box-shadow:0 14px 28px rgba(245,158,11,.28)}.btn.secondary{border:1px solid rgba(15,23,42,.22);color:var(--navy);background:rgba(255,255,255,.72)}.hero .btn.secondary,.dark .btn.secondary,.page-hero .btn.secondary{border:1px solid rgba(255,255,255,.42);color:var(--white);background:rgba(255,255,255,.08)}
.hero-box{background:rgba(255,255,255,.12);color:var(--white);padding:36px;border-radius:26px;border:1px solid rgba(255,255,255,.22);box-shadow:0 24px 80px rgba(0,0,0,.22);backdrop-filter:blur(12px);position:relative;z-index:2}.hero-box .emblem-panel{width:112px;height:112px;object-fit:contain;margin-bottom:16px;filter:drop-shadow(0 18px 28px rgba(0,0,0,.25))}.hero-box h3{color:var(--white);font-size:28px;margin-bottom:15px}.hero-box p{color:#e0f2fe;font-size:15.5px}.hero-box ul{list-style:none;margin-top:18px}.hero-box li{color:#f8fafc;border-top:1px solid rgba(255,255,255,.18);padding:11px 0 11px 34px;font-size:14.5px;position:relative}.hero-box li:before{content:"◆";position:absolute;left:4px;color:var(--gold);font-size:12px}
.section-heading{max-width:940px;margin-bottom:40px}.section-heading h2{font-size:40px;margin-bottom:14px}.section-heading p{font-size:18px}.text-block{max-width:1120px;background:rgba(255,255,255,.72);border:1px solid rgba(15,23,42,.1);padding:34px;border-radius:24px;box-shadow:var(--small-shadow)}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.card{background:rgba(255,255,255,.88);padding:28px;border:1px solid rgba(15,23,42,.1);min-height:235px;border-radius:24px;box-shadow:var(--small-shadow);position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease}.card:before{content:"";position:absolute;right:18px;top:18px;width:50px;height:50px;background:url("../images/fortunewise-emblem.png") center/contain no-repeat;opacity:.18}.card:nth-child(3n+1){background:linear-gradient(180deg,var(--white),var(--soft-blue))}.card:nth-child(3n+2){background:linear-gradient(180deg,var(--white),var(--soft-gold))}.card:nth-child(3n){background:linear-gradient(180deg,var(--white),var(--soft-teal))}.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.card h3{font-size:24px;margin-bottom:13px;padding-right:48px}.card h4{font-size:19px;margin-bottom:9px;color:var(--teal)}.card p{font-size:15.5px}.card-link{display:inline-block;margin-top:12px;color:var(--royal);font-weight:900;text-decoration:none}.card-link:hover{text-decoration:underline}.clickable{cursor:pointer}
.dark{background:linear-gradient(135deg,var(--navy),var(--midnight)),radial-gradient(circle at 90% 20%,rgba(212,175,55,.18),transparent 42%);color:var(--white)}.dark h2,.dark h3,.dark h4{color:var(--white)}.dark p,.dark .section-heading p{color:#dbeafe}.dark .card{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.15);box-shadow:0 18px 48px rgba(0,0,0,.22)}.dark .card:before{opacity:.14}.dark .card p{color:#e2e8f0}.dark .card-link{color:var(--gold)}
.article,.case-note{background:rgba(255,255,255,.94);padding:28px;border-left:6px solid var(--gold);margin-bottom:22px;border-radius:22px;box-shadow:var(--small-shadow);position:relative;overflow:hidden}.article small{color:var(--teal);text-transform:uppercase;letter-spacing:1.5px;font-size:11px;font-weight:900}.article h3,.case-note h3{font-size:26px;margin:8px 0 10px}.article a,.case-note a{display:inline-block;margin-top:8px;color:var(--royal);text-decoration:none;font-weight:900}.article a:hover,.case-note a:hover{text-decoration:underline}.case-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.case-meta span{background:var(--soft-blue);border:1px solid rgba(15,23,42,.08);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;color:var(--navy)}.case-note h4{font-size:18px;margin:16px 0 8px;color:var(--teal)}
.quick-links,.conversion-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.quick-links a,.conversion-strip a{display:inline-block;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.85);color:var(--navy);text-decoration:none;font-weight:800;font-size:13px;border:1px solid rgba(15,23,42,.1);box-shadow:var(--small-shadow)}.dark .quick-links a,.page-hero .quick-links a{background:rgba(255,255,255,.1);color:var(--white);border-color:rgba(255,255,255,.16)}.quick-links a:hover,.conversion-strip a:hover{color:var(--royal);transform:translateY(-1px)}
.service-list{display:grid;gap:12px;margin-top:12px}.service-list div{background:rgba(255,255,255,.88);border:1px solid rgba(15,23,42,.1);padding:14px 16px 14px 42px;border-radius:14px;color:var(--slate);position:relative}.service-list div:before{content:"▪";position:absolute;left:18px;top:13px;color:var(--gold);font-weight:900}.dark .service-list div{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.15);color:#dbeafe}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.form-field{display:grid;gap:7px}.form-field.full{grid-column:span 2}.form-field label{font-weight:900;color:var(--navy);font-size:14px}.form-field input,.form-field select,.form-field textarea{width:100%;padding:14px 15px;border-radius:14px;border:1px solid rgba(15,23,42,.16);background:rgba(255,255,255,.92);font-size:15px;font-family:Arial,Helvetica,sans-serif;color:var(--navy);outline:none}.form-field textarea{min-height:135px;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(212,175,55,.16)}.form-note{font-size:13.5px;color:var(--slate);margin-top:12px}.required-mark{color:#dc2626;font-weight:900}
.review-panel,.location-panel{display:grid;grid-template-columns:1.1fr .45fr;gap:28px;align-items:center;background:radial-gradient(circle at 20% 20%,rgba(212,175,55,.24),transparent 35%),linear-gradient(135deg,rgba(15,23,42,.98),rgba(15,118,110,.88));border-radius:28px;padding:34px;box-shadow:var(--shadow);color:white}.review-panel h2,.review-panel h3,.location-panel h2,.location-panel h3{color:white}.review-panel p,.location-panel p{color:#dbeafe}.review-qr,.map-embed-placeholder{background:white;padding:16px;border-radius:22px;box-shadow:0 18px 48px rgba(0,0,0,.22);text-align:center;color:var(--navy)}.review-qr img{width:100%;max-width:220px;display:block;margin:0 auto 10px}.review-qr small{color:var(--navy);font-weight:800}.location-box{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:24px}.location-box strong{color:var(--gold);display:block;margin-bottom:8px;font-family:Georgia,"Times New Roman",serif;font-size:22px}.map-embed-placeholder p{color:var(--slate)}
.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}.stat-box{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);padding:20px;border-radius:20px;color:#fff}.stat-box strong{display:block;color:var(--gold);font-size:26px;font-family:Georgia,"Times New Roman",serif}
.cta{text-align:center;background:radial-gradient(circle at 20% 30%,rgba(212,175,55,.22),transparent 35%),linear-gradient(135deg,var(--cream),var(--soft-blue))}.cta h2{font-size:44px;margin-bottom:14px}.cta p{max-width:840px;margin:0 auto 24px;font-size:18px}
footer{background:linear-gradient(135deg,#08111f,#111827);color:#dbeafe;padding:42px 7%;font-size:14px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:26px;margin-bottom:26px}.footer-brand{display:flex;gap:14px;align-items:center;margin-bottom:12px}.footer-brand img{width:58px;height:58px;object-fit:contain}footer h3{color:var(--white);font-size:20px;margin-bottom:12px}footer p{max-width:1150px;margin-bottom:12px;color:#dbeafe}footer a{color:#dbeafe;text-decoration:none;display:block;margin-bottom:7px}footer a:hover{color:var(--gold)}
.disclaimer-modal{position:fixed;inset:0;background:rgba(8,17,31,.86);z-index:9999;display:none;justify-content:center;align-items:center;padding:24px}.disclaimer-box{background:var(--ivory);border:1px solid rgba(212,175,55,.42);max-width:800px;padding:38px;box-shadow:0 24px 80px rgba(0,0,0,.3);border-radius:26px}.disclaimer-box h2{font-size:34px;margin-bottom:14px}.disclaimer-box p{font-size:15.5px}.disclaimer-actions{margin-top:18px}
@media(max-width:1050px){.header-inner{flex-direction:column;align-items:flex-start}nav a{display:inline-block;margin:8px 14px 0 0}.hero,.grid-2,.grid-3,.grid-4,.footer-grid,.stats-strip,.form-grid,.review-panel,.location-panel{grid-template-columns:1fr}.hero h1,.page-hero h1{font-size:40px}.form-field.full{grid-column:span 1}section,.hero,.page-hero{padding-left:6%;padding-right:6%}.page-hero:after{display:none}}


/* Initial BCI disclaimer access popup */
.disclaimer-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 31, 0.88);
  z-index: 999999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.disclaimer-box {
  background: var(--ivory);
  border: 1px solid rgba(212, 175, 55, 0.48);
  max-width: 820px;
  padding: 40px;
  box-shadow: 0 28px 90px rgba(0,0,0,0.38);
  border-radius: 28px;
}

.disclaimer-box h2 {
  font-size: 34px;
  margin-bottom: 14px;
}

.disclaimer-box p {
  font-size: 15.5px;
  color: var(--slate);
}

.disclaimer-actions {
  margin-top: 20px;
}


/* =========================================================
   Final visual upgrade: graphical Indian law-office theme
   ========================================================= */
:root {
  --saffron-soft: #fff3d1;
  --court-maroon: #6b1f1f;
  --indigo-ink: #1e1b4b;
  --peacock: #0f766e;
  --paper: #fffaf2;
  --sand: #f6ead7;
  --copper: #b45309;
}

body {
  background:
    url("../images/legal-pattern.svg"),
    radial-gradient(circle at 12% 8%, rgba(212,175,55,.18), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(15,118,110,.16), transparent 34%),
    linear-gradient(180deg, #fffaf2, #f8efe0 50%, #fffaf2);
  background-size: 260px 260px, auto, auto, auto;
}

header {
  border-bottom: 1px solid rgba(212,175,55,.20);
}

.hero {
  min-height: 720px;
  background:
    linear-gradient(135deg, rgba(15,23,42,.98), rgba(30,27,75,.90) 45%, rgba(15,118,110,.86)),
    radial-gradient(circle at 85% 15%, rgba(212,175,55,.34), transparent 34%);
}

.hero-visual {
  position: relative;
  z-index: 3;
  margin-top: 26px;
}

.hero-visual img {
  width: 100%;
  max-width: 520px;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.28));
}

.decorated-section {
  background:
    radial-gradient(circle at top left, rgba(212,175,55,.16), transparent 30%),
    linear-gradient(135deg, rgba(255,250,242,.96), rgba(234,242,255,.72));
}

.section-band {
  padding: 38px 7%;
  background: linear-gradient(135deg, var(--navy), var(--court-maroon));
  color: white;
  border-bottom: none;
}

.section-band h2 {
  color: white;
  font-size: 34px;
}

.section-band p {
  color: #fdebd2;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.32);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  margin: 5px 6px 5px 0;
}

.icon-pill::before {
  content: "◆";
  color: var(--gold);
  font-size: 11px;
}

.practice-map {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}

.practice-map-panel {
  border-radius: 30px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(15,23,42,.96), rgba(15,118,110,.88)),
    url("../images/legal-pattern.svg");
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.practice-map-panel h2,
.practice-map-panel h3 {
  color: white;
}

.practice-map-panel p {
  color: #dbeafe;
}

.practice-orbit {
  min-height: 430px;
  border-radius: 30px;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(212,175,55,.30), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(234,242,255,.74));
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--small-shadow);
  overflow: hidden;
}

.practice-orbit::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 2px dashed rgba(212,175,55,.45);
  border-radius: 50%;
}

.practice-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
  background: url("../images/fortunewise-emblem.png") center/contain no-repeat;
  filter: drop-shadow(0 16px 24px rgba(15,23,42,.24));
}

.orbit-item {
  position: absolute;
  width: 138px;
  padding: 12px;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--small-shadow);
  font-size: 13px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
}

.orbit-1 { left: 7%; top: 12%; }
.orbit-2 { right: 7%; top: 12%; }
.orbit-3 { left: 5%; bottom: 15%; }
.orbit-4 { right: 5%; bottom: 15%; }
.orbit-5 { left: 50%; top: 4%; transform: translateX(-50%); }
.orbit-6 { left: 50%; bottom: 5%; transform: translateX(-50%); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 28px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--small-shadow);
  min-height: 230px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.faq-item {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--small-shadow);
}

.faq-item h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.visual-callout {
  border-radius: 28px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(107,31,31,.94), rgba(15,23,42,.96)),
    url("../images/legal-pattern.svg");
  color: white;
  box-shadow: var(--shadow);
}

.visual-callout h2,
.visual-callout h3 {
  color: white;
}

.visual-callout p {
  color: #fdebd2;
}

.wave-divider {
  height: 90px;
  background: url("../images/wave-divider.svg") center/cover no-repeat;
  border: none;
  padding: 0;
}

@media (max-width: 1050px) {
  .practice-map,
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .practice-orbit {
    min-height: 560px;
  }
  .orbit-item {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: auto;
    margin: 12px;
    z-index: 2;
  }
  .practice-orbit::before,
  .practice-orbit::after {
    opacity: .18;
  }
}


/* =========================================================
   SITE-WIDE FINAL DESIGN SYSTEM - ALL PAGES
   ========================================================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    url("../images/universal-law-bg.svg") top 90px right 40px / 420px 420px no-repeat,
    radial-gradient(circle at 12% 16%, rgba(212,175,55,.10), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(15,118,110,.10), transparent 34%);
  pointer-events: none;
  z-index: -1;
}

header {
  background:
    linear-gradient(90deg, rgba(255,250,242,.96), rgba(255,248,237,.94)),
    url("../images/universal-law-bg.svg") right -120px center/240px 240px no-repeat;
}

.page-hero,
.hero {
  position: relative;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../images/scales-illustration.svg") right 6% center/360px auto no-repeat,
    radial-gradient(circle at 18% 20%, rgba(212,175,55,.26), transparent 35%),
    radial-gradient(circle at 88% 20%, rgba(15,118,110,.20), transparent 32%);
  opacity: .30;
  z-index: -1;
}

body:not(.home-page) main,
.page-wrap {
  position: relative;
}

.fw-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.fw-section-label::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.visual-page-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: center;
}

.visual-page-card {
  border-radius: 30px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,243,209,.70)),
    url("../images/universal-law-bg.svg") right -70px bottom -80px/280px 280px no-repeat;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.10);
}

.visual-page-card h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.visual-illustration-card {
  border-radius: 30px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(15,23,42,.96), rgba(15,118,110,.84)),
    url("../images/universal-law-bg.svg") center/360px 360px repeat;
  box-shadow: var(--shadow);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-illustration-card img {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 24px 46px rgba(0,0,0,.28));
}

.inner-nav-panel {
  border-radius: 24px;
  padding: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--small-shadow);
  margin-top: 24px;
}

.inner-nav-panel h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.inner-nav-panel .quick-links {
  margin-top: 0;
}

.full-width-graphic {
  border-radius: 32px;
  padding: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.24), transparent 34%),
    linear-gradient(135deg, rgba(15,23,42,.97), rgba(30,27,75,.88) 45%, rgba(15,118,110,.82));
  box-shadow: var(--shadow);
  color: white;
  overflow: hidden;
  position: relative;
}

.full-width-graphic::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: url("../images/fortunewise-emblem.png") center/contain no-repeat;
  opacity: .10;
}

.full-width-graphic h2,
.full-width-graphic h3 {
  color: white;
}

.full-width-graphic p {
  color: #dbeafe;
}

.related-panel {
  border-radius: 28px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(234,242,255,.80));
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--small-shadow);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.related-grid a {
  display: block;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  font-weight: 900;
  color: var(--navy);
}

.related-grid a:hover {
  color: var(--royal);
  transform: translateY(-2px);
}

.page-cta-graphic {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 22px;
  align-items: center;
  border-radius: 32px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(107,31,31,.96), rgba(15,23,42,.96)),
    url("../images/universal-law-bg.svg") center/300px 300px repeat;
  box-shadow: var(--shadow);
  color: white;
}

.page-cta-graphic h2 {
  color: white;
}

.page-cta-graphic p {
  color: #fdebd2;
}

.page-cta-graphic img {
  width: 100%;
  max-width: 260px;
  justify-self: center;
  filter: drop-shadow(0 20px 34px rgba(0,0,0,.30));
}

.mini-stat-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-top: 22px;
}

.mini-stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  font-size: 13px;
}

.mini-stat strong {
  display: block;
  color: var(--gold);
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
}

.card,
.article,
.case-note,
.faq-item,
.text-block {
  backdrop-filter: blur(4px);
}

.card h3::after,
.article h3::after,
.case-note h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  margin-top: 10px;
}

.footer-grid {
  position: relative;
}

footer {
  background:
    linear-gradient(135deg, #08111f, #111827),
    url("../images/universal-law-bg.svg") right bottom/280px 280px no-repeat;
}

.social-media-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(212,175,55,.18), transparent 32%),
    linear-gradient(135deg, rgba(255,250,242,.98), rgba(234,242,255,.78));
}

.social-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.social-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 190px;
  padding: 24px;
  text-decoration: none;
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.88);
  box-shadow: var(--small-shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.social-card span,
.social-float a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  font-weight: 900;
  font-size: 15px;
}

.social-card strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.social-card small {
  color: var(--slate);
  font-weight: 800;
  line-height: 1.45;
}

.social-card.linkedin span {
  background: #0a66c2;
}

.social-card.whatsapp span {
  background: #128c7e;
}

.social-card.email span {
  background: var(--court-maroon);
}

.social-card.maps span {
  background: #1a73e8;
}

.social-card.review span {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--amber));
}

.social-float {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 1200;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.social-float a {
  width: 44px;
  height: 44px;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(8,17,31,.20);
  border: 1px solid rgba(255,255,255,.32);
}

.social-float a:hover {
  transform: translateY(-2px);
}

.practice-head-section {
  padding-top: 32px;
  padding-bottom: 32px;
  background:
    radial-gradient(circle at 8% 22%, rgba(212,175,55,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,250,242,.96), rgba(234,242,255,.78));
}

.practice-head-panel {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--small-shadow);
}

.practice-head-panel h2 {
  margin: 8px 0 6px;
  font-size: 34px;
}

.industry-card {
  padding-top: 18px;
}

.industry-visual {
  margin: -4px -4px 18px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.08);
  background: #08111f;
}

.industry-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.industry-help-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(212,175,55,.16), transparent 32%),
    linear-gradient(135deg, rgba(255,250,242,.98), rgba(234,242,255,.82));
}

.industry-help-section .card {
  min-height: 320px;
}

.industry-help-section .service-list div {
  font-size: 14.5px;
}

.general-counsel-highlight {
  background:
    radial-gradient(circle at 82% 18%, rgba(212,175,55,.22), transparent 34%),
    linear-gradient(135deg, #08111f, #132f2a 58%, #6b1f1f);
  color: white;
}

.general-counsel-panel {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.general-counsel-panel h2 {
  color: white;
  font-size: clamp(38px, 5vw, 62px);
}

.general-counsel-panel p {
  color: #dbeafe;
}

.gc-lead {
  color: var(--gold) !important;
  font-size: 22px;
  font-weight: 900;
}

.gc-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gc-feature-list div {
  min-height: 176px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

.gc-feature-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.chatbot-launcher {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1300;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 16px 42px rgba(8,17,31,.28);
  font-weight: 900;
  cursor: pointer;
}

.chatbot-panel {
  position: fixed;
  left: 18px;
  bottom: 78px;
  z-index: 1300;
  display: none;
  width: min(420px, calc(100vw - 36px));
  max-height: min(680px, calc(100vh - 108px));
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,.14);
  background: var(--ivory);
  box-shadow: 0 24px 80px rgba(8,17,31,.32);
}

.chatbot-panel.open {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--court-maroon));
}

.chatbot-header strong,
.chatbot-header small {
  display: block;
}

.chatbot-header small {
  margin-top: 3px;
  color: #dbeafe;
  font-size: 12px;
}

.chatbot-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-weight: 900;
  cursor: pointer;
}

.chatbot-messages {
  display: grid;
  gap: 12px;
  max-height: 390px;
  overflow: auto;
  padding: 16px;
}

.chatbot-message {
  padding: 12px 14px;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(15,23,42,.08);
  color: var(--slate);
  font-size: 14px;
}

.chatbot-message.bot {
  border-left: 4px solid var(--gold);
}

.chatbot-message.user {
  justify-self: end;
  color: white;
  background: var(--teal);
}

.chatbot-message a {
  display: inline-block;
  margin: 5px 8px 0 0;
  color: var(--royal);
  font-weight: 900;
}

.chatbot-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px 16px;
}

.chatbot-options button {
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  background: white;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.chatbot-ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 0 16px 12px;
}

.chatbot-ai-form input {
  min-height: 42px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 14px;
  font: inherit;
}

.chatbot-ai-form button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 900;
  cursor: pointer;
}

.chatbot-footer {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(15,23,42,.08);
}

.chatbot-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--slate);
}

.client-login-hero {
  padding: 92px 7%;
  background:
    radial-gradient(circle at 16% 20%, rgba(212,175,55,.24), transparent 35%),
    linear-gradient(135deg, rgba(15,23,42,.97), rgba(15,118,110,.86));
}

.client-login-card {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 34px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  color: white;
}

.client-login-card h1 {
  max-width: 720px;
  color: white;
  font-size: clamp(42px, 6vw, 72px);
}

.client-login-card p {
  color: #dbeafe;
}

.portal-login-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.portal-login-form h2,
.portal-login-form p {
  color: var(--navy);
}

.portal-login-form .btn {
  width: 100%;
  text-align: center;
}

.dashboard-shell {
  background:
    radial-gradient(circle at top left, rgba(212,175,55,.14), transparent 35%),
    linear-gradient(180deg, #fffaf2, #eef6ff);
  min-height: 100vh;
  padding: 42px 7% 76px;
}

.dashboard-welcome {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}

.dashboard-welcome h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.dashboard-status,
.dashboard-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--small-shadow);
}

.dashboard-status {
  display: grid;
  align-content: center;
  gap: 6px;
}

.dashboard-status strong {
  color: var(--teal);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dashboard-card.large {
  grid-column: span 2;
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.dashboard-card-header h2 {
  font-size: 26px;
}

.dashboard-card-header span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft-gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.matter-timeline,
.dashboard-list,
.checklist,
.dashboard-actions {
  display: grid;
  gap: 12px;
}

.matter-timeline div,
.dashboard-list div,
.checklist label {
  padding: 14px;
  border-radius: 16px;
  background: rgba(234,242,255,.72);
  border: 1px solid rgba(15,23,42,.08);
}

.matter-timeline strong,
.dashboard-list strong {
  color: var(--navy);
}

.checklist label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--slate);
  font-weight: 800;
}

@media(max-width:1050px) {
  .visual-page-intro,
  .page-cta-graphic,
  .general-counsel-panel,
  .client-login-card,
  .dashboard-welcome {
    grid-template-columns: 1fr;
  }
  .related-grid,
  .mini-stat-row,
  .social-card-grid,
  .dashboard-grid,
  .gc-feature-list {
    grid-template-columns: 1fr;
  }
  .dashboard-card.large {
    grid-column: span 1;
  }
  .page-hero::before {
    background-size: 220px auto;
    background-position: right -70px center;
  }
  .social-float {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 78px;
    grid-template-columns: repeat(4, 44px);
    justify-content: center;
    transform: none;
  }
  .chatbot-launcher {
    left: 12px;
    bottom: 12px;
  }
  .chatbot-panel {
    left: 12px;
    right: 12px;
    bottom: 70px;
    width: auto;
  }
  .chatbot-options {
    grid-template-columns: 1fr;
  }
  .chatbot-ai-form {
    grid-template-columns: 1fr;
  }
}

@keyframes fwFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fwSoftScale {
  from {
    opacity: 0;
    transform: scale(.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fwGlowPulse {
  0%, 100% {
    box-shadow: 0 14px 28px rgba(245,158,11,.24);
  }
  50% {
    box-shadow: 0 18px 38px rgba(245,158,11,.42);
  }
}

@keyframes fwLogoEntrance {
  from {
    opacity: 0;
    transform: translateY(-8px) rotate(-8deg) scale(.88);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes fwLogoAura {
  0%, 100% {
    filter: drop-shadow(0 8px 16px rgba(212,175,55,.18));
  }
  50% {
    filter: drop-shadow(0 12px 26px rgba(212,175,55,.46));
  }
}

.hero h1,
.page-hero h1,
.hero p,
.page-hero p,
.hero .btn,
.page-hero .btn,
.hero-box,
.visual-page-card,
.visual-illustration-card {
  animation: fwFadeUp .72s ease both;
}

.hero p,
.page-hero p {
  animation-delay: .08s;
}

.hero .btn,
.page-hero .btn {
  animation-delay: .16s;
}

.hero-box,
.visual-illustration-card {
  animation-name: fwSoftScale;
  animation-delay: .14s;
}

.btn.primary,
.nav-btn,
.chatbot-launcher {
  animation: fwGlowPulse 3.6s ease-in-out infinite;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.card,
.faq-item,
.case-note,
.article,
.process-step,
.practice-head-panel,
.related-panel,
.text-block,
.dashboard-card,
.industry-visual img {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover,
.faq-item:hover,
.case-note:hover,
.article:hover,
.practice-head-panel:hover,
.related-panel:hover,
.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.industry-card:hover .industry-visual img {
  transform: scale(1.04);
}

.brand-mark {
  animation: fwLogoEntrance .7s ease both, fwLogoAura 4s ease-in-out 1s infinite;
  transform-origin: center;
  transition: transform .28s ease, filter .28s ease;
}

.brand a:hover .brand-mark {
  transform: rotate(-6deg) scale(1.1);
  filter: drop-shadow(0 14px 30px rgba(212,175,55,.55));
}

.trademark-article-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(212,175,55,.14), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(15,118,110,.12), transparent 32%),
    linear-gradient(180deg, #fffaf2, #f7f1e6 48%, #fffdf8);
}

.trademark-article-page .page-hero {
  background:
    linear-gradient(135deg, rgba(8,17,31,.98), rgba(15,45,50,.94) 58%, rgba(107,31,31,.88)),
    radial-gradient(circle at 82% 18%, rgba(212,175,55,.30), transparent 36%);
}

.trademark-article-page .page-hero h1 {
  color: #fffaf2;
}

.trademark-article-page .page-hero p {
  color: #dbeafe;
}

.trademark-article-page .public-info-notice,
.trademark-article-page .decorated-section {
  background:
    radial-gradient(circle at 14% 20%, rgba(212,175,55,.14), transparent 30%),
    linear-gradient(135deg, rgba(255,250,242,.98), rgba(235,246,244,.88));
}

.trademark-article-page .card,
.trademark-article-page .text-block,
.trademark-article-page .related-panel {
  background: rgba(255,255,255,.94);
  border-color: rgba(15,118,110,.14);
}

.trademark-article-page .dark {
  background:
    radial-gradient(circle at 90% 18%, rgba(212,175,55,.18), transparent 34%),
    linear-gradient(135deg, #08111f, #123d37 62%, #1e1b4b);
}

.trademark-article-page .dark .card {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.18);
}

.trademark-article-page .dark .card p {
  color: #e8f3ff;
}

.trademark-article-page .trademark-class-grid a {
  background:
    linear-gradient(180deg, #ffffff, #f2faf8);
  border-color: rgba(15,118,110,.16);
}

.trademark-article-page .trademark-class-grid small {
  display: block;
  margin-top: 6px;
  color: var(--slate);
  font-weight: 700;
}

.trademark-article-page .cta {
  background:
    radial-gradient(circle at 20% 28%, rgba(212,175,55,.24), transparent 34%),
    linear-gradient(135deg, #fff3d1, #e8f6f4);
}

.trademark-article-page .cta h2,
.trademark-article-page .cta p,
.trademark-article-page .public-info-notice h2,
.trademark-article-page .public-info-notice p,
.trademark-article-page .decorated-section h2,
.trademark-article-page .decorated-section p,
.trademark-article-page .text-block h2,
.trademark-article-page .text-block h3,
.trademark-article-page .related-panel h2,
.trademark-article-page .related-panel p {
  color: #101827;
}

.trademark-article-page .cta .btn.secondary,
.trademark-article-page .quick-links a {
  color: #101827;
}

.trademark-article-page .page-hero .quick-links a,
.trademark-article-page .dark .quick-links a,
.trademark-article-page .dark h2,
.trademark-article-page .dark p {
  color: #fffaf2;
}

.public-notice-flash {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 9px 18px;
  background: #fff8dc;
  border-bottom: 1px solid rgba(212,175,55,.38);
  color: #101827;
  font-size: .88rem;
}

.notice-label {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #101827;
  color: #fffaf2;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notice-marquee {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.notice-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-left: 100%;
  animation: fwNoticeScroll 42s linear infinite;
}

.public-notice-flash:hover .notice-track,
.notice-marquee:hover .notice-track,
.notice-track:hover {
  animation-play-state: paused;
}

.notice-track a {
  color: #0f4f49;
  font-weight: 800;
  text-decoration: none;
}

.notice-track a:hover {
  color: #6b1f1f;
}

.notice-track span {
  color: rgba(16,24,39,.45);
}

.consultation-payment-section {
  padding: 0 0 58px;
}

.payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px;
  border: 1px solid rgba(15,118,110,.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(212,175,55,.20), transparent 34%),
    linear-gradient(135deg, #ffffff, #ecf8f6);
  box-shadow: 0 22px 55px rgba(16,24,39,.10);
}

.payment-panel h2 {
  margin: 8px 0 10px;
  color: #101827;
}

.payment-panel p,
.payment-panel .service-list {
  color: #344256;
}

.payment-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.payment-actions .btn {
  justify-content: center;
  width: 100%;
}

.payment-actions .form-note {
  margin: 4px 0 0;
  color: #526173;
  font-size: .88rem;
}

.home-payment-qr-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: #fffaf2;
}

.qr-payment-panel {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.qr-payment-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--small-shadow);
}

.qr-payment-card img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
}

.qr-payment-card.compact {
  padding: 12px;
}

.qr-payment-card.compact img {
  max-width: 210px;
}

.appointment-payment {
  margin-bottom: 26px;
}

.gated-payment-panel {
  margin-top: 24px;
}

.gated-payment-panel[hidden],
#appointmentPaymentPrompt[hidden] {
  display: none;
}

.article-body-section {
  padding-top: 52px;
}

.article-body {
  max-width: 980px;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 34px;
  color: #101827;
}

.article-body h3 {
  margin-top: 24px;
  color: #0f4f49;
}

.article-list {
  margin: 14px 0 22px 22px;
  color: #344256;
}

.article-list li {
  margin-bottom: 8px;
}

.article-flow {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid rgba(15,118,110,.16);
  border-radius: 14px;
  background: #0f172a;
  color: #fffaf2;
  line-height: 1.55;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 18px 0 26px;
  border: 1px solid rgba(15,118,110,.16);
  border-radius: 14px;
  background: #ffffff;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.article-table th,
.article-table td {
  padding: 13px 15px;
  border-bottom: 1px solid rgba(15,118,110,.12);
  color: #344256;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: #eef8f6;
  color: #101827;
  font-weight: 900;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

@keyframes fwNoticeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 760px) {
  .public-notice-flash {
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
  }

  .notice-track {
    animation-duration: 32s;
  }

  .payment-panel {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 14px;
  }

  .qr-payment-panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Final review polish: premium law-firm contrast, typography and flash cards */
:root {
  --navy: #0b1220;
  --midnight: #111827;
  --royal: #1d4ed8;
  --teal: #0f766e;
  --gold: #c89b2c;
  --amber: #e0a526;
  --cream: #fff6e6;
  --ivory: #fffaf2;
  --slate: #334155;
  --muted: #64748b;
  --court-maroon: #6b1f1f;
  --border: rgba(15, 23, 42, .14);
  --shadow: 0 22px 55px rgba(15, 23, 42, .14);
  --small-shadow: 0 12px 30px rgba(15, 23, 42, .09);
}

body {
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255,250,242,.94), rgba(246,238,224,.88)),
    url("../images/legal-pattern.svg");
  background-size: auto, 280px 280px;
}

h1,
h2,
h3,
h4,
.brand h2 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

p,
li,
.card p,
.text-block p,
.form-note {
  color: var(--slate);
}

header {
  background: rgba(255, 250, 242, .97);
  border-bottom: 1px solid rgba(200, 155, 44, .28);
}

header {
  padding-left: 4%;
  padding-right: 4%;
}

.brand-mark {
  width: 48px;
  height: 48px;
}

.brand h2 {
  font-size: 21px;
}

.brand span {
  font-size: 10px;
  letter-spacing: 1.5px;
}

nav a {
  color: #172033;
  font-size: 13px;
}

nav a:hover,
.active-link {
  color: var(--court-maroon);
}

.hero,
.page-hero,
.dark {
  background:
    radial-gradient(circle at 86% 18%, rgba(200,155,44,.24), transparent 34%),
    linear-gradient(135deg, #08111f 0%, #111827 48%, #143f3b 100%);
}

.hero h1,
.page-hero h1,
.hero p,
.page-hero p,
.dark p,
.dark .section-heading p {
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.page-hero p,
.hero p,
.dark p,
.dark .section-heading p {
  color: #e8f3ff;
}

.eyebrow,
.fw-section-label {
  color: #a86610;
}

.page-hero .eyebrow,
.hero .eyebrow,
.dark .eyebrow,
.dark .fw-section-label {
  color: #f8d57a;
}

.btn,
.nav-btn,
.quick-links a,
.conversion-strip a {
  border-radius: 12px;
}

.btn.primary,
.nav-btn {
  background: linear-gradient(135deg, #f3c969, #c78d15);
  color: #111827;
  box-shadow: 0 14px 30px rgba(167, 101, 12, .24);
}

.btn.secondary,
.quick-links a,
.conversion-strip a {
  background: #ffffff;
  border-color: rgba(15, 23, 42, .16);
  color: #172033;
}

.card,
.text-block,
.article,
.case-note,
.related-panel,
.visual-page-card,
.public-info-notice,
.payment-panel {
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  border-color: rgba(15, 23, 42, .13);
}

.card {
  min-height: 250px;
  border-top: 4px solid rgba(200, 155, 44, .85);
}

.card:nth-child(3n+1),
.card:nth-child(3n+2),
.card:nth-child(3n) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,242,.94));
}

.card h3 {
  color: #0b1220;
  font-size: 22px;
}

.card-link {
  color: #6b1f1f;
}

.service-list div:before,
.hero-box li:before,
.icon-pill::before {
  content: "◆";
}

.public-notice-flash {
  background: #fff4d6;
  border-bottom-color: rgba(107, 31, 31, .22);
}

.notice-label {
  background: #6b1f1f;
}

.notice-track a {
  color: #0f4f49;
}

.knowledge-flash-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(200,155,44,.20), transparent 32%),
    linear-gradient(135deg, #fffaf2, #eef8f6);
}

.article-directory-section {
  background: #fffaf2;
}

.article-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-directory a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-left: 5px solid #c89b2c;
  border-radius: 14px;
  background: #ffffff;
  color: #0b1220;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.article-directory a::after {
  content: "Open";
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 10px;
  background: #101827;
  color: #fffaf2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-directory a::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c89b2c;
  box-shadow: 0 0 0 5px rgba(200,155,44,.14);
}

.article-directory a:hover {
  transform: translateY(-3px);
  border-left-color: #6b1f1f;
  box-shadow: var(--small-shadow);
}

.flash-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.all-article-flash-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flash-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: #ffffff;
  box-shadow: var(--small-shadow);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.all-article-flash-grid .flash-card {
  min-height: 176px;
}

.flash-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(200, 155, 44, .16);
}

.flash-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 31, 31, .28);
  box-shadow: var(--shadow);
}

.flash-card span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
  color: #172033;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.flash-card strong {
  display: block;
  margin-bottom: 10px;
  color: #0b1220;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.22;
}

.flash-card small {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.flash-card small::after {
  content: "Open Article";
  display: inline-flex;
  width: max-content;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #101827;
  color: #fffaf2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.flash-card.urgent {
  border-top: 4px solid #6b1f1f;
}

.flash-card.recovery {
  border-top: 4px solid #0f766e;
}

.flash-card.property {
  border-top: 4px solid #c89b2c;
}

.flash-card.contracts {
  border-top: 4px solid #1d4ed8;
}

.flash-card.regulatory {
  border-top: 4px solid #4c1d95;
}

.article-table th {
  background: #f6ead7;
}

.article-flow {
  background: #101827;
  border-color: rgba(200,155,44,.30);
}

.topic-articles-section {
  background: #fffaf2;
}

.article-visual-brief {
  padding-top: 48px;
  padding-bottom: 34px;
  background:
    radial-gradient(circle at 10% 18%, rgba(200,155,44,.18), transparent 30%),
    linear-gradient(135deg, #fffaf2, #eef8f6);
}

.article-visual-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 26px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.article-visual-copy,
.article-graphic-card {
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--small-shadow);
}

.article-visual-copy {
  padding: 30px;
}

.article-visual-copy h2 {
  margin: 8px 0 12px;
  color: #0b1220;
}

.article-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.article-chip-row span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff4d6;
  color: #6b1f1f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-graphic-card {
  position: relative;
  min-height: 290px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(200,155,44,.22), transparent 30%),
    linear-gradient(135deg, #0b1220, #143f3b);
}

.graphic-emblem {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 82px;
  height: 82px;
  opacity: .22;
}

.graphic-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-step-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  min-height: 230px;
}

.visual-step {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  color: #fffaf2;
  text-align: center;
  box-shadow: 0 16px 30px rgba(0,0,0,.16);
}

.visual-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: #f8d57a;
  font-size: 20px;
  font-weight: 900;
}

.visual-step strong {
  color: #fffaf2;
  font-size: 15px;
  line-height: 1.35;
}

.legal-insight-page .article-body {
  display: block;
  padding: 42px;
  border-left: 6px solid #c89b2c;
}

.legal-insight-page .article-body > h2:first-child {
  margin-top: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eef8f6;
  color: #0f4f49;
  font-size: 20px;
}

.topic-article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.topic-article-link {
  display: grid;
  gap: 8px;
  padding: 22px;
  min-height: 128px;
  border: 1px solid rgba(15,23,42,.14);
  border-top: 4px solid #c89b2c;
  border-radius: 16px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: var(--small-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.topic-article-link:hover {
  transform: translateY(-4px);
  border-top-color: #6b1f1f;
  box-shadow: var(--shadow);
}

.topic-article-link strong {
  color: #0b1220;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.3;
}

.topic-article-link span {
  color: #6b1f1f;
  font-weight: 900;
}

.card-link,
.article a,
.case-note a,
.topic-article-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: 9px 13px;
  border-radius: 10px;
  background: #101827;
  color: #fffaf2 !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.card-link:hover,
.article a:hover,
.case-note a:hover,
.topic-article-link:hover span {
  background: #6b1f1f;
  text-decoration: none;
}

.article-next-nav {
  padding-top: 24px;
  padding-bottom: 24px;
  background: linear-gradient(135deg, #fffaf2, #eef8f6);
}

.article-nav-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--small-shadow);
}

.article-nav-panel h2 {
  margin: 6px 0 0;
  color: #0b1220;
  font-size: 24px;
}

@media (max-width: 1180px) {
  .flash-card-grid,
  .all-article-flash-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .article-directory {
    grid-template-columns: 1fr;
  }

  .topic-article-list,
  .article-nav-panel,
  .article-visual-panel {
    grid-template-columns: 1fr;
  }

  .visual-step-flow {
    grid-template-columns: 1fr;
  }

  .visual-step:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(50%) rotate(90deg);
  }

  .flash-card-grid,
  .all-article-flash-grid {
    grid-template-columns: 1fr;
  }

  .flash-card {
    min-height: auto;
  }
}

/* Cleaner homepage composition */
.home-page .hero {
  min-height: 620px;
}

.home-page .hero h1 {
  max-width: 820px;
}

.home-page .hero p {
  max-width: 720px;
}

.home-page .hero-box {
  border-radius: 18px;
}

.home-page .hero-box ul {
  margin-top: 12px;
}

.home-focus-section {
  background: #fffaf2;
}

.home-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-focus-grid a {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(15,23,42,.14);
  border-top: 4px solid #c89b2c;
  border-radius: 16px;
  background: #ffffff;
  color: #0b1220;
  text-decoration: none;
  box-shadow: var(--small-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-focus-grid a::after {
  content: "Open";
  align-self: end;
  width: max-content;
  padding: 8px 12px;
  border-radius: 10px;
  background: #101827;
  color: #fffaf2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-focus-grid a:hover {
  transform: translateY(-4px);
  border-top-color: #6b1f1f;
  box-shadow: var(--shadow);
}

.home-focus-grid strong {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.28;
  display: block;
}

.home-focus-grid span {
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
}

.home-page #client-actions,
.home-page #home-highlights,
.home-page #team,
.home-page #social-media,
.home-page #location,
.home-page #contact {
  padding-top: 58px;
  padding-bottom: 58px;
}

.map-embed-live {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.map-embed-live iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.map-embed-live .btn {
  margin: 14px;
}

.google-review-flash {
  background:
    radial-gradient(circle at 10% 20%, rgba(200,155,44,.18), transparent 28%),
    linear-gradient(135deg, #fffaf2, #eef8f6);
}

.review-flash-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}

.review-score-card,
.review-carousel {
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--small-shadow);
}

.review-score-card {
  padding: 28px;
}

.review-score-card strong {
  display: block;
  color: #0b1220;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
}

.review-stars {
  margin: 12px 0;
  color: #c89b2c;
  font-size: 24px;
  letter-spacing: 2px;
}

.review-carousel {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.review-flash-track {
  display: flex;
  width: max-content;
  animation: fwReviewFlash 28s linear infinite;
}

.review-carousel:hover .review-flash-track {
  animation-play-state: paused;
}

.review-mini-card {
  width: 310px;
  margin: 18px;
  padding: 22px;
  border: 1px solid rgba(15,23,42,.12);
  border-top: 4px solid #c89b2c;
  border-radius: 16px;
  background: #fffaf2;
}

.review-mini-card p {
  color: #334155;
  font-size: 14.5px;
}

.review-mini-card span {
  color: #6b1f1f;
  font-weight: 900;
}

@keyframes fwReviewFlash {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1050px) {
  .home-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-flash-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-focus-grid {
    grid-template-columns: 1fr;
  }
}

/* Final background and dropdown navigation update */
body,
.trademark-article-page,
.expertise-page {
  background:
    radial-gradient(circle at 14% 8%, rgba(200,155,44,.10), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(15,118,110,.08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #fffaf2 42%, #f6f1e8 100%);
  background-attachment: fixed;
}

.decorated-section,
.home-focus-section,
.knowledge-flash-section,
.article-directory-section,
.topic-articles-section,
.home-payment-qr-section,
.google-review-flash {
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(248,250,252,.86));
}

.has-dropdown-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}

.has-dropdown-nav > a {
  margin-left: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  color: #172033;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 8px;
}

.nav-dropdown-toggle::after {
  content: "▾";
  margin-left: 6px;
  color: #c89b2c;
  font-size: 12px;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active-link {
  color: #6b1f1f;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 2000;
  display: none;
  min-width: 260px;
  padding: 10px;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 60px rgba(15,23,42,.18);
}

.nav-dropdown.open .nav-dropdown-menu {
  display: grid;
  gap: 8px;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 10px;
  background: #fffaf2;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
}

.nav-dropdown-menu a::after {
  content: "Open";
  margin-left: 14px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #101827;
  color: #fffaf2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-dropdown-menu a:hover {
  background: #fff4d6;
  border-color: rgba(107,31,31,.22);
  color: #6b1f1f;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .has-dropdown-nav {
    align-items: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    margin-top: 4px;
    width: 100%;
    box-shadow: var(--small-shadow);
  }
}

/* Compact single-row top navigation */
header {
  padding: 10px 3%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  flex: 0 0 auto;
}

.brand a {
  gap: 9px;
}

.brand-mark {
  width: 44px;
  height: 44px;
}

.brand h2 {
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand span {
  font-size: 9px;
  letter-spacing: 1.2px;
}

header nav.has-dropdown-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}

header nav.has-dropdown-nav > a,
header nav.has-dropdown-nav .nav-dropdown-toggle {
  margin: 0;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1;
}

header nav.has-dropdown-nav .nav-dropdown-toggle::after {
  content: "v";
  margin-left: 4px;
  font-size: 10px;
}

header nav.has-dropdown-nav > a:hover,
header nav.has-dropdown-nav .nav-dropdown-toggle:hover,
header nav.has-dropdown-nav .active-link {
  background: rgba(200,155,44,.12);
  text-decoration: none;
}

@media (max-width: 1180px) {
  header {
    padding-left: 2%;
    padding-right: 2%;
  }

  .brand h2 {
    font-size: 17px;
  }

  .brand span {
    display: none;
  }

  header nav.has-dropdown-nav {
    gap: 2px;
  }

  header nav.has-dropdown-nav > a,
  header nav.has-dropdown-nav .nav-dropdown-toggle {
    padding: 7px 5px;
    font-size: 11.5px;
  }
}

@media (max-width: 920px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav.has-dropdown-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .nav-dropdown {
    width: auto;
  }
}

/* Compact Knowledge Center and site footer */
.knowledge-center-page section,
body:has(.knowledge-flash-section) section {
  padding-top: 46px;
  padding-bottom: 46px;
}

.knowledge-flash-section,
.article-directory-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.knowledge-flash-section .section-heading,
.article-directory-section .section-heading {
  margin-bottom: 22px;
}

.all-article-flash-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.all-article-flash-grid .flash-card {
  min-height: 150px;
  padding: 18px;
}

.flash-card span {
  margin-bottom: 8px;
}

.flash-card strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.flash-card small {
  font-size: 13px;
  line-height: 1.4;
}

.flash-card small::after {
  margin-top: 12px;
  padding: 7px 10px;
}

.article-directory {
  gap: 8px;
}

.article-directory a {
  min-height: 52px;
  padding: 12px 14px;
  font-size: 13.5px;
}

footer {
  padding: 24px 5%;
  font-size: 12.5px;
  background: linear-gradient(135deg, #08111f, #111827);
}

footer .footer-grid {
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-brand {
  gap: 8px;
  margin-bottom: 8px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

footer h3 {
  font-size: 15px;
  margin-bottom: 7px;
}

footer p {
  margin-bottom: 6px;
  line-height: 1.45;
}

footer a {
  margin-bottom: 4px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .all-article-flash-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .all-article-flash-grid {
    grid-template-columns: 1fr;
  }

  footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Gold and black social icon finish */
.social-card span.social-icon,
.social-float a {
  background: linear-gradient(135deg, #0b0f19 0%, #171717 54%, #c89b2c 100%);
  color: #f8e6a6;
  border: 1px solid rgba(200, 155, 44, .55);
  box-shadow: 0 14px 30px rgba(8, 17, 31, .22);
}

.social-card span.social-icon svg,
.social-float a svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.social-card.linkedin span,
.social-card.whatsapp span,
.social-card.email span,
.social-card.maps span,
.social-card.review span {
  background: linear-gradient(135deg, #0b0f19 0%, #171717 54%, #c89b2c 100%);
  color: #f8e6a6;
}

.social-card:hover span.social-icon,
.social-float a:hover {
  background: linear-gradient(135deg, #c89b2c 0%, #f3c969 42%, #0b0f19 100%);
  color: #0b0f19;
  border-color: rgba(11, 15, 25, .38);
}

/* High-contrast legal process blocks */
.process-timeline {
  gap: 14px;
}

.process-step {
  background: linear-gradient(145deg, #0b0f19 0%, #151a24 68%, #2a2110 100%);
  border: 1px solid rgba(200, 155, 44, .45);
  border-top: 4px solid #c89b2c;
  color: #fff8df;
  box-shadow: 0 18px 42px rgba(8, 17, 31, .18);
}

.process-step::before {
  background: linear-gradient(135deg, #f3c969, #c89b2c);
  color: #0b0f19;
  border: 1px solid rgba(255, 248, 223, .55);
}

.process-step h3 {
  color: #f8e6a6;
}

.process-step p {
  color: #f8fafc;
}

/* Special Engagement Models: refined black, gold and ivory palette */
.special-engagement-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(200, 155, 44, .18), transparent 26%),
    linear-gradient(135deg, #f8fafc 0%, #fffaf2 50%, #f4efe4 100%);
}

.special-engagement-page .page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 155, 44, .3), transparent 32%),
    linear-gradient(135deg, #08111f 0%, #172033 60%, #5b1f1f 100%);
}

.special-engagement-page section:not(.page-hero):not(.cta) {
  background:
    radial-gradient(circle at 10% 0%, rgba(200, 155, 44, .1), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 250, 242, .94));
}

.special-engagement-page .general-counsel-section {
  background: linear-gradient(135deg, #fffaf2, #f8fafc);
}

.special-engagement-page .general-counsel-panel {
  background: linear-gradient(135deg, #ffffff 0%, #fff8e7 100%);
  border: 1px solid rgba(200, 155, 44, .34);
  border-top: 5px solid #c89b2c;
  border-radius: 18px;
  color: #0b1220;
  box-shadow: var(--small-shadow);
}

.special-engagement-page .general-counsel-panel h2,
.special-engagement-page .general-counsel-panel p {
  color: #0b1220;
}

.special-engagement-page .general-counsel-panel .gc-lead {
  color: #6b1f1f;
  font-weight: 900;
}

.special-engagement-page .gc-feature-list div {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-left: 5px solid #c89b2c;
  color: #0b1220;
  box-shadow: var(--small-shadow);
}

.special-engagement-page .gc-feature-list strong {
  color: #6b1f1f;
}

.special-engagement-page .gc-feature-list p,
.special-engagement-page .card p,
.special-engagement-page .section-heading p {
  color: #334155;
}

.special-engagement-page .card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-top: 4px solid #c89b2c;
  box-shadow: var(--small-shadow);
}

.special-engagement-page .card h3 {
  color: #0b1220;
}

.special-engagement-page .public-info-notice {
  background:
    radial-gradient(circle at 16% 20%, rgba(200, 155, 44, .12), transparent 30%),
    linear-gradient(135deg, #ffffff, #fffaf2);
  border: 1px solid rgba(200, 155, 44, .24);
}

.special-engagement-page .quick-links a {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
  color: #fffaf2;
}

.special-engagement-page .quick-links a:hover {
  background: #c89b2c;
  color: #0b0f19;
}

.special-engagement-page .cta {
  background:
    radial-gradient(circle at 20% 25%, rgba(200, 155, 44, .24), transparent 34%),
    linear-gradient(135deg, #0b0f19 0%, #1f2937 68%, #3c1919 100%);
}

.special-engagement-page .cta h2 {
  color: #fffaf2;
}

.special-engagement-page .cta p {
  color: #e8f3ff;
}

/* Team portraits */
.team-card {
  overflow: hidden;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: -8px 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(200, 155, 44, .35);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .16);
  background: #f8fafc;
}

.featured-team-card .team-photo {
  aspect-ratio: 16 / 10;
}

.dark .team-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 250, 242, .96));
  color: #0b1220;
}

.dark .team-card h3,
.dark .team-card h4,
.dark .team-card p {
  color: #0b1220;
}

.dark .team-card h4 {
  color: #6b1f1f;
}

/* Final contrast pass across the website */
section:not(.dark):not(.page-hero):not(.hero) .card,
.article,
.case-note,
.text-block,
.faq-item,
.public-info-notice,
.payment-panel,
.related-panel,
.visual-page-card {
  color: #0b1220;
}

section:not(.dark):not(.page-hero):not(.hero) .card h3,
section:not(.dark):not(.page-hero):not(.hero) .card h4,
.article h3,
.case-note h3,
.text-block h2,
.faq-item h3,
.public-info-notice h2,
.related-panel h2,
.visual-page-card h3 {
  color: #0b1220;
}

section:not(.dark):not(.page-hero):not(.hero) .card p,
.article p,
.case-note p,
.text-block p,
.faq-item p,
.public-info-notice p,
.payment-panel p,
.related-panel p,
.visual-page-card p {
  color: #334155;
}

.dark .card:not(.team-card),
.page-hero .card:not(.team-card),
.hero .card:not(.team-card) {
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(255, 255, 255, .2);
  color: #fffaf2;
}

.dark .card:not(.team-card) h3,
.dark .card:not(.team-card) h4,
.dark .card:not(.team-card) p,
.page-hero .card:not(.team-card) h3,
.page-hero .card:not(.team-card) h4,
.page-hero .card:not(.team-card) p,
.hero .card:not(.team-card) h3,
.hero .card:not(.team-card) h4,
.hero .card:not(.team-card) p {
  color: #fffaf2;
}

.dark .card:not(.team-card) h4,
.page-hero .card:not(.team-card) h4,
.hero .card:not(.team-card) h4 {
  color: #f8d57a;
}

.dark .service-list div,
.dark .process-step,
.dark .stats-strip .stat-box {
  color: #fffaf2;
}

.dark .service-list div,
.dark .process-step p,
.dark .stats-strip .stat-box p {
  color: #e8f3ff;
}

.dark .btn.secondary,
.page-hero .btn.secondary,
.hero .btn.secondary {
  color: #fffaf2;
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
}

.dark .btn.secondary:hover,
.page-hero .btn.secondary:hover,
.hero .btn.secondary:hover {
  color: #0b0f19;
  background: #f8d57a;
}

.dark .team-card,
.page-hero .team-card,
.hero .team-card {
  background: linear-gradient(145deg, #ffffff, #fff8e7) !important;
  border-color: rgba(200, 155, 44, .35) !important;
  color: #0b1220 !important;
}

.dark .team-card h3,
.dark .team-card h4,
.dark .team-card p,
.page-hero .team-card h3,
.page-hero .team-card h4,
.page-hero .team-card p,
.hero .team-card h3,
.hero .team-card h4,
.hero .team-card p {
  color: #0b1220 !important;
  text-shadow: none !important;
}

.dark .team-card h4,
.page-hero .team-card h4,
.hero .team-card h4 {
  color: #6b1f1f !important;
}


.article-visual-brief,
.article-visual-panel,
.article-graphic-card {
  color: #0b1220;
}

.article-chip-row span {
  background: #0b0f19;
  color: #f8e6a6;
  border: 1px solid rgba(200, 155, 44, .5);
}

.visual-step {
  background: linear-gradient(135deg, #0b0f19, #1f2937);
  border: 1px solid rgba(200, 155, 44, .5);
}

.visual-step strong {
  color: #f8e6a6;
}
