/* ============================================================
   SAGARDÍA LAW — San Juan, Puerto Rico
   Design system: Trust & Authority · Exaggerated Minimalism
   Palette: ink navy + trust gold on warm ivory
   Type: EB Garamond (display) / Lato (body)
   ============================================================ */

:root {
  --ink:        #0C1626;
  --navy-900:   #10203B;
  --navy:       #16294A;
  --royal:      #1E3A8A;
  --gold:       #B8934A;
  --gold-bright:#D4AF6A;
  --gold-dim:   rgba(184, 147, 74, 0.38);
  --paper:      #F7F5EF;
  --logo:       "Helvetica Neue", Helvetica, Arial, sans-serif;
  --white:      #FFFFFF;
  --stone:      #E5E0D3;
  --text:       #1C2A42;
  --muted:      #5C6B84;
  --muted-inv:  #93A3BD;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Lato", "Helvetica Neue", Arial, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;
  --space-6: 8rem;
  --w: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: var(--w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section   { padding: var(--space-6) 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }

a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- shared atoms ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 2.2em;
  border-radius: 2px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(247, 245, 239, 0.45);
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.gold-i { color: var(--gold-bright); font-style: italic; }

.section-head { max-width: 760px; margin-bottom: var(--space-5); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: var(--ink); }
.section-sub { margin-top: var(--space-2); color: var(--muted); font-size: 1.05rem; }

/* gold hairline divider with center diamond */
.rule { position: relative; height: 1px; max-width: var(--w); margin: 0 auto; background: linear-gradient(90deg, transparent, var(--gold-dim) 18%, var(--gold-dim) 82%, transparent); }
.rule span {
  position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- reveal motion ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.d1.in { transition-delay: 90ms; }
.d2.in { transition-delay: 180ms; }
.d3.in { transition-delay: 270ms; }
.d4.in { transition-delay: 380ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .reveal.in { transition: none; }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--paper);
  transition: background 280ms ease, box-shadow 280ms ease;
}
.nav.scrolled {
  background: rgba(12, 22, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(184, 147, 74, 0.25);
}

.nav-inner {
  max-width: var(--w); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: 86px;
  display: flex; align-items: center; gap: var(--space-3);
}
.nav.scrolled .nav-inner { height: 68px; }
.nav-inner { transition: height 280ms ease; }

/* garita base sits on the wordmark baseline, as in the firm lockup */
.brand { display: flex; align-items: flex-end; gap: 12px; text-decoration: none; color: var(--paper); margin-right: auto; }
.brand-mark { width: 21px; height: 45px; color: var(--gold-bright); flex: none; margin-bottom: 2.8px; }
.brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--logo); font-weight: 400; font-size: 1.55rem; letter-spacing: 0.005em; }
.brand-name em { font-style: italic; color: var(--gold-bright); }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted-inv); margin-top: 2px; }

.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav-links a {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: rgba(247, 245, 239, 0.82);
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.nav-links a:hover { color: var(--gold-bright); border-color: var(--gold-dim); }

.btn-nav { padding: 0.85em 1.7em; }

.nav-lang {
  border: 1px solid rgba(184, 147, 74, 0.45) !important;
  border-radius: 2px;
  padding: 5px 10px !important;
  color: var(--gold-bright) !important;
}
.nav-lang:hover { border-color: var(--gold-bright) !important; }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--paper); transition: transform 250ms ease, opacity 250ms ease; }
.nav-toggle.open span:first-child { transform: translateY(4.2px) rotate(45deg); }
.nav-toggle.open span:last-child  { transform: translateY(-4.2px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column; gap: var(--space-2);
  padding: var(--space-3) clamp(1.25rem, 4vw, 2.5rem) var(--space-4);
  background: rgba(12, 22, 38, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 147, 74, 0.25);
}
.nav-mobile a { color: var(--paper); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 0; }
.nav-mobile .btn { text-align: center; margin-top: var(--space-2); }
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(30, 58, 138, 0.35), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(30, 58, 138, 0.22), transparent 55%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 150px 0 0;
}

.hero-ghost {
  position: absolute; right: 4%; top: 50%;
  transform: translateY(-50%);
  height: clamp(17rem, 34vw, 31rem);
  color: rgba(212, 175, 106, 0.055);
  user-select: none; pointer-events: none;
}
.hero-ghost svg { height: 100%; width: auto; display: block; }

.hero-inner {
  position: relative;
  max-width: var(--w); margin: 0 auto; width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.hero h1 {
  font-size: clamp(3rem, 7.4vw, 5.8rem);
  font-weight: 500;
  max-width: 12em;
}

.lede {
  max-width: 620px;
  margin-top: var(--space-3);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  font-weight: 300;
  color: rgba(247, 245, 239, 0.85);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

.hero-bar {
  position: relative;
  margin-top: auto;
  padding: var(--space-3) clamp(1.25rem, 4vw, 2.5rem);
  margin-top: var(--space-5);
  border-top: 1px solid rgba(184, 147, 74, 0.28);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-2) var(--space-3);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-inv);
}
.hero-bar .dot { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }

/* ============================================================
   THE FIRM
   ============================================================ */

.firm { background: var(--paper); }

.firm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.firm-lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--space-3);
}
.firm-copy p + p { margin-top: var(--space-2); color: var(--muted); }
.firm-copy p:not(.firm-lead) { color: #45556e; }

.firm-facts {
  border-left: 1px solid var(--gold-dim);
  padding-left: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.fact { display: flex; flex-direction: column; }
.fact-n {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--gold);
}
.fact-l { margin-top: 6px; font-size: 13.5px; letter-spacing: 0.04em; color: var(--muted); max-width: 240px; }

/* ============================================================
   ATTORNEYS
   ============================================================ */

.attorneys { background: var(--paper); padding-bottom: var(--space-5); }

.atty { padding: var(--space-5) 0; }

.atty-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.atty-alt .atty-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr); }
.atty-alt .atty-plate { order: 2; }
.atty-alt .atty-body  { order: 1; }

.atty-plate { position: sticky; top: 110px; }
.plate-frame {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(500px 380px at 70% 0%, rgba(30, 58, 138, 0.45), transparent 65%),
    var(--navy-900);
  border: 1px solid var(--gold-dim);
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.plate-frame::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(184, 147, 74, 0.3);
  pointer-events: none;
  z-index: 3;
}

/* photo variant — real headshot inside the same gold-framed plate.
   Background matches the photo's white so subpixel rounding can never
   show a dark hairline; the image bleeds 1px past the frame edge. */
.plate-photo { position: relative; padding: 0; overflow: hidden; background: #F2F2F2; }
.plate-photo img {
  position: absolute; inset: -1px;
  width: calc(100% + 2px); height: calc(100% + 2px);
  object-fit: cover; object-position: center 30%;
  filter: grayscale(1) contrast(1.05);
}
.plate-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 38, 0) 55%, rgba(12, 22, 38, 0.9) 100%);
  z-index: 1;
}
.plate-caption {
  position: absolute; bottom: 26px; left: 0; right: 0;
  z-index: 3;
  text-align: center;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-bright);
}
.plate-star { color: var(--gold); font-size: 15px; letter-spacing: 0; margin-bottom: var(--space-2); }
.plate-initials {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 1;
  color: var(--gold-bright);
}
.plate-role {
  margin-top: var(--space-2);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-inv);
}

.atty-index {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.atty-body h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--ink); margin-top: 6px; }
.atty-role { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.atty-practice {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 8px 14px;
}
.atty-bio { margin-top: var(--space-3); max-width: 620px; }
.atty-bio p + p { margin-top: var(--space-2); }
.atty-bio p { color: #45556e; }

.atty-creds { margin-top: var(--space-3); list-style: none; max-width: 620px; }
.atty-creds li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 14.5px;
  color: var(--text);
  border-bottom: 1px solid var(--stone);
}
.atty-creds li:first-child { border-top: 1px solid var(--stone); }
.atty-creds li::before {
  content: "";
  position: absolute; left: 4px; top: 18px;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.atty-meta { margin-top: var(--space-3); }
.atty-office { font-size: 14px; color: var(--muted); }
.atty-contact { margin-top: 8px; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; }
.atty-contact a { color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; border-bottom: 1px solid var(--gold-dim); padding-bottom: 1px; transition: color 180ms ease, border-color 180ms ease; }
.atty-contact a:hover { color: var(--gold); border-color: var(--gold); }
.atty-li { display: inline-flex; align-items: center; gap: 7px; }
.atty-li svg { width: 15px; height: 15px; color: var(--gold); }

/* ============================================================
   PRACTICE AREAS  (dark)
   ============================================================ */

.practice {
  background:
    radial-gradient(1200px 700px at 85% 0%, rgba(30, 58, 138, 0.35), transparent 60%),
    var(--ink);
  color: var(--paper);
}
.section-head-dark h2 { color: var(--paper); }
.section-head-dark .section-sub { color: var(--muted-inv); }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.pcard {
  border: 1px solid rgba(184, 147, 74, 0.28);
  background: rgba(16, 32, 59, 0.55);
  padding: var(--space-4) var(--space-3) var(--space-3);
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  align-content: start;
  transition: border-color 250ms ease, background 250ms ease, transform 250ms ease;
}
.pcard:hover { border-color: var(--gold); background: rgba(16, 32, 59, 0.85); transform: translateY(-4px); }

.pcard-num { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); letter-spacing: 0.14em; }
.pcard h3 { font-size: 1.55rem; line-height: 1.15; margin-top: var(--space-2); color: var(--paper); }
.pcard-lead { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); }

/* subgrid aligns every card row across the trio; older browsers fall back
   to reserved title/lead heights on desktop */
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 1021px) {
    .pcard { display: flex; flex-direction: column; }
    .pcard h3 { min-height: 2.3em; }
    .pcard-lead { min-height: 2.7em; }
  }
}
.pcard ul { list-style: none; margin-top: var(--space-3); }
.pcard li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 14px; font-weight: 300;
  color: rgba(247, 245, 239, 0.85);
}
.pcard li::before {
  content: "";
  position: absolute; left: 2px; top: 14px;
  width: 5px; height: 5px;
  background: var(--gold-dim);
  transform: rotate(45deg);
}
.pcard-link {
  margin-top: var(--space-3);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-bright); text-decoration: none;
  transition: color 180ms ease;
}
.pcard-link:hover { color: var(--paper); }

/* ============================================================
   OFFICES
   ============================================================ */

.offices { background: var(--paper); }

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.ocard {
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 3px solid var(--gold);
  padding: var(--space-4);
  transition: box-shadow 250ms ease, transform 250ms ease;
}
.ocard:hover { box-shadow: 0 18px 44px -18px rgba(12, 22, 38, 0.25); transform: translateY(-3px); }

.ocard h3 { font-size: 1.8rem; color: var(--ink); }
.ocard-firm { margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.ocard address { font-style: normal; margin-top: var(--space-3); color: #45556e; line-height: 1.75; }
.ocard-tel { margin-top: var(--space-2); }
.ocard-tel a { font-weight: 700; color: var(--ink); text-decoration: none; }
.ocard-tel a:hover { color: var(--gold); }
.ocard-map {
  display: inline-block; margin-top: var(--space-2);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 180ms ease;
}
.ocard-map:hover { color: var(--gold); }

.office-postal { margin-top: var(--space-3); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */

.contact { background: var(--paper); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--space-5);
  align-items: start;
}

.contact-copy h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
.contact-copy > p { margin-top: var(--space-2); color: #45556e; max-width: 460px; }

.contact-lines { list-style: none; margin-top: var(--space-4); }
.contact-lines li {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--stone);
}
.contact-lines li:first-child { border-top: 1px solid var(--stone); }
.contact-lines span { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.contact-lines a { font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-lines a:hover { color: var(--gold); }

.contact-note { margin-top: var(--space-3); font-size: 12.5px; color: var(--muted); max-width: 440px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: 3px solid var(--gold);
  padding: var(--space-4);
}

.ff { display: flex; flex-direction: column; margin-bottom: var(--space-2); }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.ff label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.ff input, .ff select, .ff textarea {
  font-family: var(--sans); font-size: 15px; color: var(--text);
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.ff textarea { resize: vertical; }
.ff input:focus, .ff select:focus, .ff textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 74, 0.18);
}

.btn-form { width: 100%; border: 0; margin-top: var(--space-1); }
.form-demo { margin-top: var(--space-2); font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); text-align: center; }
.form-ok { margin-top: var(--space-2); font-size: 14px; font-weight: 700; color: #1A6B3C; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-6) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(184, 147, 74, 0.22);
}

/* same lockup as the nav: garita base on the wordmark baseline */
.footer-lockup { display: flex; align-items: flex-end; gap: 15px; }
.footer-brand .brand-mark { width: 26px; height: 57px; color: var(--gold-bright); flex: none; margin-bottom: 0; }
.footer-name { font-family: var(--logo); font-weight: 400; font-size: 2rem; line-height: 1.15; margin: 0; }
.footer-name em { font-style: italic; color: var(--gold-bright); }
.footer-tag { margin-top: var(--space-2); font-size: 13px; color: var(--muted-inv); line-height: 1.8; }

.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  color: rgba(247, 245, 239, 0.8); text-decoration: none;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 180ms ease;
}
.footer-nav a:hover { color: var(--gold-bright); }

.footer-offices { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-offices p { font-size: 13.5px; color: var(--muted-inv); line-height: 1.8; }
.footer-offices strong { color: var(--paper); font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.footer-offices a { color: rgba(247, 245, 239, 0.85); text-decoration: none; }
.footer-offices a:hover { color: var(--gold-bright); }

.footer-legal { padding-top: var(--space-4); }
.footer-legal p { font-size: 12px; color: rgba(147, 163, 189, 0.75); max-width: 860px; line-height: 1.8; }
.footer-copy { margin-top: var(--space-3); letter-spacing: 0.06em; }
.footer-preview { color: var(--gold-dim); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1020px) {
  .firm-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .firm-facts { flex-direction: row; flex-wrap: wrap; gap: var(--space-4); border-left: 0; border-top: 1px solid var(--gold-dim); padding-left: 0; padding-top: var(--space-4); }
  .practice-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (max-width: 860px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav { background: rgba(12, 22, 38, 0.92); backdrop-filter: blur(12px); }

  .atty-grid, .atty-alt .atty-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .atty-alt .atty-plate { order: 1; }
  .atty-alt .atty-body { order: 2; }
  .atty-plate { position: static; max-width: 340px; }

  .office-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (max-width: 560px) {
  .section { padding: var(--space-5) 0; }
  .hero { padding-top: 120px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .ff-row { grid-template-columns: 1fr; }
  .hero-bar { gap: 10px 14px; font-size: 10px; }
  .brand-sub { display: none; }
}
