/* Arturo R. Alfonso P.A. homepage template styles (from new-homepage-v9.html) */
/* ============================================================
   ARTURO R. ALFONSO P.A. — HOMEPAGE v7 (competitor-style redesign)
   Served as a static file by WPCode snippet 8216.
   ============================================================ */

:root {
  --ink:      #0b1626;
  --navy:     #0f1f35;
  --navy-2:   #152a47;
  --navy-3:   #1d3a60;
  --brass:    #b8925a;
  --brass-lt: #d9c08f;
  --brass-dk: #7c5d31;
  --ivory:    #f8f5ef;
  --sand:     #f0e9dd;
  --white:    #ffffff;
  --text:     #1b2433;
  --muted:    #566173;
  --line:     #e5ddd0;
  --line-dk:  rgba(255,255,255,.12);

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans:  'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --shadow: 0 20px 50px rgba(11,22,38,.14);
  --shadow-sm: 0 6px 22px rgba(11,22,38,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; color: var(--navy); text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
section[id], [id="consultation"] { scroll-margin-top: 84px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--brass); color: var(--ink); padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Type helpers ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-dk); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--brass-lt); }
.h2 { font-size: clamp(34px, 3.8vw, 50px); letter-spacing: -.005em; margin-bottom: 18px; font-variant-numeric: lining-nums; }
.h2 em { font-style: italic; font-weight: 500; color: var(--brass-dk); }
.on-dark .h2 em { color: var(--brass-lt); }
.lead { font-size: 18.5px; color: var(--muted); }
.on-dark { color: rgba(255,255,255,.78); }
.on-dark .h2, .on-dark h3 { color: #fff; }
.on-dark .lead { color: rgba(255,255,255,.74); }

.section { padding: 104px 0; }
.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.center { max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.bg-ivory { background: var(--ivory); }
.bg-sand  { background: var(--sand); }
.bg-navy  { background: var(--navy); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 17px 30px; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { font-size: 17px; }
.btn-brass { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-lt); border-color: var(--brass-lt); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { color: var(--brass-lt); border-color: var(--brass-lt); }
.btn-ghost { color: var(--navy); border-color: rgba(15,31,53,.3); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--brass-dk);
}
.link-arrow .icon { font-size: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--brass-lt); }

/* ============================================================
   00 — TOP BAR + HEADER
   ============================================================ */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 13.5px; position: relative; z-index: 51; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar-group { display: flex; align-items: center; gap: 24px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--brass-lt); font-size: 15px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--brass-lt); }

.site-header { position: absolute; top: 42px; left: 0; right: 0; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,38,.55), rgba(11,22,38,0)); pointer-events: none; z-index: -1; }
.site-header.is-stuck { position: fixed; top: 0; background: rgba(11,22,38,.97); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.site-header.is-stuck::before { display: none; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 92px; transition: height .25s; }
.site-header.is-stuck .header-inner { height: 74px; }

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: #fff; text-decoration: none; }
.brand-mark { height: 44px; width: auto; filter: invert(1); }
.brand-name { display: block; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.brand-tag { display: block; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-lt); white-space: nowrap; }

.main-nav .menu { display: flex; align-items: center; gap: 2px; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu > li > a {
  display: inline-flex; align-items: center; padding: 10px 11px;
  font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.main-nav .menu > li > a:hover, .main-nav .menu > li > a[aria-current="page"] { color: var(--brass-lt); }
.sub-toggle { display: inline-flex; align-items: center; background: none; border: 0; color: rgba(255,255,255,.8); padding: 6px 4px; margin-left: -8px; cursor: pointer; }
.sub-toggle .icon { font-size: 15px; transition: transform .2s; }
.has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 250px; padding: 10px 0;
  background: var(--white); border-top: 2px solid var(--brass); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.sub a { display: block; padding: 10px 22px; color: var(--text); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.sub a:hover { background: var(--ivory); color: var(--brass-dk); }
.sub .sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; color: var(--brass-dk); }
@media (min-width: 1140px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
}

.header-call {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px;
  border: 1px solid var(--brass); border-radius: 2px;
  color: #fff; text-decoration: none; font-size: 16.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.header-call .icon { color: var(--brass-lt); font-size: 17px; }
.header-call:hover { background: var(--brass); color: var(--ink); }
.header-call:hover .icon { color: var(--ink); }
.menu-toggle { display: none; position: relative; z-index: 70; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; color: #fff; cursor: pointer; }
.menu-toggle .icon { font-size: 22px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.nav-foot { display: none; }

/* ============================================================
   01 — HERO
   ============================================================ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 12% 28%, rgba(29,58,96,.85), rgba(29,58,96,0) 70%),
    linear-gradient(180deg, #0f1f35 0%, #0d1b2f 100%);
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(48vw, 800px); z-index: -1; }
.hero-media img, .hero-media::after {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 14%, rgba(0,0,0,.8) 34%, #000 52%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 14%, rgba(0,0,0,.8) 34%, #000 52%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 16%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,27,47,.72) 0%, rgba(13,27,47,0) 30%);
}
.hero-inner { display: flex; align-items: center; min-height: clamp(700px, 94vh, 880px); padding-top: 150px; padding-bottom: 128px; }
.hero-copy { max-width: 610px; }
.hero h1 {
  font-size: clamp(46px, 5.5vw, 78px); line-height: 1.02; letter-spacing: -.012em;
  color: #fff; font-weight: 600; margin-bottom: 28px;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brass-lt); }
.h1-kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
  font-family: var(--sans); font-size: 13px; font-weight: 700; line-height: 1.4;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass-lt);
}
.h1-kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.hero-lede { font-size: 19.5px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 545px; margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: rgba(255,255,255,.8); }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points .icon { color: var(--brass-lt); font-size: 16px; stroke-width: 2.2; }
.hero-namecard {
  position: absolute; z-index: 1; left: clamp(40px, 9%, 110px); bottom: 104px;
  padding: 16px 22px 15px; border-left: 3px solid var(--brass);
  background: rgba(11,22,38,.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.nc-name { font-variant-numeric: lining-nums; display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; color: #fff; line-height: 1.1; }
.nc-role { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-lt); }

/* ============================================================
   02 — CREDENTIALS
   ============================================================ */
.creds { position: relative; z-index: 3; margin-top: -60px; }
.creds-card {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border-top: 3px solid var(--brass); box-shadow: var(--shadow);
}
.cred { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: var(--white); padding: 26px 24px 24px; }
.cred .icon { font-size: 32px; color: var(--brass); stroke-width: 1.4; }
.cred-title { display: block; font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.12; color: var(--navy); font-variant-numeric: lining-nums; }
.cred-sub { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* ============================================================
   03 — PRACTICE AREAS
   ============================================================ */
.practice { padding-top: 112px; }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.practice-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); padding: 42px 36px 36px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.practice-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.practice-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brass-dk); margin-bottom: 26px; }
.practice-icon .icon { font-size: 34px; stroke-width: 1.4; }
.practice-card h3 { font-size: 32px; margin-bottom: 14px; }
.practice-card h3 a { text-decoration: none; }
.practice-card h3 a:hover { color: var(--brass-dk); }
.practice-card > p { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.practice-list { border-top: 1px solid var(--line); margin-bottom: 28px; }
.practice-list li { border-bottom: 1px solid var(--line); }
.practice-list a, .practice-list span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none;
}
.practice-list a .icon { color: var(--brass); font-size: 15px; opacity: .7; transition: transform .2s, opacity .2s; }
.practice-list a:hover { color: var(--brass-dk); }
.practice-list a:hover .icon { transform: translateX(3px); opacity: 1; }
.practice-card .link-arrow { margin-top: auto; }

/* ============================================================
   04 — ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: start; }
.about-copy p { color: var(--muted); font-size: 17.5px; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.pull-quote { margin: 34px 0 34px; padding: 4px 0 4px 28px; border-left: 2px solid var(--brass); }
.pull-quote p { font-family: var(--serif); font-size: 29px; font-style: italic; font-weight: 500; line-height: 1.3; color: var(--navy); margin-bottom: 10px; }
.pull-quote cite { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dk); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 8px; }
.about-actions .phone-inline { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--navy); text-decoration: none; }
.about-actions .phone-inline .icon { color: var(--brass-dk); }
.glance { position: relative; background: var(--navy); color: rgba(255,255,255,.8); padding: 42px 38px 38px; box-shadow: var(--shadow); }
.glance::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(217,192,143,.28); pointer-events: none; }
.glance h3 { color: #fff; font-size: 30px; margin-bottom: 6px; }
.glance .glance-sub { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 22px; }
.glance dl { margin: 0; }
.glance dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-lt); margin-top: 18px; }
.glance dd { margin: 4px 0 0; font-size: 16.5px; line-height: 1.5; color: #fff; }
.glance .link-arrow { margin-top: 30px; position: relative; color: var(--brass-lt); }

/* ============================================================
   05 — WHY CHOOSE ARTURO
   ============================================================ */
.why { position: relative; overflow: hidden; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dk); }
.why-item { padding: 38px 30px 6px 0; margin-right: 30px; }
.why-item + .why-item { border-left: 1px solid var(--line-dk); padding-left: 30px; margin-right: 0; }
.why-num { display: block; font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; color: var(--brass-lt); margin-bottom: 18px; font-variant-numeric: lining-nums; }
.why-item h3 { font-size: 25px; color: #fff; margin-bottom: 12px; }
.why-item p { font-size: 16px; color: rgba(255,255,255,.72); margin: 0; }

/* ============================================================
   06 — TESTIMONIALS
   ============================================================ */
.reviews-wrap { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.quote-mark { width: 64px; height: 64px; color: var(--brass); margin: 0 auto 8px; }
.t-viewport { overflow: hidden; }
.t-track { display: flex; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.t-slide { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0 12px; }
.t-stars { display: flex; justify-content: center; gap: 4px; color: var(--brass); margin-bottom: 22px; }
.t-stars .icon { font-size: 20px; }
.t-quote { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.38; color: var(--navy); margin: 0 auto 28px; max-width: 820px; }
.t-name { display: block; font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.t-meta { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 38px; }
.t-btn { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(15,31,53,.25); background: transparent; border-radius: 50%; color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.t-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.t-btn .icon { font-size: 18px; }
.t-prev .icon { transform: rotate(180deg); }
.t-dots { display: flex; gap: 10px; }
.t-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(15,31,53,.2); cursor: pointer; transition: background-color .2s, transform .2s; }
.t-dot[aria-current="true"] { background: var(--brass); transform: scale(1.25); }
.reviews-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 46px; }
.reviews-note { margin: 26px auto 0; max-width: 640px; font-size: 13px; color: var(--muted); }

/* ============================================================
   07 — CONSULTATION + FORM
   ============================================================ */
.consult-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 80px; align-items: center; }
.steps { margin: 38px 0 34px; counter-reset: step; }
.steps li { position: relative; padding: 0 0 26px 70px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--brass); border-radius: 50%;
  font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--brass-lt);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 50px; bottom: 6px; width: 1px; background: rgba(217,192,143,.3); }
.steps h3 { font-size: 24px; color: #fff; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 16px; color: rgba(255,255,255,.72); }
.consult-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; border-top: 1px solid var(--line-dk); }
.consult-direct a { font-variant-numeric: lining-nums; display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 32px; font-weight: 600; color: #fff; text-decoration: none; }
.consult-direct a .icon { font-size: 24px; color: var(--brass-lt); }
.consult-direct a:hover { color: var(--brass-lt); }
.consult-direct span { font-size: 15px; color: rgba(255,255,255,.66); }

.form-card { background: var(--white); color: var(--text); padding: 42px 38px 34px; box-shadow: 0 30px 70px rgba(0,0,0,.35); border-top: 3px solid var(--brass); }
.form-card h3, .on-dark .form-card h3 { font-size: 31px; margin-bottom: 6px; color: var(--navy); }
.form-card .form-intro { font-size: 15.5px; color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: var(--brass-dk); }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid #d4ccbf; border-radius: 2px;
  background: var(--white); color: var(--text); font-size: 16.5px; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237c5d31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184,146,90,.22); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: none; margin-top: 6px; font-size: 13.5px; color: #b3261e; }
.field-error.on { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { margin-top: 8px; padding: 19px 24px; }
.form-legal { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; font-size: 15px; line-height: 1.5; border-left: 3px solid var(--brass); background: var(--ivory); }
.form-status.on { display: block; }
.form-status.ok { border-left-color: #2f7a4f; background: #eef6f0; color: #1d4d31; }
.form-status.err { border-left-color: #b3261e; background: #fbeeed; color: #7a1a15; }
.form-status a { font-weight: 700; }

/* ============================================================
   08 — LEGAL ANSWERS
   ============================================================ */
.answers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.answers-col h3 { display: flex; align-items: center; gap: 12px; font-size: 27px; padding-bottom: 16px; border-bottom: 2px solid var(--navy); margin-bottom: 6px; }
.answers-col h3 .icon { font-size: 30px; color: var(--brass-dk); stroke-width: 1.5; }
.answers-col li { border-bottom: 1px solid var(--line); }
.answers-col li a { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16.5px; font-weight: 600; line-height: 1.4; color: var(--text); text-decoration: none; }
.answers-col li a .icon { flex: none; margin-top: 3px; color: var(--brass); font-size: 16px; transition: transform .2s; }
.answers-col li a:hover { color: var(--brass-dk); }
.answers-col li a:hover .icon { transform: translateX(3px); }
.answers-col .link-arrow { margin-top: 22px; }
.answers-note { margin-top: 48px; font-size: 14px; color: var(--muted); text-align: center; }

/* ============================================================
   09 — OFFICE + AREAS SERVED
   ============================================================ */
.office-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: stretch; }
.office-details { margin: 30px 0 32px; }
.office-details li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.office-details li:first-child { border-top: 1px solid var(--line); }
.office-details .icon { font-size: 22px; color: var(--brass-dk); margin-top: 3px; }
.office-details strong { display: block; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: 2px; }
.office-details span, .office-details a { font-size: 17px; color: var(--text); text-decoration: none; }
.office-details a:hover { color: var(--brass-dk); }
.areas-label { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.area-chips a { padding: 9px 16px; border: 1px solid #d4ccbf; border-radius: 2px; background: var(--white); font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.area-chips a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.map-frame { position: relative; min-height: 460px; background: #e9e4da; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   10 — FAQ
   ============================================================ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  font-variant-numeric: lining-nums; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c5d31' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brass-dk); }
.faq-answer { padding: 0 60px 26px 0; color: var(--muted); font-size: 17px; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--brass-dk); font-weight: 600; }

/* ============================================================
   11 — CLOSING CTA
   ============================================================ */
.cta-band { position: relative; overflow: hidden; padding: 88px 0; background: var(--navy-2); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 85% 50%, rgba(184,146,90,.18), rgba(184,146,90,0) 70%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner .h2 { margin-bottom: 10px; }
.cta-inner p { margin: 0; font-size: 18px; color: rgba(255,255,255,.74); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ============================================================
   12 — FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 48px; padding-top: 84px; padding-bottom: 60px; }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { max-width: 330px; }
.footer-title { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-lt); margin: 6px 0 20px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--brass-lt); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.5; }
.footer-contact .icon { font-size: 17px; color: var(--brass-lt); margin-top: 4px; }
.social-row { display: flex; gap: 10px; margin-top: 26px; }
.social-row a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; transition: background-color .2s, border-color .2s, color .2s; }
.social-row a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.social-row svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 28px 0 34px; font-size: 13.5px; }
.footer-bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-bottom: 16px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal-links a { color: rgba(255,255,255,.66); text-decoration: none; }
.footer-legal-links a:hover { color: var(--brass-lt); }
.footer-disclaimer { margin: 0; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.46); }

/* ---- Mobile call bar ---- */
.mobile-bar { display: none; }

/* ---- Intro video (v9) ---- */
.video-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.video-frame iframe, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,38,0) 45%, rgba(11,22,38,.55) 100%); }
.video-play-btn { position: absolute; left: 50%; top: 50%; z-index: 1; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--brass); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s ease, background .2s ease; }
.video-play-btn svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--ink); }
.video-play:hover .video-play-btn, .video-play:focus-visible .video-play-btn { transform: scale(1.07); background: var(--brass-lt); }
.video-meta { position: absolute; left: 22px; bottom: 18px; z-index: 1; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.video-copy p { color: var(--muted); font-size: 17.5px; }
.video-points { list-style: none; margin: 22px 0 26px; padding: 0; }
.video-points li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--text); }
.video-points li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }
.video-transcript { margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.video-transcript summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); }
.video-transcript summary::-webkit-details-marker { display: none; }
.video-transcript summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--sans); font-size: 28px; font-weight: 400; color: var(--brass-dk); transition: transform .2s ease; }
.video-transcript[open] summary::after { transform: rotate(45deg); }
.video-transcript-body { columns: 2; column-gap: 48px; padding: 0 0 26px; color: var(--muted); font-size: 16px; }
.video-transcript-body p { margin: 0 0 14px; break-inside: avoid; }
@media (max-width: 1023px) {
  .video-grid { grid-template-columns: 1fr; gap: 40px; }
  .video-transcript-body { columns: 1; }
}
@media (max-width: 767px) {
  .video-play-btn { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .video-meta { left: 16px; bottom: 12px; font-size: 11.5px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .creds-card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cred:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 1139px) {
  .menu-toggle { display: inline-flex; }
  .header-call { padding: 11px 16px; font-size: 15.5px; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(380px, 88vw);
    padding: 100px 30px 36px; overflow-y: auto; background: var(--ink);
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
    box-shadow: -20px 0 50px rgba(0,0,0,.35);
  }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .menu-open body { overflow: hidden; }
  .menu-open body::after { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(5,10,18,.55); }
  .menu-open #aa-chat { display: none !important; }
  .main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-dk); }
  .main-nav .menu > li > a { flex: 1; padding: 16px 0; font-size: 14px; }
  .sub-toggle { margin: 0; padding: 12px 4px 12px 16px; }
  .sub-toggle .icon { font-size: 18px; }
  .sub { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 14px; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.open .sub { display: block; }
  .sub a { padding: 9px 0 9px 16px; color: rgba(255,255,255,.78); font-size: 16px; }
  .sub a:hover { background: transparent; color: var(--brass-lt); }
  .sub .sub-all { border-top: 0; margin-top: 0; padding-top: 9px; color: var(--brass-lt); }
  .nav-foot { display: block; margin-top: 30px; }
  .nav-foot .btn { width: 100%; margin-bottom: 12px; }
  .nav-foot p { margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.6); }
}
@media (max-width: 1023px) {
  .section { padding: 88px 0; }
  .topbar .hide-md { display: none; }
  .hero-media { width: 46vw; }
  .hero-copy { max-width: 52vw; }
  .hero h1 { font-size: clamp(40px, 5.6vw, 56px); }
  .hero-namecard { display: none; }
  .practice-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item, .why-item + .why-item { padding: 34px 28px 30px 0; margin: 0; border-left: 0; }
  .why-item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-dk); }
  .why-item:nth-child(n+3) { border-top: 1px solid var(--line-dk); }
  .consult-grid { grid-template-columns: 1fr; gap: 56px; }
  .form-card { max-width: 620px; }
  .answers-grid { grid-template-columns: 1fr; gap: 40px; max-width: 680px; margin: 0 auto; }
  .office-grid { grid-template-columns: 1fr; gap: 44px; }
  .map-frame { min-height: 380px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  body { font-size: 16.5px; padding-bottom: 66px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .topbar { display: none; }
  .site-header { top: 0; }
  .header-inner, .site-header.is-stuck .header-inner { height: 70px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-mark { height: 32px; }
  .brand-name { font-size: 18.5px; }
  .brand-tag { font-size: 8.5px; letter-spacing: .18em; margin-top: 5px; }
  .menu-toggle, .header-call { width: 44px; height: 44px; }
  .header-call { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .header-call span { display: none; }
  .hero-media { left: 0; right: 0; bottom: auto; width: auto; height: min(480px, 60vh); }
  .hero-media img, .hero-media::after { -webkit-mask-image: none; mask-image: none; }
  .hero-media img { object-position: 50% 14%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11,22,38,.6) 0%, rgba(14,29,51,0) 24%, rgba(14,29,51,0) 42%, rgba(14,29,51,.85) 78%, #0e1d33 100%); }
  .hero-inner { min-height: 0; align-items: flex-end; padding-top: calc(min(480px, 60vh) - 150px); padding-bottom: 92px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); margin-bottom: 20px; }
  .h1-kicker { font-size: 11.5px; letter-spacing: .18em; margin-bottom: 16px; }
  .h1-kicker::before { width: 24px; }
  .hero-lede { font-size: 17.5px; margin-bottom: 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero-points { gap: 8px 18px; font-size: 14.5px; }
  .creds { margin-top: -44px; }
  .creds-card { grid-template-columns: 1fr 1fr; }
  .cred { padding: 20px 16px; gap: 10px; flex-direction: column; }
  .cred:last-child { grid-column: 1 / -1; }
  .cred .icon { font-size: 28px; }
  .cred-title { font-size: 19px; }
  .practice { padding-top: 80px; }
  .practice-card { padding: 34px 26px 30px; }
  .practice-card h3 { font-size: 29px; }
  .pull-quote p { font-size: 25px; }
  .glance { padding: 36px 28px 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item, .why-item:nth-child(even) { padding: 28px 0; border-left: 0; }
  .why-item:nth-child(n+2) { border-top: 1px solid var(--line-dk); }
  .t-quote { font-size: 23px; }
  .t-btn { width: 44px; height: 44px; }
  .form-card { padding: 32px 22px 26px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .consult-direct a { font-size: 28px; }
  .faq-item summary { font-size: 21px; padding: 20px 0; }
  .faq-answer { padding-right: 0; }
  .cta-band { padding: 72px 0; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 44px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr;
    background: var(--ink); box-shadow: 0 -8px 24px rgba(0,0,0,.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 60px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #fff; }
  .mobile-bar a + a { background: var(--brass); color: var(--ink); }
  .mobile-bar .icon { font-size: 18px; }
  /* chat launcher (aa-chat.js): sit above the call bar as a compact round button */
  #aa-chat { bottom: 74px !important; right: 12px !important; }
  .menu-open .mobile-bar, .menu-open #aa-chat { display: none !important; }
  #aa-launch { width: 54px; height: 54px; padding: 0 !important; justify-content: center; }
  #aa-launch span { display: none; }
  #aa-launch svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   WordPress additions (admin bar offsets, Divi isolation)
   ============================================================ */
body.aa-home-template { display: block; }
.admin-bar .site-header { top: 74px; }
.admin-bar .site-header.is-stuck { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 88px; }
  .admin-bar .site-header.is-stuck { top: 46px; }
}
@media (max-width: 767px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-header.is-stuck { top: 0; }
}
