/* Big Sky Injury Law — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700;900&display=swap');

:root {
  --navy: #1B2B4B;
  --navy-dark: #111C30;
  --navy-light: #243A5E;
  --gold: #C9963C;
  --gold-light: #E8B84B;
  --gold-dark: #A67A28;
  --crimson: #B91C1C;
  --crimson-dark: #991B1B;
  --crimson-light: #DC2626;
  --white: #FFFFFF;
  --off-white: #F8F7F3;
  --bg-light: #F3F4F6;
  --text-dark: #111827;
  --text-medium: #374151;
  --text-light: #6B7280;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
  font-weight: 600;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: 'Lato', sans-serif; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }

/* ─── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
  background: var(--navy-dark);
  color: #CBD5E1;
  font-size: .8rem;
  letter-spacing: .03em;
  padding: .5rem 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.top-bar a { color: #CBD5E1; }
.top-bar a:hover { color: var(--gold); }
.top-bar .badge {
  background: var(--crimson);
  color: white;
  padding: .2rem .6rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

@keyframes attorney-strobe {
  0%, 100% { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.18); box-shadow: none; }
  50%       { color: #fff; border-color: var(--gold); box-shadow: 0 0 10px rgba(201,150,60,.55); }
}
.attorney-login-btn {
  font-size: .7rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18);
  padding: .2rem .65rem;
  border-radius: 3px;
  animation: attorney-strobe 1.1s ease-in-out infinite;
}
.attorney-login-btn:hover {
  animation-play-state: paused;
  color: white !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 10px rgba(201,150,60,.55);
}

/* ─── NAV ─────────────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo .logo-text { line-height: 1.1; }
.nav-logo .firm-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
}
.nav-logo .firm-tag {
  font-size: .68rem;
  color: var(--text-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-medium);
  padding: .5rem .55rem;
  border-radius: 4px;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--bg-light); }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 200;
  overflow: hidden;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: .7rem 1.1rem;
  font-size: .83rem;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border);
  text-transform: none;
  letter-spacing: 0;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--bg-light); color: var(--navy); }
.nav-cta {
  background: var(--crimson);
  color: white !important;
  padding: .55rem 1rem !important;
  border-radius: 4px;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  font-size: .76rem !important;
  margin-left: .35rem;
}
.nav-cta:hover { background: var(--crimson-dark) !important; color: white !important; }
.nav-phone {
  font-weight: 700;
  color: var(--navy) !important;
  font-size: .9rem !important;
  text-transform: none !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}
@media (max-width: 1060px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: white; flex-direction: column; align-items: stretch;
    border-top: 1px solid var(--border); padding: 1rem;
    box-shadow: var(--shadow-lg); gap: .25rem; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; border-radius: 6px; font-size: .85rem; }
  .hamburger { display: flex; }
  .nav-dropdown .dropdown-menu { position: static; box-shadow: none; border: none;
    background: var(--bg-light); border-radius: 6px; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-inner { position: relative; }
}

/* ─── CONTAINER ───────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-dark); color: white; }
.btn-crimson { background: var(--crimson); color: white; border-color: var(--crimson); }
.btn-crimson:hover { background: var(--crimson-dark); border-color: var(--crimson-dark); color: white; }
.btn-gold { background: var(--gold); color: white; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: white; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: white; }
.btn-outline-white:hover { background: white; color: var(--navy); }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .8rem; }

/* ─── SECTION STYLES ──────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); color: white; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: white; }
.section-navy-light { background: var(--navy-light); color: white; }
.section-navy-light h2, .section-navy-light h3 { color: white; }
.section-gold { background: var(--gold); }
.section-off-white { background: var(--off-white); }
.section-bg-light { background: var(--bg-light); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-dark .section-label { color: var(--gold-light); }
.section-header h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.section-header p { color: var(--text-medium); font-size: 1.05rem; line-height: 1.75; }
.section-dark .section-header p { color: #CBD5E1; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e3a6e 100%);
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpolygon fill='white' points='0,180 200,80 400,130 600,40 800,100 1000,20 1200,90 1440,50 1440,180'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.hero-content { color: white; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-lead {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: #CBD5E1;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* Hero Form Card */
.hero-form-card {
  background: white;
  border-radius: 10px;
  padding: 2.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  position: relative;
}
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--crimson);
  border-radius: 10px 10px 0 0;
}
.hero-form-card .form-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.hero-form-card .form-sub {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-medium);
  margin-bottom: .35rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
  background: white;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,43,75,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-note {
  font-size: .75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .75rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0; }
  .hero { min-height: auto; }
}

/* ─── TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 1.25rem 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.trust-stat { color: white; }
.trust-stat .stat-number {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.trust-stat .stat-label {
  font-size: .75rem;
  color: #94A3B8;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .2rem;
}
@media (max-width: 600px) {
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ─── CARDS ───────────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  cursor: pointer;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-gold-top { border-top: 3px solid var(--gold); }
.card-navy-top { border-top: 3px solid var(--navy); }
.card-crimson-top { border-top: 3px solid var(--crimson); }

/* Practice Area Cards */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .practice-grid { grid-template-columns: 1fr; } }
.practice-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all .25s;
  text-decoration: none;
  display: block;
}
.practice-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.practice-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.practice-card:hover .practice-icon { background: var(--navy); color: white; }
.practice-card h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--navy); }
.practice-card p { font-size: .9rem; color: var(--text-medium); line-height: 1.6; }
.practice-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--crimson);
  margin-top: 1rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Case Result Cards */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .results-grid { grid-template-columns: 1fr; } }
.result-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 2rem;
  border-top: 3px solid var(--gold);
}
.result-amount {
  font-family: 'EB Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .5rem;
}
.result-type { font-size: .8rem; color: #94A3B8; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .75rem; }
.result-desc { font-size: .9rem; color: #CBD5E1; line-height: 1.55; }

/* Testimonial Cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 700px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.star { color: var(--gold); font-size: 1rem; }
.testimonial-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial-author { font-size: .85rem; font-weight: 700; color: var(--navy); }
.testimonial-location { font-size: .78rem; color: var(--text-light); }
.testimonial-badge {
  font-size: .7rem;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  padding: .15rem .5rem;
  border-radius: 3px;
  font-weight: 700;
  margin-top: .4rem;
  display: inline-block;
}

/* ─── STEPS ───────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 100%);
  z-index: 0;
}
@media (max-width: 700px) { .steps-grid { grid-template-columns: 1fr; } .steps-grid::before { display: none; } }
.step-item { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  border: 3px solid var(--gold);
}
.step-item h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.step-item p { font-size: .9rem; color: var(--text-medium); line-height: 1.65; }

/* ─── ATTORNEY CARDS ──────────────────────────────────────── */
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 800px) { .attorneys-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.attorney-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.attorney-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.attorney-photo {
  height: 280px;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.attorney-photo .photo-initials {
  font-family: 'EB Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,.15);
  user-select: none;
  margin-bottom: 1rem;
}
.attorney-info { padding: 1.5rem; }
.attorney-name { font-size: 1.3rem; margin-bottom: .2rem; }
.attorney-title { font-size: .8rem; font-weight: 700; color: var(--gold-dark); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .75rem; }
.attorney-bio { font-size: .88rem; color: var(--text-medium); line-height: 1.65; margin-bottom: 1rem; }
.attorney-creds { display: flex; flex-wrap: wrap; gap: .4rem; }
.cred-tag {
  font-size: .72rem;
  background: var(--bg-light);
  color: var(--text-medium);
  padding: .2rem .6rem;
  border-radius: 20px;
  font-weight: 700;
}

/* ─── FAQ ACCORDION ───────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  cursor: pointer;
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  transition: color .2s;
}
.faq-question:hover { color: var(--crimson); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all .2s;
  font-size: 1.1rem;
  font-weight: 300;
}
.faq-item.open .faq-icon { background: var(--navy); color: white; }
.faq-answer {
  display: none;
  padding: 0 0 1.3rem;
  font-size: .95rem;
  color: var(--text-medium);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ─── FORMS ───────────────────────────────────────────────── */
.contact-form-wrap {
  background: white;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-submit { width: 100%; padding: 1.1rem; margin-top: .5rem; }
.success-msg {
  display: none;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-weight: 700;
  text-align: center;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); color: #94A3B8; }
.footer-top { padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 550px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand .logo .icon-box {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand .firm-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: white;
  font-weight: 700;
}
.footer-brand p { font-size: .88rem; line-height: 1.75; margin-bottom: 1.25rem; }
.footer-phone { font-size: 1.3rem; font-family: 'EB Garamond', serif; color: var(--gold-light); font-weight: 700; }
.footer-disclaimer { font-size: .75rem; line-height: 1.6; margin-top: 1rem; opacity: .6; }
.footer-col h4 { font-family: 'Lato', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: white; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a { font-size: .88rem; color: #94A3B8; transition: color .2s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-col .contact-item { display: flex; gap: .5rem; font-size: .88rem; margin-bottom: .6rem; }
.footer-col .contact-item svg { flex-shrink: 0; margin-top: .15rem; color: var(--gold); }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: #64748B; }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ─── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpolygon fill='white' points='0,60 1440,0 1440,60'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.page-hero .breadcrumb { display: flex; gap: .5rem; font-size: .8rem; color: #94A3B8; margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: #94A3B8; }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero .breadcrumb span { color: var(--gold); }
.page-hero h1 { color: white; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .75rem; }
.page-hero .subtitle { color: #CBD5E1; font-size: 1.05rem; max-width: 560px; }

/* ─── BLOG CARDS ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 800px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
}
.blog-body { padding: 1.5rem; }
.blog-cat {
  font-size: .7rem;
  font-weight: 700;
  color: var(--crimson);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.4; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--crimson); }
.blog-card p { font-size: .88rem; color: var(--text-medium); line-height: 1.65; margin-bottom: 1rem; }
.blog-meta { font-size: .78rem; color: var(--text-light); }

/* ─── CHAT WIDGET ─────────────────────────────────────────── */
.chat-launcher {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}
.chat-bubble-msg {
  background: var(--navy);
  color: white;
  padding: .7rem 1.1rem;
  border-radius: 20px 20px 4px 20px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  animation: bounce-in .4s ease;
}
.chat-button {
  width: 62px;
  height: 62px;
  background: var(--crimson);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(185,28,28,.5);
  transition: all .2s;
  position: relative;
}
.chat-button:hover { background: var(--crimson-dark); transform: scale(1.05); }
.chat-button .chat-dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }
@keyframes bounce-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

.chat-panel {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 360px;
  max-height: 580px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}
.chat-panel.open { display: flex; animation: panel-in .3s ease; }
@keyframes panel-in { from{opacity:0;transform:translateY(20px) scale(.97)} to{opacity:1;transform:none} }
.chat-header {
  background: var(--navy);
  padding: 1rem 1.25rem;
  color: white;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-name { font-weight: 700; font-size: .9rem; }
.chat-status { font-size: .72rem; color: #94A3B8; }
.chat-close { background: none; border: none; color: #94A3B8; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.chat-close:hover { color: white; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  scroll-behavior: smooth;
}
.chat-msg { max-width: 85%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-bubble {
  padding: .7rem 1rem;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.55;
}
.bot .chat-bubble {
  background: var(--bg-light);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}
.user .chat-bubble {
  background: var(--navy);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-options { display: flex; flex-direction: column; gap: .4rem; margin-top: .4rem; }
.chat-opt-btn {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: .55rem .9rem;
  font-size: .83rem;
  color: var(--navy);
  text-align: left;
  font-weight: 700;
  transition: all .2s;
  cursor: pointer;
}
.chat-opt-btn:hover { border-color: var(--navy); background: var(--bg-light); }
.chat-input-area {
  border-top: 1px solid var(--border);
  padding: .9rem 1.1rem;
  display: flex;
  gap: .5rem;
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: .55rem .9rem;
  font-size: .88rem;
  font-family: 'Lato', sans-serif;
  outline: none;
}
.chat-input:focus { border-color: var(--navy); }
.chat-send {
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 6px;
  padding: .55rem .9rem;
  font-size: .82rem;
  font-weight: 700;
}
.chat-send:hover { background: var(--navy-dark); }

/* ─── DASHBOARD ───────────────────────────────────────────── */
.dashboard-body { background: #F1F5F9; min-height: 100vh; }
.dash-nav { background: var(--navy); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.dash-sidebar {
  width: 240px;
  background: var(--navy-dark);
  min-height: calc(100vh - 58px);
  position: fixed;
  top: 58px;
  left: 0;
  padding: 1.5rem 0;
}
.dash-main { margin-left: 240px; padding: 2rem; }
@media (max-width: 768px) { .dash-sidebar { display: none; } .dash-main { margin-left: 0; } }

/* ─── UTILITY CLASSES ─────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-crimson { color: var(--crimson); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .55s ease forwards; }
.fade-up-delay-1 { animation-delay: .1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: .2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: .3s; opacity: 0; }

/* ─── RIBBON / BADGES ─────────────────────────────────────── */
.ribbon {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(201,150,60,.15);
  border: 1px solid rgba(201,150,60,.3);
  color: var(--gold-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-no-fee {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: var(--crimson-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}
.cta-section h2 { color: white; font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.cta-section p { color: #CBD5E1; font-size: 1.05rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
