/* LegalMax public-site design layer (2026-11-04, consumer-first revamp).
   Loaded after styles.css on public pages only; the admin never loads it.
   Georgia headings, system sans body (no web fonts to download), 17px minimum
   body text, navy and gold, mobile first. */

:root {
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  --mono: var(--sans);
  --navy: #0E1C36;
  --navy-2: #16294B;
  --ink-2: #33302b;
  --muted: #6b6258;
  --focus: #D4AF37;
}

html { font-size: 17px; }
body {
  font-family: var(--sans);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3,
.section-head h2,
.section-copy h2,
.dark-cta h2,
.two-column h2,
.article-body h1,
.article-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0;
}
h3 { font-weight: 700; }
.dark-cta h2 { color: var(--white); }
.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  max-width: 17ch;
}
.section-head h2,
.section-copy h2,
.dark-cta h2,
.two-column h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); line-height: 1.12; }
.article-body h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; }
.article-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; }
p, li { font-size: 1rem; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Labels: small, spaced capitals in the body face (no monospace). */
.mono-label {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.mono-label.red { color: #7a5d14; }
.microcopy { font-size: .88rem; color: var(--muted); }
.article-meta { font-family: var(--sans); font-size: .85rem; }

/* Header */
.site-nav { font-size: .9rem; font-weight: 600; }
.lang-link,
.menu-toggle { font-family: var(--sans); font-size: .82rem; font-weight: 700; }
.header-call { font-family: var(--sans); font-size: 0; font-weight: 700; }
.header-call::before { font-size: .85rem; }
@media (max-width: 1100px) {
  /* Seven nav items don't fit between 821px and 1100px: use the menu button there too. */
  .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; }
  .header-actions { order: 2; justify-self: end; }
  .menu-toggle { order: 3; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    justify-self: stretch;
    padding: .55rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: var(--dark);
    font-size: 1rem;
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 820px) {
  /* One header row on phones: logo, language, call, menu. */
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; padding: .6rem .9rem; }
  .header-actions { order: 2; grid-column: auto; width: auto; justify-self: end; gap: .45rem; }
  .menu-toggle { order: 3; }
  .brand img { height: 40px; }
  .lang-link, .header-call, .menu-toggle { padding: .45rem .7rem; }
}

/* Buttons */
.btn { border-radius: 999px; font-weight: 700; padding: .85rem 1.35rem; min-height: 48px; }
.btn-primary { color: var(--navy); }
.btn-outline { border-color: var(--line-2); }

/* Footer */
.site-footer { padding: 3rem 1rem 6rem; }
.site-footer p { font-size: .95rem; }
.site-footer .disclaimer { font-size: .85rem; color: rgba(255,255,255,.7); }
.footer-offices a { color: var(--gold); font-weight: 600; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.2rem;
  margin: 1.3rem auto .4rem;
  max-width: 46rem;
}
.footer-links a {
  color: rgba(255,255,255,.9);
  font-size: .92rem;
  text-decoration: underline;
  text-decoration-color: rgba(212,175,55,.55);
  text-underline-offset: 3px;
  padding: .3rem 0;
}
.footer-links a:hover { color: var(--gold); }

/* ------------------------------------------------------------------ */
/* Homepage (index.html, es/index.html)                                */
/* ------------------------------------------------------------------ */
.hp-hero {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212,175,55,.16), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(212,175,55,.35);
}
.hp-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.2rem 1.1rem 2.6rem;
  display: grid;
  gap: 2rem;
}
.hp-kicker {
  margin: 0 0 .9rem;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hp-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.05rem, 7.4vw, 3.5rem);
  line-height: 1.1;
  max-width: 18ch;
}
.hp-hero h1 em { font-style: normal; color: var(--gold); }
.hp-lead {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: rgba(255,255,255,.9);
  font-size: 1.06rem;
  line-height: 1.65;
}
.hp-cta {
  margin-top: 1.6rem;
  display: grid;
  gap: .75rem;
  justify-items: start;
}
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  max-width: 24rem;
  min-height: 60px;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 18px 36px -20px rgba(212,175,55,.95);
  transition: background .15s ease, transform .15s ease;
}
.btn-call:hover { background: #e2c25a; transform: translateY(-1px); }
.btn-call svg { width: 1.2em; height: 1.2em; flex: none; }
.hp-text-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  padding: .35rem 0;
}
.hp-checklist-link { margin: .9rem 0 0; font-size: .97rem; color: inherit; }
.hp-checklist-link a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.hp-note {
  margin: 1.2rem 0 0;
  max-width: 36rem;
  padding-left: .9rem;
  border-left: 2px solid var(--gold);
  color: rgba(255,255,255,.82);
  font-size: .95rem;
}
.hp-hero-figure { margin: 0; display: none; }
.hp-hero-figure img {
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.35);
  box-shadow: 0 40px 80px -48px rgba(0,0,0,.8);
}

.hp-facts {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hp-facts ul {
  list-style: none;
  margin: 0 auto;
  max-width: 1160px;
  padding: .4rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hp-facts li {
  padding: .9rem .4rem;
  display: grid;
  gap: .1rem;
  font-size: .92rem;
  color: var(--muted);
}
.hp-facts strong { color: var(--navy); font-family: var(--serif); font-size: 1.12rem; font-weight: 400; }

.hp-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3.2rem 1.1rem;
}
.hp-section + .hp-section { border-top: 1px solid var(--line); }
.hp-section > h2,
.hp-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 5.4vw, 2.5rem);
  line-height: 1.15;
  max-width: 26ch;
}
.hp-head { margin-bottom: 1.6rem; }
.hp-head p { margin: .7rem 0 0; max-width: 42rem; color: var(--ink-2); }
.hp-label {
  margin: 0 0 .6rem;
  color: #7a5d14;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.hp-steps li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem 1.2rem 1.25rem 4.1rem;
}
.hp-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.hp-steps h3 { margin: 0 0 .35rem; font-size: 1.12rem; color: var(--navy); }
.hp-steps p { margin: 0; color: var(--ink-2); }
.hp-steps a { color: #7a5d14; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.hp-help {
  display: grid;
  gap: 1rem;
}
.hp-help article {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  padding: 1.2rem 1.2rem 1.1rem;
  display: grid;
  gap: .45rem;
  align-content: start;
}
.hp-help h3 { margin: 0; font-size: 1.12rem; color: var(--navy); }
.hp-help p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.hp-help .hp-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .25rem; }
.hp-help .hp-links a {
  color: #7a5d14;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-band {
  background: var(--navy);
  color: var(--white);
}
.hp-band-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.8rem 1.1rem;
  display: grid;
  gap: 1.2rem;
  align-items: center;
}
/* The closing call band sits right on the navy footer: a hairline keeps them apart. */
main > .hp-band:last-child { border-bottom: 1px solid rgba(201, 162, 39, .35); }
.hp-band h2 { margin: 0; color: var(--white); font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.15; }
.hp-band p { margin: .6rem 0 0; color: rgba(255,255,255,.85); max-width: 40rem; }
.hp-band .btn-call { max-width: 22rem; }
.hp-band .hp-label { color: var(--gold); }

.hp-areas p { color: var(--ink-2); max-width: 46rem; }
.hp-area-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  margin-top: 1.2rem;
}
.hp-area-links a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  color: var(--navy);
  font-weight: 600;
}
.hp-area-links a span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }
.hp-area-links a:hover { border-color: var(--gold); }

.hp-faq details {
  border-bottom: 1px solid var(--line);
  padding: .2rem 0;
}
.hp-faq details:first-of-type { border-top: 1px solid var(--line); }
.hp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.2rem 1rem 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after {
  content: "+";
  position: absolute;
  right: .3rem;
  top: .85rem;
  color: #7a5d14;
  font-family: var(--sans);
  font-size: 1.4rem;
  line-height: 1;
}
.hp-faq details[open] summary::after { content: "\2212"; }
.hp-faq details p { margin: 0 0 1.1rem; color: var(--ink-2); max-width: 46rem; }
.hp-faq details a { color: #7a5d14; text-decoration: underline; text-underline-offset: 3px; }

.hp-sources { margin-top: 1.4rem; font-size: .9rem; color: var(--muted); }
.hp-sources a { color: #7a5d14; text-decoration: underline; text-underline-offset: 3px; }

.hp-agents {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.6rem 1.1rem 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .97rem;
}
.hp-agents a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

@media (min-width: 700px) {
  .hp-facts ul { grid-template-columns: repeat(4, 1fr); }
  .hp-facts li { padding: 1.1rem 1rem; border-left: 1px solid var(--line); }
  .hp-facts li:first-child { border-left: 0; padding-left: 0; }
  .hp-steps { grid-template-columns: repeat(3, 1fr); }
  .hp-help { grid-template-columns: repeat(2, 1fr); }
  .hp-area-links { grid-template-columns: repeat(2, 1fr); }
  .btn-call { width: auto; }
}
@media (min-width: 1000px) {
  .hp-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 3.5rem;
    padding: 4.2rem 2rem 4.6rem;
  }
  .hp-hero-figure { display: block; }
  .hp-section { padding: 4.6rem 2rem; }
  .hp-help { grid-template-columns: repeat(3, 1fr); }
  .hp-area-links { grid-template-columns: repeat(4, 1fr); }
  .hp-band-inner { grid-template-columns: minmax(0, 1fr) auto; padding: 3.4rem 2rem; }
  .hp-facts ul { padding: .4rem 2rem; }
  .hp-agents { padding: 1.8rem 2rem 2.8rem; }
}

/* ------------------------------------------------------------------ */
/* Agency hub additions and the checklist / about pages                */
/* ------------------------------------------------------------------ */
.agency-steps { padding-left: 1.2rem; }
.agency-steps li + li { margin-top: .5rem; }
.agency-form { margin-top: 1rem; max-width: 34rem; }
.agency-form .lead-form { display: grid; gap: .8rem; }
.agency-form label { display: grid; gap: .25rem; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.agency-form input {
  min-height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: .6rem .75rem;
  background: var(--white);
}
.agency-form .btn { justify-self: start; }
.agency-form .lead-confirm { font-weight: 600; color: var(--navy); }

.checklist-card ol { counter-reset: none; }
.checklist-card .check-row { display: flex; gap: .55rem; align-items: baseline; }
.checklist-card .box {
  flex: none;
  width: .95em;
  height: .95em;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  transform: translateY(.12em);
}
.checklist-card h3 {
  margin: .9rem 0 .35rem;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a5d14;
}
.checklist-card ul { list-style: none; margin: 0; padding: 0; }
.checklist-card li + li { margin-top: .3rem; }
.checklist-card .fill { display: inline-block; min-width: 9rem; border-bottom: 1px solid var(--ink); }
.print-button { margin: .4rem 0 1rem; }

.about-credential {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: var(--white);
  padding: 1rem 1.15rem;
  margin: 1rem 0;
}
.about-credential p { margin: .3rem 0; }

@media print {
  /* One Letter or A4 page in either language. */
  html { font-size: 15px; }
  body.has-desk-card .checklist-card { font-size: 10pt; line-height: 1.38; padding: .7rem .9rem; }
  body.has-desk-card .checklist-card h3 { color: #000 !important; margin: .55rem 0 .2rem; }
  body.has-desk-card .checklist-card li + li { margin-top: .15rem; }
  body.has-desk-card .checklist-card .box { border-color: #000 !important; }
}
@media (max-width: 480px) {
  .article-body h1 { font-size: 2rem; }
  .hero-copy h1, .page-hero h1 { font-size: 2.05rem; }
}

/* Inline links inside guides read as links (underlined, gold-brown). */
.article-body p a:not(.citation):not(.btn),
.article-body li a:not(.btn),
.answer-band p a:not(.citation):not(.btn) {
  color: #7a5d14;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Existing pictures (2026-11-04): homepage picture cards, band graphic, guide and hub figures. */
.hp-help-featured { display: grid; gap: 1rem; margin-bottom: 1rem; }
.hp-feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  align-content: start;
}
.hp-feature img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--gold); }
.hp-feature > div { padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: .45rem; }
.hp-feature h3 { margin: 0; font-size: 1.15rem; color: var(--navy); }
.hp-feature p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.hp-feature .hp-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .25rem; }
.hp-feature .hp-links a { color: #7a5d14; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.hp-band-figure { margin: 0; max-width: 240px; }
.hp-band-figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(212,175,55,.45); }
.guide-figure { margin: 1.4rem 0; max-width: 340px; }
.guide-figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.hub-graphics { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 1rem 0 .5rem; }
.hub-graphics figure { margin: 0; }
.hub-graphics img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
@media (min-width: 700px) {
  .hp-help-featured { grid-template-columns: repeat(2, 1fr); }
  .hp-help-five { grid-template-columns: repeat(2, 1fr); }
  .hp-help-five article:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .hp-help-five { grid-template-columns: repeat(6, 1fr); }
  .hp-help-five article { grid-column: span 2; }
  .hp-help-five article:nth-child(n+4) { grid-column: span 3; }
  .hp-band-media { grid-template-columns: 240px minmax(0, 1fr) auto; gap: 2.2rem; }
}
@media (max-width: 999px) {
  .hp-band-figure { max-width: 200px; }
}
@media print {
  .guide-figure, .hub-graphics { display: none !important; }
}

/* Guide videos (src/components/VideoEmbed.astro): a thumbnail that app.js swaps for the player on click. */
.video-block { margin: 1.5rem 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
.video-frame .video-link,
.video-frame img,
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-frame img { object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--gold); box-shadow: 0 6px 22px rgba(0,0,0,.45); }
.video-play::after { content: ""; position: absolute; left: 31px; top: 22px; border-style: solid; border-width: 16px 0 16px 24px; border-color: transparent transparent transparent var(--navy); }
.video-link:hover .video-play,
.video-link:focus-visible .video-play { background: var(--gold-hover); }
.article-body .video-caption { margin: .55rem 0 0; font-size: .85rem; color: var(--muted); }
.video-transcript { margin: .6rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.video-transcript summary { cursor: pointer; padding: .7rem 0; font-weight: 700; color: var(--navy); }
.video-transcript p { margin: 0 0 .9rem; max-width: 46rem; }
@media (max-width: 600px) {
  .video-play { transform: scale(.74); }
}
@media print {
  .video-frame, .video-caption { display: none !important; }
}
