/* ---------------------------------------------------------------------------
   Attorney bio pages.
   Boards: "Attorney-Alex-Martinez", "Attorney-Adrian-Martinez".

   The hero is the dark band with the portrait beside it, carrying the name
   and bar line under the picture. Below it the credentials run as a single
   ruled strip, then the biography or career, then practice focus.

   Adrian has no portrait: the board marks it "asset needed", so his figure
   falls back to initials on an oxblood panel rather than a stand-in photo.
   --------------------------------------------------------------------------- */

.bhero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: clamp(28px, 3.06vw, 44px) 0 clamp(40px, 3.6vw, 52px);
  color: #fff;
  --h1-max: 76px;
}
.bhero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 3.9vw, 56px);
  align-items: center;
}
.bhero__txt { display: flex; flex-direction: column; align-items: flex-start; }
.bhero__txt .lede { max-width: 56ch; }
.bhero__cta {
  margin-top: clamp(20px, 2.1vw, 28px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.7vw, 24px);
  flex-wrap: wrap;
}

.bhero__fig {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--oxblood);
}
.bhero__fig img { display: block; width: 100%; height: auto; }
.bhero__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  font-family: var(--cond);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: var(--pink);
}
.bhero__fig figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(16px, 1.7vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(180deg, rgba(26, 18, 19, 0) 0%, rgba(26, 18, 19, .85) 60%, rgba(26, 18, 19, .95) 100%);
}
.bhero__fig figcaption strong {
  font-family: var(--cond);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}
.bhero__fig figcaption span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pink);
}

/* ---- credentials strip -------------------------------------------------- */
.credstrip { padding-top: clamp(32px, 3.3vw, 48px); padding-bottom: clamp(32px, 3.3vw, 48px); }
.credgrid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
  gap: clamp(18px, 2.08vw, 30px);
}
.credcell { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 2px solid var(--red); }
.credcell__l {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}
.credcell__v {
  margin: 0;
  font-family: var(--cond);
  font-size: clamp(18px, 1.46vw, 21px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
}
.credcell__n { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---- at a glance -------------------------------------------------------- */
.glance { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.glance > div { display: flex; flex-direction: column; gap: 2px; }
.glance dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pink);
}
.glance dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--on-dark-3); }

/* ---- practice focus ----------------------------------------------------- */
.focusgrid {
  margin-top: clamp(28px, 3.1vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.08vw, 24px);
}
.focuscol {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(24px, 2.5vw, 34px);
}
.focuscol h3 {
  margin: 0 0 14px;
  font-family: var(--cond);
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}
.focuscol ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.focuscol li { border-bottom: 1px solid var(--border-2); }
.focuscol li:last-child { border-bottom: 0; }
.focuscol a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}
.focuscol a:hover { color: var(--red); }
.focuscol a svg { flex: none; }

.focuscol--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.focuscol--ink .eyebrow { color: var(--pink); }
.focuscol--ink li { border-bottom-color: rgba(255, 255, 255, .14); }
.focuscol--ink a:hover { color: var(--pink); }

@media (max-width: 1100px) {
  .bhero__in { grid-template-columns: minmax(0, 1fr); }
  .bhero__fig { max-width: 420px; }
  .credgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .credgrid, .focusgrid { grid-template-columns: minmax(0, 1fr); }
  .bhero__cta { flex-direction: column; align-items: stretch; }
  .bhero__cta .btn { justify-content: center; }
}

/* ---------------------------------------------------------------------------
   Reviews page.
   Board: "Reviews". The hero carries the rating card beside the heading, and
   the grid below it filters by practice and by language, reusing the chip and
   filter behaviour the blog already ships.
   --------------------------------------------------------------------------- */
.rhero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: clamp(28px, 3.06vw, 44px) 0 clamp(40px, 3.6vw, 52px);
  color: #fff;
  --h1-max: 76px;
}
.rhero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 3.9vw, 56px);
  align-items: center;
}

.ratingcard {
  background: var(--oxblood);
  border-radius: 10px;
  padding: clamp(24px, 2.5vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.ratingcard__l {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pink);
}
.ratingcard__n {
  margin: 0;
  font-family: var(--cond);
  font-size: clamp(56px, 5.2vw, 76px);
  font-weight: 700;
  line-height: 1;
}
.ratingcard__stars { margin: 0; font-size: 20px; letter-spacing: 4px; color: #F5B301; }
.ratingcard__t { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--on-dark-3); }
.ratingcard .btn { justify-content: center; }

.revfilter {
  margin-top: clamp(24px, 2.5vw, 34px);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.revfilter__l {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The page's own grid. .revgrid is also a two-up row on About Us, so this is
   scoped to the section that carries the filter row above it. */
.revfilter + .revgrid {
  margin-top: clamp(18px, 1.9vw, 24px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.67vw, 24px);
  align-items: start;
}
.revgrid__note { margin: clamp(18px, 1.9vw, 24px) 0 0; font-size: 13px; color: var(--muted); }
.revgrid__more { margin: 10px 0 0; font-size: 15px; font-weight: 700; }
.revgrid__more a { display: inline-flex; align-items: center; gap: 8px; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .rhero__in { grid-template-columns: minmax(0, 1fr); }
  .ratingcard { max-width: 360px; }
  .revfilter + .revgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .revfilter + .revgrid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------------
   Related pages (Adrian's board): link tiles and a card to Alex's bio on the
   left, the rating and the reviews link on the right.
   --------------------------------------------------------------------------- */
.relband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 4.9vw, 70px); align-items: start; }
.reltiles { margin: clamp(20px, 2vw, 28px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reltiles a {
  min-height: 64px; padding: 0 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--cream);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 700;
}
.reltiles a:hover { border-color: var(--red); }
.reltiles svg { flex: none; }
.relpartner {
  margin-top: 26px; display: grid; grid-template-columns: 120px minmax(0, 1fr) 60px; align-items: center;
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  color: var(--ink); text-decoration: none;
}
.relpartner:hover { border-color: var(--red); }
.relpartner img { width: 120px; height: 120px; object-fit: cover; object-position: center top; }
.relpartner__t { padding: 0 24px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.relpartner__e { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.relpartner__n { font-family: var(--cond); font-size: clamp(24px, 2.1vw, 30px); font-weight: 700; line-height: 1.05; text-transform: uppercase; }
.relpartner__l { font-size: 15px; color: var(--body); }
.relpartner > svg { justify-self: center; }
.relband__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.relband__score { margin: 0; display: flex; align-items: center; gap: 16px; }
.relband__n { font-family: var(--cond); font-size: 72px; font-weight: 700; line-height: .85; }
.relband__s { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
@media (max-width: 900px) {
  .relband { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .reltiles { grid-template-columns: minmax(0, 1fr); }
  .relpartner { grid-template-columns: 96px minmax(0, 1fr) 44px; }
  .relpartner img { width: 96px; height: 96px; }
  .relpartner__t { padding: 0 14px; }
}
