/* =========================================================
   Law Offices of Marshall E. Rosenbach
   Personal Injury Attorney — North Palm Beach, FL
   ========================================================= */

:root {
  --navy: #0d2340;
  --navy-light: #14315c;
  --gold: #c8a24a;
  --gold-dark: #a9852f;
  --ink: #1d2733;
  --slate: #4a5a6a;
  --mist: #f4f6f9;
  --line: #e2e8f0;
  --white: #ffffff;
  --success: #1f7a4d;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(13, 35, 64, 0.08);
  --shadow-md: 0 10px 30px rgba(13, 35, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(13, 35, 64, 0.18);
  --maxw: 1180px;
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section.tight { padding: 54px 0; }
.section.mist { background: var(--mist); }
.section.navy { background: var(--navy); color: #dfe7f1; }
.section.navy h2, .section.navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section.navy .eyebrow { color: var(--gold); }

.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: var(--slate); max-width: 760px; }
.section.navy .lead { color: #c4d2e4; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: #cdd9e8;
  font-size: 0.86rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #cdd9e8; }
.topbar a:hover { color: var(--gold); text-decoration: none; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-right { font-weight: 700; color: var(--gold); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 14px 22px; max-width: var(--maxw); margin: 0 auto; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand a { color: var(--navy); text-decoration: none; }
/* Brand icon (scales of justice) */
.brand a.brand-link{display:flex;align-items:center;gap:11px;text-decoration:none;}
.brand-icon{width:34px;height:34px;color:var(--gold);flex-shrink:0;}
.brand-text{display:flex;flex-direction:column;line-height:1.1;text-align:center;}

.brand .brand-name { font-family: var(--font-head); font-size: 1.18rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.brand .brand-sub { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }

.nav-links { display: flex; flex-wrap: nowrap; align-items: center; gap: 18px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.92rem; white-space: nowrap; position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--gold-dark); text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.2s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); font-size: 1.05rem; white-space: nowrap; }
.nav-phone:hover { color: var(--gold-dark); text-decoration: none; }
.nav-phone .ico { color: var(--gold-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: 0.25s; }

/* ---------- Practice Areas dropdown ---------- */
.has-dropdown { position: relative; }
.nav-links .dd-toggle { display: none; }
.nav-links .dd-link .dd-caret { font-size: 0.62em; margin-left: 4px; vertical-align: middle; opacity: 0.75; }
.dropdown {
  list-style: none; position: absolute; top: 100%; left: 0; transform: translateY(8px);
  margin: 0; padding: 12px; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(3, minmax(158px, 1fr)); gap: 1px 8px;
  max-height: min(72vh, 560px); overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 90;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.dropdown li { width: auto; }
.dropdown a { display: block; padding: 8px 11px; font-size: 0.84rem; font-weight: 600; color: var(--ink); border-radius: 8px; line-height: 1.25; white-space: normal; }
.dropdown a::after { display: none !important; }
.dropdown a:hover { background: var(--mist); color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8,22,42,0.86), rgba(8,22,42,0.92)),
    radial-gradient(circle at 80% 10%, rgba(200,162,74,0.18), transparent 45%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(135deg, transparent 60%, rgba(200,162,74,0.06) 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 78px; padding-bottom: 78px; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; margin-bottom: 20px; }
.hero h1 .hl { color: var(--gold); }
.hero p.sub { font-size: 1.18rem; color: #d6e0ee; margin-bottom: 14px; }
.hero .hero-points { list-style: none; margin: 22px 0 30px; display: grid; gap: 11px; }
.hero .hero-points li { position: relative; padding-left: 28px; color: #e7eef7; font-size: 1.02rem; }
.hero .hero-points .ck { position: absolute; left: 0; top: 0; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; }
.hero-trust .ht { }
.hero-trust .ht b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--gold); }
.hero-trust .ht span { font-size: 0.86rem; color: #c4d2e4; }

/* Hero form card */
.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  border-top: 5px solid var(--gold);
}
.hero-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.hero-card .hc-sub { font-size: 0.93rem; color: var(--slate); margin-bottom: 18px; }

/* ---------- Forms ---------- */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fcfdfe;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,162,74,0.18);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-fine { font-size: 0.78rem; color: var(--slate); margin-top: 10px; line-height: 1.5; }
.form-note { font-size: 0.9rem; padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; display: none; }
.form-note.ok { display: block; background: #e7f4ee; color: var(--success); border: 1px solid #bfe3cf; }
.form-note.err { display: block; background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4ddea; }
.card .ic {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.98rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--gold-dark); font-size: 0.92rem; }
.card .more::after { content: " →"; }

/* feature list */
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .fic { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; background: rgba(200,162,74,0.14); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; }
.feat h3 { font-size: 1.18rem; margin-bottom: 6px; }
.feat p { color: var(--slate); font-size: 0.97rem; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .media { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.portrait {
  background: linear-gradient(160deg, var(--navy), var(--navy-light));
  border-radius: 14px;
  padding: 42px 36px;
  color: #dfe7f1;
  box-shadow: var(--shadow-md);
  position: relative;
}
.portrait .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,162,74,0.16); color: var(--gold);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 30px; margin-bottom: 20px;
}
.portrait h3 { color: var(--white); font-size: 1.7rem; }
.portrait .role { color: var(--gold); font-weight: 700; margin-bottom: 18px; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.04em; }
.cred-list { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.cred-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.97rem; }
.cred-list .ck { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

.prose p { margin-bottom: 16px; color: var(--slate); font-size: 1.04rem; }
.prose h2 { margin: 30px 0 14px; }
.prose h3 { margin: 24px 0 10px; font-size: 1.25rem; }
.prose ul { margin: 0 0 18px 20px; color: var(--slate); }
.prose ul li { margin-bottom: 8px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num {
  counter-increment: step;
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 5px; }
.step p { color: var(--slate); }
.section.navy .step p { color: #c4d2e4; }
.section.navy .step h3 { color: var(--white); }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.quote p { font-style: italic; color: var(--ink); font-size: 1.04rem; margin-bottom: 14px; }
.quote .who { font-weight: 700; color: var(--navy); font-size: 0.95rem; font-style: normal; }
.quote .who span { display: block; font-weight: 400; color: var(--slate); font-size: 0.85rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(180deg, rgba(8,22,42,0.92), rgba(8,22,42,0.95)),
    radial-gradient(circle at 15% 30%, rgba(200,162,74,0.22), transparent 40%),
    var(--navy);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.cta-band p { color: #d6e0ee; font-size: 1.12rem; max-width: 640px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 44px 22px 0; font-family: var(--font-head); font-weight: 700;
  font-size: 1.12rem; color: var(--navy); position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--gold-dark); transition: transform 0.2s; }
.faq-q.open::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 0 22px; color: var(--slate); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.info-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.info-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.info-line .ico { color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }
.info-line b { color: var(--navy); display: block; }
.info-line span, .info-line a { color: var(--slate); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    linear-gradient(180deg, rgba(8,22,42,0.88), rgba(8,22,42,0.93)),
    var(--navy);
  color: var(--white);
  padding: 60px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: #cdd9e8; font-size: 1.1rem; max-width: 720px; }
.crumbs { font-size: 0.85rem; color: #9fb2cc; margin-bottom: 16px; }
.crumbs a { color: #cdd9e8; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-dark); line-height: 1; }
.stat span { color: var(--slate); font-size: 0.92rem; font-weight: 600; }
.section.navy .stat b { color: var(--gold); }
.section.navy .stat span { color: #c4d2e4; }

/* ---------- Footer ---------- */
.site-footer { background: #081627; color: #aebed4; padding: 60px 0 26px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #aebed4; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-brand .brand-name { font-family: var(--font-head); font-size: 1.3rem; color: var(--white); font-weight: 700; }
.foot-brand .brand-sub { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.foot-brand p { max-width: 320px; margin-bottom: 14px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ico { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: #7f93ac; }
.disclaimer { max-width: 100%; color: #7f93ac; font-size: 0.8rem; line-height: 1.6; margin-top: 18px; }

/* ---------- Sticky mobile call bar ---------- */
.call-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--gold); box-shadow: 0 -4px 16px rgba(0,0,0,0.2); }
.call-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; color: var(--navy); font-weight: 800; font-size: 1.08rem; }
.call-bar a:hover { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 90px 30px 30px; gap: 8px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.28s ease; z-index: 70;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; z-index: 80; }
  .nav-cta .nav-phone { font-size: 0.98rem; }
  .topbar .tb-left .tb-item.hide-sm { display: none; }
  .call-bar { display: block; }
  .site-footer { padding-bottom: 80px; }
  body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { gap: 18px; }
  .topbar .tb-left { gap: 14px; }
  .nav-cta .btn { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Contact-page office cards */
.offices{display:flex;flex-direction:column;gap:14px;}
.office{padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--mist);}
.office b{display:block;color:var(--navy);font-size:1.02rem;margin-bottom:5px;}
.office span{display:block;color:var(--slate);font-size:.9rem;line-height:1.55;margin-bottom:8px;}
.office a{display:block;color:var(--navy);font-weight:600;font-size:.9rem;text-decoration:none;margin-bottom:3px;}
.office a:hover{color:var(--gold-dark);}
.office a.mapl{color:var(--gold-dark);font-weight:700;margin-top:5px;}

/* Contact-page three-office grid with individual maps */
.locations{background:var(--mist);}
.loc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.loc{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;}
.loc h3{color:var(--navy);font-family:var(--font-head);font-size:1.2rem;margin:20px 22px 8px;}
.loc .loc-addr{color:var(--slate);font-size:.93rem;line-height:1.55;margin:0 22px 12px;}
.loc .loc-line{margin:0 22px 6px;font-size:.93rem;}
.loc .loc-line a{color:var(--navy);font-weight:600;text-decoration:none;word-break:break-word;}
.loc .loc-line a:hover{color:var(--gold-dark);}
.loc .loc-map{margin-top:auto;padding-top:14px;}
.loc .loc-map iframe{width:100%;height:220px;border:0;display:block;}
@media(max-width:900px){.loc-grid{grid-template-columns:1fr;max-width:520px;margin:0 auto;}}

/* ---------- Practice Areas dropdown — mobile ---------- */
@media (max-width: 1024px) {
  .nav-links { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links .dd-link .dd-caret { display: none; }
  .has-dropdown { display: flex; flex-wrap: wrap; align-items: stretch; }
  .has-dropdown > .dd-link { flex: 1 1 auto; width: auto; }
  .nav-links .dd-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px;
    background: none; border: 0; border-bottom: 1px solid var(--line);
    color: var(--navy); font-size: 1rem; cursor: pointer;
  }
  .has-dropdown.open .dd-toggle { color: var(--gold-dark); }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    display: none; grid-template-columns: 1fr; width: 100%; order: 3;
    box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 6px 14px; background: var(--mist);
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { white-space: normal; padding: 10px 0; font-size: 0.9rem; }
}

/* ---------- Practice Areas hub ---------- */
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pa-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.2s ease; scroll-margin-top: 110px; }
.pa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pa-card .pa-ic { font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.pa-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.pa-card p { color: var(--slate); font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.pa-card .pa-link { color: var(--gold-dark); font-weight: 700; font-size: 0.92rem; }
.pa-card .pa-link:hover { text-decoration: underline; }
@media (max-width: 900px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pa-grid { grid-template-columns: 1fr; } }

/* ---------- Article / blog post ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article > p { margin-bottom: 18px; font-size: 1.06rem; color: #2c3947; }
.article h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.article h3 { font-size: 1.2rem; margin: 8px 0; }
.article strong { color: var(--navy); }
.callout { background: var(--navy); color: #e7eef7; border-radius: 14px; padding: 24px 26px; margin: 28px 0; border-left: 5px solid var(--gold); }
.callout h3 { color: var(--white); margin-bottom: 8px; }
.callout p { color: #cdd9e8; margin: 0; }
.callout strong { color: var(--gold); }
.related-band { background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 34px 0; }
.related-band h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-dark); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px; transition: transform 0.15s ease, box-shadow 0.2s ease; }
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; }
.related-card b { display: block; color: var(--navy); margin-bottom: 5px; font-size: 0.98rem; }
.related-card span { display: block; color: var(--slate); font-size: 0.85rem; line-height: 1.45; }
.post-cta { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #e7eef7; border-radius: 16px; padding: 32px; margin: 36px 0 24px; text-align: center; }
.post-cta h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.post-cta p { color: #cdd9e8; margin-bottom: 20px; }
.post-cta .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.post-disclaimer { font-size: 0.82rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; }

/* ---------- Blog index ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.post-card.featured { grid-column: 1 / -1; }
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.post-card .post-tag { display: inline-block; background: var(--gold); color: var(--navy); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.post-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.post-card p { color: var(--slate); margin-bottom: 14px; }
.post-card .post-more { color: var(--gold-dark); font-weight: 700; }
.blog-empty { max-width: 820px; margin: 34px auto 0; text-align: center; background: var(--mist); border: 1px dashed var(--line); border-radius: 14px; padding: 30px; }
.blog-empty h3 { margin-bottom: 8px; }
.blog-empty p { color: var(--slate); }
@media (max-width: 620px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Practice-area detail pages ---------- */
.article ul { margin: 0 0 20px 4px; list-style: none; }
.article ul li { position: relative; padding-left: 30px; margin-bottom: 10px; color: #2c3947; }
.article ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 800; }
.faq-list { max-width: 820px; margin: 0 auto; }
.lead-in { font-size: 1.14rem; color: #2c3947; margin-bottom: 22px; }

/* ---------- Practice-areas hub: category sections ---------- */
.pa-section { margin-bottom: 52px; }
.pa-section:last-child { margin-bottom: 0; }
.pa-cat { font-size: 1.6rem; margin-bottom: 26px; text-align: center; }
.pa-cat::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); border-radius: 2px; margin: 12px auto 0; }

/* ---------- Case Results ---------- */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.result-card { background: var(--navy); color: #fff; border-radius: 16px; padding: 32px 20px; text-align: center; box-shadow: var(--shadow-md); }
.result-amt { font-family: var(--font-head); font-size: clamp(1.5rem, 2.1vw, 1.95rem); font-weight: 700; color: var(--gold); line-height: 1; white-space: nowrap; }
.result-type { display: inline-block; margin-top: 14px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,0.13); padding: 5px 13px; border-radius: 999px; }
.result-cat { display: block; margin-top: 12px; color: #c4d2e4; font-size: 0.88rem; }
.results-note { max-width: 820px; margin: 44px auto 0; background: var(--mist); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 22px 26px; }
.results-note h3 { font-size: 1.1rem; margin-bottom: 8px; }
.results-note p { color: var(--slate); font-size: 0.95rem; }
@media (max-width: 900px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .results-grid { grid-template-columns: 1fr; } }

/* Keep the 6-item nav on one line on mid-size desktops */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav { gap: 10px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.85rem; }
  .nav-cta .btn { padding: 12px 18px; font-size: 0.9rem; }
}
